QlarIITy

MathematicsJEE Main 2026 · 24 JanuarySingle correct

The number of the real solutions of the equation:x∣x+3∣+∣x−1∣−2=0x|x + 3| + |x - 1| - 2 = 0is

  1. Option A: 33
  2. Option B: 22
  3. Option C: 55
  4. Option D: 44
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. Split the line at the zeros of the moduli; on each piece the equation is an ordinary quadratic.

Concept refresher. For a real number tt,

∣t∣={t,t≥0−t,t<0|t| = \begin{cases} t, & t \geq 0 \\ -t, & t < 0 \end{cases}

so an expression with ∣x−p∣|x - p| and ∣x−q∣|x - q| (p<qp < q) is a plain polynomial on each of x<px < p, p≤x<qp \leq x < q and x≥qx \geq q. A root found on one piece counts only if it lies in that piece.

Picture the situation. Rewrite the equation as x∣x+3∣=2−∣x−1∣x|x + 3| = 2 - |x - 1|. The left side is a parabola-like curve that is negative between −3-3 and 00 and grows fast for x>0x > 0; the right side is a tent with its peak 22 at x=1x = 1. The real solutions are where the two graphs cross: in the sketch the solid curve is y=x∣x+3∣y = x|x + 3| and the dashed tent is y=2−∣x−1∣y = 2 - |x - 1|.

The curve y equals x times the modulus of x plus 3 and the dashed tent-shaped graph of 2 minus the modulus of x minus 1, crossing at three marked points.

Approach. Split at x=−3x = -3 and x=1x = 1, write the equation without moduli on each piece, solve, and keep only roots inside their piece.

  1. Step 1: Right piece, x at least 1

    Here both insides are non-negative, so both moduli open with a plus sign:

    x(x+3)+(x−1)−2=0x2+4x−3=0x=−2±7\begin{aligned} x(x + 3) + (x - 1) - 2 &= 0 \\[4pt] x^2 + 4x - 3 &= 0 \\[4pt] x &= -2 \pm \sqrt{7} \end{aligned}

    Both values, about 0.650.65 and −4.65-4.65, are less than 11: no solution here.

  2. Step 2: Middle piece, from minus 3 to 1

    Here x+3≥0x + 3 \geq 0 but x−1<0x - 1 < 0, so the second modulus opens with a minus sign:

    x(x+3)−(x−1)−2=0x2+2x−1=0x=−1±2\begin{aligned} x(x + 3) - (x - 1) - 2 &= 0 \\[4pt] x^2 + 2x - 1 &= 0 \\[4pt] x &= -1 \pm \sqrt{2} \end{aligned}

    Both values, about 0.410.41 and −2.41-2.41, lie in [−3,1)[-3, 1): two solutions.

  3. Step 3: Left piece, x below minus 3

    Here both insides are negative, so both moduli open with a minus sign:

    −x(x+3)−(x−1)−2=0x2+4x+1=0x=−2±3\begin{aligned} -x(x + 3) - (x - 1) - 2 &= 0 \\[4pt] x^2 + 4x + 1 &= 0 \\[4pt] x &= -2 \pm \sqrt{3} \end{aligned}

    Only −2−3≈−3.73-2 - \sqrt{3} \approx -3.73 is less than −3-3: one solution. In all there are 33 real solutions.

Answer. (A) 33

Sanity check. At x=−1+2x = -1 + \sqrt{2}: x(x+3)=(2−1)(2+2)=2x(x + 3) = (\sqrt{2} - 1)(\sqrt{2} + 2) = \sqrt{2} and ∣x−1∣=2−2|x - 1| = 2 - \sqrt{2}, so the left side is 2+2−2−2=0\sqrt{2} + 2 - \sqrt{2} - 2 = 0. The graph shows exactly three crossings.

Smart method. Draw y=x∣x+3∣y = x|x + 3| and y=2−∣x−1∣y = 2 - |x - 1| and count crossings. For x≥1x \geq 1 the left curve is already 44 at x=1x = 1 while the tent is at most 22, so there is no crossing there; between −3-3 and 11 the curves cross twice, and for x<−3x < -3 the falling curve meets the tent once. This is safe only with an accurate sketch near x=1x = 1 and x=−3x = -3, where the curves come close.

Why the other options are wrong

  • (B) Solving only on −3≤x<1-3 \leq x < 1 and x≥1x \geq 1 gives the two roots −1±2-1 \pm \sqrt{2}; the piece x<−3x < -3 adds x=−2−3≈−3.73x = -2 - \sqrt{3} \approx -3.73, so there are 33.
  • (C) Keeping both roots −2±7-2 \pm \sqrt{7} of the piece x≥1x \geq 1 gives 2+2+1=52 + 2 + 1 = 5; but −2+7≈0.65-2 + \sqrt{7} \approx 0.65 and −2−7≈−4.65-2 - \sqrt{7} \approx -4.65 are both less than 11.
  • (D) Accepting −2+7≈0.65-2 + \sqrt{7} \approx 0.65 from the piece x≥1x \geq 1 gives 3+1=43 + 1 = 4; this root is less than 11, so it does not belong to that piece.

Key takeaway

The trap. Keeping a root such as −2+7-2 + \sqrt{7} that belongs to a different piece from the one it was found on.

How toppers think. They write each piece's interval next to its quadratic and test the roots immediately.

Remember. A modulus equation has as many cases as there are pieces between its critical points.

More on Equations Reducible to Quadratics