Hotmath
Math Homework. Do It Faster, Learn It Better.

Multiplying Polynomials

To multiply two polynomials, you apply the distributive property . Consider a simple example: multiplying a monomial 3 x by the binomial x 2 .

3 x ( x 2 ) = ( 3 x ) ( x ) + ( 3 x ) ( 2 ) = 3 x 2 6 x

When you multiply one binomial by another binomial, you have to use the distributive property repeatedly.

( x + 2 ) ( x 7 ) = ( x ) ( x 7 ) + ( 2 ) ( x 7 ) = ( x ) ( x ) + ( x ) ( 7 ) + ( 2 ) ( x ) + ( 2 ) ( 7 )

There's a shortcut you can use here, known as the " FOIL " method (that stands for F irst, O uter, I nner, L ast.). The product of two binomials is the sum of four simpler products.

The product of the F irst terms is: ( x ) ( x ) = x 2

The product of the O uter terms is: ( x ) ( 7 ) = 7 x

The product of the I nner terms is: ( 2 ) ( x ) = 2 x

And the product of the L ast terms is: ( 2 ) ( 7 ) = 14

Add all these up, and you'll get the answer:

( x + 2 ) ( x 7 ) = x 2 + ( 7 x ) + 2 x + ( 14 ) = x 2 5 x 14

You can use a similar strategy to multiply trinomials or other polynomials. For example, to multiply:

you need to find six products:

  • ( x ) ( a )
  • ( 7 y ) ( a )
  • ( z ) ( a )
  • ( x ) ( 5 )
  • ( 7 y ) ( 5 )
  • ( z ) ( 5 )

and then add them all up to get a x + 7 a y + a z + 5 x + 35 y + 5 z .