Dividing polynomials works like long division with numbers. For a nonzero divisor d(x), the result fits the division algorithm D(x)=d(x)⋅q(x)+r(x). The remainder r(x) is either zero or has a lower degree than d(x). A remainder of 0 means d(x) is a factor of D(x).
Long division works for any divisor. Divide the leading terms, multiply, subtract, bring down the next term, and repeat. Subtraction is where most sign errors happen, so distribute the negative across every term you subtract.
Synthetic division is a shortcut for divisors of the form x−c, and it uses only coefficients. Two habits prevent most errors. Insert a 0 for every missing power, so x3+1 becomes the coefficients 1,0,0,1. Use the right sign for c, since dividing by x+2 means c=−2.
Worked example. Divide 2x3−9x2+12x−4 by x−3. Use c=3 and the coefficients 2,−9,12,−4. Bring down 2. Then 3⋅2=6, and −9+6=−3. Next 3⋅(−3)=−9, and 12−9=3. Last 3⋅3=9, and −4+9=5. The quotient is 2x2−3x+3 with remainder 5, so 2x3−9x2+12x−4=(x−3)(2x2−3x+3)+5.
When you divide a polynomial of degree at least 1 by a linear polynomial, the quotient has degree one less than the dividend. If the divisor has degree 2 or higher, like x2+3, use long division instead.
- Division algorithm: The division algorithm connects the dividend, divisor, quotient, and remainder through D(x)=d(x)⋅q(x)+r(x)D(x)=d(x)\cdot q(x)+r(x)D(x)=d(x)⋅q(x)+r(x).
- Synthetic division: Synthetic division is a coefficient-only shortcut for dividing a polynomial by a linear divisor x−cx-cx−c.
- Placeholder zero: A placeholder zero is a 0 coefficient written in for a missing power so the columns line up correctly.
Check yourself: What is the remainder when x3+1 is divided by x+1? (Answer: 0. Synthetic division with c=−1 on 1,0,0,1 gives 1,−1,1,0, so x+1 is a factor and x3+1=(x+1)(x2−x+1).)