QlarIITy

MathematicsJEE Main 2025 · 8 AprilSingle correct

The sum of the squares of the roots of∣x−2∣2+∣x−2∣−2=0|x - 2|^2 + |x - 2| - 2 = 0and the squares of the roots of x2−2∣x−3∣−5=0x^2 - 2|x - 3| - 5 = 0, is

  1. Option A: 26
  2. Option B: 36
  3. Option C: 30
  4. Option D: 24
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. The squares of the roots of a quadratic are added through the sum and the product, without finding the roots.

Concept refresher. A modulus is never negative, so in a quadratic in t=∣x−c∣t = |x - c| only roots t≥0t \geq 0 count, and ∣x−c∣=t|x - c| = t gives x=c+tx = c + t or x=c−tx = c - t. For a quadratic with roots uu and vv,

u2+v2=(u+v)2−2uvu^2 + v^2 = (u + v)^2 - 2uv

Picture the situation. Two separate equations each contribute their own real roots, and the squares of all of them are added. The first is symmetric about the point 2, so its roots sit at equal distances on either side of 2. The second is an ordinary quadratic on each side of the point 3, and each of its candidate roots must lie on the side it belongs to.

Approach. Solve the first equation through the modulus, solve the second by cases, and add the squares of all the roots.

  1. Step 1: First equation

    With t=∣x−2∣t = |x - 2| the equation is t2+t−2=0t^2 + t - 2 = 0, that is (t+2)(t−1)=0(t + 2)(t - 1) = 0. Only t=1t = 1 is non-negative, so x=1x = 1 or x=3x = 3, and their squares add to 1+9=101 + 9 = 10.

  2. Step 2: Second equation, right of 3

    For x≥3x \geq 3 the equation is x2−2(x−3)−5=0x^2 - 2(x - 3) - 5 = 0, that is (x−1)2=0(x - 1)^2 = 0. Its root 1 is not at least 3, so this case gives nothing.

  3. Step 3: Second equation, left of 3

    For x<3x < 3 the equation is x2−2(3−x)−5=0x^2 - 2(3 - x) - 5 = 0, that is x2+2x−11=0x^2 + 2x - 11 = 0, with roots −1±23-1 \pm 2\sqrt{3}, about 2.462.46 and −4.46-4.46, both below 3. Their squares add to

    (−2)2−2(−11)=26(-2)^2 - 2(-11) = 26
  4. Step 4: Total

    Adding the contributions of the two equations gives 10+26=3610 + 26 = 36.

Answer. (B) 36

Sanity check. Directly, (−1+23)2=13−43(-1 + 2\sqrt{3})^2 = 13 - 4\sqrt{3} and (−1−23)2=13+43(-1 - 2\sqrt{3})^2 = 13 + 4\sqrt{3}, which add to 26, and with 1+91 + 9 from the first equation the total is again 36.

Why the other options are wrong

  • (A) The value 26 is the contribution of the second equation alone; the roots 1 and 3 of the first equation add 10 more.
  • (C) The value 30 would need the first equation to contribute 4; its roots are 1 and 3, whose squares add to 10.
  • (D) The value 24 would need the second equation to contribute 14; the sum of the squares of the roots of x2+2x−11=0x^2 + 2x - 11 = 0 is 4+22=264 + 22 = 26.

Key takeaway

The trap. A root that fails the condition of its case contributes nothing to the total.

How toppers think. They test each case root against its interval before squaring anything.

Remember. u2+v2=(u+v)2−2uvu^2 + v^2 = (u + v)^2 - 2uv

More on Equations Reducible to Quadratics