Difference between revisions of "1984 AIME Problems/Problem 11"

Line 40: Line 40:
 
The number of configurations with no adjacent Birch trees is equal to the total number of configurations minus the number of configurations with at least one pair of adjacent Birch trees.  
 
The number of configurations with no adjacent Birch trees is equal to the total number of configurations minus the number of configurations with at least one pair of adjacent Birch trees.  
  
The total number of configurations is given by <math>\frac{12!}[3! \cdot 4! \cdot 5!}</math>. To compute the number of configurations with at least one pair of adjacent Birch trees, we use PIE.
+
The total number of configurations is given by <math>\frac{12!}{3! \cdot 4! \cdot 5!}</math>. To compute the number of configurations with at least one pair of adjacent Birch trees, we use PIE.
  
 
#(configurations with at least one pair of adjacent Birch trees) = #(configurations with one pair) - #(configurations with two pairs) + #(configurations with three pairs) - #(configurations with four pairs).
 
#(configurations with at least one pair of adjacent Birch trees) = #(configurations with one pair) - #(configurations with two pairs) + #(configurations with three pairs) - #(configurations with four pairs).
  
To compute the first term, note that we can treat the adjacent pair of Birch trees as one separate tree. This then gives <math>\frac{11!}[3! \cdot 3! \cdot 4!}</math> configurations.  
+
To compute the first term, note that we can treat the adjacent pair of Birch trees as one separate tree. This then gives <math>\frac{11!}{3! \cdot 3! \cdot 4!}</math> configurations.  
  
For the second term, we have two cases. The two pairs could either happen consecutively (BBB) or separately (BB BB). They both give <math>\frac{10!}[2! \cdot 3! \cdot 4!}</math> cases. So our second term is <math>\frac{2 \cdot 10!}[2! \cdot 3! \cdot 4!}</math>.
+
For the second term, we have two cases. The two pairs could either happen consecutively (BBB) or separately (BB BB). They both give <math>\frac{10!}{2! \cdot 3! \cdot 4!}</math> cases. So our second term is <math>\frac{2 \cdot 10!}{2! \cdot 3! \cdot 4!}</math>.
  
The third term can also happen in two ways. The three pairs could be arranged like BBBB or BBB BB. Both cases give <math>\frac{2 \cdot 9!}[3! \cdot 4!}</math> arrangements.
+
The third term can also happen in two ways. The three pairs could be arranged like BBBB or BBB BB. Both cases give <math>\frac{2 \cdot 9!}{3! \cdot 4!}</math> arrangements.
  
The final term can happen in one way (BBBBB). This gives <math>\frac{8!}[3! \cdot 4!}</math> arrangements.
+
The final term can happen in one way (BBBBB). This gives <math>\frac{8!}{3! \cdot 4!}</math> arrangements.
  
Substituting these into our PIE expression, we find that there are <math>25760</math> configurations with at least one pair of adjacent Birch trees. Therefore, there are a total of <math>\frac{12!}[3! \cdot 4! \cdot 5!} - 25760 = 1960</math> configurations with no adjacent Birch trees.
+
Substituting these into our PIE expression, we find that there are <math>25760</math> configurations with at least one pair of adjacent Birch trees. Therefore, there are a total of <math>\frac{12!}{3! \cdot 4! \cdot 5!} - 25760 = 1960</math> configurations with no adjacent Birch trees.
  
Thus, the probability of a given configuration having no two adjacent Birch trees is given by <math>\frac{1960}{\frac{12!}[3! \cdot 4! \cdot 5!}} = \frac{7}{99}</math>.
+
Thus, the probability of a given configuration having no two adjacent Birch trees is given by <math>\frac{1960}{\frac{12!}{3! \cdot 4! \cdot 5!}} = \frac{7}{99}</math>.
  
 
Therefore, the desired result is given by <math>7+99 = \boxed{106}</math>.
 
Therefore, the desired result is given by <math>7+99 = \boxed{106}</math>.

Revision as of 14:11, 10 June 2020

Problem

A gardener plants three maple trees, four oaks, and five birch trees in a row. He plants them in random order, each arrangement being equally likely. Let $\frac m n$ in lowest terms be the probability that no two birch trees are next to one another. Find $m+n$.

Solution

First notice that there is no difference between the maple trees and the oak trees; we have only two types, birch trees and "non-birch" trees. (If you don't believe this reasoning, think about it. You could also differentiate the tall oak trees from the short oak trees, and the maple trees with many branches as opposed to those with few branches. Indeed, you could keep dividing until you have them each in their own category, but in the end it will not change the probability of the birch trees being near each other. That is, in the end, you multiply the numerator by the number of ways to arrange the oak and maple trees and you also multiply the denominator by the number of ways to arrange the oak and maple trees, making them cancel out.)

The five birch trees must be placed amongst the seven previous trees. We can think of these trees as 5 dividers of 8 slots that the birch trees can go in, making ${8\choose5} = 56$ different ways to arrange this.

There are ${12 \choose 5} = 792$ total ways to arrange the twelve trees, so the probability is $\frac{56}{792} = \frac{7}{99}$.

The answer is $7 + 99 = \boxed{106}$.


Solution 2

Let $b$, $n$ denote birch tree and not-birch tree, respectively. Notice that we only need $4$ $n$s to separate the $5$ $b$s. Specifically, \[b,n,b,n,b,n,b,n,b\] Since we have $7$ $n$s, we are placing the extra $3$ $n$s into the $6$ intervals beside the $b$s.

Now doing simple casework.

If all $3$ $n$s are in the same interval, there are $6$ ways.

If $2$ of the $3$ $n$s are in the same interval, there are $6\cdot5=30$ ways.

If the $n$s are in $3$ different intervals, there are ${6 \choose 3} =20$ ways.

In total there are $6+30+20=56$ ways.

There are ${12\choose5}=792$ ways to distribute the birch trees among all $12$ trees.

Thus the probability equals $\frac{56}{792}=\frac{7}{99}\Longrightarrow m+n=7+99=\boxed{106}$.

~ Nafer

Solution 3 (using PIE)

Note that the requested probability is computed by dividing the number of configurations with no adjacent Birch trees by the total number of configurations. We can compute the number of configurations with no adjacent Birch trees using complementary counting and then the Principle of Inclusion-Exclusion.

The number of configurations with no adjacent Birch trees is equal to the total number of configurations minus the number of configurations with at least one pair of adjacent Birch trees.

The total number of configurations is given by $\frac{12!}{3! \cdot 4! \cdot 5!}$. To compute the number of configurations with at least one pair of adjacent Birch trees, we use PIE.

  1. (configurations with at least one pair of adjacent Birch trees) = #(configurations with one pair) - #(configurations with two pairs) + #(configurations with three pairs) - #(configurations with four pairs).

To compute the first term, note that we can treat the adjacent pair of Birch trees as one separate tree. This then gives $\frac{11!}{3! \cdot 3! \cdot 4!}$ configurations.

For the second term, we have two cases. The two pairs could either happen consecutively (BBB) or separately (BB BB). They both give $\frac{10!}{2! \cdot 3! \cdot 4!}$ cases. So our second term is $\frac{2 \cdot 10!}{2! \cdot 3! \cdot 4!}$.

The third term can also happen in two ways. The three pairs could be arranged like BBBB or BBB BB. Both cases give $\frac{2 \cdot 9!}{3! \cdot 4!}$ arrangements.

The final term can happen in one way (BBBBB). This gives $\frac{8!}{3! \cdot 4!}$ arrangements.

Substituting these into our PIE expression, we find that there are $25760$ configurations with at least one pair of adjacent Birch trees. Therefore, there are a total of $\frac{12!}{3! \cdot 4! \cdot 5!} - 25760 = 1960$ configurations with no adjacent Birch trees.

Thus, the probability of a given configuration having no two adjacent Birch trees is given by $\frac{1960}{\frac{12!}{3! \cdot 4! \cdot 5!}} = \frac{7}{99}$.

Therefore, the desired result is given by $7+99 = \boxed{106}$.

~ Vietajumping

See also

1984 AIME (ProblemsAnswer KeyResources)
Preceded by
Problem 10
Followed by
Problem 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions