2012 AIME II Exam Solutions

Scroll down to view professionally curated solutions from LIVE by Po-Shen Loh, print PDF solutions, view answer key, or:

Try Exam

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).

1.

Find the number of ordered pairs of positive integer solutions (m,n)(m, n) to the equation 20m+12n=2012.20m + 12n = 2012.

Concepts:Diophantine Equationmodular arithmetic

Difficulty rating: 1870

Solution:

Dividing by 44 gives 5m+3n=503.5m + 3n = 503. Reducing modulo 3,3, we need 2m5032(mod3),2m \equiv 503 \equiv 2 \pmod{3}, so m1(mod3).m \equiv 1 \pmod{3}. Write m=3k+1m = 3k + 1 with k0;k \ge 0; then 3n=5035(3k+1)=49815k,3n = 503 - 5(3k + 1) = 498 - 15k, so n=1665k.n = 166 - 5k.

This is positive exactly when 5k165,5k \le 165, that is k33.k \le 33. So k=0,1,,33k = 0, 1, \ldots, 33 all work, giving 3434 ordered pairs.

2.

Two geometric sequences a1,a2,a3,a_1, a_2, a_3, \ldots and b1,b2,b3,b_1, b_2, b_3, \ldots have the same common ratio, with a1=27,a_1 = 27, b1=99,b_1 = 99, and a15=b11.a_{15} = b_{11}. Find a9.a_9.

Difficulty rating: 1750

Solution:

Let rr be the shared common ratio. Then a15=27r14a_{15} = 27r^{14} and b11=99r10,b_{11} = 99r^{10}, so 27r14=99r1027r^{14} = 99r^{10} gives r4=9927=113.r^4 = \frac{99}{27} = \frac{11}{3}.

Therefore a9=27r8=27(113)2=271219=3121=363.a_9 = 27r^8 = 27\left(\frac{11}{3}\right)^2 = 27 \cdot \frac{121}{9} = 3 \cdot 121 = 363.

3.

At a certain university, the division of mathematical sciences consists of the departments of mathematics, statistics, and computer science. There are two male and two female professors in each department. A committee of six professors is to contain three men and three women and must also contain two professors from each of the three departments. Find the number of possible committees that can be formed subject to these requirements.

Solution:

Each department contributes exactly two committee members. If every department sends one man and one woman, there are 22=42 \cdot 2 = 4 choices per department, for 43=644^3 = 64 committees.

Otherwise some department sends two men. To keep three of each gender, another department must then send its two women, and the remaining department sends one man and one woman. There are 33 ways to pick the all-male department, 22 ways to pick the all-female department, and 22=42 \cdot 2 = 4 choices in the mixed department (the two-man and two-woman selections are forced), for 324=243 \cdot 2 \cdot 4 = 24 committees.

The total is 64+24=88.64 + 24 = 88.

4.

Ana, Bob, and Cao bike at constant rates of 8.68.6 meters per second, 6.26.2 meters per second, and 55 meters per second, respectively. They all begin biking at the same time from the northeast corner of a rectangular field whose longer side runs due west. Ana starts biking along the edge of the field, initially heading west, Bob starts biking along the edge of the field, initially heading south, and Cao bikes in a straight line across the field to a point DD on the south edge of the field. Cao arrives at point DD at the same time that Ana and Bob arrive at DD for the first time. The ratio of the field's length to the field's width to the distance from point DD to the southeast corner of the field can be represented as p:q:r,p : q : r, where p,p, q,q, and rr are positive integers with pp and qq relatively prime. Find p+q+r.p + q + r.

Solution:

Let the field have length LL (west) and width WW (south) with L>W,L \gt W, and let xx be the distance from DD to the southeast corner. Ana rides around the perimeter a distance 2L+Wx,2L + W - x, Bob rides W+x,W + x, and Cao rides W2+x2,\sqrt{W^2 + x^2}, all in the same time: 2L+Wx8.6=W+x6.2=W2+x25.\frac{2L + W - x}{8.6} = \frac{W + x}{6.2} = \frac{\sqrt{W^2 + x^2}}{5}.

The first equality gives L=6W+37x31.L = \frac{6W + 37x}{31}. Squaring the second, 25(W+x)2=38.44(W2+x2),25(W + x)^2 = 38.44\,(W^2 + x^2), which simplifies to 168W2625Wx+168x2=0,168W^2 - 625Wx + 168x^2 = 0, factoring as (24W7x)(7W24x)=0.(24W - 7x)(7W - 24x) = 0.

The root x=7W24x = \frac{7W}{24} gives L=13W24<W,L = \frac{13W}{24} \lt W, which is impossible, so x=24W7x = \frac{24W}{7} and then L=30W7.L = \frac{30W}{7}. The ratio is L:W:x=30:7:24,L : W : x = 30 : 7 : 24, and p+q+r=30+7+24=61.p + q + r = 30 + 7 + 24 = 61.

5.

In the accompanying figure, the outer square SS has side length 40.40. A second square SS' of side length 1515 is constructed inside SS with the same center as SS and with sides parallel to those of S.S. From each midpoint of a side of S,S, segments are drawn to the two closest vertices of S.S'. The result is a four-pointed starlike figure inscribed in S.S. The star figure is cut out and then folded to form a pyramid with base S.S'. Find the volume of this pyramid.

Solution:

Folding the star along the sides of SS' lifts the four triangular points so that their tips (the midpoints of the sides of SS) meet at a single apex V.V. Let MM be the center of SS' and PP the midpoint of one of its sides. In the flat figure, the distance from PP to the tip of its triangle is 20152=252,20 - \frac{15}{2} = \frac{25}{2}, and this becomes the slant PVPV after folding.

Triangle PMVPMV has a right angle at M,M, with PM=152,PM = \frac{15}{2}, so the height is VM=(252)2(152)2=100=10.VM = \sqrt{\left(\tfrac{25}{2}\right)^2 - \left(\tfrac{15}{2}\right)^2} = \sqrt{100} = 10. The volume is 1315210=750.\frac{1}{3} \cdot 15^2 \cdot 10 = 750.

6.

Let z=a+biz = a + bi be the complex number with z=5|z| = 5 and b>0b \gt 0 such that the distance between (1+2i)z3(1 + 2i)z^3 and z5z^5 is maximized, and let z4=c+di.z^4 = c + di. Find c+d.c + d.

Difficulty rating: 2510

Solution:

The distance is (1+2i)z3z5=z31+2iz2=1251+2iz2.|(1 + 2i)z^3 - z^5| = |z|^3 \cdot |1 + 2i - z^2| = 125\,|1 + 2i - z^2|. As zz runs over the circle z=5|z| = 5 with b>0,b \gt 0, the square z2z^2 attains every point of the circle w=25|w| = 25 (the condition b>0b \gt 0 merely selects one of the two square roots). The point of that circle farthest from 1+2i1 + 2i is diametrically opposite in direction: z2=251+2i1+2i=55(1+2i).z^2 = -25 \cdot \frac{1 + 2i}{|1 + 2i|} = -5\sqrt{5}\,(1 + 2i).

Squaring, z4=125(1+2i)2=125(3+4i)=375+500i,z^4 = 125\,(1 + 2i)^2 = 125\,(-3 + 4i) = -375 + 500i, so c+d=375+500=125.c + d = -375 + 500 = 125.

7.

Let SS be the increasing sequence of positive integers whose binary representation has exactly 88 ones. Let NN be the 10001000th number in S.S. Find the remainder when NN is divided by 1000.1000.

Difficulty rating: 2790

Solution:

There are (128)=495\binom{12}{8} = 495 members of SS below 2122^{12} and (138)=1287\binom{13}{8} = 1287 below 213,2^{13}, so NN has 1313 binary digits, and exactly 12871000=2871287 - 1000 = 287 members below 2132^{13} exceed it. The (116)=462\binom{11}{6} = 462 members whose binary representations begin 1111 are the largest ones, so NN begins with 1111 and is the 462287=175462 - 287 = 175th smallest of them.

Among these, (96)=84\binom{9}{6} = 84 begin 1100,1100, the next (85)=56\binom{8}{5} = 56 begin 11010,11010, and the next (74)=35\binom{7}{4} = 35 begin 110110.110110. Since 84+56+35=175,84 + 56 + 35 = 175, the number NN is the largest member beginning 110110,110110, namely 11011011110001101101111000 in binary.

Its value is 212+211+29+28+26+25+24+23=7032,2^{12} + 2^{11} + 2^9 + 2^8 + 2^6 + 2^5 + 2^4 + 2^3 = 7032, so the remainder upon division by 10001000 is 32.32.

8.

The complex numbers zz and ww satisfy the system z+20iw=5+i,w+12iz=4+10i.z + \frac{20i}{w} = 5 + i, \qquad w + \frac{12i}{z} = -4 + 10i.

Find the smallest possible value of zw2.|zw|^2.

Difficulty rating: 2840

Solution:

Multiplying the two equations gives zw+12i+20i240zw=(5+i)(4+10i)=30+46i,zw + 12i + 20i - \frac{240}{zw} = (5 + i)(-4 + 10i) = -30 + 46i, so zw240zw=30+14i.zw - \frac{240}{zw} = -30 + 14i. Setting v=zwv = zw yields v2+(3014i)v240=0.v^2 + (30 - 14i)v - 240 = 0.

By the quadratic formula, v=15+7i±(157i)2+240=15+7i±416210i.v = -15 + 7i \pm \sqrt{(15 - 7i)^2 + 240} = -15 + 7i \pm \sqrt{416 - 210i}. Writing (a+bi)2=416210i(a + bi)^2 = 416 - 210i requires a2b2=416a^2 - b^2 = 416 and ab=105,ab = -105, which gives a+bi=±(215i).a + bi = \pm(21 - 5i). Hence v=6+2iv = 6 + 2i or v=36+12i,v = -36 + 12i, with v2=40|v|^2 = 40 or 1440.1440.

The smaller value is attained: z=1i,z = 1 - i, w=2+4iw = 2 + 4i satisfies both equations with zw=6+2i.zw = 6 + 2i. So the smallest possible value of zw2|zw|^2 is 40.40.

9.

Let xx and yy be real numbers such that sinxsiny=3\frac{\sin x}{\sin y} = 3 and cosxcosy=12.\frac{\cos x}{\cos y} = \frac{1}{2}. The value of sin2xsin2y+cos2xcos2y\frac{\sin 2x}{\sin 2y} + \frac{\cos 2x}{\cos 2y} can be expressed in the form pq,\frac{p}{q}, where pp and qq are relatively prime positive integers. Find p+q.p + q.

Difficulty rating: 2560

Solution:

From the double-angle formula, sin2xsin2y=2sinxcosx2sinycosy=312=32.\frac{\sin 2x}{\sin 2y} = \frac{2\sin x \cos x}{2\sin y \cos y} = 3 \cdot \frac{1}{2} = \frac{3}{2}.

Squaring the given equations, sin2x=9sin2y\sin^2 x = 9\sin^2 y and cos2x=14cos2y.\cos^2 x = \frac{1}{4}\cos^2 y. Adding, 1=9(1cos2y)+14cos2y,1 = 9(1 - \cos^2 y) + \frac{1}{4}\cos^2 y, so 354cos2y=8\frac{35}{4}\cos^2 y = 8 and cos2y=3235.\cos^2 y = \frac{32}{35}. Then cos2y=2cos2y1=2935\cos 2y = 2\cos^2 y - 1 = \frac{29}{35} and cos2x=2cos2x1=12cos2y1=1935,\cos 2x = 2\cos^2 x - 1 = \frac{1}{2}\cos^2 y - 1 = -\frac{19}{35}, so cos2xcos2y=1929.\frac{\cos 2x}{\cos 2y} = -\frac{19}{29}.

The requested value is 321929=873858=4958,\frac{3}{2} - \frac{19}{29} = \frac{87 - 38}{58} = \frac{49}{58}, and p+q=49+58=107.p + q = 49 + 58 = 107.

10.

Find the number of positive integers nn less than 10001000 for which there exists a positive real number xx such that n=xx.n = x\lfloor x \rfloor.

Note: x\lfloor x \rfloor is the greatest integer less than or equal to x.x.

Solution:

Fix x=a1.\lfloor x \rfloor = a \ge 1. For ax<a+1a \le x \lt a + 1 the product n=axn = ax ranges over [a2,a2+a),[a^2, a^2 + a), and every integer nn in that interval is achieved by x=nax = \frac{n}{a} (which indeed has floor aa). So each aa contributes exactly aa values of n,n, namely a2,a2+1,,a2+a1.a^2, a^2 + 1, \ldots, a^2 + a - 1.

For a=31a = 31 the largest value is 312+30=991<1000,31^2 + 30 = 991 \lt 1000, so all values through a=31a = 31 qualify, while a=32a = 32 already starts at 1024.1024. The count is 1+2++31=31322=496.1 + 2 + \cdots + 31 = \frac{31 \cdot 32}{2} = 496.

11.

Let f1(x)=2333x+1,f_1(x) = \frac{2}{3} - \frac{3}{3x + 1}, and for n2,n \ge 2, define fn(x)=f1(fn1(x)).f_n(x) = f_1(f_{n-1}(x)). The value of xx that satisfies f1001(x)=x3f_{1001}(x) = x - 3 can be expressed in the form mn,\frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Difficulty rating: 2650

Solution:

Combining fractions, f1(x)=2(3x+1)93(3x+1)=6x79x+3.f_1(x) = \frac{2(3x + 1) - 9}{3(3x + 1)} = \frac{6x - 7}{9x + 3}. Composing once, f2(x)=6f1(x)79f1(x)+3=3x79x6,f_2(x) = \frac{6 f_1(x) - 7}{9 f_1(x) + 3} = \frac{-3x - 7}{9x - 6}, and composing again gives f3(x)=x.f_3(x) = x.

So the iteration is periodic with period 3.3. Since 10012(mod3),1001 \equiv 2 \pmod{3}, we have f1001=f2,f_{1001} = f_2, and the equation becomes 3x79x6=x3,\frac{-3x - 7}{9x - 6} = x - 3, that is 9x233x+18=3x7,9x^2 - 33x + 18 = -3x - 7, or 9x230x+25=(3x5)2=0.9x^2 - 30x + 25 = (3x - 5)^2 = 0.

The unique solution is x=53,x = \frac{5}{3}, so m+n=5+3=8.m + n = 5 + 3 = 8.

12.

For a positive integer p,p, define the positive integer nn to be pp-safe if nn differs in absolute value by more than 22 from all multiples of p.p. For example, the set of 1010-safe numbers is {3,4,5,6,7,13,14,15,16,17,23,}.\{3, 4, 5, 6, 7, 13, 14, 15, 16, 17, 23, \ldots\}. Find the number of positive integers less than or equal to 10,00010{,}000 which are simultaneously 77-safe, 1111-safe, and 1313-safe.

Difficulty rating: 2920

Solution:

Being pp-safe depends only on nmodp:n \bmod p: it requires 3nmodpp3.3 \le n \bmod p \le p - 3. That allows 22 residues modulo 7,7, 66 residues modulo 11,11, and 88 residues modulo 13.13. Since 71113=1001,7 \cdot 11 \cdot 13 = 1001, the Chinese remainder theorem gives exactly 268=962 \cdot 6 \cdot 8 = 96 safe residues modulo 1001,1001, so each block of 10011001 consecutive integers contains 9696 safe numbers.

The integers 11 through 1001010010 form ten such blocks, containing 960960 safe numbers. It remains to discard the safe numbers among 10001,,10010.10001, \ldots, 10010. Their residues modulo 77 run 5,6,0,1,2,3,4,5,6,0,5, 6, 0, 1, 2, 3, 4, 5, 6, 0, so only 1000610006 and 1000710007 are 77-safe; both are also 1111-safe (residues 77 and 88) and 1313-safe (residues 99 and 1010).

Therefore the count is 9602=958.960 - 2 = 958.

13.

Equilateral ABC\triangle ABC has side length 111.\sqrt{111}. There are four distinct triangles AD1E1,AD_1E_1, AD1E2,AD_1E_2, AD2E3,AD_2E_3, and AD2E4,AD_2E_4, each congruent to ABC,\triangle ABC, with BD1=BD2=11.BD_1 = BD_2 = \sqrt{11}. Find k=14(CEk)2.\sum_{k=1}^{4}(CE_k)^2.

Solution:

Write s=111s = \sqrt{111} and r=11.r = \sqrt{11}. Since each triangle ADiEkAD_iE_k is congruent to ABC,\triangle ABC, we have ADi=AEk=s,AD_i = AE_k = s, so D1D_1 and D2D_2 are the two intersections of the circle of radius ss about AA with the circle of radius rr about B;B; they are mirror images across line AB,AB, so BAD1=BAD2=θ\angle BAD_1 = \angle BAD_2 = \theta with D1D_1 and D2D_2 on opposite sides of AB.AB. Each EkE_k is the image of its DiD_i rotated ±60\pm 60^\circ about A.A. Measuring signed angles from ray AB,AB, with CC at +60,+60^\circ, the rays ADiAD_i sit at ±θ\pm\theta and the rays AEkAE_k at ±θ±60,\pm\theta \pm 60^\circ, so the four angles CAEk\angle CAE_k are θ,\theta, θ,\theta, 120θ,120^\circ - \theta, and 120+θ.120^\circ + \theta.

Since AC=AEk=s,AC = AE_k = s, the law of cosines gives (CEk)2=2s2(1cosCAEk).(CE_k)^2 = 2s^2(1 - \cos\angle CAE_k). Using cos(120θ)+cos(120+θ)=2cos120cosθ=cosθ,\cos(120^\circ - \theta) + \cos(120^\circ + \theta) = 2\cos 120^\circ \cos\theta = -\cos\theta, the four angles' cosines sum to 2cosθcosθ=cosθ,2\cos\theta - \cos\theta = \cos\theta, so k=14(CEk)2=2s2(4cosθ).\sum_{k=1}^{4}(CE_k)^2 = 2s^2(4 - \cos\theta).

Applying the law of cosines in triangle ABD1ABD_1 (with AB=AD1=sAB = AD_1 = s) gives r2=2s2(1cosθ),r^2 = 2s^2(1 - \cos\theta), so 2s2cosθ=2s2r2.2s^2\cos\theta = 2s^2 - r^2. Therefore the sum equals 8s2(2s2r2)=6s2+r2=6111+11=677.8s^2 - (2s^2 - r^2) = 6s^2 + r^2 = 6 \cdot 111 + 11 = 677.

14.

In a group of nine people each person shakes hands with exactly two of the other people from the group. Let NN be the number of ways this handshaking can occur. Consider two handshaking arrangements different if and only if at least two people who shake hands under one arrangement do not shake hands under the other arrangement. Find the remainder when NN is divided by 1000.1000.

Difficulty rating: 3060

Solution:

An arrangement in which everyone shakes exactly two hands is a disjoint union of cycles of length at least 33 covering all nine people. The possible cycle-length partitions of 99 are 3+3+3,3+3+3, 3+6,3+6, 4+5,4+5, and 9.9. On kk given people, the number of distinct cycles is (k1)!2.\frac{(k-1)!}{2}.

For 3+3+3:3+3+3: split into three unordered triples in 13!(93)(63)=280\frac{1}{3!}\binom{9}{3}\binom{6}{3} = 280 ways, one cycle each: 280.280. For 3+6:3+6: (93)15!2=8460=5040.\binom{9}{3} \cdot 1 \cdot \frac{5!}{2} = 84 \cdot 60 = 5040. For 4+5:4+5: (94)3!24!2=126312=4536.\binom{9}{4} \cdot \frac{3!}{2} \cdot \frac{4!}{2} = 126 \cdot 3 \cdot 12 = 4536. For a single 99-cycle: 8!2=20160.\frac{8!}{2} = 20160.

In total N=280+5040+4536+20160=30016,N = 280 + 5040 + 4536 + 20160 = 30016, so the remainder modulo 10001000 is 16.16.

15.

Triangle ABCABC is inscribed in circle ω\omega with AB=5,AB = 5, BC=7,BC = 7, and AC=3.AC = 3. The bisector of angle AA meets side BC\overline{BC} at DD and circle ω\omega at a second point E.E. Let γ\gamma be the circle with diameter DE.\overline{DE}. Circles ω\omega and γ\gamma meet at EE and a second point F.F. Then AF2=mn,AF^2 = \frac{m}{n}, where mm and nn are relatively prime positive integers. Find m+n.m + n.

Solution:

Let EE' be the point of ω\omega diametrically opposite E.E. Since DE\overline{DE} is a diameter of γ,\gamma, the angle DFE=90,\angle DFE = 90^\circ, and since EE\overline{EE'} is a diameter of ω,\omega, also EFE=90.\angle E'FE = 90^\circ. Both FDFD and FEFE' are perpendicular to FE,FE, so DD lies on line EF:E'F: the point FF is the second intersection of line EDE'D with ω.\omega.

Set B=(0,0)B = (0, 0) and C=(7,0);C = (7, 0); then A=(6514,15314).A = \left(\frac{65}{14}, \frac{15\sqrt{3}}{14}\right). The bisector gives BDDC=ABAC=53,\frac{BD}{DC} = \frac{AB}{AC} = \frac{5}{3}, so D=(358,0).D = \left(\frac{35}{8}, 0\right). Since EE is the midpoint of arc BCBC not containing A,A, both EE and EE' lie on the vertical line x=72x = \frac{7}{2} through the center O=(72,736),O = \left(\frac{7}{2}, -\frac{7\sqrt{3}}{6}\right), which satisfies OB=OA|OB| = |OA| with R2=493.R^2 = \frac{49}{3}. Thus E=(72,732)E = \left(\frac{7}{2}, -\frac{7\sqrt{3}}{2}\right) and E=(72,736).E' = \left(\frac{7}{2}, \frac{7\sqrt{3}}{6}\right).

The direction from EE' to DD is proportional to (3,43),(3, -4\sqrt{3}), and the point E+t(3,43)E' + t\,(3, -4\sqrt{3}) lies on ω\omega when 57t256t=0,57t^2 - 56t = 0, so t=5657t = \frac{56}{57} gives F=(24538,105338).F = \left(\frac{245}{38}, -\frac{105\sqrt{3}}{38}\right). Then AF2=(240133)2+3(510133)2=83790017689=90019,AF^2 = \left(\frac{240}{133}\right)^2 + 3\left(\frac{510}{133}\right)^2 = \frac{837900}{17689} = \frac{900}{19}, so m+n=900+19=919.m + n = 900 + 19 = 919.