Quarry School

Dividing polynomials: crash course

about 25 min to listen5 lessons13 questions to tryUnit 14 of 17

Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.

Starts here no skill from another unit needed first

1 Polynomial long division

about 4 minOpen the full lessonOnly this lesson

The rule

Divide, multiply, subtract, bring down.

Write powers in descending order with zero placeholders. Stop only when every term is down and the remainder is zero or has lower degree than the divisor.

How

  1. Use the descending-powers rule to line up 2x2 − 5x − 1 and x − 3. Every power is present, so no zero placeholder is needed; matching powers keeps subtraction in the right columns.
  2. Use the divide step: 2x2 ÷ x = 2x. Write 2x in the quotient because multiplying x by 2x will cancel the dividend’s highest power.
  3. Use the multiply step on the whole divisor: 2x(x − 3) = 2x2 − 6x. The distributive rule includes both terms because the quotient counts copies of the whole divisor.
  4. Use the subtract step: (2x2 − 5x) − (2x2 − 6x) = x. Change both signs in the row being subtracted; −5x + 6x = x. Bring down −1 to use the next dividend term, giving x − 1.
  5. Repeat divide, multiply, subtract: x ÷ x = 1, so add 1 to the quotient. Multiply 1(x − 3) = x − 3. Subtract (x − 1) − (x − 3) = 2 because −1 + 3 = 2.
  6. Use the stopping rule: every term is down and the remainder 2 has degree 0, below the divisor’s degree 1. Stop with quotient 2x + 1 and remainder 2.
  7. Check with dividend = divisor × quotient + remainder: (x − 3)(2x + 1) + 2 = 2x2 + x − 6x − 3 + 2 = 2x2 − 5x − 1. Rebuilding every term confirms the division.

Worked example

Worked example

A full division with a minus sign in the divisor

Divide (2x2 − 5x − 1) ÷ (x − 3). Give the quotient and the remainder.

What it asks. Find the quotient and remainder when dividing by x − 3.

Show the steps and the answer

The plan. Align powers, then divide, multiply, subtract and bring down. Finish by multiplying back.

x−3)2x2−5x−1

Round 1: 2x2 ÷ x = 2x

2x(x−3)=2x2−6x

(2x2−5x)−(2x2−6x)=x

Round 2: x ÷ x = 1

1(x−3)=x−3

(x−1)−(x−3)=2

Quotient 2x + 1, remainder 2

  1. Plan. Align powers, then divide, multiply, subtract and bring down. Finish by multiplying back.
  1. Identify dividend 2x2−5x−1 and divisor x−3.The dividend goes under the bar, the divisor to the left, and the quotient on top.
  2. Set up x−3 ) 2x2−5x−1. All powers are present and in order.Each power needs its own column, so that like terms sit under like terms when you subtract.
  3. Divide: 2x2÷x=2x. Write 2x on the top line, above the x term.Multiplying x by 2x produces the leading term to cancel.
  4. Multiply: 2x(x−3)=2x2−6x. Write it under 2x2−5x.Each quotient term multiplies the whole divisor.
  5. Subtract: (2x2−5x)−(2x2−6x). Change both signs of the product and add: 2x2−5x−2x2+6x=x.Subtracting a whole expression flips every sign in it. The 2x2 terms cancel, as planned, and −5x + 6x = x.
  6. Bring down the −1. You now have x−1.The constant term joins the leftover from this round.
  7. The leftover x−1 and divisor x−3 both have degree 1. Divide again.You stop only when the degree of what is left is lower than the degree of the divisor.
  8. Divide: x÷x=1. Write +1 on the top line. The top line now reads 2x+1.1 times x gives x, the leading term you want to cancel now.
  9. Multiply: 1(x−3)=x−3. Write it under x−1.Again the new piece multiplies the whole divisor.
  10. Subtract: (x−1)−(x−3)=x−1−x+3=2.The x terms cancel. Subtracting −3 is the same as adding 3, and −1 + 3 = 2.
  11. Compare degrees: 2 is a plain number, so its degree is 0, which is lower than 1. Nothing is left to bring down. Stop.x does not go into a plain number without putting x in the bottom of a fraction.
  12. Read the answer: the top line 2x+1 is the quotient, and the 2 at the bottom is the remainder.The top collects the quotient terms; the bottom holds the leftover.
Answer
  • Quotient: 2x + 1
  • Remainder: 2
Double-check Multiply back: (x − 3)(2x + 1) + 2 = 2x2 − 5x − 1. The remainder 2 has degree 0, below the divisor's degree 1. Spot check at x = 10: the dividend is 200 − 50 − 1 = 149, the divisor is 7, the quotient is 21, and 7 × 21 + 2 = 149.

The trap

Wrong: change only the first sign when subtracting a row. Right: change every sign, then add.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

A cubic, so three rounds

Divide (x3 − 4x2 + x + 10) ÷ (x − 3).

What it asks. Find the quotient and remainder.

Show the steps and the answer

The plan. Run long division one column at a time, then multiply back.

  1. Plan. Run long division one column at a time, then multiply back.
  1. Say what is asked: the dividend is x3−4x2+x+10, the divisor is x−3. Find the quotient and the remainder. The powers run x3,x2, x, number, with none missing.A dividend of degree 3 and a divisor of degree 1 means a quotient that starts with x2, so expect three rounds.
  2. Round 1. Divide: x3÷x=x2. Multiply: x2(x−3)=x3−3x2. Subtract: (x3−4x2)−(x3−3x2)=−4x2+3x2=−x2.x3 cancels. Subtracting −3x2 means adding 3x2.
  3. Bring down +x. You have −x2+x. Its degree is 2, so go on.Degree 2 is higher than the degree of the divisor.
  4. Round 2. Divide: −x2÷x=−x. Write −x on top. Multiply: −x(x−3)=−x2+3x. Subtract: (−x2+x)−(−x2+3x)=x−3x=−2x.A negative times −3 gives + 3x. Then −x2 cancels and x − 3x = −2x.
  5. Bring down +10. You have −2x+10. Its degree is 1, so go on.Degree 1 is equal to the degree of the divisor, not lower.
  6. Round 3. Divide: −2x÷x=−2. Write −2 on top. Multiply: −2(x−3)=−2x+6. Subtract: (−2x+10)−(−2x+6)=10−6=4.−2x cancels and the plain numbers give 4.
  7. Stop. 4 has degree 0. The top line reads x2−x−2.The degree of what is left is lower than the degree of the divisor, and nothing remains to bring down.
Answer
  • Quotient: x2 − x − 2
  • Remainder: 4
Double-check Multiply back: (x − 3)(x2 − x − 2) = x3 − x2 − 2x − 3x2 + 3x + 6 = x3 − 4x2 + x + 6. Add the remainder 4: x3 − 4x2 + x + 10, the dividend. With x = 1: the dividend is 1 − 4 + 1 + 10 = 8, the divisor is −2, the quotient is 1 − 1 − 2 = −2, and (−2)(−2) + 4 = 8.

2 Dividend = divisor times quotient plus remainder

about 6 minOpen the full lessonOnly this lesson

The rule

The division algorithm: for a dividend P(x) and a divisor D(x) that is not 0, there is exactly one quotient Q(x) and exactly one remainder R(x) with P(x)=D(x)·Q(x)+R(x), where R(x) is 0 or has a lower degree than D(x).source 1

Dividing both sides by D(x) gives the fraction form: P(x)D(x)=Q(x)+R(x)D(x), wherever D(x)≠0.

Sources (1)
  1. Jay Abramson. Precalculus 2e, 3.5 Dividing Polynomials. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

How

  1. Label the pieces in P = D × Q + R: P = 2x3 − 3x2 − 8x + 7, D = x − 3, Q = 2x2 + 3x + 1, R = 10. These are the reported dividend, divisor, quotient and remainder to check.
  2. Use the remainder-degree rule: 10 has degree 0, below the degree 1 of x − 3. This makes 10 an allowed remainder, though the multiplication must also agree.
  3. Use the distributive rule to multiply the entire divisor and quotient: (x − 3)(2x2 + 3x + 1) = 2x3 + 3x2 + x − 6x2 − 9x − 3 = 2x3 − 3x2 − 8x − 3. Combine like powers so each coefficient can be compared.
  4. Use P = D × Q + R to add the remainder: 2x3 − 3x2 − 8x − 3 + 10 = 2x3 − 3x2 − 8x + 7. Every coefficient matches P, proving the reported division. Write P = (x − 3)(2x2 + 3x + 1) + 10.
  5. Use the fraction form of the rule by dividing both sides of P = D × Q + R by D: 2x3−3x2−8x+7x−3 = 2x2 + 3x + 1 + 10x−3. Require x ≠ 3 because division by zero is undefined.
  6. Check both forms at the allowed input x = 2. The dividend is 16 − 12 − 16 + 7 = −5; D × Q + R is (−1)(15) + 10 = −5. The fraction form gives −5−1 = 15 + 10−1 = 5. This spot check supports the coefficient check above.

Worked example

Worked example

Checking a cubic divided by x − 3 and writing the answer two ways

Long division of 2x3 − 3x2 − 8x + 7 by x − 3 gave quotient 2x2 + 3x + 1 and remainder 10. Check the division, then write the result in both forms.

What it asks. Verify the result and write the multiplication identity and fraction form.

Show the steps and the answer

The plan. Check the remainder's degree, multiply back and add 10. Divide the identity by x − 3, with x ≠ 3.

x·(2x2+3x+1)=2x3+3x2+x

−3·(2x2+3x+1)=−6x2−9x−3

Sum: 2x3 − 3x2 − 8x − 3

Add the remainder 10: 2x3 − 3x2 − 8x + 7

  1. Plan. Check the remainder's degree, multiply back and add 10. Divide the identity by x − 3, with x ≠ 3.
  1. Name the pieces. Dividend: 2x3−3x2−8x+7. Divisor: x−3. Quotient: 2x2+3x+1. Remainder: 10.The division algorithm puts each piece in a fixed place, so you need to know which is which before you start.
  2. Test the remainder. The remainder 10 is a plain number, so its degree is 0. The divisor x−3 has degree 1. Since 0 < 1, the remainder is small enough.A remainder with degree 1 or more could still be divided by x − 3, which would mean the division was not finished.
  3. Multiply the x of the divisor by every term of the quotient: x·(2x2+3x+1)=2x3+3x2+x.Multiplying a polynomial by a binomial starts with the first term of the binomial times each term of the polynomial.
  4. Multiply the −3 of the divisor by every term of the quotient: −3·(2x2+3x+1)=−6x2−9x−3.The second term of the binomial also multiplies each term, and a negative number times a positive term gives a negative term.
  5. Add the two rows and collect like terms: 2x3+(3x2−6x2)+(x−9x)−3=2x3−3x2−8x−3.Only terms with the same power of x combine: 3 − 6 = −3 and 1 − 9 = −8.
  6. Add the remainder: 2x3−3x2−8x−3+10=2x3−3x2−8x+7.The remainder is a plain number, so it combines with the plain number −3, and −3 + 10 = 7.
  7. Compare with the dividend 2x3−3x2−8x+7. The coefficients are 2, −3,−8 and 7 on both sides.Two polynomials are the same only when every coefficient matches, so you compare one power at a time.
  8. Write the multiplication form: 2x3−3x2−8x+7=(x−3)(2x2+3x+1)+10.This is the division algorithm with the four pieces put in their places.
  9. Write the fraction form: 2x3−3x2−8x+7x−3=2x2+3x+1+10x−3, for x≠3.Dividing both sides by x − 3 turns the product into the quotient alone and leaves the remainder over the divisor. Setting x − 3 = 0 gives x = 3. This finds the one input that would make the bottom zero, so it is ruled out. Plug it in to see: 3 − 3 = 0.
Answer
  • The division is correct.
  • 2x3−3x2−8x+7=(x−3)(2x2+3x+1)+10
  • 2x3−3x2−8x+7x−3 = 2x2 + 3x + 1 + 10x−3, for x ≠ 3
Double-check Put x = 2 into both sides of the multiplication form. Left: 2(8) − 3(4) − 8(2) + 7 = 16 − 12 − 16 + 7 = −5. Right: (2 − 3)(2 · 4 + 3 · 2 + 1) + 10 = (−1)(15) + 10 = −5. Both sides give −5. The fraction form agrees too: the left is −5−1 = 5 and the right is 15 + 10−1 = 15 − 10 = 5.

The trap

Wrong: check with divisor × quotient alone. Right: add the remainder too, including its sign.

Quick check

Try it before you open its steps. It is question 3 of 5 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 5

Catching a wrong remainder

A friend divides x3 − 2x2 + 4x − 5 by x − 1 and reports the quotient x2 − x + 3 and the remainder 2. Check the result and correct the remainder if needed.

What it asks. Find and correct the reported remainder.

Show the steps and the answer

The plan. Multiply the divisor by the reported quotient. Subtract that product from the dividend to find the remainder.

=x³ − 2x² + 4x− 5(x − 1)(x² − x+ 3) + (−2)do the same thing to both sides
The scale balances with −2 on the right. With + 2 the right side would be 4 too heavy.
  1. Plan. Multiply the divisor by the reported quotient. Subtract that product from the dividend to find the remainder.
  1. Test the remainder: 2 has degree 0, the divisor x−1 has degree 1, and 0 < 1.The size test passes, so any mistake is in the numbers, not in stopping early.
  2. Multiply x by the quotient: x·(x2−x+3)=x3−x2+3x.The first term of the divisor multiplies every term of the quotient.
  3. Multiply −1 by the quotient: −1·(x2−x+3)=−x2+x−3.Multiplying by −1 flips the sign of every term.
  4. Add the rows: x3+(−x2−x2)+(3x+x)−3=x3−2x2+4x−3.Like terms combine: −1 − 1 = −2 and 3 + 1 = 4.
  5. Add the reported remainder: x3−2x2+4x−3+2=x3−2x2+4x−1.This is what the reported answer claims the dividend is.
  6. Compare with the dividend x3−2x2+4x−5. The x3,x2 and x terms match. The plain numbers do not: −1 is not −5.One mismatch is enough to show the reported answer is wrong. The matching higher terms show the quotient is fine and the error is in the remainder.
  7. Find the true remainder: remainder = dividend − divisor × quotient =(x3−2x2+4x−5)−(x3−2x2+4x−3)=−5+3=−2.Moving divisor × quotient to the other side of the division algorithm leaves the remainder alone. This finds the one leftover that makes the two sides balance.
  8. Plug it back in: x3−2x2+4x−3+(−2)=x3−2x2+4x−5.Adding −2 is the same as subtracting 2, and −3 − 2 = −5, which is the dividend.
Answer
  • The reported remainder is wrong.
  • The quotient x2 − x + 3 is right, and the remainder is −2.
  • x3−2x2+4x−5=(x−1)(x2−x+3)+(−2)
Double-check Put x = 2 into both sides. Dividend: 8 − 8 + 8 − 5 = 3. With remainder −2: (2 − 1)(4 − 2 + 3) − 2 = 5 − 2 = 3, which matches. With the reported remainder 2: 5 + 2 = 7, which does not.

3 Synthetic division by x − c

about 4 minOpen the full lessonOnly this lesson

The rule

This short table works for a divisor of the form x−c.source 1

Write c in a box and the coefficients of the dividend in a row, in descending powers, with 0 for every missing power. Bring down the first coefficient. Then repeat: multiply the newest bottom number by c, write the product under the next coefficient, and add the column. The last bottom number is the remainder. The numbers before it are the coefficients of the quotient, whose degree is one less than the degree of the dividend when the dividend has degree 1 or more.

Sources (1)
  1. Jay Abramson. Precalculus 2e, 3.5 Dividing Polynomials. OpenStax, 2021. CC BY-NC-SA 4.0. Read 16 Nov 2026.

How

  1. Use the x − c rule: the divisor x − 3 has c = 3. Put 3 in the box: x = 3 makes the divisor zero, since 3 − 3 = 0. Its x coefficient is 1, so the quotient needs no scaling.
  2. Use the coefficient-order rule: write 2, −7, 4, 5 for 2x3 − 7x2 + 4x + 5. Every power is present, so no zero is needed; each column keeps its power of x.
  3. Use the bring-down rule: put 2 below the first coefficient. The leading coefficient stays 2 because the divisor starts with 1x.
  4. Use multiply, then add: 2 × 3 = 6; write 6 under −7 and add −7 + 6 = −1. This produces the next quotient coefficient by the table’s rule.
  5. Repeat multiply, then add with the newest bottom number: (−1) × 3 = −3; write −3 under 4 and add 4 − 3 = 1. Advancing one column gives the next quotient coefficient.
  6. Repeat once more: 1 × 3 = 3; write 3 under 5 and add 5 + 3 = 8. The last-number rule makes 8 the remainder because this is the constant column.
  7. Use the quotient-degree rule to read the bottom row 2, −1, 1, 8. Start one power below the cubic dividend: the quotient is 2x2 − x + 1. Keep the remainder 8 separate.
  8. Check with P = D × Q + R: (x − 3)(2x2 − x + 1) + 8 = 2x3 − 7x2 + 4x − 3 + 8 = 2x3 − 7x2 + 4x + 5. Rebuilding the dividend checks every coefficient.

Worked example

Worked example

A cubic divided by x − 3

Use synthetic division to divide 2x3 − 7x2 + 4x + 5 by x − 3. State the quotient and the remainder.

What it asks. Find the quotient and remainder using synthetic division.

Show the steps and the answer

The plan. Use 3 in the box. Bring down once, then multiply and add; read the last number as the remainder.

Box: 3

Top row: 2 −7 4 5

Middle row: empty 6 −3 3

Bottom row: 2 −1 1 8

Quotient: 2x2 − x + 1

Remainder: 8

  1. Plan. Use 3 in the box. Bring down once, then multiply and add; read the last number as the remainder.
  1. Say what the question asks. The dividend is 2x3−7x2+4x+5 and the divisor is x−3. Find the quotient and the remainder.Every division question asks for these two results, so name the pieces before you start.
  2. Read c from the divisor. x − 3 has the form x − c with c = 3. Test it: 3−3=0.c is the number subtracted from x. It is also the one number that makes the divisor 0, and plugging it back in confirms you read it correctly.
  3. Check the dividend. The powers 3, 2, 1 and 0 are all there, in descending order. Top row: 2, −7, 4, 5.Each column stands for one power of x, so no power may be skipped. A dividend of degree 3 needs 4 numbers.
  4. Bring the 2 straight down to the bottom row.The divisor starts with 1x, so the first coefficient of the quotient equals the first coefficient of the dividend.
  5. Multiply 2 × 3 = 6. Write 6 under the −7. Add the column: −7+6=−1.Multiply by c, then add. This replaces the multiply and subtract step of long division.
  6. Multiply −1 × 3 = −3. Write −3 under the 4. Add the column: 4+(−3)=1.The same two moves, applied to the newest bottom number.
  7. Multiply 1 × 3 = 3. Write 3 under the 5. Add the column: 5+3=8.This is the last column, so the sum is the remainder.
  8. Read the bottom row 2, −1, 1, 8. The last number, 8, is the remainder. The numbers 2, −1, 1 are the coefficients of the quotient, starting at x2: 2x2−x+1.Dividing a polynomial of degree 3 by a divisor of degree 1 leaves a quotient of degree 2.
Answer
  • Quotient: 2x2 − x + 1
  • Remainder: 8
  • In full: 2x3 − 7x2 + 4x + 5 = (x − 3)(2x2 − x + 1) + 8
Double-check Multiply back. (x − 3)(2x2 − x + 1) = 2x3 − x2 + x − 6x2 + 3x − 3 = 2x3 − 7x2 + 4x − 3. Add the remainder 8 to get 2x3 − 7x2 + 4x + 5, which is the dividend. Second look: put x = 3 into the dividend. 2(27) − 7(9) + 4(3) + 5 = 54 − 63 + 12 + 5 = 8, the remainder. These must match because at x = 3 the divisor x − 3 is 0, so divisor × quotient is 0 and only the remainder is left.

The trap

Wrong: omit a missing power from the coefficient row. Right: write a zero in that place before starting.

Quick check

Try it before you open its steps. It is question 5 of 10 in the full lesson, where they run from easy to exam-hard.

Try it · level 5 of 10

Out of order, with two missing terms

Use synthetic division to divide 5 − 3x2 + 2x4 by x + 1.

What it asks. Find the quotient and remainder for the given divisor.

Show the steps and the answer

The plan. Order the powers first and insert zeros for gaps. Then use −1 in the box.

2x4+0x3−3x2+0x+5

Box: −1

Top row: 2 0 −3 0 5

Middle row: empty −2 2 1 −1

Bottom row: 2 −2 −1 1 4

Quotient: 2x3 − 2x2 − x + 1, remainder: 4

  1. Plan. Order the powers first and insert zeros for gaps. Then use −1 in the box.
  1. Say what is asked. The dividend is 5−3x2+2x4 and the divisor is x+1. Find the quotient and the remainder.The dividend is written from the lowest power up, so it must be reordered before any numbers go in the row.
  2. Read c. x + 1 = x − (−1), so c = −1. Test: −1+1=0.Plus in the divisor means a negative number in the box.
  3. Reorder to descending powers: 2x4−3x2+5. List the powers 4, 3, 2, 1, 0. The x3 term and the x term are missing. Rewrite as 2x4+0x3−3x2+0x+5. Top row: 2, 0, −3, 0, 5.The row must run from the highest power to the constant with one number for every power. Degree 4 needs 5 numbers.
  4. Bring down the 2.The first coefficient drops straight down.
  5. Multiply 2 × (−1) = −2. Write it under the first 0. Add: 0+(−2)=−2.Multiply by c, then add.
  6. Multiply −2 × (−1) = 2. Write it under the −3. Add: −3+2=−1.A negative times a negative is positive.
  7. Multiply −1 × (−1) = 1. Write it under the second 0. Add: 0+1=1.The same two moves again.
  8. Multiply 1 × (−1) = −1. Write it under the 5. Add: 5+(−1)=4.Last column, so 4 is the remainder.
  9. Read the bottom row 2, −2,−1, 1, 4. Quotient: 2x3−2x2−x+1. Remainder: 4.A dividend of degree 4 gives a quotient of degree 3, so the first number goes with x3.
Answer
  • Quotient: 2x3 − 2x2 − x + 1
  • Remainder: 4
Double-check Multiply back. (x + 1)(2x3 − 2x2 − x + 1) = 2x4 − 2x3 − x2 + x + 2x3 − 2x2 − x + 1 = 2x4 − 3x2 + 1. Add the remainder 4 to get 2x4 − 3x2 + 5, the dividend. Second look: put x = −1 into the dividend. 5 − 3(1) + 2(1) = 4, the remainder.

4 Dividing by a divisor of degree two

about 5 minOpen the full lessonOnly this lesson

The rule

Use long division for a quadratic divisor.

Stop when all terms are down and the remainder is zero or has degree below two. The remainder may be mx +n, a constant or zero.

How

  1. Use the quadratic-divisor rule to choose long division for (2x3 + 5x2 + x + 4) ÷ (x2 + x − 2). Both polynomials have every power in descending order, so no zero placeholders are needed.
  2. Use the leading-term division rule: 2x3 ÷ x2 = 2x. Write 2x in the quotient because its product with x2 cancels the cubic term.
  3. Use the distributive rule to multiply the whole divisor: 2x(x2 + x − 2) = 2x3 + 2x2 − 4x. Every divisor term must be included.
  4. Use the subtraction rule on the whole row: (2x3 + 5x2 + x) − (2x3 + 2x2 − 4x) = 3x2 + 5x. In particular, x − (−4x) = 5x. Bring down +4 to include the last dividend term.
  5. Apply the degree rule: 3x2 + 5x + 4 has the same degree as the divisor, so divide again. Use 3x2 ÷ x2 = 3 and multiply 3(x2 + x − 2) = 3x2 + 3x − 6 to cancel the next highest power.
  6. Use whole-row subtraction: (3x2 + 5x + 4) − (3x2 + 3x − 6) = 2x + 10. Subtracting −6 adds 6, so the constant is 10.
  7. Use the stopping rule: all terms are down and 2x + 10 has degree 1, below 2. The quotient is 2x + 3 and the remainder is 2x + 10; a remainder can contain x when the divisor is quadratic.
  8. Check with P = D × Q + R: (x2 + x − 2)(2x + 3) = 2x3 + 5x2 − x − 6. Add 2x + 10 to get 2x3 + 5x2 + x + 4. Every term matches the dividend.

Worked example

Worked example

A third degree dividend and a divisor with three terms

Divide 2x3 + 5x2 + x + 4 by x2 + x − 2. Give the quotient and the remainder.

What it asks. Find the quotient and the remainder, which may contain x.

Show the steps and the answer

The plan. Use long division. Cancel the cubic term, then the quadratic term; check by multiplying back.

=PD × Q + Rdo the same thing to both sides
P is the dividend, D the divisor, Q the quotient and R the remainder. The scale shows P = D × Q + R.
  1. Plan. Use long division. Cancel the cubic term, then the quadratic term; check by multiplying back.
  1. Say what is asked: find how many times x2+x−2 goes into 2x3+5x2+x+4 (the quotient) and what is left over (the remainder).Naming the two things you are looking for tells you when you are done.
  2. Look at the divisor: x2+x−2 has degree 2. Choose long division.The synthetic table fits a linear divisor, with quotient scaling for ax + b. A divisor of degree two needs long division.
  3. Check the order and the powers. The dividend has x3,x2, x and a number. The divisor has x2, x and a number. No placeholders are needed.Every power needs its own column so that like terms line up when you subtract.
  4. Predict: the quotient will have degree 3−2=1.Dividing by x2 lowers the degree by 2. This tells you to expect two rounds: an x term and a number.
  5. Round 1, divide the leading terms: 2x3÷x2=2x. Write 2x in the quotient.2 ÷ 1 = 2, and x3 ÷ x2 = x. Matching the leading terms is what makes them cancel.
  6. Multiply the whole divisor by 2x: 2x(x2+x−2)=2x3+2x2−4x.The 2x counts copies of the entire divisor, so all three terms are multiplied.
  7. Subtract the whole row: (2x3+5x2+x)−(2x3+2x2−4x)=3x2+5x.2x3−2x3=0.5x2−2x2=3x2.x−(−4x)=x+4x=5x.
  8. Bring down the +4. What is left is 3x2+5x+4.The 4 has not been used yet. The degree of what is left is 2, which is not less than 2, so another round is needed.
  9. Round 2, divide the leading terms: 3x2÷x2=3. Write +3 in the quotient.x2 goes into 3x2 three times.
  10. Multiply the whole divisor by 3: 3(x2+x−2)=3x2+3x−6.Again, all three terms of the divisor are multiplied.
  11. Subtract the whole row: (3x2+5x+4)−(3x2+3x−6)=2x+10.3x2−3x2=0.5x−3x=2x.4−(−6)=4+6=10.
  12. Stop. The remainder is 2x+10.Its degree is 1, and 1 < 2. There is nothing left to bring down, and x2 does not go into 2x.
Answer
  • Quotient: 2x + 3
  • Remainder: 2x + 10
  • In the division algorithm form: 2x3 + 5x2 + x + 4 = (x2 + x − 2)(2x + 3) + (2x + 10)
Double-check Multiply back: (x2 + x − 2)(2x + 3) = 2x3 + 3x2 + 2x2 + 3x − 4x − 6 = 2x3 + 5x2 − x − 6. Add the remainder 2x + 10 to get 2x3 + 5x2 + x + 4, which is the dividend. A second check with a number: at x = 2 the dividend is 16 + 20 + 2 + 4 = 42, the divisor is 4, the quotient is 7 and the remainder is 14, and 4 × 7 + 14 = 42.

The trap

Wrong: subtract only two terms of a three-term product. Right: change all three signs, then add.

Quick check

Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.

Try it · level 3 of 6

Minus signs in the divisor

Divide 3x3 − 4x2 + 7x − 5 by x2 − 2x + 3.

What it asks. Find a polynomial quotient and a remainder of degree below two.

Show the steps and the answer

The plan. Change every sign when subtracting each product, including negative terms.

  1. Plan. Change every sign when subtracting each product, including negative terms.
  1. Say what is asked: find the quotient and the remainder. No power is missing in either polynomial.The setup is the same as before. The new difficulty is subtracting negative terms.
  2. Round 1: 3x3÷x2=3x. Write 3x in the quotient.3 ÷ 1 = 3 and x3 ÷ x2 = x.
  3. Multiply: 3x(x2−2x+3)=3x3−6x2+9x.3x × (−2x) = −6x2, and 3x × 3 = 9x.
  4. Subtract: (3x3−4x2+7x)−(3x3−6x2+9x)=2x2−2x. Bring down −5 to get 2x2−2x−5.3x3 cancels. −4x2 − (−6x2) = −4x2 + 6x2 = 2x2. 7x − 9x = −2x.
  5. Round 2: 2x2÷x2=2. Write +2 in the quotient.The degree of what is left is 2, so one more round is needed.
  6. Multiply: 2(x2−2x+3)=2x2−4x+6.Multiply every term of the divisor by 2.
  7. Subtract: (2x2−2x−5)−(2x2−4x+6)=2x−11. Stop.2x2 cancels. −2x − (−4x) = −2x + 4x = 2x. −5 − 6 = −11. The degree is 1, and 1 < 2.
Answer
  • Quotient: 3x + 2
  • Remainder: 2x − 11
Double-check Multiply back: (x2 − 2x + 3)(3x + 2) = 3x3 + 2x2 − 6x2 − 4x + 9x + 6 = 3x3 − 4x2 + 5x + 6. Add 2x − 11 to get 3x3 − 4x2 + 7x − 5, the dividend. With a number: at x = 1 the dividend is 3 − 4 + 7 − 5 = 1, the divisor is 2, the quotient is 5, the remainder is −9, and 2 × 5 + (−9) = 1.

5 What a zero remainder means

about 5 minOpen the full lessonOnly this lesson

The rule

If a division gives remainder 0, the divisor is a factor of the dividend, and dividend = divisor × quotient.

If the remainder is not 0, the divisor is not a factor. For a divisor x−c, with P(x) standing for the dividend and Q(x) for the quotient: remainder 0 means P(x)=(x−c)·Q(x).

How

  1. Use the synthetic-division rule to test the proposed factor x − 4 of x3 + 3x2 − 18x − 40. Put 4 in the box: x = 4 makes the divisor zero, since 4 − 4 = 0. Write the complete coefficient row 1, 3, −18, −40.
  2. Use bring down, multiply, add: bring down 1, multiply 1 × 4 = 4, and add 3 + 4 = 7. This starts the quotient row one power below the cubic dividend.
  3. Repeat multiply, add: 7 × 4 = 28 and −18 + 28 = 10; then 10 × 4 = 40 and −40 + 40 = 0. Using each newest bottom number gives the bottom row 1, 7, 10, 0.
  4. Use the zero-remainder rule: the last entry is 0, so x − 4 is a factor. The other entries give quotient x2 + 7x + 10. Write x3 + 3x2 − 18x − 40 = (x − 4)(x2 + 7x + 10) because the division identity has no leftover term.
  5. Use the quadratic factoring rule: find two numbers whose product is 10 and whose sum is 7. They are 2 and 5, so x2 + 7x + 10 = (x + 2)(x + 5). Keep the original divisor to get (x − 4)(x + 2)(x + 5); every factor is linear.
  6. Check by multiplication: (x − 4)(x + 2) = x2 − 2x − 8. Then (x2 − 2x − 8)(x + 5) = x3 + 5x2 − 2x2 − 10x − 8x − 40 = x3 + 3x2 − 18x − 40. This recovers every coefficient of the original polynomial.

Worked example

Worked example

Show a factor, then factor completely

Show that x − 4 is a factor of x3 + 3x2 − 18x − 40. Then factor x3 + 3x2 − 18x − 40 completely.

What it asks. Confirm the proposed factor and factor the whole polynomial.

Show the steps and the answer

The plan. Divide by x − 4, check for remainder zero, then factor the quadratic quotient and multiply all factors back.

Dividing by x − 4: use c = 4

Top row: 1 3 −18 −40

Middle row: 4 28 40

Bottom row: 1 7 10 0

Quotient: x2 + 7x + 10

Remainder: 0, so x − 4 is a factor

  1. Plan. Divide by x − 4, check for remainder zero, then factor the quadratic quotient and multiply all factors back.
  1. Say what the question asks. Show that x−4 is a factor means: divide by x−4 and get remainder 0. Factor completely means: write the polynomial as a product of pieces that cannot be split again.Knowing the target tells you when to stop: a remainder of 0 for the first part, no more splitting for the second.
  2. Choose the method and the number. The divisor x−4 has the form x−c with c=4, so use synthetic division with 4.Synthetic division is built for a divisor of the form x − c. The number 4 is the one that makes the divisor equal 0: 4 − 4 = 0.
  3. Write the coefficients of the dividend in descending powers as the top row: 1, 3, −18,−40.The dividend has an x3 term, an x2 term, an x term and a constant, so no power is missing and no 0 is needed.
  4. Bring down the 1. Multiply 1 × 4 = 4, write it under the 3, and add: 3+4=7.Each new bottom number is the top number plus 4 times the bottom number before it.
  5. Multiply 7 × 4 = 28, write it under the −18, and add: −18+28=10.Same move, one column to the right.
  6. Multiply 10×4=40, write it under the −40, and add: −40+40=0. The bottom row is 1, 7, 10, 0.The last number of the bottom row is the remainder, and here it is 0.
  7. Read the bottom row: the remainder is 0 and the quotient is x2+7x+10.The numbers before the last one are the coefficients of the quotient, and the quotient starts one degree below the dividend, so x3 drops to x2.
  8. Write the multiplication: x3+3x2−18x−40=(x−4)(x2+7x+10).The division algorithm says dividend = divisor × quotient + remainder, and the remainder is 0. This shows x − 4 is a factor.
  9. Factor the quotient x2+7x+10. Look for two numbers that multiply to 10 and add to 7. They are 2 and 5, so x2+7x+10=(x+2)(x+5).2 × 5 = 10 and 2 + 5 = 7, which match the last number and the middle number of the quotient.
  10. Put every piece in one product: (x−4)(x+2)(x+5).The divisor stays in the answer because it is one of the factors. Each piece now has degree 1, so nothing can be split again.
Answer
  • x − 4 is a factor, because the remainder is 0.
  • x3+3x2−18x−40=(x−4)(x+2)(x+5)
Double-check Multiply back. (x − 4)(x + 2) = x2 + 2x − 4x − 8 = x2 − 2x − 8. Then (x2 − 2x − 8)(x + 5) = x3 + 5x2 − 2x2 − 10x − 8x − 40 = x3 + 3x2 − 18x − 40, the original dividend. A number test agrees: at x = 1 the original is 1 + 3 − 18 − 40 = −54, and the factored form is (−3)(3)(6) = −54.

The trap

Wrong: give only the factored quotient. Right: include the divisor too, so the product rebuilds the original polynomial.

Quick check

Try it before you open its steps. It is question 4 of 8 in the full lesson, where they run from easy to exam-hard.

Try it · level 4 of 8

A divisor x + c and a missing term

Show that x + 3 is a factor of x3 − 13x − 12. Then factor x3 − 13x − 12 completely.

What it asks. Confirm the proposed factor and factor completely.

Show the steps and the answer

The plan. Use −3 in the box with a zero for the missing x2 term. Factor the quadratic quotient.

Dividing by x + 3: use c = −3

Top row: 1 0 −13 −12

Middle row: −3 9 12

Bottom row: 1 −3 −4 0

Quotient: x2 − 3x − 4

Remainder: 0

  1. Plan. Use −3 in the box with a zero for the missing x2 term. Factor the quadratic quotient.
  1. Say what the question asks: divide by x+3, get remainder 0, then keep splitting until no piece can be split again.Remainder 0 proves the factor, and completely means no piece is left that still factors.
  2. Find the number for synthetic division. Write x+3 as x−(−3), so c=−3.Synthetic division uses the number that makes the divisor 0, and −3 + 3 = 0.
  3. Write the top row with a 0 for the missing x2 term: 1, 0, −13,−12.x3 − 13x − 12 is x3 + 0x2 − 13x − 12. Without the 0, every later number lands in the wrong column.
  4. Bring down the 1. Multiply 1 × (−3) = −3 and add: 0+(−3)=−3.Top number plus −3 times the bottom number before it.
  5. Multiply −3 × (−3) = 9 and add: −13+9=−4.A negative times a negative is positive.
  6. Multiply −4×(−3)=12 and add: −12+12=0. The bottom row is 1, −3,−4, 0.The last bottom number is the remainder, and it is 0, so x + 3 is a factor.
  7. Write x3−13x−12=(x+3)(x2−3x−4).Remainder 0 gives dividend = divisor × quotient, and 1, −3, −4 are the coefficients of the quotient starting at x2.
  8. Factor x2−3x−4. Two numbers that multiply to −4 and add to −3 are −4 and 1. So x2−3x−4=(x−4)(x+1).−4 × 1 = −4 and −4 + 1 = −3.
  9. Write every factor: (x+3)(x−4)(x+1).The divisor x + 3 is a factor and stays in the answer.
Answer
  • x + 3 is a factor, because the remainder is 0.
  • x3−13x−12=(x+3)(x−4)(x+1)
Double-check Multiply back: (x + 3)(x − 4) = x2 − 4x + 3x − 12 = x2 − x − 12. Then (x2 − x − 12)(x + 1) = x3 + x2 − x2 − x − 12x − 12 = x3 − 13x − 12. Number test at x = 2: the original is 8 − 26 − 12 = −30, and the factored form is (5)(−2)(3) = −30.

6 Quick checks for the whole unit

8 questions

Quick check 1 of 8

In (x3 + 2x − 9) ÷ (x − 4), which is the dividend, which is the divisor, and what value of c does synthetic division use?

Show the steps and the answer
Answer
  • Dividend: x3 + 2x − 9
  • Divisor: x − 4
  • c = 4, because 4 makes the divisor zero: 4 − 4 = 0.

Quick check 2 of 8

List the coefficients of 4x4 − x2 + 6 the way a division needs them.

Show the steps and the answer
Answer
  • 4,0,−1,0,6
  • Reason: the degree is 4, so there are 5 slots, and the x3 and x slots are empty.

Quick check 3 of 8

What is the first term of the quotient when 8x3 + x − 1 is divided by 2x + 5?

Show the steps and the answer
Answer
  • 4x2
  • Reason: divide the leading terms, 8x3 ÷ 2x = 4x2.

Quick check 4 of 8

Use synthetic division to divide x2 + 7x + 10 by x + 2.

Show the steps and the answer
Answer
  • Quotient: x + 5
  • Remainder: 0
  • Reason: c = −2 and the coefficients are 1, 7, 10. Bring down 1. Then 1 × (−2) = −2 and 7 + (−2) = 5. Then 5 × (−2) = −10 and 10 + (−10) = 0. Check: (x + 2)(x + 5) = x2 + 7x + 10.

Quick check 5 of 8

A cubic is divided by x − 3 with synthetic division and the bottom row is 2, −1, 5, 0. What are the quotient and the remainder, and what does that say about x − 3?

Show the steps and the answer
Answer
  • Quotient: 2x2 − x + 5
  • Remainder: 0
  • x − 3 is a factor of the cubic, because a remainder of 0 means dividend = divisor × quotient.

Quick check 6 of 8

A division by x − 2 gives the quotient x + 5 and the remainder 3. What was the dividend?

Show the steps and the answer
Answer
  • x2+3x−7
  • Reason: dividend = divisor × quotient + remainder = (x − 2)(x + 5) + 3 = x2 + 3x − 10 + 3.

Quick check 7 of 8

Can synthetic division be used to divide by x2 − 4?

Show the steps and the answer
Answer
  • No. Use long division.
  • Reason: synthetic division only works for a divisor of the form x − c, and x2 − 4 has degree two.

Quick check 8 of 8

You are dividing by x2 + 3x − 1 and the leftover is 7x + 2. Are you finished?

Show the steps and the answer
Answer
  • Yes. The remainder is 7x + 2.
  • Reason: 7x + 2 has degree 1, which is lower than the degree 2 of the divisor, so the divisor does not fit again.