AMC 10 Step by Step

2020 AMC 10A Problem 5

P1-10~3 minPrint

What is the sum of all real numbers xx for which ∣x2−12x+34∣=2?|x^2-12x+34|=2?

Log in to save your progress.
Show solution without answering

Key insight

The inside must equal 2 or -2. The first case gives x = 4 and x = 8; the second gives only x = 6. Add the three different numbers.

Solution

An absolute value equals 22 when the number inside is 22 or −2-2. So split into two ordinary equations.

  1. Inside equals 22. Then x2−12x+34=2x^2 - 12x + 34 = 2, so x2−12x+32=0x^2 - 12x + 32 = 0. We need two numbers that multiply to 3232 and add to 1212: they are 44 and 88. So (x−4)(x−8)=0(x - 4)(x - 8) = 0, which gives x=4x = 4 or x=8x = 8.
  2. Inside equals −2-2. Then x2−12x+34=−2x^2 - 12x + 34 = -2, so x2−12x+36=0x^2 - 12x + 36 = 0. This is a perfect square: (x−6)2=0(x - 6)^2 = 0. The only solution is x=6x = 6.
  3. Check one: x=4x = 4 gives 16−48+34=216 - 48 + 34 = 2. Good. x=6x = 6 gives 36−72+34=−236 - 72 + 34 = -2, and ∣−2∣=2|-2| = 2. Good.
  4. The solutions are 44, 66 and 88. Their sum is 4+6+8=184 + 6 + 8 = 18.

The answer is (C) 18\boxed{\textbf{(C)}\ 18}.

Why this works

An absolute-value equation is really two equations, one for each sign. Be careful when a case turns out to be a perfect square: it gives only one number, not two. Here x2−12x+34=(x−6)2−2x^2 - 12x + 34 = (x - 6)^2 - 2 is never smaller than −2-2, so the second case just touches that lowest value once.

Concise solution

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

The absolute value equals 22 when the inside is 22 or −2-2.

Case 1: x2−12x+34=2x^2 - 12x + 34 = 2, i.e. x2−12x+32=0x^2 - 12x + 32 = 0, which factors as (x−4)(x−8)=0(x-4)(x-8) = 0. Roots 44 and 88.

Case 2: x2−12x+34=−2x^2 - 12x + 34 = -2, i.e. x2−12x+36=0x^2 - 12x + 36 = 0, which is (x−6)2=0(x-6)^2 = 0. The single root is 66.

The real numbers satisfying the equation are 44, 66, 88, and their sum is 1818.

The answer is (C) 18\boxed{\textbf{(C)}\ 18}.

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.