Solve for , where and are real parameters:
Collect the terms and factor. Both and carry a single power of , so they combine:
and the equation becomes
This form is the whole point: the coefficient of is now a single visible quantity, , and everything depends on whether it is zero.
Solve the generic case . Then and you may divide:
There is exactly one solution. For example gives , and indeed .
Handle the degenerate case . Now , the term disappears entirely and the equation reduces to the constant statement
Nothing can be divided by zero here, so you must read the two sub-cases off directly.
Split the degenerate case in two. If and , the equation is : it holds for every real , so the solution set is all of — an identity, not an equation with one root. If and , the equation says with : a contradiction, so the solution set is empty.
Summarise the trichotomy. A linear equation always splits this way, and here , :
Skipping the case split is the standard mistake: dividing by without checking it is nonzero silently throws away the last two possibilities.
Need to solve a different problem like this? Open the solver →