2C

Division of polynomials

Polynomial long division, the division theorem P(x) = A(x)Q(x) + R(x) with deg R less than deg A, and how it compares with dividing whole numbers.

Adding, subtracting and multiplying polynomials always gives another polynomial. Division usually doesn't, just as $23 \div 5$ isn't a whole number. The fix is the same one you learnt in primary school: a quotient and a remainder. You need this to factor cubics and quartics in the next two sections.

Start with whole numbers

Dividing $23$ by $5$ gives quotient $4$ and remainder $3$. Instead of writing a fraction, we write

$$23 = 5 \times 4 + 3, \qquad 0 \le 3 \lt 5.$$

The remainder has to be smaller than the divisor, otherwise you could divide again. Polynomials follow exactly this pattern, with "smaller" meaning "lower degree".

So dividing by a linear polynomial leaves a constant remainder, and dividing by a quadratic leaves a remainder of the form $ax + b$.

Long division

Each round has four moves: divide the leading term of what's left by the leading term of the divisor, multiply the divisor by that, subtract, and repeat. Stop when what's left has lower degree than the divisor.

Example 1●●

Divide $P(x) = 2x^4 - 5x^3 + 3x - 4$ by $x - 3$.

$P(x) = 2x^4 - 5x^3 + 0x^2 + 3x - 4$
There is no x² term, so write it in as 0x². Skipping this is the most common way the columns slip.
What's leftDivide by $x$Multiply by $(x - 3)$
$2x^4 - 5x^3 + 0x^2 + 3x - 4$$2x^3$$2x^4 - 6x^3$
$x^3 + 0x^2 + 3x - 4$$x^2$$x^3 - 3x^2$
$3x^2 + 3x - 4$$3x$$3x^2 - 9x$
$12x - 4$$12$$12x - 36$
$32$degree $0 \lt 1$, so stop
Each row: divide the leading terms, multiply (x − 3) by the result, subtract from what's left.
$2x^4 - 5x^3 + 3x - 4 = (x - 3)(2x^3 + x^2 + 3x + 12) + 32$
The quotient is the 'divide' column added up. The last row is the remainder.

As a fraction, the same result reads $\dfrac{2x^4 - 5x^3 + 3x - 4}{x - 3} = 2x^3 + x^2 + 3x + 12 + \dfrac{32}{x - 3}$, just like $\dfrac{23}{5} = 4 + \dfrac35$.

Dividing by a quadratic

Example 2●●●

Divide $2x^4 - 5x^3 + 3x - 4$ by $x^2 + 1$.

Left: $-5x^3 - 2x^2 + 3x - 4$
2x⁴ ÷ x² = 2x². Subtract 2x²(x² + 1) = 2x⁴ + 2x². The 0x² column becomes −2x².
Left: $-2x^2 + 8x - 4$
−5x³ ÷ x² = −5x. Subtract −5x(x² + 1) = −5x³ − 5x. Then 3x − (−5x) = 8x.
Left: $8x - 2$. Degree $1$ is less than $2$, so stop.
−2x² ÷ x² = −2. Subtract −2(x² + 1) = −2x² − 2.
$2x^4 - 5x^3 + 3x - 4 = (x^2 + 1)(2x^2 - 5x - 2) + (8x - 2)$

Your turn

Divide $x^3 - 2x^2 + 4$ by $x + 1$.

Show the working

Write $x^3 - 2x^2 + 0x + 4$. $x^3 \div x = x^2$; subtract $x^3 + x^2$ to leave $-3x^2 + 0x + 4$. Then $-3x$; subtract $-3x^2 - 3x$ to leave $3x + 4$. Then $3$; subtract $3x + 3$ to leave $1$. So $x^3 - 2x^2 + 4 = (x + 1)(x^2 - 3x + 3) + 1$.

Flashcards
Division theorem
$P(x) = A(x)Q(x) + R(x)$, with $\deg R \lt \deg A$ or $R = 0$.
Remainder after dividing by a quadratic
Degree at most $1$: of the form $ax + b$.
Remainder zero
$A(x)$ is a factor of $P(x)$.
Practice
  1. When a polynomial is divided by a cubic, the remainder has degree:

  2. Divide $x^3 - 5$ by $x - 1$. Enter the remainder.

  3. Divide $x^3 - 2x^2 + 4$ by $x + 1$. Enter the remainder.

  4. The quotient when $3x^3 + x^2 - 2$ is divided by $x - 2$ is:

  5. Enter the remainder when $3x^3 + x^2 - 2$ is divided by $x - 2$.

  6. $x^3 + 4x^2 + x - 6 = (x + 2)(x^2 + bx - 3)$. Find $b$.

  7. $2x^3 + x^2 - 5x + 2$ is divided by $2x - 1$. The remainder is:

  8. $2x^4 - 5x^3 + 3x - 4 = (x^2 + 1)(2x^2 - 5x - 2) + (ax + b)$. Find $a$.

  9. Exam style: divide $x^4 + 1$ by $x^2 + x$. The remainder is $ax + b$. Find $a$.

  10. Exam style: divide $x^4 - 3x^2 + x + 2$ by $x^2 - x$. The remainder is $ax + b$. Find $b$.

Formula sheet