QlarIITy

MathematicsJEE Main 2026 · 21 JanuarySingle correct

The sum of all the roots of the equation(x−1)2−5∣x−1∣+6=0(x - 1)^2 - 5|x - 1| + 6 = 0, is :

  1. Option A: 33
  2. Option B: 11
  3. Option C: 44
  4. Option D: 55
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A square of a quantity equals the square of its modulus, so the equation is a quadratic in the modulus.

Concept refresher. For every real aa, a2=∣a∣2a^2 = |a|^2. For k>0k > 0,

∣x−h∣=k  ⟺  x=h+k or x=h−k|x - h| = k \iff x = h + k \ \text{or} \ x = h - k

and the two roots add up to 2h2h; for k=0k = 0 there is one root, and for k<0k < 0 there is none.

Approach. Substitute t=∣x−1∣t = |x - 1|, solve the quadratic for t≥0t \geq 0, then turn each value of tt into two values of xx and add them.

  1. Step 1: Write the equation in the modulus

    Since (x−1)2=∣x−1∣2(x - 1)^2 = |x - 1|^2, the substitution t=∣x−1∣t = |x - 1| turns the equation into a quadratic in tt:

    t2−5t+6=0  ⟹  (t−2)(t−3)=0t^2 - 5t + 6 = 0 \implies (t - 2)(t - 3) = 0

    so t=2t = 2 or t=3t = 3, and both are allowed since t≥0t \geq 0.

  2. Step 2: Find the roots in x

    Each value of tt gives two values of x=1±tx = 1 \pm t:

    ∣x−1∣=2  ⟹  x=3 or x=−1∣x−1∣=3  ⟹  x=4 or x=−2\begin{aligned} |x - 1| = 2 &\implies x = 3 \text{ or } x = -1 \\[4pt] |x - 1| = 3 &\implies x = 4 \text{ or } x = -2 \end{aligned}
  3. Step 3: Add the roots

    The four roots are distinct, and their sum is

    3+(−1)+4+(−2)=43 + (-1) + 4 + (-2) = 4

Answer. (C) 44

Sanity check. At x=−2x = -2: (−3)2−5⋅3+6=9−15+6=0(-3)^2 - 5 \cdot 3 + 6 = 9 - 15 + 6 = 0, and at x=4x = 4: 9−15+6=09 - 15 + 6 = 0. The roots are symmetric about x=1x = 1, so their mean is 11 and their sum is 4×1=44 \times 1 = 4.

Why the other options are wrong

  • (A) would need the roots to add up to 33, but the four roots 3,−1,4,−23, -1, 4, -2 come in pairs 1±t1 \pm t, and each pair adds up to 22.
  • (B) would need only one pair of roots and a stray root; each admissible value of ∣x−1∣|x - 1| gives two roots 1±t1 \pm t adding up to 22, and there are two such values.
  • (D) 5=2+35 = 2 + 3 is the sum of the two values of ∣x−1∣|x - 1|, not of the roots xx; each value gives two roots 1±t1 \pm t, and the four roots add up to 44.

Key takeaway

The trap. Adding the values of the modulus, two and three, instead of the four roots in x.

How toppers think. They notice that the roots are symmetric about one, so the sum is one times the number of roots.

Remember. Each positive value kk of ∣x−h∣|x - h| gives the two roots h±kh \pm k.

More on Equations Reducible to Quadratics