AMC 10 Step by Step

2025 AMC 10B Problem 24

P21-25~6 minPrint

A frog hops along the number line according to the following rules.

∙\qquad\bullet It starts at 00 .

∙\qquad\bullet If it is at 00 , then it moves to 11 with probability 12\tfrac{1}{2} and it disappears with probability 12\tfrac{1}{2} .

∙\qquad\bullet For n=1,2,n = 1, 2, or 3,3, if it is at n,n, then it moves to n+1n+1 with probability 14,\tfrac{1}{4}, it moves to n−1n-1 with probability 14,\tfrac{1}{4}, and it disappears with ∙\qquad\phantom{\bullet} probability 12\tfrac{1}{2} .

What is the probability that the frog reaches 4 ?{4\,?}

Log in to save your progress.
Show solution without answering

Key insight

Let p1, p2, p3 be the chances of reaching 4 from 1, 2, 3. Each is a quarter of the chances one step down and one step up.

Solution

The frog can wander back and forth many times before reaching 44, so listing paths would never end. Instead, give each starting spot its own unknown.

  1. Name the unknowns. Let pnp_n be the chance of eventually reaching 44 if the frog is now at nn. Then p4=1p_4 = 1, and we want p0p_0.

2. Look one hop ahead.
- From 00: half the time it moves to 11, otherwise it disappears. So p0=12p1p_0 = \frac12 p_1.
- From 11: a quarter of the time it goes to 00, a quarter of the time to 22, and otherwise it disappears. So p1=14p0+14p2p_1 = \frac14 p_0 + \frac14 p_2.
- In the same way, p2=14p1+14p3p_2 = \frac14 p_1 + \frac14 p_3 and p3=14p2+14⋅1p_3 = \frac14 p_2 + \frac14 \cdot 1.

3. Write everything using p1p_1, working upward.
- Multiply the second equation by 44: 4p1=p0+p2=12p1+p24p_1 = p_0 + p_2 = \frac12 p_1 + p_2. So p2=72p1p_2 = \frac72 p_1.
- Multiply the third by 44: 4p2=p1+p34p_2 = p_1 + p_3. So p3=4⋅72p1−p1=14p1−p1=13p1p_3 = 4 \cdot \frac72 p_1 - p_1 = 14p_1 - p_1 = 13p_1.

4. Use the last equation to find p1p_1. Multiply it by 44: 4p3=p2+14p_3 = p_2 + 1. Substitute:
52p1=72p1+1⟹(52−72)p1=1⟹972 p1=1⟹p1=297.52p_1 = \tfrac72 p_1 + 1 \quad\Longrightarrow\quad \left(52 - \tfrac72\right)p_1 = 1 \quad\Longrightarrow\quad \tfrac{97}{2}\,p_1 = 1 \quad\Longrightarrow\quad p_1 = \frac{2}{97}.

  1. Finish. p0=12p1=197p_0 = \frac12 p_1 = \frac{1}{97}.

The answer is (E) 197\boxed{\textbf{(E)}\ \frac{1}{97}}.

Why this works

What happens next depends only on where the frog is now, not on how it got there. So one unknown for each spot, plus "what can the next hop do?", replaces an endless list of back-and-forth paths with four short equations. Writing each unknown as a multiple of p1p_1 from the bottom up leaves one equation with one unknown at the end.

Alternative approach

Climb one step at a time. Let unu_n be the chance that a frog at nn ever reaches n+1n + 1.
- From 00 there is no way back, so u0=12u_0 = \frac12.
- From n≥1n \ge 1: it steps up right away with chance 14\frac14; or it steps down (chance 14\frac14), must climb back to nn (chance un−1u_{n-1}), and then is in the same spot as before (chance unu_n). So un=14+14un−1unu_n = \frac14 + \frac14 u_{n-1} u_n, which rearranges to un=14−un−1u_n = \dfrac{1}{4 - u_{n-1}}.

This gives u1=14−1/2=27u_1 = \frac{1}{4 - 1/2} = \frac27, u2=14−2/7=726u_2 = \frac{1}{4 - 2/7} = \frac{7}{26}, u3=14−7/26=2697u_3 = \frac{1}{4 - 7/26} = \frac{26}{97}. To reach 44 the frog must climb every step, so
12⋅27⋅726⋅2697=197.\frac12 \cdot \frac27 \cdot \frac{7}{26} \cdot \frac{26}{97} = \frac{1}{97}.

Concise solution

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

For n=0,1,2,3,4n = 0,1,2,3,4 let pnp_n be the probability that the frog ever reaches 44, given that it is sitting at nn. Then p4=1p_4 = 1, and disappearing contributes 00. Each hop has probability at least 12\tfrac12 of ending the walk, so the frog is certain to disappear or reach 44 eventually and these probabilities are well defined.

Condition on the next hop:
p0=12p1,p1=14(p0+p2),p2=14(p1+p3),p3=14(p2+1).p_0 = \tfrac12 p_1, \qquad p_1 = \tfrac14\left(p_0 + p_2\right), \qquad p_2 = \tfrac14\left(p_1 + p_3\right), \qquad p_3 = \tfrac14\left(p_2 + 1\right).

Rather than eliminate blindly, express everything in terms of p1p_1, working up the line.

From the second equation, 4p1=p0+p2=12p1+p24p_1 = p_0 + p_2 = \tfrac12 p_1 + p_2, so
p2=72p1.p_2 = \tfrac72 p_1 .
From the third, 4p2=p1+p34p_2 = p_1 + p_3, so
p3=4⋅72p1−p1=13p1.p_3 = 4 \cdot \tfrac72 p_1 - p_1 = 13 p_1 .
From the fourth, 4p3=p2+14p_3 = p_2 + 1, so
52p1=72p1+1  ⟹  972p1=1  ⟹  p1=297.52 p_1 = \tfrac72 p_1 + 1 \implies \tfrac{97}{2} p_1 = 1 \implies p_1 = \frac{2}{97}.

Finally p0=12p1=197p_0 = \tfrac12 p_1 = \dfrac{1}{97}.

The answer is (E) 197\boxed{\textbf{(E)}\ \frac{1}{97}}.

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.