Solveeit Logo

Question

Mathematics Question on Algebra

The number of distinct real roots of the equation xx+25x+11=0|x| \, |x + 2| - 5|x + 1| - 1 = 0 is _________.

Answer

Consider the different cases based on the value of xx.

Case 1: x0x \geq 0

x2+2x5x1=0    x23x6=0x^2 + 2x - 5x - 1 = 0 \implies x^2 - 3x - 6 = 0

The roots are given by:

x=3±9+242=3±332x = \frac{3 \pm \sqrt{9 + 24}}{2} = \frac{3 \pm \sqrt{33}}{2}

Since x0x \geq 0, one positive root exists.

Case 2: 1x<0-1 \leq x < 0

x22x5x1=0    x2+7x+6=0-x^2 - 2x - 5x - 1 = 0 \implies x^2 + 7x + 6 = 0

The roots are:

x=1,x=6x = -1, \, x = -6

Only x=1x = -1 is within the range.

Case 3: 2x<1-2 \leq x < -1

x22x+5x1=0    x23x4=0x^2 - 2x + 5x - 1 = 0 \implies x^2 - 3x - 4 = 0

The roots are:

x=3±9+162=3±252x = \frac{-3 \pm \sqrt{9 + 16}}{2} = \frac{-3 \pm \sqrt{25}}{2}

No root lies in the range.

Case 4: x<2x < -2

x2+7x+4=0x^2 + 7x + 4 = 0

The roots are:

x=7±49162=7±332x = \frac{-7 \pm \sqrt{49 - 16}}{2} = \frac{-7 \pm \sqrt{33}}{2}

One root lies in the range.

Total number of distinct real roots: 3