2014 AIME I Problem 12

Below is the professionally curated solution for Problem 12 of the 2014 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2014 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:functionbasic probabilitycasework

Difficulty rating: 2990

12.

Let A={1,2,3,4},A = \{1, 2, 3, 4\}, and let ff and gg be randomly chosen (not necessarily distinct) functions from AA to A.A. The probability that the range of ff and the range of gg are disjoint is mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m.m.

Solution:

Condition on the range of f.f. If it has kk elements, then the range of gg is disjoint from it exactly when gg maps AA into the remaining 4k4 - k elements, which happens for (4k)4(4-k)^4 of the 44=2564^4 = 256 functions g.g.

Count functions ff by range size: 44 constant functions; (42)(242)=84\binom{4}{2}(2^4 - 2) = 84 with range size 2;2; (43)36=144\binom{4}{3} \cdot 36 = 144 with range size 33 (there are 3636 surjections from four elements onto three); and 4!=244! = 24 bijections. The number of favorable pairs is 434+8424+14414+2404=324+1344+144=1812.4 \cdot 3^4 + 84 \cdot 2^4 + 144 \cdot 1^4 + 24 \cdot 0^4 = 324 + 1344 + 144 = 1812.

The probability is 181248=181265536=45316384,\frac{1812}{4^8} = \frac{1812}{65536} = \frac{453}{16384}, and since 1638416384 is a power of 22 while 453=3151453 = 3 \cdot 151 is odd, this is in lowest terms. Thus m=453.m = 453.

← Problem 11Full ExamProblem 13

Problem 12 in Other Years