Find the solution set of
where is a real parameter.
Separate the degenerate case a = 0 first. The coefficient of is the parameter itself, so the inequality is not always quadratic. If it reduces to a linear inequality:
Solution set: . Every remaining case assumes .
Compute the discriminant and notice it is a perfect square. For ,
Because for every real , the quadratic always has real roots — no "no real root" branch is needed. That is the key structural fact this problem is built on.
Extract the two roots exactly.
So one root is pinned at for every , and the other slides with . Hence
which expands back to — the original expression.
Case a > 0: parabola opens upward. Then , so the roots are ordered and the expression is non-negative outside them:
Case a < 0: parabola opens downward, so compare the roots. Now the expression is non-negative between the roots, and the order of and depends on . Since :
The middle case is easy to miss: at the two roots merge and the solution set shrinks to one point.
Collect the complete answer.
Spot check with : the inequality is , i.e. , giving or as predicted.
Need to solve a different problem like this? Open the solver →