Skip to main content

Section 0.4 Polynomials

If \(n \geq 0\) is an integer and \(a_0\text{,}\) \(a_1\text{,}\) \(a_2\text{,}\) \(\ldots\text{,}\) \(a_n \in R\text{,}\) then
\begin{equation*} a_nx^n + a_{n-1}x^{n-1}+\cdots+a_2x^2 + a_1x + a_0 \end{equation*}
is a polynomial in variable \(x\text{.}\)
  • \(n\) is the degree of the polynomial. It’s the highest exponent on \(x\text{.}\)
    • If the degree is \(1\text{,}\) the polynomial is called "linear".
    • If the degree is \(2\text{,}\) the polynomial is called "quadratic".
    • If the degree is \(3\text{,}\) the polynomial is called "cubic".
  • The leading coefficient \((a_n)\) is the coefficient of \(x^n\text{.}\)

Example 0.4.1.

Find the degree and leading coefficient of
\begin{equation*} -x^3 + 6x^2-4. \end{equation*}
Solution: Β  The highest power of \(x\) is \(x^3\text{.}\) So, the degree is \(3\text{.}\)
Since \(x^3\) appears in the term \(-x^3=-1 \cdot x^3\text{,}\) the leading coefficient is \(-1\text{.}\)
We can also classify polynomials by the number of terms they have:
Number of terms Name Examples
\(1\) monomial \(3x^2,\text{ }\) \(7x, \text{ }\) \(8\)
\(2\) binomial \(x+5, \text{ }\) \(x^2 +8, \text{ } \) \(x^3 -x\)
\(3\) trinomial \(x^2 +7x -4 \)

Subsection 0.4.1 Addition and Subtraction of Polynomials

Done by combining like terms.

Example 0.4.2.

Find each sum or difference:
(a) \((3x^3 -x +5) + (-8x^3 +3x -9)\)
(b) \((x^2-5x) - (3x^2 -4x-1) \)
Solution
(a) Rearrange so that terms with the same power of \(x\) are together:
\begin{align*} (3x^3 -x +5) + (-8x^3 +3x -9) \amp =(3x^3 -8x^3) + (-x+3x) + 5-9 \\ \amp =-5x^3+2x-4 \end{align*}
(b) Remove the parentheses and change the sign of every term in the second polynomial.
\begin{align*} (x^2-5x) - (3x^2 -4x-1) \amp =x^2-5x-3x^2+4x+1 \\ \amp =(x^2-3x^2) + (-5x+4x) +1 \\ \amp=-2x^2-x +1 \end{align*}

Subsection 0.4.2 FOIL Method

Figure 0.4.3. Illustration of the FOIL method for multiplying binomials. Lines indicate the steps.

Example 0.4.4.

Find each product using FOIL:
(a) \((2x+1)(3x+4) \)
(b) \((3\sqrt{2}-\sqrt{3}) (4\sqrt{2} +\sqrt{3}) \)
Solution
\begin{align*} \text{ } (2x+1)(3x+4) \amp = 2x \cdot 3x + 2x \cdot 4 + 1 \cdot 3x + 1 \cdot 4 \quad \quad \quad \\ \amp = 6x^2 + 8x + 3x + 4 \\ \amp= 6x^2 + 11x +4 \end{align*}
\begin{align*} (3\sqrt{2}-\sqrt{3}) (4\sqrt{2} +\sqrt{3}) \amp= (3\sqrt{2})(4\sqrt{2}) + (3\sqrt{2}) (\sqrt{3}) - \sqrt{3}(4\sqrt{2})-3 \\ \amp = 12(\sqrt{2})^2 +3\sqrt{6} -4\sqrt{6} -3 \\ \amp = 24 - \sqrt{6} -3 \\ \amp = 21 -\sqrt{6} \end{align*}
We can also multiply polynomials using the distributive property.

Example 0.4.5.

Find the product \((x^2-3x+4)(2x-3)\text{.}\)
Solution: Β  Distribute \((2x-3)\)
\begin{align*} (x^2-3x+4)(2x-3) \amp = x^2(2x-3) - 3x(2x-3) + 4(2x-3) \\ \amp =2x^3-3x^2 - 6x^2 +9x+8x-12 \\ \amp =2x^3 - 9x^2 +17x -12 \end{align*}

Subsection 0.4.3 Special Products

\((a+b)^2=a^2+2ab+b^2\)
Square of a sum
\((a-b)^2=a^2-2ab +b^2\)
Square of a difference
\((a+b)(a-b)=a^2-b^2\)
Difference of squares

Example 0.4.6.

Find each product
(i) \((3x^3 -4)^2 \)
(ii) \((6-\sqrt{3})(6+\sqrt{3}) \)
Solution: Β  Match each with the left-side of one of the special products.
(i) This matches the square of a difference, \((a-b)^2\text{.}\)
\begin{align*} (3x^3-4)^2 \amp =(3x^3)^2 - 2(3x^3)(4) + 4^2 \\ \amp =3^2(x^3)^2 -24x^3 +16 \\ \amp = 9x^6 -24x^3 +16 \end{align*}
(ii) This matches the difference of squares, \((a+b)(a-b)\)
\begin{align*} (6-\sqrt{3}) (6+\sqrt{3} ) \amp= 6^2 - (\sqrt{3} )^2 \\ \amp =36 -3 \\ \amp =33 \end{align*}
Note: Β  \(6-\sqrt{3}\) and \(6+\sqrt{3}\) are called conjugates. Their product is radical free.

Example 0.4.7.

Rationalize the denominator:
\begin{equation*} \frac{\sqrt{6}}{6+\sqrt{3}} \end{equation*}
Solution: Β  Multiply the numerator and denominator by \(6-\sqrt{3}\)
\begin{align*} \frac{\sqrt{6}}{6+\sqrt{3}} \amp = \frac{\sqrt{6}}{6+\sqrt{3}} \cdot \frac{6-\sqrt{3}}{6-\sqrt{3}} \quad \quad \quad \quad \text{(multiply by $1$)} \\[0.25em] \\ \amp =\frac{\sqrt{6} (6-\sqrt{3})}{(6+\sqrt{3} ) (6-\sqrt{3})} \\[0.25em] \\ \amp =\frac{6\sqrt{6} -\sqrt{6} \cdot \sqrt{3}}{33} \quad \quad \quad \quad \text{(see previous example)} \\[0.25em] \\ \amp = \frac{6\sqrt{6}-\sqrt{18}}{33} \\[0.25em] \\ \amp =\frac{6 \sqrt{6} - 3\sqrt{2}}{33} \\[0.25em] \\ \amp=\frac{2\sqrt{6} - \sqrt{2}}{11} \\[0.25em] \end{align*}

Subsection 0.4.4 Long Division

We begin by revisiting integer long division, since its structure closely mirrors that of polynomial long division.
When dividing one integer by another, the result can be written as
\begin{equation*} \text{dividend=(quotient)(divisor) + remainder} \end{equation*}
where the remainder is smaller than the divisor.

Example 0.4.8.

Find the quotient and the remainder when \(842\) is divided by \(15\text{.}\)
Solution
\begin{equation*} \begin{array}{rl} 56 \\ 15 \enclose{longdiv}{842} \\ \underline{-75}\phantom{2} \amp \quad \quad \text{$5 \cdot 15 =75 $} \\ 92 \\ \underline{-90} \amp \quad \quad \text{$6 \cdot 15 =90 $} \\ 2 \end{array} \end{equation*}
Dividend\(=842\)
Quotient\(=56\)
Divisor\(=15\)
Remainder\(=2\)
We now pivot to polynomial long division, where the same structure applies:
\begin{equation*} \text{dividend=(quotient)(divisor) + remainder} \end{equation*}
where the remainder is 0,
or degree(remainder) \(< \) degree(divisor).

Example 0.4.9.

Find the quotient and the remainder when \(x^2 + 6x +9\) is divided by \(x+3\text{.}\)
Solution
\begin{equation*} \begin{array}{rl} x+3 \\ x+3 \enclose{longdiv}{x^2 + 6x +9} \\ \underline{-x^2 -3x}\phantom{+91} \amp \quad \quad \quad x(x+3)=x^2 +3x \\ 3x+9 \\ \underline{-3x-9} \amp \quad \quad \quad 3(x+3)=3x+9 \\ 0 \end{array} \end{equation*}
The quotient is \(x+3\) and the remainder is \(0\text{.}\)
Because the remainder is \(0 \text{,}\) we know that \(x+3\) is a factor of \(x^2 + 6x +9\text{.}\)

Example 0.4.10.

Find the quotient and the remainder for
\begin{equation*} (x^2-3x-9) \div (x-5) \end{equation*}
Solution
\begin{equation*} \begin{array}{rl} x+2 \\ x-5 \enclose{longdiv}{x^2 -3x -9} \\ \underline{-x^2 +5x}\phantom{-91} \amp \quad \quad \quad x(x-5)=x^2 -5x \\ 2x-9 \\ \underline{-2x+10} \amp \quad \quad \quad 2(x-5)=2x-10 \\ 1 \end{array} \end{equation*}
The quotient is \(x+2\) and the remainder is \(1\text{.}\)

Example 0.4.11.

Find the quotient and the remainder for
\begin{equation*} (x^3 +12x^2 + 27x -28) \div (x+4)\text{.} \end{equation*}
Solution
\begin{equation*} \begin{array}{rl} x^2+8x-5 \\ x+4 \enclose{longdiv}{x^3 +12x^2 +27x -28} \\ \underline{-x^3 -4x^2}\phantom{+27x-28} \amp \quad \quad \quad \text{Subtract } x^3 + 4x^2\\ 8x^2+27x-28 \\ \underline{-8x^2-32x}\phantom{-28} \amp \quad \quad \quad \text{Subtract } 8x^2+32x \\ -5x-28 \\ \underline{5x+20} \amp \quad \quad \quad \text{Subtract } -5x-20 \\ -8 \end{array} \end{equation*}
The quotient is \(x^2+8x-5\) and the remainder is \(-8\text{.}\)