Product of polynomials

We must distinguish two cases:

  1. product of a monomial by a polynomial
  2. product of a polynomial by a polynomial

Product of a polynomial by a monomial

The monomial multiplies all the monomials that form the polynomial.

The degree of the product is the adding of the degrees of the factors.

Example

Let's consider, p(x)=4x2 and q(x)=x2+3x2.

Then,

p(x)q(x)=(4x2)(x2+3x2)=(4x2)x2+(4x2)3x(4x2)2=

=4x4+12x38x2

And it is satisfied that

degree(4x4+12x38x2)=degree(4x2)+degree(x2+3x2)=

=2+2=4

Example

Let's consider, p(x)=2x and q(x)=5x3+3x21.

Then,

p(x)q(x)=(2x)(5x3+3x21)=2x5x32x3x2+2x1= =10x46x3+2x

And it is also satisfied that:

degree(10x46x3+2x)=degree(2x)+degree(5x3+3x21)=

=1+3=4

Product of a polynomial for a polynomial

Every monomial of the first polynomial multiplies all the monomials that form the second polynomial. Then, if necessary, we add or subtract all the similar monomial (only, that is, if they exist).

The degree of the product is the sum of the degrees of the factors.

Example

Do the multiplication of p(x) and q(x) where

p(x)=4x21

q(x)=x2+3x2

We multiply the first monomial of p(x) by q(x):

4x2q(x)=4x2(x2+3x2)=4x4+12x38x2

Now we multiply the second monomial of p(x) by q(x):

(1)q(x)=(1)(x2+3x2)=x23x+2

Finally, we put together both expressions and we add those that are similar:

p(x)q(x)=(4x4+12x38x2)+(x23x+2)=

=4x4+12x39x23x+2

It is satisfied:

degree(4x4+12x39x23x+2)=

=degree(4x21)+degree(x2+3x2)=2+2=4

Example

Do the multiplication of p(x) by q(x) where

p(x)=x+2

q(x)=3x32x1

We multiply the first monomial of p(x) by q(x):

xq(x)=x(3x32x1)=3x42x2x

Now we multiply the second monomial of p(x) by q(x):

2q(x)=2(3x32x1)=6x34x2

Finally, we put together both expressions and we add those that are similar:

p(x)q(x)=(3x42x2x)+(6x34x2)=

=3x4+6x32x25x2

It is fulfilled:

degree(3x4+6x32x25x2)= =degree(x+2)+degree(3x32x1)=1+3=4