返回题库

AIME 2000 I · 第 6 题

AIME 2000 I — Problem 6

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For how many ordered pairs (x,y)(x,y) of integers is it true that 0<x<y<1060 < x < y < 10^6 and that the arithmetic mean of xx and yy is exactly 22 more than the geometric mean of xx and yy?

解析

Solutions

Solution 1

x+y2=xy+2x+y4=2xyy2xy+x=4yx=±2\begin{aligned} \frac{x+y}{2} &=& \sqrt{xy} + 2\\ x+y-4 &=& 2\sqrt{xy}\\ y - 2\sqrt{xy} + x &=& 4\\ \sqrt{y} - \sqrt{x} &=& \pm 2\end{aligned} Because y>xy > x, we only consider +2+2.

For simplicity, we can count how many valid pairs of (x,y)(\sqrt{x},\sqrt{y}) that satisfy our equation.

The maximum that y\sqrt{y} can be is 1061=999\sqrt{10^6} - 1 = 999 because y\sqrt{y} must be an integer (this is because yx=2\sqrt{y} - \sqrt{x} = 2, an integer). Then x=997\sqrt{x} = 997, and we continue this downward until y=3\sqrt{y} = 3, in which case x=1\sqrt{x} = 1. The number of pairs of (x,y)(\sqrt{x},\sqrt{y}), and so (x,y)(x,y) is then 997\boxed{997}.

Solution 2

Let a2a^2 = xx and b2b^2 = yy, where aa and bb are positive.

Then

a2+b22=a2b2+2\frac{a^2 + b^2}{2} = \sqrt{{a^2}{b^2}} +2 a2+b2=2ab+4a^2 + b^2 = 2ab + 4 (ab)2=4(a-b)^2 = 4 (ab)=±2(a-b) = \pm 2 This makes counting a lot easier since now we just have to find all pairs (a,b)(a,b) that differ by 2.

Because 106=103\sqrt{10^6} = 10^3, then we can use all positive integers less than 1000 for aa and bb.

We know that because x<yx < y, we get a<ba < b.

We can count even and odd pairs separately to make things easier*:

Odd:

(1,3),(3,5),(5,7)...(997,999)(1,3) , (3,5) , (5,7) . . . (997,999) Even:

(2,4),(4,6),(6,8)...(996,998)(2,4) , (4,6) , (6,8) . . . (996,998) This makes 499499 odd pairs and 498498 even pairs, for a total of 997\boxed{997} pairs.

*Note: We are counting the pairs for the values of aa and bb, which, when squared, translate to the pairs of (x,y)(x,y) we are trying to find.

Solution 3

Since the arithmetic mean is 2 more than the geometric mean, x+y2=2+xy\frac{x+y}{2} = 2 + \sqrt{xy}. We can multiply by 2 to get x+y=4+2xyx + y = 4 + 2\sqrt{xy}. Subtracting 4 and squaring gives

((x+y)4)2=4xy((x+y)-4)^2 = 4xy ((x2+2xy+y2)+162(4)(x+y))=4xy((x^2 + 2xy + y^2) + 16 - 2(4)(x+y)) = 4xy x22xy+y2+168x8y=0x^2 - 2xy + y^2 + 16 - 8x - 8y = 0 Notice that ((xy)4)2=x22xy+y2+168x+8y((x-y)-4)^2 = x^2 - 2xy + y^2 + 16 - 8x +8y, so the problem asks for solutions of

(xy4)2=16y(x-y-4)^2 = 16y Since the left hand side is a perfect square, and 16 is a perfect square, yy must also be a perfect square. Since 0<y<(1000)20 < y < (1000)^2, yy must be from 121^2 to 9992999^2, giving at most 999 options for yy.

However if y=12y = 1^2, you get (x5)2=16(x-5)^2 = 16, which has solutions x=9x = 9 and x=1x = 1. Both of those solutions are not less than yy, so yy cannot be equal to 1. If y=22=4y = 2^2 = 4, you get (x8)2=64(x - 8)^2 = 64, which has 2 solutions, x=16x = 16, and x=0x = 0. 16 is not less than 4, and xx cannot be 0, so yy cannot be 4. However, for all other yy, you get exactly 1 solution for xx, and that gives a total of 9992=997999 - 2 = \boxed{997} pairs.

- asbodke

Solution 4 (Similar to Solution 3)

Rearranging our conditions to

x22xy+y2+168x8y=0    x^2-2xy+y^2+16-8x-8y=0 \implies (yx)2=8(x+y2).(y-x)^2=8(x+y-2). Thus, 4yx.4|y-x.

Now, let y=4k+x.y = 4k+x. Plugging this back into our expression, we get

(k1)2=x.(k-1)^2=x. There, a unique value of x,yx, y is formed for every value of kk. However, we must have

y<106    (k+1)2<1061y<10^6 \implies (k+1)^2< 10^6-1 and

x=(k1)2+1>0.x=(k-1)^2+1>0. Therefore, there are only 997\boxed{997} pairs of (x,y).(x,y).

Solution by Williamgolly

Solution 5

First we see that our condition is x+y2=2+xy\frac{x+y}{2} = 2 + \sqrt{xy}. Then we can see that x+y=4+2xyx+y = 4 + 2\sqrt{xy}. From trying a simple example to figure out conditions for x,yx,y, we want to find xyx-y so we can isolate for xx. From doing the example we can note that we can square both sides and subtract 4xy4xy: (xy)2=16+16xy    xy=2(1+xy)(x-y)^2 = 16 + 16\sqrt{xy} \implies x-y = -2( \sqrt{1+\sqrt{xy}}) (note it is negative because y>xy > x. Clearly the square root must be an integer, so now let xy=a21\sqrt{xy} = a^2-1. Thus xy=2ax-y = -2a. Thus x=2+xya=2+a212ax = 2 + \sqrt{xy} - a = 2 + a^2 - 1 -2a. We can then find yy, and use the quadratic formula on x,yx,y to ensure they are >0>0 and <106<10^6 respectively. Thus we get that yy can go up to 999 and xx can go down to 33, leaving 997997 possibilities for x,yx,y.