JEE Main 2023 · 15 April · morning · Single correct · +4 / −1

The number of real roots of the equation x|x|-5|x+2|+6=0, is :

  1. (a) 4
  2. (b) 3
  3. (c) 5
  4. (d) 6
Answer and solution

Answer (b) 3

Solution

Maths sir · 3 steps

Split the line at x = 0 and x = -2, solve each piece, and keep only roots that live in their own piece.

  1. Find the breakpoints. |x| changes form at x = 0 and |x+2| changes form at x = -2. So there are three regions: x ≥ 0, -2 ≤ x < 0 and x < -2. In each region the equation becomes an ordinary quadratic.
    RegionEquation thereRootsKept
    x ≥ 0x² - 5(x+2) + 6 = 0, so x² - 5x - 4 = 0(5 ± √41)/2 ≈ 5.70, -0.70(5 + √41)/2 only
    -2 ≤ x < 0-x² - 5(x+2) + 6 = 0, so x² + 5x + 4 = 0-1, -4-1 only
    x < -2-x² + 5(x+2) + 6 = 0, so x² - 5x - 16 = 0(5 ± √89)/2 ≈ 7.22, -2.22(5 - √89)/2 only
  2. Check the regions. Each quadratic gives two real roots, but only one of them lies in its own region. For example, -4 is not in [-2, 0), and -0.70 is not in x ≥ 0. The root (5 - √89)/2 ≈ -2.22 is less than -2, so it stays.
  3. So. The roots are (5 + √41)/2, -1 and (5 - √89)/2. The equation has 3 real roots, option (b).

The idea to keep. With modulus equations, every root you get must pass the region test. A root that falls outside the interval you assumed is fake, even if it looks neat.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Quadratic Equations & Polynomial Inequalities

Asked about 130 times in JEE Main since 2020. This question is from 2023.