Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

Dividing polynomials in one variable

Lesson 7.3 · 30 min read · Updated

A playground is a rectangle with area (x2+7x+10)(x^2+7x+10) m² and width (x+2)(x+2) m. How long is the playground? For one particular value this is easy: when x=8x=8 the area is 130130 m², the width is 1010 m, so the length is 130÷10=13130\div10=13 m. But what if xx is any number? We want an expression for the length that works for every xx.

To get it, we have to divide one polynomial by the other, just as we divide 130130 by 1010 to find the length. In the last lesson you learnt to multiply polynomials, and division is the inverse of multiplication. The nice thing is that the layout for dividing polynomials is very like the way you learnt to divide whole numbers in primary school.

Dividing a monomial by a monomial

Why is x5÷x2=x3x^5\div x^2=x^3? Because x5=x⋅x⋅x⋅x⋅xx^5=x\cdot x\cdot x\cdot x\cdot x and x2=x⋅xx^2=x\cdot x, so after cancelling 22 factors of xx, there remain 5−2=35-2=3 factors of xx. In general, xm÷xn=xm−nx^m\div x^n=x^{m-n} when m≥nm\geq n. The coefficients are divided as ordinary numbers.

Dividing a polynomial by a monomial

When the divisor is a monomial, we divide each term of the polynomial by it, because (A+B)\div C=A\div C+B\div C (just as (10+6)\div2=5+3).

Dividing a polynomial by a polynomial

Explore: dividing polynomials is like dividing numbers

Try x=10: the polynomial x^2+5x+6 has value 156 and the polynomial x+2 has value 12. We know 156\div12=13. Let us see whether we can divide the polynomials in the same way.

Divide the first term of the dividend by the first term of the divisor: x^2\div x=x. Multiply x by the divisor: x(x+2)=x^2+2x. Subtract: (x^2+5x+6)-(x^2+2x)=3x+6. Repeat: 3x\div x=3, multiply 3(x+2)=3x+6, subtract to get 0. The quotient is x+3, and when x=10, x+3=13, exactly 156\div12. This is the same method as for dividing numbers, except that we work "place by place" in powers of x.

Now we answer the question from the start, going through all four steps of solving a problem.

Connections. Polynomial division relies on two things you have learnt: multiplying polynomials (to check) and subtracting polynomials (at every step). It also links to roots: when A is divisible by x-a, then a is a root of A, and the quotient gives the other roots. As for the playground at the start: the length is x+5, and you can check it by multiplying.

Key terms

Summary

  • ax^m\div bx^n=\dfrac ab\,x^{m-n} (m\geq n, b\neq0): divide the coefficients, subtract the exponents.
  • Dividing a polynomial by a monomial: divide each term by the monomial and add the quotients.
  • Dividing a polynomial by a polynomial: arrange in descending powers (insert 0 terms if needed), then repeat: divide the first terms, multiply by the divisor, subtract.
  • A=B\cdot Q+R with R=0 or degree of R< degree of B; R=0 is an exact division.
  • Always check by multiplication: B\cdot Q+R=A.

Practice

Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.

Exercise 1

Work out the following divisions:

a) 20x^6\div(5x^2).

b) (-18x^4)\div(6x).

c) 15x^3\div(-5x^3).

What you need and how to start

What you need: ax^m\div bx^n=\dfrac ab\,x^{m-n}.

Steps:

  1. Divide the coefficients.
  2. Subtract the exponent of the divisor from the exponent of the dividend.
Show solution

a) We have 20\div5=4 and x^6\div x^2=x^4, so 20x^6\div(5x^2)=4x^4.

b) We have (-18)\div6=-3 and x^4\div x=x^3, so (-18x^4)\div(6x)=-3x^3.

c) We have 15\div(-5)=-3 and x^3\div x^3=1, so 15x^3\div(-5x^3)=-3.

So a) 4x^4; b) -3x^3; c) -3.

Answer. a) 4x^4; b) -3x^3; c) -3.

Exercise 2

Work out the following divisions:

a) (15x^3-5x^2+10x)\div(-5x).

b) (4x^4-8x^2)\div(-2x^2).

What you need and how to start

What you need: divide each term by the monomial, and watch the signs of the coefficients.

Steps:

  1. a) Divide 15x^3, -5x^2 and 10x in turn by -5x.
  2. b) Divide 4x^4 and -8x^2 by -2x^2.
Show solution

To divide a polynomial by a monomial, we divide each term of the polynomial by the monomial and add the results.

a) We have 15x^3\div(-5x)=-3x^2,\qquad (-5x^2)\div(-5x)=x,\qquad 10x\div(-5x)=-2.

Hence (15x^3-5x^2+10x)\div(-5x)=-3x^2+x-2.

b) We have 4x^4\div(-2x^2)=-2x^2,\qquad (-8x^2)\div(-2x^2)=4.

Hence (4x^4-8x^2)\div(-2x^2)=-2x^2+4.

So a) the result is -3x^2+x-2; b) the result is -2x^2+4.

Answer. a) -3x^2+x-2; b) -2x^2+4.

Exercise 3

Work out the following divisions:

a) (x^2+6x+8)\div(x+2).

b) (x^2-x-2)\div(x-2).

c) (x^2-5x+6)\div(x-2).

What you need and how to start

What you need: divide the first term by the first term, multiply by the divisor, then subtract.

Steps:

  1. The first step in all three parts is x^2\div x=x.
  2. After subtracting, divide the term in x of the result by x.
Show solution

a) Step 1: x^2\div x=x; x(x+2)=x^2+2x; (x^2+6x+8)-(x^2+2x)=4x+8. Step 2: 4x\div x=4; 4(x+2)=4x+8; the difference is 0. So (x^2+6x+8)\div(x+2)=x+4.

b) Step 1: x^2\div x=x; x(x-2)=x^2-2x; (x^2-x-2)-(x^2-2x)=x-2. Step 2: x\div x=1; 1\cdot(x-2)=x-2; the difference is 0. So (x^2-x-2)\div(x-2)=x+1.

c) Step 1: x^2\div x=x; x(x-2)=x^2-2x; (x^2-5x+6)-(x^2-2x)=-3x+6. Step 2: -3x\div x=-3; -3(x-2)=-3x+6; the difference is 0. So (x^2-5x+6)\div(x-2)=x-3.

Answer. a) x+4; b) x+1; c) x-3.

Exercise 4

Work out (2x^2-7x+3)\div(2x-1).

What you need and how to start

What you need: the first term of the divisor is 2x, not x.

Steps:

  1. Divide 2x^2 by 2x.
  2. Multiply the result by 2x-1 and subtract to get -6x+3.
Show solution

Both polynomials are already arranged in descending powers of the variable. We carry out the division of polynomials in one variable step by step.

Step 1. Divide the leading term of the dividend by the leading term of the divisor: 2x^2\div2x=x. Multiply x by the divisor: x(2x-1)=2x^2-x. Subtract this product from the dividend: (2x^2-7x+3)-(2x^2-x)=-6x+3.

Step 2. Divide the leading term of the remainder -6x+3 by 2x: -6x\div2x=-3. Multiply -3 by the divisor: -3(2x-1)=-6x+3. Subtract this product from the remainder: (-6x+3)-(-6x+3)=0.

The remainder is 0, so the division is exact and the quotient is x-3.

So (2x^2-7x+3)\div(2x-1)=x-3.

Answer. x-3.

Exercise 5

Work out (x^3+2x^2-x-2)\div(x+2).

What you need and how to start

What you need: after the first step, the result of the subtraction may lose a term.

Steps:

  1. Divide x^3 by x, multiply by x+2 and subtract; the 2x^2 terms cancel.
  2. Bring down the next terms and carry on.
Show solution

Step 1: x^3\div x=x^2; x^2(x+2)=x^3+2x^2; (x^3+2x^2)-(x^3+2x^2)=0; bring down -x to get -x, then bring down -2 to get -x-2.

Step 2: -x\div x=-1; -1\cdot(x+2)=-x-2; (-x-2)-(-x-2)=0.

The remainder is 0. So (x^3+2x^2-x-2)\div(x+2)=x^2-1.

Check: (x+2)(x^2-1)=x^3-x+2x^2-2=x^3+2x^2-x-2, which is correct.

Answer. x^2-1.

Exercise 6

Work out the following divisions and write each result in the form A=B\cdot Q+R:

a) (x^2+3x+5)\div(x+1).

b) (x^3+x^2-4x+5)\div(x-1).

What you need and how to start

What you need: a division with a remainder stops when the degree of the remainder is less than the degree of the divisor.

Steps:

  1. a) Two steps of division; the remainder is a number.
  2. b) Three steps of division; watch the signs when subtracting.
Show solution

a) Step 1: x^2\div x=x; x(x+1)=x^2+x; (x^2+3x)-(x^2+x)=2x; bring down 5 to get 2x+5. Step 2: 2x\div x=2; 2(x+1)=2x+2; (2x+5)-(2x+2)=3. The remainder is 3, of degree 0, which is less than the degree 1 of the divisor. So x^2+3x+5=(x+1)(x+2)+3.

b) Step 1: x^3\div x=x^2; x^2(x-1)=x^3-x^2; (x^3+x^2)-(x^3-x^2)=2x^2; bring down -4x to get 2x^2-4x. Step 2: 2x^2\div x=2x; 2x(x-1)=2x^2-2x; (2x^2-4x)-(2x^2-2x)=-2x; bring down 5 to get -2x+5. Step 3: -2x\div x=-2; -2(x-1)=-2x+2; (-2x+5)-(-2x+2)=3. So x^3+x^2-4x+5=(x-1)(x^2+2x-2)+3.

Answer. a) quotient x+2, remainder 3; b) quotient x^2+2x-2, remainder 3.

Exercise 7

Work out (x^4-16)\div(x-2).

What you need and how to start

What you need: write in the missing terms: x^4-16=x^4+0x^3+0x^2+0x-16.

Steps:

  1. At each step the term of the quotient goes down by one power.
  2. There are 4 steps of division.
Show solution

Write x^4-16=x^4+0x^3+0x^2+0x-16.

Step 1: x^4\div x=x^3; x^3(x-2)=x^4-2x^3; the difference is 2x^3; bring down 0x^2 to get 2x^3+0x^2. Step 2: 2x^3\div x=2x^2; 2x^2(x-2)=2x^3-4x^2; the difference is 4x^2; bring down 0x to get 4x^2+0x. Step 3: 4x^2\div x=4x; 4x(x-2)=4x^2-8x; the difference is 8x; bring down -16 to get 8x-16. Step 4: 8x\div x=8; 8(x-2)=8x-16; the difference is 0.

So (x^4-16)\div(x-2)=x^3+2x^2+4x+8.

Check: (x-2)(x^3+2x^2+4x+8)=x^4+2x^3+4x^2+8x-2x^3-4x^2-8x-16=x^4-16, which is correct.

Answer. x^3+2x^2+4x+8.

Exercise 8

A cuboid box has volume (x^3+6x^2+8x) cm³ and height x cm. Its base is a rectangle of width (x+2) cm.

a) Find an expression for the area of the base.

b) Find an expression for the length of the base.

c) Find the length of the base when x=2.

What you need and how to start

What you need: volume equals base area times height; base area equals length times width.

Steps:

  1. a) Divide the volume by the height x.
  2. b) Divide the base area by x+2.
Show solution

a) The base area equals the volume divided by the height: (x^3+6x^2+8x)\div x=x^2+6x+8 (cm²).

b) The length of the base equals the base area divided by the width x+2. Step 1: x^2\div x=x; x(x+2)=x^2+2x; (x^2+6x+8)-(x^2+2x)=4x+8. Step 2: 4x\div x=4; 4(x+2)=4x+8; the difference is 0. So the length of the base is x+4 (cm).

c) When x=2, the length of the base is 2+4=6 (cm). Check: the volume is 8+24+16=48 (cm³) and 4\cdot6\cdot2=48.

So a) x^2+6x+8 (cm²); b) x+4 (cm); c) 6 cm.

Answer. a) x^2+6x+8; b) x+4; c) 6 cm.

Exercise 9

(Revision of multiplying and adding polynomials.) Work out (x^3-2x^2+x+4)\div(x-2), then check the result by multiplication.

What you need and how to start

What you need: A=B\cdot Q+R.

Steps:

  1. After the first step, the result of the subtraction is just x+4.
  2. Multiply (x-2) by the quotient and add the remainder.
Show solution

Step 1: x^3\div x=x^2; x^2(x-2)=x^3-2x^2; (x^3-2x^2)-(x^3-2x^2)=0; bring down x and 4 to get x+4 (the term in x of the quotient is 0). Step 2: x\div x=1; 1\cdot(x-2)=x-2; (x+4)-(x-2)=6. The remainder is 6, of degree 0, which is less than the degree of the divisor.

The quotient is x^2+1 and the remainder is 6. Check: (x-2)(x^2+1)=x^3+x-2x^2-2=x^3-2x^2+x-2 and x^3-2x^2+x-2+6=x^3-2x^2+x+4, which is correct.

So x^3-2x^2+x+4=(x-2)(x^2+1)+6.

Answer. Quotient x^2+1, remainder 6.

Exercise 10 Challenge

a) Work out (2x^4-3x^3-3x^2+6x-2)\div(x^2-2).

b) Is 1 a root of the quotient you found?

What you need and how to start

What you need: the divisor x^2-2=x^2+0x-2 has degree 2; we stop when the remainder has degree less than 2.

Steps:

  1. a) The first term of the quotient is 2x^4\div x^2=2x^2.
  2. b) Substitute x=1 into the quotient.
Show solution

a) Write the divisor as x^2+0x-2.

Step 1: 2x^4\div x^2=2x^2; 2x^2(x^2-2)=2x^4-4x^2; (2x^4-3x^3-3x^2)-(2x^4-4x^2)=-3x^3+x^2; bring down 6x to get -3x^3+x^2+6x. Step 2: -3x^3\div x^2=-3x; -3x(x^2-2)=-3x^3+6x; (-3x^3+x^2+6x)-(-3x^3+6x)=x^2; bring down -2 to get x^2-2. Step 3: x^2\div x^2=1; 1\cdot(x^2-2)=x^2-2; the difference is 0.

So (2x^4-3x^3-3x^2+6x-2)\div(x^2-2)=2x^2-3x+1.

b) Let T(x)=2x^2-3x+1. We have T(1)=2-3+1=0, so x=1 is a root of the quotient.

So a) the quotient is 2x^2-3x+1; b) yes, 1 is a root.

Answer. a) 2x^2-3x+1; b) yes.

Mini test

Mini test

Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.

Part I. Multiple choice

Question 1. The quotient of 12x^6\div(4x^2) is
Question 2. The result of (9x^3-6x^2)\div(3x) is
Question 3. The quotient of (x^2+x-6)\div(x-2) is
Question 4. The remainder in the division (x^2+3x+5)\div(x+1) is

Part II. True or false

Question 1. Let A=x^3+3x^2+3x+1 and B=x+1. Decide whether each statement is true or false.
a) The quotient of A divided by B is x^2+2x+1.
b) The remainder of this division is 1.
c) A=(x+1)(x^2+2x+1).
d) x=-1 is a root of A.

Part III. Short answer

Question 1. Divide x^3-8 by x-2, then find the value of the quotient at x=1.

Question 2. Find the remainder when (x^3-3x^2+3x+5) is divided by (x-1).

Show answers and explanations
  1. Part I, question 1: B. Divide the coefficients 12\div4=3 and subtract the exponents 6-2=4. A takes 6\div2=3 for the exponent, C subtracts the coefficients and D adds the exponents.
  2. Part I, question 2: C. 9x^3\div3x=3x^2 and -6x^2\div3x=-2x. A drops the x from the second term, B subtracts the coefficients instead of dividing and D has the wrong sign.
  3. Part I, question 3: D. (x-2)(x+3)=x^2+x-6. B has the wrong sign, and C and A take the wrong second term when subtracting.
  4. Part I, question 4: A. x^2+3x+5=(x+1)(x+2)+3. A is the constant term of the quotient, B is the constant term of the dividend and C is the constant term of the divisor.
  5. Part II, question 1: a) True; b) False; c) True; d) True. a) True. b) False: the remainder is 0, because (x+1)(x^2+2x+1)=x^3+3x^2+3x+1. c) True. d) True: -1+3-3+1=0.
  6. Part III, question 1: 7. The quotient is x^2+2x+4; at x=1 it equals 1+2+4=7.
  7. Part III, question 2: 6. x^3-3x^2+3x+5=(x-1)(x^2-2x+1)+6.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email