AMC 10 Step by Step

2015 AMC 10A Problem 16

P16-20~4 minPrint

If y+4=(x−2)2,x+4=(y−2)2y+4 = (x-2)^2, x+4 = (y-2)^2 , and x≠yx \neq y , what is the value of x2+y2x^2+y^2 ?

Log in to save your progress.
Show solution without answering

Key insight

Subtract the equations: the difference of squares lets you cancel x minus y, leaving x + y = 3. Adding the equations then gives 15.

Solution

The two equations look the same with xx and yy swapped. For a matched pair like that, subtracting and adding them are the natural moves.

Step 1: subtract to find x+yx + y.

1. First equation minus second equation:
(y+4)−(x+4)=(x−2)2−(y−2)2.(y + 4) - (x + 4) = (x - 2)^2 - (y - 2)^2.
2. The left side is y−xy - x. The right side is a difference of two squares, A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B) with A=x−2A = x - 2 and B=y−2B = y - 2:
(x−2)2−(y−2)2=(x−y)(x+y−4).(x - 2)^2 - (y - 2)^2 = (x - y)(x + y - 4).
3. Write the left side as y−x=−(x−y)y - x = -(x - y). So
−(x−y)=(x−y)(x+y−4).-(x - y) = (x - y)(x + y - 4).
4. The problem says x≠yx \ne y, so x−yx - y is not zero and we can divide both sides by it:
−1=x+y−4,sox+y=3.-1 = x + y - 4, \quad\text{so}\quad x + y = 3.

Step 2: add to find x2+y2x^2 + y^2.

5. Add the two equations:
x+y+8=(x−2)2+(y−2)2=x2−4x+4+y2−4y+4.x + y + 8 = (x - 2)^2 + (y - 2)^2 = x^2 - 4x + 4 + y^2 - 4y + 4.
6. Cancel the 88 on both sides and collect terms:
x2+y2=x+y+4x+4y=5(x+y).x^2 + y^2 = x + y + 4x + 4y = 5(x + y).
7. Use x+y=3x + y = 3: x2+y2=5×3=15x^2 + y^2 = 5 \times 3 = 15.

The answer is (B) 15\boxed{\textbf{(B)}\ 15}.

Why this works

When two equations are mirror images (swap xx and yy and one turns into the other), subtracting them always produces a factor x−yx - y, and the condition x≠yx \ne y is exactly what lets you cancel it. Adding them keeps everything in terms of x+yx + y and x2+y2x^2 + y^2. You never need xx and yy themselves, which is lucky, because they are messy square-root numbers.

Alternative approach

Once you know x+y=3x + y = 3, go back to the first equation: y+4=x2−4x+4y + 4 = x^2 - 4x + 4, so x2=4x+y=3x+(x+y)=3x+3x^2 = 4x + y = 3x + (x + y) = 3x + 3. In the same way y2=3y+3y^2 = 3y + 3. Adding, x2+y2=3(x+y)+6=9+6=15x^2 + y^2 = 3(x + y) + 6 = 9 + 6 = 15.

Concise solution

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

The system is symmetric under swapping xx and yy, so subtract and add the equations.

Subtracting the second from the first:
y−x=(x−2)2−(y−2)2=(x−y)(x+y−4).y - x = (x - 2)^2 - (y - 2)^2 = (x - y)(x + y - 4).
The left side is −(x−y)-(x - y). Because x≠yx \ne y, we may divide by x−yx - y: −1=x+y−4-1 = x + y - 4, so x+y=3x + y = 3.

Adding the two equations:
x+y+8=(x−2)2+(y−2)2=x2+y2−4(x+y)+8.x + y + 8 = (x - 2)^2 + (y - 2)^2 = x^2 + y^2 - 4(x + y) + 8.
Cancel the 88 and substitute x+y=3x + y = 3:
x2+y2=(x+y)+4(x+y)=5(x+y)=15.x^2 + y^2 = (x + y) + 4(x + y) = 5(x + y) = 15.

The answer is (B) 15\boxed{\textbf{(B)}\ 15}.

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.