Difference between revisions of "Georgeooga-Harryooga Theorem"

m (Testimonials)
 
(23 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
*Restored by Judgefan99*
 +
 
=Definition=
 
=Definition=
 
The Georgeooga-Harryooga Theorem states that if you have <math>a</math> distinguishable objects and <math>b</math> objects are kept away from each other, then there are <math>\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}</math> ways to arrange the objects in a line.
 
The Georgeooga-Harryooga Theorem states that if you have <math>a</math> distinguishable objects and <math>b</math> objects are kept away from each other, then there are <math>\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}</math> ways to arrange the objects in a line.
Line 18: Line 20:
  
  
Proof by [[User:RedFireTruck|RedFireTruck]]
+
Proof by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
 
==Proof 2==
 
==Proof 2==
Line 51: Line 53:
  
 
===Solutions===
 
===Solutions===
====Solution 1====
+
====Solution====
If Eric and Fred were distinguishable we would have <math>\frac{(8-3)!(8-3+1)!}{(8-2\cdot3+1)!}=14400</math> ways to arrange them by the [[Georgeooga-Harryooga Theorem]]. However, Eric and Fred are indistinguishable so we have to divide by <math>2!=2</math>. Therefore, our answer is <math>\frac{14400}2=\boxed{7200}</math>.
+
If Fred and George were distinguishable we would have <math>\frac{(8-3)!(8-3+1)!}{(8-2\cdot3+1)!}=14400</math> ways to arrange them by the [[Georgeooga-Harryooga Theorem]]. However, Fred and George are indistinguishable so we have to divide by <math>2!=2</math>. Therefore, our answer is <math>\frac{14400}2=\boxed{7200}</math>.
  
  
Solution by [[User:RedFireTruck|RedFireTruck]]
+
Solution by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
 
==Application 2==
 
==Application 2==
Line 71: Line 73:
  
  
Solution by [[User:RedFireTruck|RedFireTruck]]
+
Solution by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
 
====Solution 2====
 
====Solution 2====
Line 83: Line 85:
  
  
Solution by [[User:Redfiretruck|RedFireTruck]]
+
Solution by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
 
====Solution 3====
 
====Solution 3====
Line 92: Line 94:
  
 
====Solution 4====
 
====Solution 4====
Let's try complementary counting. There <math>4!</math> ways to arrange the 4 marbles. However, there are <math>2\cdot3!</math> arrangements where Steelie and Tiger are next to each other. (Think about permutations of the element ST, A, and B or TS, A, and B). Thus, <cmath>4!-2\cdot3!=\boxed{12 \textbf{(C)}}</cmath>
+
Let's try complementary counting. There <math>4!</math> ways to arrange the 4 marbles. However, there are <math>2\cdot3!</math> arrangements where Steelie and Tiger are next to each other. (Think about permutations of the element ST, A, and B or TS, A, and B). Thus, <cmath>4!-2\cdot3!=\boxed{\textbf{(C)}~12}</cmath>
  
 
====Solution 5====
 
====Solution 5====
  
We use complementary counting: we will count the numbers of ways where Steelie and Tiger are together and subtract that from the total count. Treat the Steelie and the Tiger as a "super marble." There are <math>2!</math> ways to arrange Steelie and Tiger within this "super marble." Then there are <math>3!</math> ways to arrange the "super marble" and Zara's two other marbles in a row. Since there are <math>4!</math> ways to arrange the marbles without any restrictions, the answer is given by <math>4!-2!\cdot 3!=\textbf{(C) }12</math>
+
We use complementary counting: we will count the numbers of ways where Steelie and Tiger are together and subtract that from the total count. Treat the Steelie and the Tiger as a "super marble." There are <math>2!</math> ways to arrange Steelie and Tiger within this "super marble." Then there are <math>3!</math> ways to arrange the "super marble" and Zara's two other marbles in a row. Since there are <math>4!</math> ways to arrange the marbles without any restrictions, the answer is given by <math>4!-2!\cdot 3!=\boxed{\textbf{(C)}~12}</math>
  
 
-franzliszt
 
-franzliszt
Line 119: Line 121:
  
  
Proof by [[User:RedFireTruck|RedFireTruck]]
+
Proof by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
  
Back to the problem. By the [[Georgeooga-Harryooga Theorem]], our answer is <math>\frac{(4-2)!(4-2+1)!}{(4-2\cdot2+1)!}=\textbf{(C) }12</math>.
+
Back to the problem. By the [[Georgeooga-Harryooga Theorem]], our answer is <math>\frac{(4-2)!(4-2+1)!}{(4-2\cdot2+1)!}=\boxed{\textbf{(C)}~12}</math>.
  
 
-franzliszt
 
-franzliszt
Line 133: Line 135:
 
==Application 3==
 
==Application 3==
 
===Problem===
 
===Problem===
The <math>7</math> members of The Ooga Booga Tribe, Lord Ooga Booga, Ooga, Booga, Foogle, Hoogle, George, and Harry, are about to perform a ritual. They have invited <math>2</math> priests, Agoob and Agoo, from a neighboring tribe. In this ritual they will line up in a row and sit down. The <math>2</math> priests must sit next to each other. Lord Ooga Booga, Ooga, and Booga just had a family argument so they must stay away from each other. In how many ways can The Ooga Booga Tribe perform their ritual.
+
The <math>7</math> members of The Ooga Booga Tribe, Lord Ooga Booga, Ooga, Booga, Foogle, Hoogle, George, and Harry, are about to perform a ritual. They have invited <math>2</math> priests, Agoob and Agoo, from a neighboring tribe. In this ritual they will line up in a row and sit down. The <math>2</math> priests must sit next to each other. Lord Ooga Booga, Ooga, and Booga just had a family argument so they must stay away from each other. In how many ways can The Ooga Booga Tribe perform their ritual?
  
  
Line 143: Line 145:
  
  
Solution by [[RedFireTruck]]
+
Solution by [[User:RedFireTruck|<font color="#FF0000">RedFireTruck</font>]] ([[User talk:RedFireTruck|<font color="#FF0000">talk</font>]]) 12:07, 1 February 2021 (EST)
  
 
=Testimonials=
 
=Testimonials=
Line 167: Line 169:
  
 
"This is very cool"~Physicsisfun123
 
"This is very cool"~Physicsisfun123
 +
 +
"Or you could just use a formular version of complementary counting: a!-b!*(a-b+1)!" ~tigeryun
  
 
"Interesting!" ~justin6688
 
"Interesting!" ~justin6688
  
 
I used this on AMC 8 problem 10 and I got it right! THANK YOU! -Onafets {Satire}
 
I used this on AMC 8 problem 10 and I got it right! THANK YOU! -Onafets {Satire}
 +
 +
"This is useful on the IMO" ~ Taco12
 +
 +
“Ooga booga giv me my meat” -peelybonehead
 +
 +
"This theorem is incredible, but the name could use some work..." ~ cxsmi

Latest revision as of 18:12, 8 January 2024

  • Restored by Judgefan99*

Definition

The Georgeooga-Harryooga Theorem states that if you have $a$ distinguishable objects and $b$ objects are kept away from each other, then there are $\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}$ ways to arrange the objects in a line.


Created by George and Harry of The Ooga Booga Tribe of The Caveman Society

Proofs

Proof 1

Let our group of $a$ objects be represented like so $1$, $2$, $3$, ..., $a-1$, $a$. Let the last $b$ objects be the ones we can't have together.

Then we can organize our objects like so $\square1\square2\square3\square...\square a-b-1\square a-b\square$.

We have $(a-b)!$ ways to arrange the objects in that list.

Now we have $a-b+1$ blanks and $b$ other objects so we have $_{a-b+1}P_{b}=\frac{(a-b+1)!}{(a-2b+1)!}$ ways to arrange the objects we can't put together.

By The Fundamental Counting Principle our answer is $\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}$.


Proof by RedFireTruck (talk) 12:07, 1 February 2021 (EST)

Proof 2

Let us call the $b$ people $1, 2, ... b$

Let the number of people before $1$ in line be $y_1$, between $1, 2$ be $y_2$, ... after $b$ be $y_{b+1}$. We have \[y_1 + y_2 + y_3 + \dots y_{b+1} = a-b\]

The number of ways to determine $y_1, y_2, \dots$ is equivalent to the number of positive integer solutions to: \[x_1 + x_2 + .. + x_{b+1} = a-b + 2\] where $(x_2, ... x_b) = (y_2, ..., y_b)$ and $(x_1, x_{b+1}) = (y_1 +1, y_{b+1} + 1)$.

So, by stars and bars, the number of ways to determine $(y_2, ..., y_b)$ is \[F(a,b) = \dbinom{a-b+1}{b} = \frac {(a-b+1)!}{b!(a-2b+1)!}\]

Furthermore, after picking positions for the people, we have $(a-b)!$ ways to order the $(a-b)$ people who can be together, and $b!$ ways to order the $b$ people who cannot be together. So for each $(y_1, y_2, ... y_{b+1}$, we have $b! (a-b)!$ orderings.

Therefore, the final answer is \[b! (a-b)! F(a,b) = \frac{(a-b)!(a-b+1)!}{(a-2b+1)!}\]


Proof by Aryabhata000

Applications

Application 1

Problem

Alice, Bob, Carl, David, Eric, Fred, George, and Harry want to stand in a line to buy ice cream. Fred and George are identical twins, so they are indistinguishable. Alice, Bob, and Carl had a serious disagreement in 6th grade, so none of them can be together in the line.

With these conditions, how many different ways can you arrange these kids in a line?


Problem by Math4Life2020

Solutions

Solution

If Fred and George were distinguishable we would have $\frac{(8-3)!(8-3+1)!}{(8-2\cdot3+1)!}=14400$ ways to arrange them by the Georgeooga-Harryooga Theorem. However, Fred and George are indistinguishable so we have to divide by $2!=2$. Therefore, our answer is $\frac{14400}2=\boxed{7200}$.


Solution by RedFireTruck (talk) 12:07, 1 February 2021 (EST)

Application 2

Problem

Zara has a collection of $4$ marbles: an Aggie, a Bumblebee, a Steelie, and a Tiger. She wants to display them in a row on a shelf, but does not want to put the Steelie and the Tiger next to one another. In how many ways can she do this?

$\textbf{(A) }6 \qquad \textbf{(B) }8 \qquad \textbf{(C) }12 \qquad \textbf{(D) }18 \qquad \textbf{(E) }24$


Problem by The Mathematical Association of America's American Mathematics Competitions

Solutions

Solution 1

By the Georgeooga-Harryooga Theorem there are $\frac{(4-2)!(4-2+1)!}{(4-2\cdot2+1)!}=\boxed{\textbf{(C) }12}$ way to arrange the marbles.


Solution by RedFireTruck (talk) 12:07, 1 February 2021 (EST)

Solution 2

We can arrange our marbles like so $\square A\square B\square$.

To arrange the $A$ and $B$ we have $2!=2$ ways.

To place the $S$ and $T$ in the blanks we have $_3P_2=6$ ways.

By fundamental counting principle our final answer is $2\cdot6=\boxed{\textbf{(C) }12}$


Solution by RedFireTruck (talk) 12:07, 1 February 2021 (EST)

Solution 3

Let the Aggie, Bumblebee, Steelie, and Tiger, be referred to by $A,B,S,$ and $T$, respectively. If we ignore the constraint that $S$ and $T$ cannot be next to each other, we get a total of $4!=24$ ways to arrange the 4 marbles. We now simply have to subtract out the number of ways that $S$ and $T$ can be next to each other. If we place $S$ and $T$ next to each other in that order, then there are three places that we can place them, namely in the first two slots, in the second two slots, or in the last two slots (i.e. $ST\square\square, \square ST\square, \square\square ST$). However, we could also have placed $S$ and $T$ in the opposite order (i.e. $TS\square\square, \square TS\square, \square\square TS$). Thus there are 6 ways of placing $S$ and $T$ directly next to each other. Next, notice that for each of these placements, we have two open slots for placing $A$ and $B$. Specifically, we can place $A$ in the first open slot and $B$ in the second open slot or switch their order and place $B$ in the first open slot and $A$ in the second open slot. This gives us a total of $6\times 2=12$ ways to place $S$ and $T$ next to each other. Subtracting this from the total number of arrangements gives us $24-12=12$ total arrangements $\implies\boxed{\textbf{(C) }12}$.

We can also solve this problem directly by looking at the number of ways that we can place $S$ and $T$ such that they are not directly next to each other. Observe that there are three ways to place $S$ and $T$ (in that order) into the four slots so they are not next to each other (i.e. $S\square T\square, \square S\square T, S\square\square T$). However, we could also have placed $S$ and $T$ in the opposite order (i.e. $T\square S\square, \square T\square S, T\square\square S$). Thus there are 6 ways of placing $S$ and $T$ so that they are not next to each other. Next, notice that for each of these placements, we have two open slots for placing $A$ and $B$. Specifically, we can place $A$ in the first open slot and $B$ in the second open slot or switch their order and place $B$ in the first open slot and $A$ in the second open slot. This gives us a total of $6\times 2=12$ ways to place $S$ and $T$ such that they are not next to each other $\implies\boxed{\textbf{(C) }12}$.
~junaidmansuri

Solution 4

Let's try complementary counting. There $4!$ ways to arrange the 4 marbles. However, there are $2\cdot3!$ arrangements where Steelie and Tiger are next to each other. (Think about permutations of the element ST, A, and B or TS, A, and B). Thus, \[4!-2\cdot3!=\boxed{\textbf{(C)}~12}\]

Solution 5

We use complementary counting: we will count the numbers of ways where Steelie and Tiger are together and subtract that from the total count. Treat the Steelie and the Tiger as a "super marble." There are $2!$ ways to arrange Steelie and Tiger within this "super marble." Then there are $3!$ ways to arrange the "super marble" and Zara's two other marbles in a row. Since there are $4!$ ways to arrange the marbles without any restrictions, the answer is given by $4!-2!\cdot 3!=\boxed{\textbf{(C)}~12}$

-franzliszt

Solution 6

We will use the following

$\textbf{Georgeooga-Harryooga Theorem:}$ The Georgeooga-Harryooga Theorem states that if you have $a$ distinguishable objects and $b$ of them cannot be together, then there are $\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}$ ways to arrange the objects.

$\textit{Proof. (Created by AoPS user RedFireTruck)}$

Let our group of $a$ objects be represented like so $1$, $2$, $3$, ..., $a-1$, $a$. Let the last $b$ objects be the ones we can't have together.

Then we can organize our objects like so $\square1\square2\square3\square...\square a-b-1\square a-b\square$.

We have $(a-b)!$ ways to arrange the objects in that list.

Now we have $a-b+1$ blanks and $b$ other objects so we have $_{a-b+1}P_{b}=\frac{(a-b+1)!}{(a-2b+1)!}$ ways to arrange the objects we can't put together.

By fundamental counting principal our answer is $\frac{(a-b)!(a-b+1)!}{(a-2b+1)!}$.


Proof by RedFireTruck (talk) 12:07, 1 February 2021 (EST)


Back to the problem. By the Georgeooga-Harryooga Theorem, our answer is $\frac{(4-2)!(4-2+1)!}{(4-2\cdot2+1)!}=\boxed{\textbf{(C)}~12}$.

-franzliszt

Solution 7

https://youtu.be/pB46JzBNM6g

~savannahsolver

Application 3

Problem

The $7$ members of The Ooga Booga Tribe, Lord Ooga Booga, Ooga, Booga, Foogle, Hoogle, George, and Harry, are about to perform a ritual. They have invited $2$ priests, Agoob and Agoo, from a neighboring tribe. In this ritual they will line up in a row and sit down. The $2$ priests must sit next to each other. Lord Ooga Booga, Ooga, and Booga just had a family argument so they must stay away from each other. In how many ways can The Ooga Booga Tribe perform their ritual?


Problem by RedFireTruck

Solutions

Solution 1

Let Agoob and Agoo be one object called Agooboo. Then, by the Georgeooga-Harryooga Theorem there are $\frac{(8-3)!(8-3+1)!}{(8-2\cdot3+1)!}=14400$ ways to arrange the $7$ members and Agooboo. However, there are $2$ ways to "split" Agooboo. So, by the Fundamental Counting Principle, our answer is $14400\cdot2=\boxed{28800}$.


Solution by RedFireTruck (talk) 12:07, 1 February 2021 (EST)

Testimonials

"Thanks for rediscovering our theorem RedFireTruck" - George and Harry of The Ooga Booga Tribe of The Caveman Society

"Wow! George and Harry are alive???" ~ samrocksnature

"Hi" ~ jasperE3

"I used this theorem on the AMC 8 and got a 25. Very useful!" - RedFireTruck (talk) 11:01, 1 February 2021 (EST)

"This is very complicated, but great." - Jiseop55406

I used this theorem on the AMC 8 too! ~ ilp

"Very nice theorem" ~ IdkHowToAddNumbers

"This theorem is really worth of being used in the AMC 8! Very useful!" ~ Aops-g5-gethsemanea2 (talk) 20:48, 21 December 2020 (EST)

"I have realized the way" ~ hi..

"This theorem even works on AMC10 and 12" - TryhardMathlete

"This is very cool"~Physicsisfun123

"Or you could just use a formular version of complementary counting: a!-b!*(a-b+1)!" ~tigeryun

"Interesting!" ~justin6688

I used this on AMC 8 problem 10 and I got it right! THANK YOU! -Onafets {Satire}

"This is useful on the IMO" ~ Taco12

“Ooga booga giv me my meat” -peelybonehead

"This theorem is incredible, but the name could use some work..." ~ cxsmi