Solve for :
where and are parameters. Discuss all cases.
Collect the terms and factor. Both variable terms carry a factor :
Isolate the product. Subtract :
Divide only when the coefficient is nonzero. Dividing by requires :
Dividing without checking is the error that hides the whole second half of the answer.
Handle the degenerate case . Then the coefficient of is zero and disappears entirely:
So if the equation is and every real is a solution; if it is a contradiction and there is no solution.
Check the generic formula numerically. Take , : then , and . Take , : , and .
Need to solve a different problem like this? Open the solver →