To multiply two polynomials, apply the distributive property by multiplying each term of the first polynomial by each term of the second. Then use the exponent rule add the resulting products and collect any like terms.
The Product of Two Monomials
To multiply two monomials, multiply the coefficients and add the exponents. For example:
The Product of a Monomial and a Polynomial
Use the distributive property to multiply a monomial by each term of a polynomial. For example:
Multiplying Two Polynomials
When multiplying two polynomials, distribute each term of the first polynomial across all terms of the second. For example:
Distribute across the trinomial:
Distribute across the trinomial:
Combine like terms:
Multiply:
Solution
\begin{aligned} (4x^{2}-3x+5)(2x^{3}-x) & =4x^{2}(2x^{3}-x)-3x(2x^{3}-x)+5(2x^{3}-x)\\ & =8x^{5}-4x^{3}-6x^{4}+3x^{2}+10x^{3}-5x\\ & =8x^{5}-6x^{4}+(10-4)x^{3}+3x^{2}-5x\\ & =8x^{5}-6x^{4}+6x^{3}+3x^{2}-5x \end{aligned}It is clear that if is a polynomial of degree and is a polynomial of degree , then the product is a polynomial of degree .
In the above example, the first one is a polynomial of degree 2 and the second one is a polynomial of degree 3, and the product is a polynomial of .
Long Multiplication
When dealing with polynomials that have three or more terms, using a structured approach similar to long multiplication for numbers is often simpler and more reliable. Here is how to proceed:
- Select a Polynomial: Start with one of the polynomials (preferably the longer one) as your main reference.
- Multiply by Each Term
- Multiply the first term of the second polynomial by every term in the first polynomial, and write the results in a row.
- Move to the second term of the second polynomial, repeat the process, and write the new results directly beneath the first row, aligning terms by their degree.
- Repeat for All Terms: Continue this process for all terms in the second polynomial.
- Add the Results: Once all the rows are written, add them together by combining like terms.
Key Tip: Keeping your work neatly aligned in columns based on the degree of the terms makes it easier to combine like terms and reduces mistakes.
Multiply by .
Solution
We arrange the given polynomials in descending (or ascending) powers of and place the multiplier under multiplicand.
We then write in separate rows the "partial products" corresponding to the several terms of the multiplier, placing them so that like terms, that is, terms of the same degree, are in the same column.
\begin{aligned} \phantom{2x^5-3x^4-3x^3+}2x^3-x^2+\phantom{x}+5&\\\times \phantom{2x^5-3x^4-3x^3-2x^2}(x^2+x-3)&\\[-6pt] \rule{5cm}{0.4pt}\\ -6x^3-3x^2\phantom{+3x}-15& &&{\color{blue}\leftarrow -3(2x^3-x^2+5)}\\ \phantom{-}2x^4-\phantom{2}x^3+\phantom{2x^2}+5x\phantom{+15}& &&{\color{blue}\leftarrow x(2x^3-x^2+5)}\\ 2x^5-\phantom{2}x^4~\phantom{-6x^3}+5x^2\phantom{+5x-15}& &&{\color{blue}\leftarrow x^2(2x^3-x^2+5)}\\ \end{aligned}Finally, add these like terms by columns:
\begin{aligned} \phantom{2x^5-3x^4-3x^3+}2x^3-x^2+\phantom{x}+5&\\\times \phantom{2x^5-3x^4-3x^3-2x^2}(x^2+x-3)&\\[-6pt] \rule{5cm}{0.4pt}\\[-2pt] -6x^3-3x^2\phantom{+3x}-15& &&{\color{blue}\leftarrow -3(2x^3-x^2+5)}\\ \phantom{-}2x^4-\phantom{2}x^3+\phantom{2x^2}+5x\phantom{+15}& &&{\color{blue}\leftarrow x(2x^3-x^2+5)}\\ 2x^5-\phantom{2}x^4~\phantom{-6x^3}+5x^2\phantom{+5x-15}& &&{\color{blue}\leftarrow x^2(2x^3-x^2+5)}\\[-6pt] \rule{5cm}{0.4pt}\\ 2x^5-3x^4-7x^3+2x^2+5x-15& &&{\color{blue}\leftarrow \text{combine like terms}} \end{aligned}Therefore,
Multiply by .
Solution
\begin{aligned} & &4x^2&-3x&+5\\ \times\qquad &(2x^3&&-x)\\ \hline &-4x^3&-3x^2&-15x\\ -8x^5-6x^4&-5x^3\\ \hline -8x^5-6x^4&-9x &-3x^2&-15x \end{aligned}Therefore,
as before.
FOIL Method for Multiplying Binomials
When multiplying two binomials, we can use a helpful mnemonic device called FOIL to remember the distributive property. FOIL stands for First, Outer, Inner, Last. It outlines the steps to ensure we multiply each term in the first binomial by each term in the second binomial.
Let's consider two binomials: and . To multiply them using the FOIL method, we follow these steps:

- F (First): Multiply the first terms of each binomial: .
- O (Outer): Multiply the outer terms of the binomials: .
- I (Inner): Multiply the inner terms of the binomials: .
- L (Last): Multiply the last terms of each binomial: .
Finally, we add the results of these four multiplications: . So, .
Multiply using the FOIL method.
Solution
- F:
- O:
- I:
- L:
Adding these terms together, we get: .
Simplifying by combining like terms, we have:
Multiply using the FOIL method.
Solution
- F:
- O:
- I:
- L:
Adding these terms together: .
Simplifying by combining like terms:
While FOIL is a useful mnemonic for multiplying binomials, remember that it is simply a way to visualize the distributive property. The core principle is to multiply every term in the first polynomial by every term in the second polynomial. This principle extends to multiplying polynomials with more terms as well, though the FOIL acronym no longer directly applies. You can think of it as applying the distributive property repeatedly.
Determining Coefficients in the Product of Polynomials
Consider the product:
\begin{aligned} (a_3 x^3+a_2 x^2&+a_1 x+a_0)(b_2 x^2+b_1 x+b_0)\\ =a_3b_2 x^5&+(a_3b_1+a_2b_2)x^4+(a_3b_0+a_2b_1+a_1b_2)x^3\\ &+(a_2b_0+a_1b_1+a_0b_2)x^2+(a_1b_0+a_0b_1)x+a_0b_0 \end{aligned}The product is a polynomial in whose degree is the sum of the degrees of the factors. The coefficient of each term can be obtained by the following rule:
For a term , consider all possible products where is the coefficient of in the first polynomial and is the coefficient of in the second polynomial. The coefficient of is the sum of all such products where .
Thus, to obtain the coefficient of , we find all products where . These are , , and . The coefficient of x³ is then .
This rule applies to the product of any two polynomials in x of the form
It also indicates how to obtain any particular coefficient of the product when the factors have numerical coefficients.
Find the coefficient of in the product
Solution
The degree of the product is . For the term , we need. Since the powers in the first polynomial range from 0 to 75 and the powers in the second range from 0 to 60, the possible combinations for are: and , and ,..., and . Hence, the coefficient of is
Similarly, the coefficient of is .
Find the coefficient of in the product
Solution
We look for () and () such that . We have
The required coefficient is thus
Exercises
Multiply.
(a) (b) (c)
Answer
(a) (b) (c)
Solution
This section gives the rule for multiplying two monomials: multiply the coefficients and add the exponents,
The exponents are added rather than multiplied because of the Product Rule for exponents from the earlier section: .
(a) .
Coefficients: . A positive times a negative is negative.
Exponents: .
(b) .
First recover the hidden coefficient: means , so the coefficient is .
Coefficients: . A negative times a negative is positive.
Exponents: .
The invisible is the thing most often mishandled here. It is easy to see the two minus signs and forget that one of them carries a factor of , not nothing.
(c) .
Coefficients: . Group the numbers so that the two roots meet:
since by the definition of a square root from the earlier section on exponents.
Exponents: , remembering that a bare means .
Note how a pair of irrational coefficients has produced a perfectly ordinary whole-number coefficient. Always look for such simplifications before assuming the answer must stay messy.
Multiply .
Answer
Solution
This section says to use the distributive property, multiplying the monomial by each term of the polynomial. There are three terms inside, so there will be three products.
Product with the first term.
Product with the second term. Keep the minus sign attached to the term it belongs to:
Product with the third term. The constant is , so the exponents add as :
Adding the three products.
There are no like terms to collect, since the three powers , and are all different, so this is the final answer.
Check with a number. Substitute into the original:
and into the answer:
The two commonest errors. The first is multiplying only the leading term, writing ; the distributive property reaches every term inside the bracket. The second is multiplying the exponents instead of adding them, writing . Exponents are multiplied only when a power is raised to a power, which is not what is happening here.
Use the FOIL method to multiply.
(a) (b)
Answer
(a) (b)
Solution
FOIL, as this section explains, is a way of remembering the four products that arise when two binomials are multiplied: First, Outer, Inner, Last. Each term of the first bracket must meet each term of the second, and products result.
(a) . Read the second bracket as , so that the "last" term is and its sign travels with it.
- First:
- Outer:
- Inner:
- Last:
Add the four results:
The middle two are like terms, so collect them: . Hence
Check at : the original gives , and the answer gives . ✓
(b) .
- First:
- Outer:
- Inner:
- Last:
Add them:
Collect the middle terms: . Hence
Check at : the original gives , and the answer gives . ✓
A warning about FOIL. As this section stresses, FOIL is only a mnemonic for the distributive property, and it applies only when both factors are binomials. With three terms in a bracket there are six products, not four, and the acronym gives no help.
Multiply .
Answer
Solution
Follow the method of the worked example in this section: distribute each term of the first polynomial across the whole of the second.
Step 1: split the first polynomial into its three terms.
Note that the middle term carries its minus sign with it.
Step 2: expand each piece.
Step 3: write all six products together.
Step 4: collect like terms, power by power.
- : only .
- : only .
- : .
- : only .
- constant: only .
Two checks.
Degree. This section states . Here , and our answer has degree . ✓
Value. At the original gives , and the answer gives . ✓
How many products should there be? Three terms times two terms gives products, and six is exactly what Step 3 shows. Counting them before you start is a good way to be sure none has been dropped.
Without multiplying anything out, state the degree of each product.
(a) (b) (c)
Answer
(a) (b) (c)
Solution
This section records the rule
so all we need is the degree of each factor, which is its largest exponent.
(a) The first factor has largest exponent , so its degree is . The second has largest exponent , so its degree is . The product therefore has degree
(b) The first factor is a monomial of degree . The second has largest exponent , so degree . The product has degree
(c) Both factors have degree , so the product has degree
Why the rule works. The highest power in the product can only come from multiplying the highest power of one factor by the highest power of the other, and by the Product Rule for exponents those exponents add. In (a), the term of highest degree is , and no other pairing can reach as high.
Why no cancellation can spoil it. In the earlier section on adding polynomials we saw that degrees can drop when leading terms cancel. That cannot happen here, because there is only one way to produce the top power — a single product of the two leading terms — so it has nothing to cancel against. Its coefficient is the product of the two leading coefficients, and a product of two non-zero numbers is never zero, by the Zero-Product Property.
So for multiplication the degree rule is exact, with no "at most" needed, unlike the rule for addition.
Find the coefficient of in
without expanding the whole product.
Answer
Solution
This section gives the rule: the coefficient of in a product is the sum of all products for which , where is the coefficient of in the first polynomial and that of in the second.
Step 1: list the coefficients.
From the first polynomial :
From the second polynomial :
Take the signs from the polynomial exactly as written, and remember that has coefficient , not none.
Step 2: find all pairs with . The available values are and . The pairs adding to are
The pair is impossible, since there is no .
Step 3: work out each product.
Step 4: add them.
So the coefficient of is .
Why the rule is true. A term can only arise from multiplying some by some where the exponents add to , since the Product Rule for exponents adds them. Every such pairing contributes, and they are like terms, so their coefficients are added.
Why this is worth doing. The full product here has degree and six terms. Expanding it all to read off one coefficient means twelve multiplications; the method above needs three. On the section's own example with degrees and , full expansion is out of the question and this is the only practical route.
A caution. Be systematic when listing the pairs. Missing one, such as , changes the answer, and nothing in the arithmetic afterwards would reveal the omission.
Find the value of for which
Answer
Solution
Step 1: expand the left side, keeping as a letter. Using FOIL:
- First:
- Outer:
- Inner:
- Last:
Adding,
The two middle terms are like terms — both are multiples of — so they combine. By the distributive property,
Hence
Step 2: compare with the required answer. We want this to be the same expression as
for every , that is, an identity in the sense of the earlier section. Two polynomials agree for all exactly when their matching coefficients agree, so we compare power by power:
- coefficient of : , which is automatic;
- coefficient of : ;
- constant term: .
Step 3: solve. From the constant terms, , so dividing both sides by gives
Step 4: confirm with the other equation. The middle coefficients require , and with this reads . ✓ Both conditions are met by the same value, which is a good sign that no error has crept in. Had the two disagreed, no value of would have worked.
Full check. Substituting into the original left side and expanding:
The technique. Matching coefficients of like powers is a powerful method that will be used repeatedly. It converts a single statement about polynomials into several simple statements about numbers.
A rectangular garden measures metres by metres.
(a) Find a polynomial for its area. (b) Find the area when . (c) What is the degree of the area polynomial, and why should you have expected it?
Answer
(a) (b) square metres (c) Degree
Solution
(a) The area of a rectangle is length times width:
Both factors are binomials, so FOIL applies:
- First:
- Outer:
- Inner:
- Last:
Adding,
and collecting the like terms :
(b) Substitute , applying the exponent before the multiplication:
The area is square metres.
Check against the dimensions directly: the sides are metres and metres, and . ✓ The garden happens to be square at this value of .
(c) Each side is a polynomial of degree , and this section states that degrees add under multiplication:
That matches the answer, whose largest exponent is .
This is exactly what one should expect on physical grounds too. Length is a one-dimensional quantity and area is two-dimensional, so multiplying two lengths must produce something that grows like the square of the scale. If the answer had come out with degree , it would have been describing a volume, and something would have gone wrong.
A remark on the constant term. The says that when the area is square metres — the garden would then measure by metres. Note that is geometrically acceptable here, but could not be very negative, since a side length cannot be negative.
(a) Expand using FOIL. (b) Compare your answer with the formula from the first section of this chapter. What happens to the middle terms?
Answer
(a)
Solution
(a) Expanding by FOIL.
- First:
- Outer:
- Inner:
- Last:
Adding the four products:
The two middle terms are like terms, and they are exact opposites:
They cancel completely, leaving
(b) Comparison with the formula. The formula from the first section of this chapter,
with and gives
the same answer. So the general formula and the FOIL expansion agree, as they must.
What happens to the middle terms. FOIL produces four terms, and in the general case the Outer and Inner products are
These are opposites, so they add to zero and vanish. That is precisely why the answer has only two terms instead of the usual three — and it is why the formula is worth remembering as a shortcut.
When does this happen? Only when the two binomials are identical apart from the sign between the terms, as in and . Change one number and the cancellation fails: for instance gives Outer and Inner , which combine to rather than disappearing, leaving .
Using it in reverse. Since the formula is an equality, it can also be read backwards to turn a difference of two squares into a product. That will be useful whenever a quantity such as needs to be written as a product.
Use the long multiplication layout described in this section to multiply
Answer
Solution
The long multiplication method takes each term of one polynomial in turn, multiplies it across the whole of the other, and writes the partial products in rows with like powers lined up in columns. With three terms in each factor this is far less error-prone than working in a single line.
Row 1: multiply by .
Row 2: multiply by .
Row 3: multiply by . Every sign inside flips:
Adding the columns. Line the three rows up by power and add each column separately.
- : only Row 1 contributes, giving .
- : Rows 1 and 2 give and , so .
- : Rows 1, 2 and 3 give , and , so .
- : Rows 2 and 3 give and , so .
- constant: only Row 3 contributes, giving .
The result.
Two checks.
Degree. Both factors have degree , so the product should have degree . It does. ✓
Value. At the original gives , and the answer gives . ✓
Why the layout helps. Three terms times three terms produces products, and nine separate terms strung along one line are easy to miscount or misalign. Arranging them in three rows of three, with columns by power, turns the final stage into ordinary column addition — exactly as with long multiplication of numbers, which is where the method gets its name.
A student expands by FOIL, computing only four products, and obtains . Explain what went wrong and give the correct expansion.
Answer
The correct expansion is .
Solution
What went wrong. FOIL names exactly four products — First, Outer, Inner, Last — because it was designed for two binomials, where products arise. Here the second factor is a trinomial, so the correct count is
and the student produced only four. Two products were never formed at all: the ones involving the final term of the trinomial.
This section warns about exactly this, noting that FOIL is only a way of visualising the distributive property, and that once there are more terms the acronym no longer applies. The principle that always applies is: multiply every term of the first polynomial by every term of the second.
The correct expansion. Distribute each term of across the whole trinomial.
That is six products in all. Now add them:
Collect like terms:
- : only one, giving .
- : .
- : .
- constant: .
Check at . The original gives , and the answer gives . ✓ Note that the student's expression gives , which fails the check — so the error would have been caught at once.
A reliable habit. Before starting, multiply the number of terms in each factor to find how many products to expect, then count them when finished. Two by three means six; three by three means nine. Any shortfall signals a missing product.
A student writes . Show that this is wrong by expanding properly, and identify the term that was lost.
Answer
The correct expansion is ; the lost term is .
Solution
The correct expansion. The notation means multiplied by itself:
That is a product of two binomials, so FOIL applies:
- First:
- Outer:
- Inner:
- Last:
Adding,
and collecting the like terms :
The lost term. The student's answer keeps only the First and Last products and throws away the Outer and Inner ones. Those two are what produce the middle term , and it is exactly this term that has been lost.
A numerical demonstration. Substitute :
\text{student's: }1^{2}+9=1+9=10.Since , the student's rule is false. Our expansion gives ✓, matching the correct value.
The underlying mistake. The student has treated the exponent as though it could be applied to each part of the sum separately. As the earlier section on exponents established, an exponent may never be distributed over a sum: the rule concerns a product, and there is no corresponding rule for .
A useful mental picture. Think of a square of side . It splits into a square of side (area ), a square of side (area ), and two rectangles measuring by (area each). The student's answer accounts for the two squares but forgets the two rectangles, and those rectangles are the missing .
Is the statement "the product of two binomials is a trinomial" always, sometimes, or never true? Justify your answer.
Answer
Sometimes true.
Solution
The answer is sometimes.
A case where it holds. Take . By FOIL,
which has three terms and so is a trinomial. Here the statement is true.
A case where it fails. Take . By FOIL,
The Outer and Inner products are exact opposites, so they cancel, leaving
which has only two terms and so is a binomial, not a trinomial. Here the statement is false.
Since both outcomes occur, the statement is sometimes true.
What decides it. FOIL always produces four products, and the Outer and Inner ones are like terms, so they combine into a single middle term. The count of terms in the answer therefore depends on whether that middle term survives:
- if the Outer and Inner products do not cancel, three terms remain and the result is a trinomial;
- if they cancel exactly, only two remain and the result is a binomial.
Cancellation happens precisely in the case of the difference of two squares, , met in the first section of this chapter.
Can the count fall to one? Not for binomials of the kind met here. The First product and the Last product are each a product of two non-zero coefficients, so by the Zero-Product Property neither can be zero, and they involve different powers of , so they cannot combine with each other. At least two terms therefore always survive.
The lesson. Never predict the shape of an answer before doing the algebra. Carry out the expansion, collect the like terms, and count what is actually left.
Find the coefficient of in the product
Answer
Solution
By the rule stated in this section, the coefficient of is the sum of all products with
The work lies in finding which pairs are actually available, since and cannot take any values we please.
The permitted ranges. In the first polynomial the powers run from up to , so
In the second they run from up to , so
Finding the pairs. Since , the condition becomes
The right-hand inequality gives , and the left-hand one gives . Combined with from the first polynomial, we get
So the permitted pairs are
five in all.
The coefficient.
Why the obvious pairs are excluded. One might start with or , but the first polynomial has no or term, so and do not exist. At the other end, fails because the second polynomial stops at . Checking both ranges is the whole difficulty of this type of problem.
A check on the count. As runs from to there are values, matching the five terms listed.
A related question. The product has degree , and the coefficient of the top power comes from the single pair , so it is simply . There is only one way to reach the highest power, which is why no cancellation can reduce the degree.
(a) Show that .
(b) Use the same idea to expand , and state what you notice.
Answer
(b)
Solution
Part (a). Distribute each term of across the trinomial. Two terms times three terms gives products.
Adding all six terms:
Now collect like terms:
- : only .
- : . These cancel.
- : . These cancel too.
- constant: .
Everything in the middle disappears, leaving
Check at : the original gives , and the answer gives . ✓
Part (b). Now distribute across .
Adding and collecting:
- : only .
- : .
- : .
- constant: .
Again the middle vanishes:
Check at : the original gives , and the answer gives . ✓
What to notice. Both products collapse to just two terms, and in each case the answer is plus a cube: in part (a) and in part (b). The pattern is
with and in the two parts.
Why the middle terms die. Expanding the general form, the terms are and , and the terms are and . Each pair consists of exact opposites, so each pair sums to zero. The trinomial is built precisely so that this happens — which is why its middle sign is negative and its last term is .
A test of the pattern. Predict . The rule says it should be . Verifying at : the product is , and . ✓