Chalk−1

Math · College algebra · Worked example

Divide polynomials with long division

Divide x3+2x2−5⁢x+7 by x2−x+1.

Try one — Chalk checks each line

Divide the leading terms

The divisor has degree 2, so synthetic division does not apply. x3÷x2=x, the first term of the quotient. Subtracting x⁢(x2−x+1) =x3−x2+x from the dividend leaves 3x2−6⁢x+7. The row writes the dividend as x times the divisor plus what is left.

x⁢(x2−x+1)+3x2−6⁢x+7

Repeat

3x2÷x2=3, the next term. Subtracting 3⁢(x2−x+1) =3x2−3⁢x+3 from 3x2−6⁢x+7 leaves −3⁢x+4.

x⁢(x2−x+1)+3⁢(x2−x+1)−3⁢x+4
x⁢(x2−x+1)+3⁢(x2−x+1)−3⁢x+4

Stop at a lower degree

−3⁢x+4 has degree 1, lower than the divisor’s degree 2, so it is the remainder. Collecting the two multiples of the divisor gives the quotient, x+3.

(x+3)⁢(x2−x+1)−3⁢x+4

Check by multiplying back

Divisor times quotient plus remainder gives the dividend.

(x2−x+1)⁢(x+3)+(−3⁢x+4)x3+2x2−5⁢x+7

Result

Quotient x+3 and remainder −3⁢x+4, so x3+2x2−5⁢x+7 =(x2−x+1)⁢(x+3)−3⁢x+4.

Your turn

1. One like the example

Divide 6x2+5⁢x−1 by 2⁢x+3.

Show the answer and explanation

Quotient 3⁢x−2, remainder 5.

6x2÷2⁢x=3⁢x, and subtracting 3⁢x⁢(2⁢x+3)=6x2+9⁢x leaves −4⁢x−1. Then −4⁢x÷2⁢x=−2, and subtracting −2⁢(2⁢x+3)=−4⁢x−6 leaves 5. Multiplying back, (2⁢x+3)⁢(3⁢x−2)+5 =6x2+5⁢x−1.

(2⁢x+3)⁢(3⁢x−2)+56x2+5⁢x−1

2. A variation

Divide 2x3−7⁢x+1 by x2−3.

Show the answer and explanation

Quotient 2⁢x, remainder −x+1.

Write the dividend with 0 for the missing x2 term, 2x3+0x2−7⁢x+1. Then 2x3÷x2=2⁢x, and subtracting 2⁢x⁢(x2−3)=2x3−6⁢x leaves −x+1. That has degree 1, lower than 2, so it is the remainder.

2x3−7⁢x+12⁢x⁢(x2−3)−x+1

3. Somewhere new

Write (x2+3⁢x+5)⁢/⁢(x+1) as a polynomial plus a fraction whose top has lower degree than its bottom. What does it say about the graph far from the origin?

Show the answer and explanation

x+2+3⁢/⁢(x+1). Far out, the graph runs close to the line y=x+2.

x2÷x=x, and subtracting x⁢(x+1)=x2+x leaves 2⁢x+5. Then 2⁢x÷x=2, and subtracting 2⁢(x+1) leaves 3. Dividing x2+3⁢x+5 =(x+1)⁢(x+2)+3 by x+1 gives x+2+3⁢/⁢(x+1), and 3⁢/⁢(x+1) shrinks toward 0 as x grows.

x2+3⁢x+5x+1x+2+3x+1

Keep exploring

Open the steps in Math and change the 7 to 4. The remainder becomes −3⁢x+1, and the quotient stays x+3.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Check the steps in Math Check the division in Math Study the 6 key terms Open worked example on a board Zeros, factors and remainders in Math Reference

Your existing work stays on this device. Examples open as editable copies.