We consider two cases :
(a) x < -1, (b) x ≥-1
In case (a), the equation reduces to the form
x(- x - 1) + a = 0
or x2 + 1 - a = 0 ............(1)
We are interested in finding real roots of (1) which satisfy the condition (a).
Now the condition for (a) to have real roots is
1+4a≥0 or a≥−14
[Note that for real roots, the discriminant of (1) must be non - negative ].
The roots of (1) are
x1=−1+√1+4a2,x1=−1−√1+4a2
Out of these roots, we have to take those which satisfy the condition x < -1.
To do this, we have solve the inequalities
x1=−1+√1+4a2<−1
and x1=−1−√1+4a2<−1
The first inequality reduces to 1+√1+4a<0,
Which does not hold for values of a≥−14
The second inequality reduces to √1+4a>1 and is valid for a > 0 as can be easily seen.
Hence, for a > 0, the original equation has one real root at x=−1−√1+4a2
that satisfies the condition x < -1 and for a≤0, it has no such root.
In case (b), the given equation takes the form
x2 + x + 1 = 0
Discussing as in case (a), we will see that the given equation has two real roots for 0≤a≤14.
−1+√1−4a2 and −1−√1−4a2
For a < 0, the equation has the root at
x=−1+√1−4a2
For a>14, the equations has no roots in the domain x > -1.
Combining the cases (a) and (b) , we get the final answer .
For a < 0, x=−1+√1−4a2
For 0≤a≤14,x=−1−√1−4a2,−1+√1−4a2
and for a>14, the equation has no root