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

The set of all a ∈ ℝ for which the equation x|x-1|+|x+2|+a=0 has exactly one real root, is :

  1. (a) (-∞, ∞)
  2. (b) (-6, ∞)
  3. (c) (-∞,-3)
  4. (d) (-6,-3)
Answer and solution

Answer (a) (-∞, ∞)

Solution

Maths sir · 3 steps

Open the modulus piece by piece: every piece of f(x) rises, so it meets each level exactly once.

  1. Rewrite the equation. Put f(x) = x|x-1| + |x+2|, so the equation becomes f(x) = -a. The number of roots is the number of times the horizontal line y = -a cuts the graph of f. The modulus signs change at x = -2 and x = 1, so split the real line there.
    Intervalf(x)f'(x)Values taken
    x < -2x(1-x) - (x+2) = -x² - 2-2x > 0from -∞ up to -6
    -2 ≤ x < 1x(1-x) + (x+2) = -x² + 2x + 22 - 2x > 0from -6 up to 3
    x ≥ 1x(x-1) + (x+2) = x² + 22x > 0from 3 up to ∞
  2. Join the pieces. The pieces meet at f(-2) = -6 and f(1) = 3, so f is continuous. It is strictly increasing on every piece, so it is strictly increasing on all of ℝ. It goes from -∞ to ∞, so its range is ℝ.
  3. So. A continuous, strictly increasing function with range ℝ takes every value exactly once. So f(x) = -a has exactly one real root for every real a, and the set is (-∞, ∞), option (a).

The idea to keep. For modulus equations, open the modulus piece by piece and check each piece's slope. If f is continuous, strictly monotonic and unbounded both ways, f(x) = k has exactly one root for every k.

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.