Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra intermediate

Problem

What is the sum of all values of for which ?
Solution
We will consider two cases.

Case 1: is nonnegative. In this case, we have . Also, if is nonnegative, then (which is times ) is nonpositive, which means that . So, substituting for the absolute values in the original equation, we have Solving this equation gives .

Case 2: is negative. In this case, we have . Also, when is negative, then is positive, so . So, substituting for the absolute values in the original equation, we have Solving this equation gives .

Combining our cases, the sum of the values of that satisfy the equation is .

Notice that we could have solved this equation even faster by noticing that , so the original equation simplifies to , which gives us . From here, we see that is 2 away from 3 on the number line, so is 5 or 1.
Final answer
6