返回题库

AIME 1991 · 第 13 题

AIME 1991 — Problem 13

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

A drawer contains a mixture of red socks and blue socks, at most 19911991 in all. It so happens that, when two socks are selected randomly without replacement, there is a probability of exactly 12\frac{1}{2} that both are red or both are blue. What is the largest possible number of red socks in the drawer that is consistent with this data?

解析

Solutions

Solution 1

Let rr and bb denote the number of red and blue socks, respectively. Also, let t=r+bt=r+b. The probability PP that when two socks are drawn randomly, without replacement, both are red or both are blue is given by

r(r1)(r+b)(r+b1)+b(b1)(r+b)(r+b1)=r(r1)+(tr)(tr1)t(t1)=12.\frac{r(r-1)}{(r+b)(r+b-1)}+\frac{b(b-1)}{(r+b)(r+b-1)}=\frac{r(r-1)+(t-r)(t-r-1)}{t(t-1)}=\frac{1}{2}. Solving the resulting quadratic equation r2rt+t(t1)/4=0r^{2}-rt+t(t-1)/4=0, for rr in terms of tt, one obtains that

r=t±t2.r=\frac{t\pm\sqrt{t}}{2}\, . Now, since rr and tt are positive integers, it must be the case that t=n2t=n^{2}, with nNn\in\mathbb{N}. Hence, r=n(n±1)/2r=n(n\pm 1)/2 would correspond to the general solution. For the present case t1991t\leq 1991, and so one easily finds that n=44n=44 is the largest possible integer satisfying the problem conditions.

In summary, the solution is that the maximum number of red socks is r=990r=\boxed{990}.

Solution 2

Let rr and bb denote the number of red and blue socks such that r+b1991r+b\le1991. Then by complementary counting, the number of ways to get a red and a blue sock must be equal to 112=12=2rb(r+b)(r+b1)    4rb=(r+b)(r+b1)1-\frac12=\frac12=\frac{2rb}{(r+b)(r+b-1)}\implies4rb=(r+b)(r+b-1) =(r+b)2(r+b)    r2+2rb+b2rb=4rb    r22rb+b2=(r+b)^2-(r+b)\implies r^2+2rb+b^2-r-b=4rb\implies r^2-2rb+b^2 =(rb)2=r+b=(r-b)^2=r+b, so r+br+b must be a perfect square k2k^2. Clearly, r=k2+k2r=\frac{k^2+k}2, so the larger kk, the larger rr: k2=442k^2=44^2 is the largest perfect square below 19911991, and our answer is 442+442=1244(44+1)=2245=1190=990\frac{44^2+44}2=\frac12\cdot44(44+1)=22\cdot45=11\cdot90=\boxed{990}.

Solution 3

Let rr and bb denote the number of red and blue socks, respectively. In addition, let t=r+bt = r + b, the total number of socks in the drawer.

From the problem, it is clear that r(r1)t(t1)+b(b1)t(t1)=12\frac{r(r-1)}{t(t-1)} + \frac{b(b-1)}{t(t-1)} = \frac{1}{2}

Expanding, we get r2+b2rbt2t=12\frac{r^2 + b^2 - r - b}{t^2 - t} = \frac{1}{2}

Substituting tt for r+br + b and cross multiplying, we get 2r2+2b22r2b=r2+2br+b2rb2r^2 + 2b^2 - 2r - 2b = r^2 + 2br + b^2 - r - b

Combining terms, we get b22br+r2br=0b^2 - 2br + r^2 - b - r = 0

To make this expression factorable, we add 2r2r to both sides, resulting in (br)21(br)=(br1)(br)=2r(b - r)^2 - 1(b-r) = (b - r - 1)(b - r) = 2r

From this equation, we can test values for the expression (br1)(br)(b - r - 1)(b - r), which is the multiplication of two consecutive integers, until we find the highest value of bb or rr such that b+r1991b + r \leq 1991.

By testing (br1)=43(b - r - 1) = 43 and (br)=44(b - r) = 44, we get that r=43(22)=946r = 43(22) = 946 and b=990b = 990. Testing values one integer higher, we get that r=990r = 990 and b=1035b = 1035. Since 990+1035=2025990 + 1035 = 2025 is greater than 19911991, we conclude that (946,990)(946, 990) is our answer.

Since it doesn't matter whether the number of blue or red socks is 990990, we take the lower value for rr, thus the maximum number of red socks is r=990r=\boxed{990}.

Solution 4

As above, let rr, bb, and tt denote the number of red socks, the number of blue socks, and the total number of socks, respectively. We see that r(r1)t(t1)+b(b1)t(t1)=12\frac{r(r-1)}{t(t-1)}+\frac{b(b-1)}{t(t-1)}=\frac{1}{2}, so r2+b2rb=t(t1)2=r2+b2t=t22t2r^2+b^2-r-b=\frac{t(t-1)}{2}=r^2+b^2-t=\frac{t^2}{2}-\frac{t}{2}.

Seeing that we can rewrite r2+b2r^2+b^2 as (r+b)22rb(r+b)^2-2rb, and remembering that r+b=tr+b=t, we have t22t2=t22rbt\frac{t^2}{2}-\frac{t}{2}=t^2-2rb-t, so 2rb=t22t22rb=\frac{t^2}{2}-\frac{t}{2}, which equals r2+b2tr^2+b^2-t.

We now have r2+b2t=2rbr^2+b^2-t=2rb, so r22rb+b2=tr^2-2rb+b^2=t and rb=±tr-b=\pm\sqrt{t}. Adding this to r+b=tr+b=t, we have 2r=t±t2r=t\pm\sqrt{t}. To maximize rr, we must use the positive square root and maximize tt. The largest possible value of tt is the largest perfect square less than 1991, which is 1936=4421936=44^2. Therefore, r=t+t2=1936+442=990r=\frac{t+\sqrt{t}}{2}=\frac{1936+44}{2}=\boxed{990}.

Solution by Zeroman

Solution 5

Let rr be the number of socks that are red, and tt be the total number of socks. We get:

2(r(r1)+(tr)(tr1))=t(t1)2(r(r-1)+(t-r)(t-r-1))=t(t-1) Expanding the left hand side and the right hand side, we get: 4r24rt+2t22t=t2t4r^2-4rt+2t^2-2t = t^2-t

And, moving terms, we will get that: 4r24rt+t2=t4r^2-4rt+t^2 = t

We notice that the left side is a perfect square. (2rt)2=t(2r-t)^2 = t

Thus tt is a perfect square. And, the higher tt is, the higher rr will be. So, we should set t=442=1936t = 44^2 = 1936

And, we see, 2r1936=±442r-1936 = \pm44 We will use the positive root, to get that 2r1936=442r-1936 = 44, 2r=19802r = 1980, and r=990r = \boxed{990}.

- AlexLikeMath

Solution 6

Let rr and bb denote the red socks and blue socks, respectively. Thus the equation in question is:

r(r1)+b(b1)(r+b)(r+b1)=12\frac{r(r-1)+b(b-1)}{(r+b)(r+b-1)}=\frac{1}{2} 2r22r+2b22b=r2+2rb+b2rb\Rightarrow 2r^2-2r+2b^2-2b=r^2+2rb+b^2-r-b r2+b2rb2rb=0\Rightarrow r^2+b^2-r-b-2rb=0 (rb)2=r+b1991\Rightarrow (r-b)^2=r+b\le 1991

Because we wish to maximize rr, we have rbr\ge b and thus rb44r-b\le 44 as both rr and bb must be integers and 442=1936{44}^2=1936 is the largest square less than or equal to 19911991. We now know that the maximum difference between the number of socks is 4444. Now we return to an earlier equation:

r2+b2rb2rb=0r^2+b^2-r-b-2rb=0 r2(2b+1)r+(b2b)=0\Rightarrow r^2-(2b+1)r+(b^2-b)=0

Solving by the Quadratic formula, we have:

r=2b+1±4b2+4b+14b2+4b2r=\frac{2b+1\pm\sqrt{4b^2+4b+1-4b^2+4b}}{2} r=2b+1±8b+12\Rightarrow r=\frac{2b+1\pm\sqrt{8b+1}}{2} rb=1±8b+12\Rightarrow r-b=\frac{1\pm\sqrt{8b+1}}{2} 44rb=1±8b+12\Rightarrow 44\ge r-b=\frac{1\pm\sqrt{8b+1}}{2} 441±8b+12\Rightarrow 44\ge\frac{1\pm\sqrt{8b+1}}{2} ±8b+187\Rightarrow \pm\sqrt{8b+1}\le 87

b946\Rightarrow b\le 946 (Here we use the positive sign to maximize rr.)

Thus the optimal case would be b=946b=946 as rr increases only when bb increases. In addition, 8b+1=87\sqrt{8b+1}=87 as we are using the equality case. We then plug back in:

r=2b+1±8b+12r=\frac{2b+1\pm\sqrt{8b+1}}{2}

r=1893+872\Rightarrow r=\frac{1893+87}{2} (using the established 8b+1=87\sqrt{8b+1}=87)

r=19802\Rightarrow r=\frac{1980}{2} r=990\Rightarrow r=\boxed{990}

~eevee9406