You already know that dividing by gives quotient and remainder , because . Polynomials divide in exactly the same way, and the method is the long division you learnt for numbers. This lesson shows how to set out the working, how to check it, and the rule behind it, called the division algorithm. Everything that follows in this chapter, the remainder theorem, the factor theorem and factorisation, rests on it.
The division algorithm
If and are two polynomials, with not the zero polynomial, then there exist unique polynomials and such that
where either or .
Here is the dividend, the divisor, the quotient and the remainder. ("deg" is short for degree.) Compare it with numbers: , with the remainder smaller than the divisor . For polynomials, "smaller" means "of lower degree", so we keep dividing until what is left has a lower degree than the divisor.
The method
Before you start, write both polynomials in descending powers, and fill any missing power with a zero term. Then repeat four moves:
- Divide the leading term of what is left by the leading term of the divisor. This gives the next term of the quotient.
- Multiply the whole divisor by that term.
- Subtract the product from what is left. (Change every sign of the product and add.)
- Bring down the next term, and go back to step 1.
Stop when what is left has a lower degree than the divisor. That is the remainder.
Example 1
Find the quotient and remainder when is divided by .
Each row of the table is one round of the four moves.
| Round | Divide | Multiply by | Left after subtracting |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 |
Look closely at round 2: subtracting from gives . Subtracting a negative is where most mistakes happen.
The terms in the "Divide" column make the quotient:
Check. , and adding the remainder gives back . So holds.
Example 2
Divide by .
| Round | Divide | Multiply by | Left after subtracting |
|---|---|---|---|
| 1 | |||
| 2 |
Quotient , remainder . A zero remainder means divides the dividend exactly:
Example 3
Divide by .
| Round | Divide | Multiply by | Left after subtracting |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
Quotient , remainder . The remainder has degree , lower than the degree of the divisor, so we stop.
Example 4
Divide by .
First tidy both polynomials. Write the divisor in descending powers as , and give the dividend its missing term: . The leading term of the divisor is now , and the signs need care.
| Round | Divide | Multiply by | Left after subtracting |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 |
In round 2, . In round 3, .
Fractions in the quotient are perfectly normal when the leading coefficient of the divisor does not divide the dividend's coefficients.
Using the algorithm backwards
The equation also lets us rebuild a dividend from the other three parts.
Example 5
A polynomial divided by gives quotient and remainder . Find the polynomial.
Practice
- Divide by and verify the division algorithm.
- Divide by .
- Divide by .
- Divide by .
- Divide by .
- Divide by .
- Find the quotient when is divided by .
- A polynomial divided by gives quotient and remainder . Find the polynomial.
Answers
Show answers
- Quotient , remainder . Check: .
- Quotient , remainder .
- Quotient , remainder . (Rounds: , then , then .)
- Quotient , remainder .
- Quotient , remainder . After the first round, leaves ; then leaves , which has degree .
- Write the dividend as . Quotient , remainder .
- , with remainder . (The dividend is , so the quotient is .)