AMC 10 Step by Step

2014 AMC 10B Problem 25

P21-25~10 minPrint

In a small pond there are eleven lily pads in a row labeled 00 through 1010 . A frog is sitting on pad 11 . When the frog is on pad NN , 0<N<100<N<10 , it will jump to pad N−1N-1 with probability N10\frac{N}{10} and to pad N+1N+1 with probability 1−N101-\frac{N}{10} . Each jump is independent of the previous jumps. If the frog reaches pad 00 it will be eaten by a patiently waiting snake. If the frog reaches pad 1010 it will exit the pond, never to return. What is the probability that the frog will escape without being eaten by the snake?

Log in to save your progress.
Show solution without answering

Key insight

Look at the gaps between escape chances on neighboring pads: each gap is the previous one times N/(10 - N), and all gaps add up to 1.

Solution

Step 1: set up the unknowns. Let pNp_N be the chance that the frog escapes if it is sitting on pad NN. From pad 00 it has been eaten, so p0=0p_0 = 0. From pad 1010 it has escaped, so p10=1p_{10} = 1. We want p1p_1.

Step 2: one jump. From pad NN the frog goes down with chance N10\frac{N}{10} or up with chance 10−N10\frac{10 - N}{10}, then carries on from the new pad. So
pN=N10 pN−1+10−N10 pN+1.p_N = \frac{N}{10}\,p_{N-1} + \frac{10 - N}{10}\,p_{N+1}.

Step 3: look at the gaps. Ten equations like this are a lot of work, so look at the gaps between neighboring pads instead. Write d0=p1−p0d_0 = p_1 - p_0, d1=p2−p1d_1 = p_2 - p_1, and so on up to d9=p10−p9d_9 = p_{10} - p_9.

Multiply the equation in Step 2 by 1010, and write 10 pN10\,p_N as N pN+(10−N) pNN\,p_N + (10 - N)\,p_N:
N pN+(10−N) pN=N pN−1+(10−N) pN+1.N\,p_N + (10 - N)\,p_N = N\,p_{N-1} + (10 - N)\,p_{N+1}.
Rearranging, N (pN−pN−1)=(10−N) (pN+1−pN)N\,(p_N - p_{N-1}) = (10 - N)\,(p_{N+1} - p_N). In gap language:
dN=N10−N dN−1.d_N = \frac{N}{10 - N}\, d_{N-1}.

Step 4: work out the gaps. Start from d0d_0 (which equals p1p_1, the answer we want):

NNfactor N10−N\frac{N}{10 - N}dNd_N
1119\frac19d09\frac{d_0}{9}
2228\frac28d036\frac{d_0}{36}
3337\frac37d084\frac{d_0}{84}
4446\frac46d0126\frac{d_0}{126}
5555\frac55d0126\frac{d_0}{126}

The pads are balanced around pad 55 (pad NN and pad 10−N10 - N are mirror images, with snake and exit swapped), and the gaps come out the same way: d5=d4d_5 = d_4, d6=d3d_6 = d_3, d7=d2d_7 = d_2, d8=d1d_8 = d_1, d9=d0d_9 = d_0. You can check this by carrying on with the factors 64,73,82,91\frac64, \frac73, \frac82, \frac91.

Step 5: the gaps add to 1. Adding all ten gaps climbs from p0=0p_0 = 0 to p10=1p_{10} = 1, so d0+d1+⋯+d9=1d_0 + d_1 + \cdots + d_9 = 1. Using the pairs from Step 4:
2d0(1+19+136+184+1126)=1.2 d_0 \left(1 + \frac19 + \frac{1}{36} + \frac{1}{84} + \frac{1}{126}\right) = 1.
With common denominator 252252, the bracket is 252+28+7+3+2252=292252\frac{252 + 28 + 7 + 3 + 2}{252} = \frac{292}{252}. So
2d0⋅292252=1,d0=252584=63146.2 d_0 \cdot \frac{292}{252} = 1, \qquad d_0 = \frac{252}{584} = \frac{63}{146}.

Step 6: answer. p1=p0+d0=63146p_1 = p_0 + d_0 = \frac{63}{146}.

The answer is (C) 63146\boxed{\textbf{(C)}\ \frac{63}{146}}.

Why this works

For a walk that ends when it hits one of two edges, writing "chance from here = average of chances after one step" gives an equation for every pad. Those equations are tangled, but the gaps between neighboring chances follow a simple multiply-by-a-factor rule. Since the gaps must add up to the total climb from 00 to 11, one sum finishes the problem. Watch for this "look at the differences" idea in any random-walk problem.

Alternative approach

Use the mirror symmetry first: from pad 55 the snake and the exit are equally far and the jump chances are balanced, so p5=12p_5 = \frac12. Now call p1=ap_1 = a and march forward with the one-jump equation, solving each time for the next pad:
- from pad 11: a=910p2a = \frac{9}{10}p_2, so p2=10a9p_2 = \frac{10a}{9};
- from pad 22: p2=210a+810p3p_2 = \frac{2}{10}a + \frac{8}{10}p_3, so p3=41a36p_3 = \frac{41a}{36};
- from pad 33: p3=310p2+710p4p_3 = \frac{3}{10}p_2 + \frac{7}{10}p_4, so p4=145a126p_4 = \frac{145a}{126};
- from pad 44: p4=410p3+610p5p_4 = \frac{4}{10}p_3 + \frac{6}{10}p_5, so p5=73a63p_5 = \frac{73a}{63}.

Setting 73a63=12\frac{73a}{63} = \frac12 gives a=63146a = \frac{63}{146}.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Let pNp_N be the probability of escaping from pad NN, so p0=0p_0 = 0 and p10=1p_{10} = 1. One jump from pad NN gives
pN=N10 pN−1+10−N10 pN+1.p_N = \frac{N}{10}\,p_{N-1} + \frac{10 - N}{10}\,p_{N+1}.
Move pNp_N across: N(pN−pN−1)=(10−N)(pN+1−pN)N(p_N - p_{N-1}) = (10 - N)(p_{N+1} - p_N). Writing dN=pN+1−pNd_N = p_{N+1} - p_N, this is
dN=N10−N dN−1.d_N = \frac{N}{10 - N}\, d_{N-1}.
So d1=19d0d_1 = \frac{1}{9} d_0, d2=28⋅19d0=d036d_2 = \frac{2}{8} \cdot \frac{1}{9} d_0 = \frac{d_0}{36}, d3=37⋅d036=d084d_3 = \frac{3}{7} \cdot \frac{d_0}{36} = \frac{d_0}{84}, d4=46⋅d084=d0126d_4 = \frac{4}{6} \cdot \frac{d_0}{84} = \frac{d_0}{126}; in general dN=d0(9N)d_N = \frac{d_0}{\binom{9}{N}}, which is symmetric (d9−N=dNd_{9-N} = d_N).

The differences telescope: d0+d1+⋯+d9=p10−p0=1d_0 + d_1 + \cdots + d_9 = p_{10} - p_0 = 1. Hence
1=2d0(1+19+136+184+1126)=2d0⋅252+28+7+3+2252=d0⋅292126=d0⋅14663.1 = 2 d_0\left(1 + \frac19 + \frac{1}{36} + \frac{1}{84} + \frac{1}{126}\right) = 2 d_0 \cdot \frac{252 + 28 + 7 + 3 + 2}{252} = d_0 \cdot \frac{292}{126} = d_0 \cdot \frac{146}{63}.
So d0=63146d_0 = \frac{63}{146}, and since p1=p0+d0p_1 = p_0 + d_0, the frog escapes with probability 63146\frac{63}{146}.

The answer is (C) 63146\boxed{\textbf{(C)}\ \frac{63}{146}}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.