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 :
- (a) (-∞, ∞)
- (b) (-6, ∞)
- (c) (-∞,-3)
- (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.
- 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.
Interval f(x) f'(x) Values taken x < -2 x(1-x) - (x+2) = -x² - 2 -2x > 0 from -∞ up to -6 -2 ≤ x < 1 x(1-x) + (x+2) = -x² + 2x + 2 2 - 2x > 0 from -6 up to 3 x ≥ 1 x(x-1) + (x+2) = x² + 2 2x > 0 from 3 up to ∞ - 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 ℝ.
- 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.