AMC 10 Step by Step

2012 AMC 10A Problem 25

P21-25~10 minPrint

Real numbers xx , yy , and zz are chosen independently and at random from the interval [0,n][0,n] for some positive integer nn . The probability that no two of xx , yy , and zz are within 1 unit of each other is greater than 12\frac {1}{2} . What is the smallest possible value of nn ?

Log in to save your progress.
Show solution without answering

Key insight

Sort so x < y < z, then slide y down 1 and z down 2. The gaps disappear, and the probability is ((n - 2)/n)^3.

Solution

Setting up. Think of (x,y,z)(x, y, z) as a random point in a cube with side nn. The probability is the volume of the "good" part divided by the whole volume n3n^3.

1. Sort first. The six orders (xx smallest, yy smallest, and so on) are equally likely and give the same shape of good region. So look only at the order x<y<zx < y < z. That piece of the cube has volume n36\frac{n^3}{6}.
2. The condition, once sorted. With x<y<zx < y < z, "no two within 11" means yy is at least 11 more than xx, and zz is at least 11 more than yy. Then zz is automatically at least 22 more than xx.
3. Remove the gaps. Try a concrete case with n=10n = 10: the good triple x=2x = 2, y=5y = 5, z=9z = 9. Slide yy down by 11 and zz down by 22 to get 2,4,72, 4, 7. These are still in order, and all lie between 00 and 88.
In general, set X=xX = x, Y=y−1Y = y - 1, Z=z−2Z = z - 2. The conditions y≥x+1y \ge x + 1 and z≥y+1z \ge y + 1 become just X≤Y≤ZX \le Y \le Z. And since z≤nz \le n, we get Z≤n−2Z \le n - 2. So the good sorted triples match up exactly with sorted triples in [0,n−2][0, n - 2].
4. Volume. Sliding does not change volume. Sorted triples in [0,n−2][0, n-2] fill (n−2)36\frac{(n-2)^3}{6} of volume. So
probability=(n−2)3/6n3/6=(n−2n)3.\text{probability} = \frac{(n-2)^3 / 6}{n^3 / 6} = \left(\frac{n-2}{n}\right)^3.
5. Find the smallest nn. The fraction grows as nn grows, so test the choices from the smallest:
- n=9n = 9: (79)3=343729\left(\frac79\right)^3 = \frac{343}{729}, and 343343 is less than half of 729729. Too small.
- n=10n = 10: (810)3=5121000\left(\frac{8}{10}\right)^3 = \frac{512}{1000}, which is more than 12\frac12.

The answer is (D) 10\boxed{\textbf{(D)}\ 10}.

Why this works

"No two within 11" is the smooth version of choosing numbers with gaps. Sort them, slide each one back by the gaps in front of it, and the condition disappears. Sorting costs a factor of 66 on both top and bottom, which cancels, and sliding does not change volume. The same trick works for any number of values and any gap size.

Alternative approach

Check the method with two numbers, where you can draw the picture. For x,yx, y in [0,n][0, n], the sliding trick predicts (n−1n)2\left(\frac{n-1}{n}\right)^2. In the nn by nn square, the bad points form a strip along the diagonal where xx and yy are less than 11 apart. The good points form two right triangles with legs n−1n - 1, with total area (n−1)2(n-1)^2. So the probability really is (n−1)2n2\frac{(n-1)^2}{n^2}, as the trick predicts.

Concise solution

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

The point (x,y,z)(x, y, z) is uniform in a cube of side nn, so the probability is the volume of the good region divided by n3n^3.

By symmetry the six orderings of x,y,zx, y, z are equally likely, so restrict to x<y<zx < y < z. This slice has volume n36\frac{n^3}{6}, and within it the condition is just y−x≥1y - x \ge 1 and z−y≥1z - y \ge 1 (the pair x,zx, z is then automatically at least 22 apart).

Remove the mandatory gaps: set x′=xx' = x, y′=y−1y' = y - 1, z′=z−2z' = z - 2. The conditions become
0≤x′≤y′≤z′≤n−2,0 \le x' \le y' \le z' \le n - 2,
which is the ordered slice of a cube of side n−2n - 2. Shifting does not change volume, so the good ordered volume is (n−2)36\frac{(n-2)^3}{6}, and
P(n)=(n−2)3/6n3/6=(n−2n)3.P(n) = \frac{(n-2)^3/6}{n^3/6} = \left(\frac{n-2}{n}\right)^3.

We need P(n)>12P(n) > \frac12. Since P(n)P(n) increases with nn, test the choices upward: n=9n = 9 gives (79)3=343729<12\left(\frac{7}{9}\right)^3 = \frac{343}{729} < \frac12, and n=10n = 10 gives (810)3=5121000>12\left(\frac{8}{10}\right)^3 = \frac{512}{1000} > \frac12.

The answer is (D) 10\boxed{\textbf{(D)}\ 10}.

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.