Factor
treating as a constant.
Clear the outer bracket carefully. The minus sign distributes over both terms inside:
Missing the sign change on the (and writing instead of ) is the main trap.
Treat it as a monic quadratic in x. The coefficient of is and the constant term is . So we need two expressions whose sum is and whose product is .
Spot the pair. The two obvious candidates are and :
Both conditions hold identically in , which is what makes this work for every value of the parameter.
Write the factorisation.
Verify by expanding symbolically.
The terms cancel exactly, which is why only survives in the middle.
Read off the roots and a useful check. The expression vanishes at and . Their sum is ✓ and their product is ✓, matching the constant term. Numerically, comparing the original with the factored form at random pairs in gives agreement to machine precision throughout ✓.
Need to solve a different problem like this? Open the solver →