The number of solutions of equation ∣x2−x−6∣=x+2, where x is a real number is
Here ∣x2−x−6∣ occurs and x2−x−6=0
⇒x=−2,3
Given equation ∣x2−x−6∣=x+2 .....(1)
Case 1. When x<−2 or x > 3. In this case x2−x−6>0
∴∣x2−x−6∣=x2−x−6
Now, equation (1) becomes x2−x−6=x+2⇒x2−2x−8=0∴x=−2,4
Only x=4 is acceptable (∵x<−2 or x>3)
Case 2. When −2<x<3.x2−x−6<0
∴∣x2−x−6∣=−(x2−x−6)
Now, equation (1) becomes
−(x2−x−6)=x+2
⇒x2−4=0⇒x=+2,−2
Since, x=−2 is not acceptable in this case.
Case 3. Clearly, x=−2 satisfies equation (1)
But x=3 does not satisfy it
Thus, x=−2,2,4.
Note: Equality sign may be taken in case 1 and 2 and in that case, case 3 will not be required.