How many x + 2 fit?
Long division of numbers asks how many times the divisor fits into the number being divided, and what is left over. Long division of polynomials asks the same question. To divide by x + 2, ask: how many lots of x + 2 fit into ?
is the dividend and x + 2 is the divisor. The answer has two parts, as with numbers: the quotient, how many lots fit, and the remainder, what is left over. Write both polynomials with the highest power first, the way a number is written with its largest place value first.
Divide the leading terms
Compare only the leading terms, the terms with the highest power. The leading term of the dividend is , and the leading term of the divisor is x. , so the quotient starts with x.
This is the "divide" step of Divide, Multiply, Subtract, Bring down. In the number division 528 ÷ 12, the first question is how many 12s fit into 52; here it is how many x fit into .
Multiply back and subtract
Multiply: the whole divisor times the new term, . Subtract it from the first two terms of the dividend: . Bring down the next term, + 7, and what is left to divide is 3x + 7.
The cancels, and that is why the quotient term was chosen by dividing the leading terms: each round removes the highest power that is left.
The division drawn as a rectangle: the side down the left is the divisor, x + 2, and the side along the top is the quotient being found. The first column, x wide, has area . Taking it away from leaves 3x + 7 to place.
Run the loop again
Repeat the four steps on 3x + 7. Divide the leading terms: , so the quotient gains + 3. Multiply back: 3(x + 2) = 3x + 6. Subtract: (3x + 7) − (3x + 6) = 1. There are no more terms to bring down.
The 1 has no x in it, so x + 2 cannot fit into it again: the loop stops. In general, stop when what is left has a lower degree, a lower highest power, than the divisor. That leftover is the remainder.
The second column, 3 wide, has area 3x + 6. The finished rectangle is , which is 1 short of : the remainder.
Quotient and remainder
The quotient is x + 3 and the remainder is 1. As a single statement: . Check by multiplying back: , and adding 1 gives .
Dividing both sides by x + 2 writes the division as a quotient plus a fraction: . The remainder sits over the divisor, just as .
The statement also shows what the remainder is. Put x = −2: the bracket x + 2 is 0, so the first part vanishes and equals the remainder. Indeed . When the remainder is 0, the divisor is a factor of the dividend.
The same division with numbers
Put x = 10 into the division. The dividend becomes 100 + 50 + 7 = 157, the divisor x + 2 becomes 12, and the quotient x + 3 becomes 13. So the working should say 157 ÷ 12 = 13 remainder 1, and it does: 13 × 12 = 156, and 157 − 156 = 1.
The rounds match as well. The first round took away , which is 10 × 12 = 120, and left 3x + 7, which is 37. The second round took away 3(x + 2) = 3x + 6, which is 36, and left 1. Polynomial long division is the same loop as number long division, with the powers of x in place of the place values.
157 ÷ 12 = 13 remainder 1. With x = 10 this is divided by x + 2: the 1 in 13 stands for 10, which is x, and the 37 left after the first round is 3x + 7.
A missing power
Divide by x − 2. The dividend has no term and no x term, so write them in with a coefficient of 0: . Each power then has its own place, as the 0 in 105 holds the tens place.
Round 1: . Multiply back: . Subtract: , and bring down 0x to get .
Round 2: . Multiply back: . Subtract: , and bring down − 8 to get 4x − 8.
Round 3: . Multiply back: 4(x − 2) = 4x − 8. Subtract: the remainder is 0. So , and x − 2 is a factor of . Check by multiplying back: .
Subtracting a negative term
Divide by x − 1. Round 1: , and . Subtract: . Bring down 4x: .
Round 2: , and . Subtract: . Bring down − 5: 3x − 5.
Round 3: , and 3(x − 1) = 3x − 3. Subtract: (3x − 5) − (3x − 3) = −2. The quotient is and the remainder is −2. Unlike with whole numbers, a remainder can be negative. Check at x = 1, where x − 1 is 0: 2 − 3 + 4 − 5 = −2, the remainder.
Dividing by a quadratic
The loop is the same when the divisor has a higher degree. Divide by , writing the divisor as . Round 1: , and . Subtract from to get , and bring down 4: .
Round 2: , and . Subtract: 2x + 2. That has degree 1, lower than the divisor's degree 2, so the loop stops. The quotient is x + 2 and the remainder is 2x + 2.
Check: .
The usual mistakes
Subtracting only the first term. In the first example the whole of is subtracted, so 5x − 2x = 3x goes forward. Carrying 5x instead gives the wrong quotient, x + 5, and a remainder that does not check.
Copying the divisor into the quotient. The quotient is what the divisor is multiplied by: x + 3, not x + 2.
Taking the last constant as the remainder. In the first example the 7 is the constant before anything is taken away, and 6 is what the quotient uses up; the remainder is 7 − 6 = 1.
Losing a sign when subtracting a negative term. is 3x, because subtracting adds .
Leaving out a missing power. Without and 0x, the terms of fall into the wrong places, just as 105 written without its 0 becomes 15.
Stopping too soon or too late. Keep going while what is left has a degree at least that of the divisor, and stop as soon as it is lower.
A look ahead
Writing as says something about its graph. When x is large, is tiny, so the graph runs very close to the straight line y = x + 3. That line is called a slant asymptote, and it is found by exactly this division.
Worked example: The Base of a Box from Its Volume and Its Height: Long Division with a Remainder of Zero as the Check
Question A packaging firm makes a family of boxes from one design. For a size setting x, the box has a volume of x3 + 6x2 + 11x + 6 cubic centimeters and a height of x + 1 centimeters. (a) Use long division to find the area of the base as a polynomial in x, and state the remainder. (b) Factorize the area of the base to find the two sides of the base. Find the three dimensions, the area of the base and the volume of the box when x = 4.
1.Divide the leading terms: x3 ÷ x = x2. Multiply back: x2(x + 1) = x3 + x2. Subtract from x3 + 6x2 to get 5x2, and bring down 11x: the working line is 5x2 + 11x.
The area of the base is the volume divided by the height. x3 ÷ x = x2, and x2(x + 1) = x3 + x2. Subtracting leaves 5x2, and 11x comes down. 2.Divide again: 5x2 ÷ x = 5x. Multiply back: 5x(x + 1) = 5x2 + 5x. Subtract to get 6x, and bring down 6: the working line is 6x + 6.
5x2 ÷ x = 5x, and 5x(x + 1) = 5x2 + 5x. Subtracting leaves 6x, and 6 comes down. 3.Divide once more: 6x ÷ x = 6. Multiply back: 6(x + 1) = 6x + 6. Subtract: the remainder is 0.
6x ÷ x = 6, and 6(x + 1) = 6x + 6. Subtracting leaves a remainder of 0. 4.(a) The area of the base is x2 + 5x + 6 square centimeters, and the remainder is 0, as it must be when the height is a factor of the volume. Check by multiplying back: (x + 1)(x2 + 5x + 6) = x3 + 5x2 + 6x + x2 + 5x + 6 = x3 + 6x2 + 11x + 6.
(a) The area of the base is x2 + 5x + 6 square centimeters, and the remainder is 0, as it must be when the height is a factor of the volume. 5.Factorize the area of the base: x2 + 5x + 6 = (x + 2)(x + 3), because 2 + 3 = 5 and 2 × 3 = 6. The sides of the base are x + 2 and x + 3 centimeters.
Factorize the area of the base: x2 + 5x + 6 = (x + 2)(x + 3). The four parts of the rectangle are x2, 3x, 2x and 6, and 3x + 2x = 5x. 6.(b) When x = 4 the base is 6 cm by 7 cm, with an area of 42 square centimeters, and the height is 5 cm. The volume is 42 × 5 = 210 cubic centimeters. Check with the formula: 64 + 96 + 44 + 6 = 210.
(b) When x = 4 the base is 6 cm by 7 cm, an area of 16 + 12 + 8 + 6 = 42 square centimeters. With a height of 5 cm the volume is 210 cubic centimeters.
Answer: (a) The area of the base is x2 + 5x + 6 square centimeters, with remainder 0; (b) the sides of the base are x + 2 and x + 3 centimeters, and when x = 4 the box is 6 cm by 7 cm by 5 cm, with a base of 42 square centimeters and a volume of 210 cubic centimeters
Common mistakes
- Subtracting only the first term of each product. After multiplying back, the whole of x3 + x2 is subtracted, so 6x2 − x2 = 5x2 is carried forward. Carrying 6x2 instead gives a quotient of x2 + 6x + 5 and a remainder of 1, which warns that something has gone wrong.
- Dividing each term of the volume by x alone and ignoring the + 1 in the height. The divisor is the whole of x + 1. Each new term of the quotient comes from the leading terms only, but it is multiplied by both terms of the divisor before subtracting.