Factor completely (with a parameter):
Collect the terms by powers of .
It is a quadratic in whose coefficients involve — so any factorization should be a product of two linear-in- brackets.
Spot the completed square hiding inside. The pieces , and are exactly . Peeling them off leaves
because the leftover is itself . Every occurrence of and now sits inside the single combination .
Substitute and factor the plain quadratic.
since and . With the substitution the parameter has disappeared entirely.
Back-substitute .
Cross-check two ways. By the coefficient route: , and the two bracket constants and sum to ✓ matching the linear coefficient. Numerically at , : the original is , and ✓.
Need to solve a different problem like this? Open the solver →