Expand and simplify:
Plan the bookkeeping before multiplying. Two trinomials produce partial products. Distributing one left-hand term at a time (rather than FOIL, which only covers binomials) keeps all nine accounted for.
Distribute the leading term .
Distribute the middle term .
Distribute the constant , carrying its sign through every term.
Collect like powers. Group the nine terms by degree:
Check the expansion numerically. Evaluating the factored form and the expanded form at every integer from to gives identical values at all points — more than the needed to determine a quartic, so the coefficients are correct. (Quick single check at : and .)
Need to solve a different problem like this? Open the solver →