Polynomial long division
Dividing polynomials works just like long division with numbers. Write the terms from highest degree (power) to lowest, divide the leading terms, write that in the quotient, then subtract that term times the divisor. When what is left has a lower degree than the divisor, it is the remainder.
Formulas
When to use it
Use it when you need the quotient and remainder of one polynomial divided by another, or need to write a polynomial as divisor × quotient + remainder.
Worked example
Compute . , so write x in the quotient and subtract , leaving . , so write 3 in the quotient and subtract , leaving 1. The quotient is and the remainder is 1; check: .
Common mistake
A common mistake is not changing the sign of the later terms when subtracting. Subtract with parentheses, as in , and if a power is missing, as in , hold its place with .