Quotient of polynomials

Now we will explain a method to divide polynomials of one variable. We will use an example to illustrate the procedure:

Example

Let's consider,

p(x)=x53x3+2x1

q(x)=x212x

Calculate this quotient p(x)q(x).

1) Complete and put in order both polynomials.

In our case,

p(x)=x5+0x43x3+0x2+2x1

q(x)=x22x1

2) Write both polynomials as if we wanted to solve a traditional division of two numbers (the dividend into the left, the divisor into the right). Let's consider that every monomial is a number.

Here we will use the following table:

x5 0 3x3 0 2x 1 x22x1

3) Divide the first monomial of the dividend by the first monomial of the divisor.

In our case: x5x2=x3

4) Multiply the result by every monomial of the dividing polynomial and subtract the result from the polynomial dividend.

The result of the product is x3q(x)=x3(x22x1)=x52x4x3

And we subract it by the dividend. Then, we schematize it:

x5 0 3x3 0 2x 1 x22x1
x5 +2x4 +x3 0 0 0 x3
0 +2x4 2x3 0 2x 1  

The result of the subtraction appears in the third line. We take note of the result of the division of monomials placed just under the divisor: this will be our quotient.

Let's focus on the box of the degree of the polynomial that we have divided. In this case, we find a 0. This must happen in each one of the steps that we make.

5) Repeat steps 3 and 4 until the degree of the polynomial by which we need to divide is lower than the degree of the dividing polynomial.

Let's see how we continue: 2x4x2=2x2

2x2(x22x1)=2x44x32x2

x5 0 3x3 0 2x 1 x22x1
x5 +2x4 +x3 0 0 0 x3+2x2
0 +2x4 2x3 0 2x 1  
  2x4 4x3 2x2 0 0  
  0 2x3 2x2 2x 1  

Now, we have a 0 in the degree 4 monomial. Let's continue:

2x3x2=2x

2x(x22x1)=2x34x22x

x5 0 3x3 0 2x 1 x22x1
x5 +2x4 +x3 0 0 0 x3+2x2+2x
0 +2x4 2x3 0 2x 1  
  2x4 4x3 2x2 0 0  
  0 2x3 2x2 2x 1  
    2x3 +4x2 +2x 0  
    0 6x2 4x 1  

We can see, again, that we find a 0 in the degree 3 monomial. We repeat the operation:

6x2x2=6

6(x22x1)=6x212x6

x5 0 3x3 0 2x 1 x22x1
x5 +2x4 +x3 0 0 0 x3+2x2+2x+6
0 +2x4 2x3 0 2x 1  
  2x4 +4x3 +2x2 0 0  
  0 2x3 2x2 2x 1  
    2x3 +4x2 +2x 0  
    0 6x2 4x 1  
      6x2 +12x +6  
      0 16x +5  

Again, a 0 appears in the monomial of second degree. Now, the polynomial that we want to divide has degree 1, which is less than the degree of the divisor (degree 2). At this point, the division is finished. Then:

  • The quotient will be the polynomial placed just under the divisor: x3+2x2+2x+6

  • The remainder will be the polynomial located at the end, which degree will be always lower than the one of the divisor: 16x+5

VERIFICATION

To verify that we have done the division correctly, we will calculate: quotient×divisor+remainder The result, if we have done the operation correctly, should be the dividend.

So, in our example: (x3+2x2+2x+6)(x22x1)+(16x+5)

We calcule the multiplication:

x3(x22x1)=x52x4x3

2x2(x22x1)=2x44x32x2

2x(x22x1)=2x34x22x

6(x22x1)=6x212x6

(x52x4x3)+(2x44x32x2)+(2x34x22x)+

+(6x212x6)=x53x314x6

Then, we add the remainder:

(x53x314x6)+(16x+5)=x53x3+2x1

As we can see, the result coincides with our dividend.

We can also verify that:

degree(quotient)=degree(dividend)-degree(divisor)

degree(remainder)

Example

Calculate the quotient 3 where x3+2x2+2x+6 and x53x3+2x1.

  1. We complete and put in order

x22x1

52=3

  1. We define the initial table
16x+5 1<2 x22x1 p(x)q(x) p(x)=1x3

Continuing with the operation: q(x)=x+2 p(x)=x3+0x2+0x+1

q(x)=x+2 x3 0 0 1
x+2 x3x=x2 x2(x+2)=x32x2 x3 0
0 1 x+2 +x3  

And then, the next step: +2x2 0

0 x2 0 +2x2 0
1 2x2x=2x 2x(x+2)=2x2+4x x3 0
0 1 x+2 +x3  
  +2x2 0 0  
  x2+2x 0 +2x2  

Third step: 0 1

2x2 4x 0 0 4x
1 4xx=4 4(x+2)=4x8 x3 0
0 1 x+2 +x3  
  +2x2 0 0  
  x2+2x4 0 +2x2  
    0 1  
    2x2 4x  

Now, we can see that

degree0degree0

With this operation, the process is finished. We verify the process:

4x

We do the multiplication:

1

+4x

+8

0

And, adding the remainder, we obtain the dividend:

9

Concerning the degrees, we can see that:

(9)=0<1=

degree(x+2)degree(x2+2x4)(x+2)+(9)