JEE Main 2026 · 21 January · morning · Single correct · +4 / −1
The sum of all the roots of the equation (x-1)²-5|x-1|+6=0, is :
- (a) 3
- (b) 1
- (c) 4
- (d) 5
Answer and solution
Answer (c) 4
Solution
Maths sir · 3 steps
Put t = |x-1| first. The quadratic in t is easy, and each t then gives two values of x.
- Substitute. Since (x-1)² = |x-1|², let t = |x-1|, where t ≥ 0. The equation becomes a plain quadratic in t.
t² - 5t + 6 = 0 ⇒ (t-2)(t-3) = 0 ⇒ t = 2 or t = 3
- Back to x. Both values of t are positive, so both are allowed. |x-1| = 2 gives x = 3 or x = -1. |x-1| = 3 gives x = 4 or x = -2.
- So. The four roots are 3, -1, 4, -2, and their sum is 3 - 1 + 4 - 2 = 4, which is option (c).
The idea to keep. Roots of an equation in |x-a| come in pairs symmetric about x = a. Each pair adds to 2a, so with 4 roots around x = 1 the sum is 4 × 1 = 4.
Answer from the NTA final answer key. Solution by PrepWiser.