AMC 10 Step by Step

2019 AMC 10A Problem 22

P21-25~6 minPrint

Real numbers between 0 and 1, inclusive, are chosen in the following manner. A fair coin is flipped. If it lands heads, then it is flipped again and the chosen number is 0 if the second flip is heads and 1 if the second flip is tails. On the other hand, if the first coin flip is tails, then the number is chosen uniformly at random from the closed interval [0,1][0,1] . Two random numbers xx and yy are chosen independently in this manner. What is the probability that ∣x−y∣>12|x-y| > \tfrac{1}{2} ?

Log in to save your progress.
Show solution without answering

Key insight

Each number is 0 (chance 1/4), 1 (chance 1/4) or a random point in between (chance 1/2). Split into cases by type and add: 1/8 + 1/4 + 1/16.

Solution

Step 1: what kind of number can come out?

  • First flip heads (12\frac12), second heads (12\frac12): the number is 00. Chance 12⋅12=14\frac12 \cdot \frac12 = \frac14.
  • First flip heads, second tails: the number is 11. Chance 14\frac14.
  • First flip tails: the number is a random point anywhere from 00 to 11. Chance 12\frac12. Call this "spread out".

Step 2: split into cases by what kind xx and yy are. For each case, multiply (chance of the case) by (chance that ∣x−y∣>12|x - y| > \frac12 in that case).

Case A: both are 00 or 11. Chance 12⋅12=14\frac12 \cdot \frac12 = \frac14.
In this case the pairs (0,0),(0,1),(1,0),(1,1)(0,0), (0,1), (1,0), (1,1) are equally likely. The distance is more than 12\frac12 only for (0,1)(0,1) and (1,0)(1,0): 22 out of 44, so 12\frac12.
Contribution: 14⋅12=18\frac14 \cdot \frac12 = \frac18.

Case B: one is 00 or 11, the other is spread out. Chance 12⋅12+12⋅12=12\frac12 \cdot \frac12 + \frac12 \cdot \frac12 = \frac12 (either xx or yy can be the spread-out one).
If the fixed one is 00, the spread-out one must be above 12\frac12: chance 12\frac12. If the fixed one is 11, the spread-out one must be below 12\frac12: chance 12\frac12. Either way, 12\frac12.
Contribution: 12⋅12=14\frac12 \cdot \frac12 = \frac14.

Case C: both are spread out. Chance 12⋅12=14\frac12 \cdot \frac12 = \frac14.
Picture xx across and yy up in a 11 by 11 square. The points with ∣x−y∣>12|x - y| > \frac12 fill two corner triangles: one below the line y=x−12y = x - \frac12 and one above the line y=x+12y = x + \frac12. Each is a right triangle with legs 12\frac12 and 12\frac12, area 18\frac18. Together: 14\frac14 of the square.
Contribution: 14⋅14=116\frac14 \cdot \frac14 = \frac1{16}.

Step 3: add the cases.
18+14+116=216+416+116=716.\frac18 + \frac14 + \frac1{16} = \frac{2}{16} + \frac{4}{16} + \frac{1}{16} = \frac{7}{16}.

The answer is (B) 716\boxed{\textbf{(B)}\ \frac{7}{16}}.

Why this works

When a number can come out in different ways, split into cases by which way it came out. Each case is then simple: either a small list of equally likely outcomes, or an area in a square. Multiplying each case's chance by the chance of success inside it, and adding, keeps everything counted exactly once. Check that the case chances add to 11: 14+12+14=1\frac14 + \frac12 + \frac14 = 1.

Concise solution

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

Each chosen number is one of three types: it equals 00 with probability 14\frac14, equals 11 with probability 14\frac14, or is uniform on [0,1][0,1] with probability 12\frac12. Condition on the types of xx and yy.

Both discrete (probability 12⋅12=14\frac12 \cdot \frac12 = \frac14). Then ∣x−y∣>12|x - y| > \frac12 exactly when one is 00 and the other is 11, which happens with probability 12\frac12 (the four equally likely pairs 00,01,10,1100, 01, 10, 11, two of which work). Contribution: 14⋅12=18\frac14 \cdot \frac12 = \frac18.

One discrete, one uniform (probability 2⋅12⋅12=122 \cdot \frac12 \cdot \frac12 = \frac12). If the discrete value is 00, the uniform one must exceed 12\frac12; if it is 11, the uniform one must be below 12\frac12. Either way the chance is 12\frac12. Contribution: 12⋅12=14\frac12 \cdot \frac12 = \frac14.

Both uniform (probability 14\frac14). In the unit square, the region ∣x−y∣>12|x - y| > \frac12 consists of two right triangles with legs 12\frac12, total area 2⋅18=142 \cdot \frac18 = \frac14. Contribution: 14⋅14=116\frac14 \cdot \frac14 = \frac1{16}.

Total: 18+14+116=2+4+116=716\frac18 + \frac14 + \frac1{16} = \frac{2 + 4 + 1}{16} = \frac{7}{16}.

The answer is (B) 716\boxed{\textbf{(B)}\ \frac{7}{16}}.

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.