Question
Mathematics Question on Algebra
The number of distinct real roots of the equation ∣x∣∣x+2∣−5∣x+1∣−1=0 is _________.
Answer
Consider the different cases based on the value of x.
Case 1: x≥0
x2+2x−5x−1=0⟹x2−3x−6=0
The roots are given by:
x=23±9+24=23±33
Since x≥0, one positive root exists.
Case 2: −1≤x<0
−x2−2x−5x−1=0⟹x2+7x+6=0
The roots are:
x=−1,x=−6
Only x=−1 is within the range.
Case 3: −2≤x<−1
x2−2x+5x−1=0⟹x2−3x−4=0
The roots are:
x=2−3±9+16=2−3±25
No root lies in the range.
Case 4: x<−2
x2+7x+4=0
The roots are:
x=2−7±49−16=2−7±33
One root lies in the range.
Total number of distinct real roots: 3