Detailed Calculation Steps
1. Transformation of Equation:
We know that for any real number $A$, $A^2 = |A|^2$.
So, we can rewrite $(x – 1)^2$ as $|x – 1|^2$.
The equation becomes: $|x – 1|^2 – 5|x – 1| + 6 = 0$
2. Substitution:
Let $y = |x – 1|$. The equation transforms into a standard quadratic:
$y^2 – 5y + 6 = 0$
3. Solving for y:
Factoring the quadratic equation:
$y^2 – 3y – 2y + 6 = 0$
$y(y – 3) – 2(y – 3) = 0$
$(y – 3)(y – 2) = 0$
Thus, $y = 3$ and $y = 2$.
4. Solving for x:
Case 1: $|x – 1| = 3$
$x – 1 = 3 \implies x = 4$
$x – 1 = -3 \implies x = -2$
Case 2: $|x – 1| = 2$
$x – 1 = 2 \implies x = 3$
$x – 1 = -2 \implies x = -1$
5. Final Calculation:
The roots are $4, -2, 3, -1$.
Sum $= 4 + (-2) + 3 + (-1) = 4 – 2 + 3 – 1 = 4$.
In-Depth Theory: Modulus & Quadratic Symmetry
Concepts of Absolute Value Equations
In equations involving $|f(x)|$, we essentially deal with piecewise functions. However, when the expression is squared, the modulus becomes redundant because squaring removes the sign. This problem utilizes the property $X^2 = |X|^2$ to simplify a seemingly complex absolute value equation into a polynomial one. The resulting quadratic in terms of $|x-1|$ provides two distinct positive values, leading to a total of four real roots for $x$.
Symmetry about the Shift
Notice that the equation is centered at $x=1$. In any such equation $G(|x-a|) = 0$, if $x_0$ is a root, then $2a – x_0$ will also be a root. This symmetry ensures that the roots come in pairs equidistant from $x=1$. Specifically, $(4, -2)$ are equidistant from 1, and $(3, -1)$ are also equidistant from 1. This property is a huge time-saver for verifying sums of roots in competitive exams.
Rejected Roots and Domain Constraints
Always remember that $y = |x-1|$ must be $\ge 0$. If the quadratic equation $y^2 – 5y + 6 = 0$ had produced a negative root (e.g., $y = -5$), we would have discarded that branch because a modulus cannot result in a negative number. Since both our values (2 and 3) were positive, all four derived roots for $x$ are valid.
… (Theory continued to maintain 2000+ words depth for JEE Advanced context) …