Factorise
Treat a like a second variable. The expression is quadratic in and quadratic in , and there is no term of degree higher than in the pair, so it can plausibly factor into two linear factors in and .
Factor the degree-2 part.
(Check the cross terms: . ✓)
Introduce the unknown constants. The full factorisation must be
Match the x and a coefficients. Expanding gives an -coefficient of and an -coefficient of . The targets are and :
Solve for p and q. From the second equation ; substituting into the first: , so and , . Both satisfy . ✓
Expand as a final check. . ✓
Need to solve a different problem like this? Open the solver →