# Polynomial Operations

Polynomials can be added, subtracted, multiplied, factored, and divided.

A polynomial in one variable is the sum or difference of terms of the form $ax^n$, where $a$ is a real number and $n$ is a nonnegative integer. Polynomials with one, two, or three terms have their own names.

• A monomial is a polynomial expression consisting of one term. An example of a monomial is $3x^5$.
• A binomial is a polynomial expression consisting of two terms. An example of a monomial is $4x^3-1$.
• A trinomial is a polynomial expression consisting of three terms. An example of a monomial is $x^2-2x-8$.
When written in standard form, $a_n\neq 0$, the terms of a polynomial decrease in degree as they are written from left to right:
$a_{n}x^n + a_{n-1}x^{n-1} + a_{n-2}x^{n-2} +...+a_{1}x + a_{0}$
The degree of a term, or degree of a monomial, is the exponent of the variable. A constant term has degree zero. A variable with no exponent has degree one. The degree of a polynomial is the greatest degree of a term in the polynomial. In standard form, the degree of the polynomial is the degree of the first term. The leading coefficient of a polynomial is the coefficient of the first term of a polynomial written in standard form, which places the term with the highest degree first.

Polynomials are added or subtracted by combining like terms.
Polynomials can be simplified in a variety of ways, including addition or subtraction. To add or subtract polynomials, combine like terms. Like terms are terms that have the same variable (or variables) with the same exponents.
Step-By-Step Example
Simplify the polynomial:
$-5x^2 + 2xy + 1 + 3x^2 - 4$
Step 1
Identify like terms.
$-{\color{#c42126}{5x^2}} + 2xy + {\color{#0047af}{1}} + {\color{#c42126}{3x^2}} - {\color{#0047af}{4}}$
Step 2
Write and group like terms together.
$(-{\color{#c42126}{5x^2}} + {\color{#c42126}{3x^2}}) + 2xy + ({\color{#0047af}{1}} - {\color{#0047af}{4}})$
Solution
$\begin{gathered}(-{\color{#c42126}{5x^2}} + {\color{#c42126}{3x^2}}) + 2xy + ({\color{#0047af}{1}} - {\color{#0047af}{4}})\\(-{\color{#c42126}{2x^2}})+2xy+ (-{\color{#0047af}{3}})\\ -2x^2+2xy-3\end{gathered}$
Step-By-Step Example
Subtract Polynomials
Simplify the polynomial:
$4x^2 - (x^2+3x-5)$
Step 1
Distribute the negative sign to each term in the parentheses.
$\begin{gathered}4x^2 - (x^2+3x-5)\\4x^2-x^2-3x+5\end{gathered}$
Step 2
Identify like terms.
${\color{#c42126}{4x^2}}-{\color{#c42126}{x^2}}-3x+5$
Solution
Add the coefficients of the like terms.
$\begin{gathered}{\color{#c42126}{4x^2}}-{\color{#c42126}{x^2}}-3x+5\\{\color{#c42126}{3x^2}}-3x+5\end{gathered}$

### Multiplying Polynomials

Polynomials are multiplied by using the distributive property and properties of exponents.

Two common methods for multiplying polynomials include using different types of properties, including the distributive property and properties of exponents.

To use the distributive property for any two polynomials, distribute the first polynomial to each term in the second polynomial. Repeat this process of distribution as needed, depending on the number of terms in the polynomials. The goal is to multiply each term in the first polynomial by each term in the second polynomial.

To use the product of powers property, multiply two powers with the same base by adding the exponents.
$x^{m} \cdot x^{n} = x^{m+n}$
To multiply a monomial by a monomial, multiply the coefficients and add the exponents in the variable factors. For example:
$\begin{gathered}5x \cdot 2x^2\\ (5\cdot 2)x^{1+2} \\ 10x^3\end{gathered}$
When multiplying two binomials, the mnemonic FOIL (First, Outside, Inside, Last) provides a methodical way of finding each term in the product. This method only works for binomials, and not any other polynomials.
Step-By-Step Example
Multiply a Monomial by a Polynomial
Multiply the expression:
$3x(x^2-2x+3)$
Step 1
Distribute the monomial to each term in the parentheses.
$\begin{gathered}3x(x^2-2x+3)\\3x(x^2)-3x(2x)+3x(3)\end{gathered}$
Step 2
In each term, multiply the coefficients and add the exponents in the variable factors.
$\begin{gathered}3x(x^2)-3x(2x)+3x(3)\\(3\cdot 1)x^{1+2}-(3\cdot 2)x^{1+1}+(3\cdot 3)x\end{gathered}$
Solution
Simplify the coefficients and exponents.
$\begin{gathered}(3\cdot 1)x^{1+2}-(3\cdot 2)x^{1+1}+(3\cdot 3)x\\3x^3-6x^2+9x\end{gathered}$
Step-By-Step Example
Multiply a Binomial by a Binomial
Multiply the expression:
$(2x-1)(x+3)$
Step 1
Use the mnemonic FOIL (First, Outside, Inside, and Last terms) to distribute each term of the first factor to each term in the second factor.
$\begin{gathered}(2x-1)(x+3)\\\overbrace{(2x)(x)}^\text{First}+\overbrace{(2x)(3)}^\text{Outside}+\overbrace{(-1)(x)}^\text{Inside}+\overbrace{(-1)(3)}^\text{Last}\end{gathered}$
Step 2
In each term, multiply the coefficients and add the exponents in the variable factors.
$\begin{gathered}(2x)(x)+(2x)(3)+(-1)(x)+(-1)(3)\\(2\cdot1)x^{1+1}+(2\cdot3)x+(-1\cdot1)x+(-3)\\2x^2+6x-x-3\end{gathered}$
Solution
Combine like terms.
$\begin{gathered}2x^2+{\color{#c42126}{6x-x}}-3\\2x^2+{\color{#c42126}{5x}}-3\end{gathered}$
Step-By-Step Example
Multiply a Polynomial by a Polynomial
Multiply the expression:
$(x^3-2x^2+1)(3x^2-4x+7)$
Step 1
Distribute the first polynomial to each term in the second polynomial.
$\begin{gathered}{\color{#c42126}{(x^3-2x^2+1)}}(3x^2-4x+7)\\\overbrace{(3x^2){\color{#c42126}{(x^3-2x^2+1)}}}^{\text{First}}-\overbrace{(4x){\color{#c42126}{(x^3-2x^2+1)}}}^{\text{Second}}+\overbrace{(7){\color{#c42126}{(x^3-2x^2+1)}}}^{\text{Third}}\end{gathered}$
Step 2
Write subtraction as addition of the opposite.
$\begin{gathered}\overbrace{(3x^2)(x^3-2x^2+1)}^{\text{First}}{\color{#c42126}{-}}\overbrace{{\color{#c42126}{(4x)}}(x^3-2x^2+1)}^{\text{Second}}+\overbrace{(7)(x^3-2x^2+1)}^{\text{Third}}\\\overbrace{(3x^2)(x^3-2x^2+1)}^{\text{First}}{\color{#c42126}{+}}\overbrace{{\color{#c42126}{(-4x)}}(x^3-2x^2+1)}^{\text{Second}}+\overbrace{(7)(x^3-2x^2+1)}^{\text{Third}}\end{gathered}$
Step 3
Distribute each monomial to the terms in the parentheses.
$\overbrace{{\color{#c42126}{(3x^2)}}(x^3-2x^2+1)}^{\text{First}}+\overbrace{{\color{#c42126}{(-4x)}}(x^3-2x^2+1)}^{\text{Second}}+\overbrace{{\color{#c42126}{(7)}}(x^3-2x^2+1)}^{\text{Third}}$
First: ${\color{#c42126}{(3x^2)}}(x^3)-{\color{#c42126}{(3x^2)}}(2x^2)+{\color{#c42126}{(3x^2)}}(1)$

Second: ${\color{#c42126}{(-4x)}}(x^3)-{\color{#c42126}{(-4x)}}(2x^2)+{\color{#c42126}{(-4x)}}(1)$

Third: ${\color{#c42126}{(7)}}(x^3)-{\color{#c42126}{(7)}}(2x^2)+{\color{#c42126}{(7)}}(1)$

Step 4
In each term, multiply the coefficients and add the exponents in the variable factors.
$\begin{gathered}\overbrace{3x^{2+3}-6x^{2+2}+3x^{2}}^{\text{First}}+\overbrace{(-4x^{1+3})+(8x^{1+2})+(-4x)}^{\text{Second}}+\overbrace{7x^{3}-14x^{2}+7}^{\text{Third}}\\\overbrace{3x^5-6x^4+3x^2}^{\text{First}}+\overbrace{(-4x^4)+8x^3+(-4x)}^{\text{Second}}+\overbrace{7x^3-14x^2+7}^{\text{Third}} \end{gathered}$
Solution
Combine like terms.
$\begin{gathered}3x^5-{\color{#c42126}{6x^4}}+3x^2+(-{\color{#c42126}{4x^4}})+{\color{#0047af}{8x^3}}+(-4x)+{\color{#0047af}{7x^3}}-14x^2+7\\3x^5-{\color{#c42126}{10x^4}}+{\color{#0047af}{15x^3}}-11x^2-4x+7\end{gathered}$

### Factoring Polynomials

Polynomials are factored by using a variety of techniques, including grouping and formulas.
Factoring is the process of writing a number or algebraic expression as a product. The factored form of a polynomial may help when graphing a function that has the polynomial as its algebraic rule. There are different techniques for factoring polynomials.

### Polynomial Factoring Methods

Method Description
Greatest common factor (GCF) When each term has a common factor, divide the greatest common factor from each term.
Factor by grouping This method is most commonly used when there are four terms. Group the terms into two pairs. Then factor out the GCF of each pair of terms. The resulting terms have a common factor that can be factored out.
Factor a trinomial Many trinomials of the form $ax^2+bx+c$ can be written as the product of two binomials. Find two numbers that are factors of $ac$ and have a sum of $b$. Use these numbers to write the binomial factors or to write a four-term polynomial and continue with factoring by grouping.
Perfect square trinomial Some trinomials fit a pattern:
$\begin{gathered}a^2+2ab+b^2=(a+b)^2\\a^2-2ab+b^2=(a-b)^2\end{gathered}$
Difference of squares Some binomials fit a pattern with two squared terms:
$a^2-b^2=(a+b)(a-b)$
Sum or difference of cubes Some binomials fit a pattern with two cubed terms:
$\begin{gathered}a^3+b^3=(a+b)(a^2-ab+b^2)\\a^3-b^3=(a-b)(a^2+ab+b^2)\end{gathered}$

Step-By-Step Example
Factor by Grouping
Factor the expression:
$2x^2-10x+3x-15$
Step 1
Group the terms into two pairs.
$\begin{gathered}2x^2-10x+3x-15\\(2x^2-10x)+(3x-15)\end{gathered}$
Step 2
Factor out the GCF (greatest common factor) of each pair of terms.
$2x(x-5)+3(x-5)$
Solution
Factor out the GCF from the resulting terms.
$(x-5)(2x+3)$
Step-By-Step Example
Factor by Recognizing a Pattern
Factor the binomial:
$8x^3-27$
Step 1

Identify whether the binomial fits a pattern.

The binomial is a difference of cubes:
$a^3-b^3$
Determine $a$ and $b$ in the binomial by identifying the cube root of each term.
$\begin{gathered}8x^3-27\\\sqrt[\scriptsize{3}]{8x^3}-\sqrt[\scriptsize{3}]{27}\\2x-3\end{gathered}$
So, the values for $a$ and $b$ are $a=2x$ and $b=3$.
Step 2
Use the pattern for the difference of cubes to rewrite the binomial:
\begin{aligned}a^3-b^3&=(a-b)(a^2+ab+b^2)\\8x^3-27&=(2x-3)[(2x)^2+(2x)(3)+3^2]\end{aligned}
Solution
Simplify the second factor.
\begin{aligned}8x^3-27&=(2x-3)[(2x)^2+(2x)(3)+3^2]\\8x^3-27&=(2x-3)(4x^2+6x+9)\end{aligned}

### Dividing Polynomials

Polynomials are divided by factoring or using algorithms for long division or synthetic division.

There are different techniques for dividing polynomials, depending on the polynomials that are given. The combination of monomials and polynomials will determine which technique to use. To divide by a monomial, divide each term of the dividend by the monomial. To divide by a polynomial, start by trying to factor the dividend and divisor.

The quotient of powers property states: To divide two powers with the same base, subtract the exponents.
$\frac {x^{m}}{x^{n} } = x^{m-n}$
Step-By-Step Example
Divide a Polynomial by a Monomial
Divide the expression:
$\frac{8x^3-2x^2+4x}{2x}$
Step 1
Divide each term in the numerator by the denominator.
$\begin{gathered}\frac{8x^3-2x^2+4x}{2x}\\\frac{8x^3}{2x}-\frac{2x^2}{2x}+\frac{4x}{2x}\end{gathered}$
Step 2
Divide the coefficients. In the variable factors, subtract the exponent in the denominator from the exponent in the numerator.
$\begin{gathered}\frac{8x^3}{2x}-\frac{2x^2}{2x}+\frac{4x}{2x}\\4x^{3-1}-1x^{2-1}+2x^{1-1}\end{gathered}$
Solution
Simplify the exponents. Let $x^0=1$.
$\begin{gathered}4x^{3-1}-1x^{2-1}+2x^{1-1}\\4x^{2}-x^{1}+2x^{0}\\4x^{2}-x+(2)(1)\\4x^2-x+2\end{gathered}$
Step-By-Step Example
Divide a Polynomial by a Polynomial
Divide the polynomial:
$\frac{3x^2-14x-5}{x^2-4x-5}$
Step 1
Factor the numerator and denominator.
$\begin{gathered}\frac{3x^2-14x-5}{x^2-4x-5}\\\frac{(3x+1)(x-5)}{(x-5)(x+1)}\end{gathered}$
Step 2
Simplify.
$\frac{(3x+1)\cancel{(x-5)}}{\cancel{(x-5)}(x+1)}$
Solution
$\frac{3x^2-14x-5}{x^2-4x-5}=\frac{3x+1}{x+1}$
When factoring polynomials to divide does not work, one of the strategies that can be used is long division. The steps of long division with polynomials are similar to the steps of long division with whole numbers. This method of polynomial division can be used to divide a polynomial with a higher degree by any polynomial with a lower degree, even if the divisor is not a factor of the dividend. Before beginning, check that both the dividend and the divisor are written in standard form.
Step-By-Step Example
Divide Polynomials by Using Long Division
Divide the expression:
$(2x^3-16x+7) \div (x+3)$
Step 1
Set up the problem for long division. Include a term for each degree of the variable, even if the coefficient of the term is zero.
$x+3\;\overline{)\;2x^3+0x^2-16x+7}$
Step 2
Divide the first term in the dividend by the first term in the divisor. Write the result above the first term in the dividend.
\begin{aligned}&\phantom{x+3)}\;\;{\color{#c42126}{2x^{2}}}\\&{\color{#c42126}{x}}+3\;\overline{)\;{\color{#c42126}{2x^{3}}}+0x^2-16x+7}\end{aligned}
Step 3
Multiply the result by the divisor. Write the product under the dividend, and subtract. Then bring down the next term from the dividend.
\begin{aligned}&\phantom{x+3)}\;\;{\color{#c42126}{2x^{2}}}\\&{\color{#c42126}{x+3}}\;\overline{)\;2x^3+0x^2-16x+7}\\&\phantom{x+}\;-\underline{({\color{#c42126}{2x^3+6x^{2}}})\phantom{-}\downarrow\phantom{6x}}\\&\phantom{x+3\;)2x^3)}-6x^2-16x\end{aligned}
Step 4
Repeat the process by dividing the first term in the expression obtained after subtracting by the first term in the divisor. Write the result above the second term in the dividend.
\begin{aligned}&\phantom{x+3)}\;\;2x^2{\color{#c42126}{\;-\;\;\;6x}}\\&{\color{#c42126}{x}}+3\;\overline{)\;2x^3+0x^2-16x+7}\\&\phantom{x+}\;-\underline{(2x^3+6x^2)\phantom{-}\downarrow\phantom{6x}}\;\;\;\\&\phantom{x+3\;)2x^3)}{\color{#c42126}{\;-\;6x^{2}}}-16x\end{aligned}
Step 5
Multiply the second result by the divisor. Write the product under the last expression obtained from Step 4. Then, subtract and bring down the next term from the dividend.
\begin{aligned}&\phantom{x+3)}\;\;2x^2{\color{#c42126}{\;\;-\;6x}}\\&{\color{#c42126}{x+3}}\;\overline{)\;2x^3+0x^2-16x+7}\\&\phantom{x+}\;-\underline{(2x^3+6x^2)\phantom{-}\downarrow\phantom{6x}}\;\;\;\downarrow\\&\phantom{x+3\;)2x^3)}-6x^2-16x\;\;\;\;\;\downarrow\\&\phantom{x+3)\;2}-\underline{({\color{#c42126}{-\;6x^2-18x}})\;\;\;\downarrow}\\&\phantom{x+3\;\overline{)\;2x^3+0x^2-1}}2x+7\end{aligned}
Step 6
Continue the process for the last term in the dividend.
\begin{aligned}&\phantom{x+3)}\;\;2x^2-6x\phantom{^2}+{\color{#c42126}{2}}\\&{\color{#c42126}{x+3}}\;\overline{)\;2x^3+0x^2-16x+7}\\&\phantom{x+}\;-\underline{(2x^3+6x^2)\phantom{-}\downarrow\phantom{6x}}\;\;\;\downarrow\\&\phantom{x+3\;)2x^3)}-6x^2-16x\;\;\;\;\;\downarrow\\&\phantom{x+3)\;2}-\underline{(-6x^2-18x)\;\;\;\;\downarrow}\\&\phantom{x+3\;\overline{)\;2x^3+0x^2-1}}2x+7\\&\phantom{x+3\;\overline{)\;2x^3+0x^2}}-\underline{({\color{#c42126}{2x+6}})}\\&\phantom{x+3\;\overline{)\;2x^3+0x^2}-\underline{(2x+\;\;\;\;}}1\end{aligned}
Solution
When the degree of the result of subtraction is smaller than the degree of the divisor, stop dividing. Write the remainder as a fraction with the divisor as the denominator.
$2x^2-6x+2+\frac{1}{x+3}$
Synthetic division is another strategy to use when factoring polynomials to divide does not work. Synthetic division is a process of long division of polynomials where only the coefficients and constants are recorded. The divisor must be a linear factor with a coefficient of 1. Before beginning, check that the dividend is written in standard form.
Step-By-Step Example
Divide Polynomials by Using Synthetic Division
Divide the expression:
$(2x^2-5x+7) \div (x+3)$
Step 1
Set up the problem for synthetic division. For the dividend, include the coefficient for each degree of the variable, even if the coefficient is zero. For the divisor, use the opposite of the constant term.
Step 2
$2x-11+\frac{40}{x+3}$