JEE Main202313 Apr 2023Morning ShiftMathematicsApplication of DerivativesActual
The set of all a ∈ ℝ for which the equation x | x - 1 | + | x + 2 | + a = 0 has exactly one real root, is
Options
- A- 7 , ∞
- B- ∞ , ∞
- C- 6 , - 3
- D- ∞ , - 3
Correct answer
B. - ∞ , ∞
Step-by-step solution
Given, x | x - 1 | + | x + 2 | + a = 0 Now taking, Case I: x < - 2 , we get - x 2 + x - x - 2 + a = 0 ⇒ a = x 2 + 2 And y = x 2 + 2 is decreasing ∀ x ∈ ( - ∞ , - 2 ) Now taking Case II: - 2 ≤ x < 1 we get, - x 2 + x + x + 2 + a = 0 ⇒ a = x 2 - 2 x - 2 And y = x 2 - 2 x - 2 So, d y d x = 2 x - 1 ≤ 0   ∀   x ∈ [ - 2 , 1 ) Hence, y is decreasing ∀ x ∈ [ - 2 , 1 ) Now taking Case III: x ≥ 1 we get, x 2 - x + x + 2 + a = 0 ⇒