Question:medium

Find the sum of all real solutions of
$|x + 1|^2 - 4|x + 1| + 3 = 0$

Show Hint

Equations of the form $a|f(x)|^2 + b|f(x)| + c = 0$ can always be simplified by substituting $y=|f(x)|$. After finding the possible values for $y$, remember to check if they are non-negative, since the absolute value cannot be negative. Then solve for $x$ for each valid $y$.
Updated On: Mar 19, 2026
  • -2
  • 0
  • 2
  • 4
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Rewrite the given equation

The given equation is:

|x − 1|2 − 4|x − 1| + 3 = 0

Since |x − 1|2 = (x − 1)2, the equation becomes:

(x − 1)2 − 4|x − 1| + 3 = 0


Step 2: Use interval-wise analysis

The absolute value expression changes form depending on the value of x. So we consider two cases.


Case 1: x ≥ 1

For x ≥ 1,
|x − 1| = x − 1

Substitute in the equation:

(x − 1)2 − 4(x − 1) + 3 = 0

Simplifying:

x2 − 6x + 8 = 0

(x − 2)(x − 4) = 0

x = 2, 4 (both satisfy x ≥ 1)


Case 2: x < 1

For x < 1,
|x − 1| = 1 − x

Substitute in the equation:

(x − 1)2 − 4(1 − x) + 3 = 0

Simplifying:

x2 − 2x + 1 − 4 + 4x + 3 = 0

x2 + 2x = 0

x(x + 2) = 0

x = 0, −2 (both satisfy x < 1)


Step 3: List all real solutions

The real solutions are:
−2, 0, 2, 4


Step 4: Calculate the sum

Sum = (−2) + 0 + 2 + 4

Sum = 4


Final Answer:

The sum of all real solutions is
4

Was this answer helpful?
1