Skip to main content
\(\require{cancel}\newcommand{\abs}[1]{\left\lvert#1\right\rvert} \newcommand{\point}[2]{\left(#1,#2\right)} \newcommand{\highlight}[1]{{\color{blue}{{#1}}}} \newcommand{\lowlight}[1]{{\color{lightgray}{#1}}} \newcommand{\attention}[1]{\mathord{\overset{\downarrow}{#1}}} \newcommand{\substitute}[1]{\highlight{#1}} \newcommand{\addright}[1]{\highlight{{}+#1}} \newcommand{\addleft}[1]{\highlight{#1+{}}} \newcommand{\subtractright}[1]{\highlight{{}-#1}} \newcommand{\multiplyright}[2][\cdot]{\highlight{{}#1#2}} \newcommand{\multiplyleft}[2][\cdot]{\highlight{#2#1{}}} \newcommand{\divideunder}[2]{\frac{#1}{\highlight{#2}}} \newcommand{\divideright}[1]{\highlight{{}\div#1}} \newcommand{\apple}{\text{🍎}} \newcommand{\banana}{\text{🍌}} \newcommand{\pear}{\text{🍐}} \newcommand{\cat}{\text{🐱}} \newcommand{\dog}{\text{🐶}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section8.1Solving Quadratic Equations by Factoring

We have learned how to factor trinomials like \(x^2+5x+6\) into \((x+2)(x+3)\text{.}\) This skill is needed to solve an equation like \(x^2+5x+6=0\text{,}\) which is called a quadratic equation, because its leading term has a degree of \(2\text{.}\)

Figure8.1.1Alternative Video Lesson

Consider this scenario: A physics class launches a tennis ball from a rooftop that is \(96\) feet above the ground. They fire it directly upward at a speed of \(16\) feet per second and measure the time it takes for the ball to hit the ground below. We can model the height of the tennis ball, \(h\text{,}\) in feet, with the quadratic equation, \(h=-16t^2+16t+96\text{,}\) where \(t\) represents the time in seconds after the launch. Using the model we can predict when the ball will hit the ground.

The ground has a height of \(0\text{,}\) or \(h=0\text{.}\) We will substitute \(0\) for \(h\) in the equation and we have

\begin{equation*} -16t^2+16t+96=0 \end{equation*}

We need to solve this quadratic equation for \(t\) to find when the ball will hit the ground.

Let's review how to solve linear equations. For example,

\begin{align*} 2x-9\amp=1\\ 2x-9\addright{9}\amp=1\addright{9}\\ 2x\amp=10\\ \frac{2x}{2}\amp=\frac{10}{2}\\ x\amp=5 \end{align*}

The key strategy for solving a linear equation is to separate the variable terms from the constant terms on either side of the equal sign. Let's try the same strategy to solve \(-16t^2+16t+96=0\text{.}\)

\begin{align*} -16t^2+16t+96\amp=0\\ -16t^2+16t+96\subtractright{96}\amp=0\subtractright{96}\\ -16t^2+16t\amp=-96 \end{align*}

We are stuck here because there is no way to isolate the \(t\) or get rid of the square in \(t^2\text{.}\) This is why we learned how to factor. For example, if we factor \(x^2+5x+6\) into \((x+2)(x+3)\text{,}\) the factors are linear.

Once we factor the polynomial in our example, we will be able to solve it using the linear factors. We will look for a common factor first, and see that we can factor out \(-16\text{.}\) Then we can finish factoring the trinomial:

\begin{align*} -16t^2+16t+96\amp=0\\ -16(t^2-t-6)\amp=0\\ -16(t+2)(t-3)\amp=0 \end{align*}

In order to solve the equation, we need to understand a property:

To understand this property, let's look at a few products:

\begin{align*} 4\cdot7\amp=28\amp\amp\amp-4\cdot7\amp=-28\amp\amp\amp4\cdot7\cdot3\amp=84\\ 4\cdot0\amp=0\amp\amp\amp-4\cdot0\amp=0\amp\amp\amp4\cdot0\cdot3\amp=0\\ 0\cdot7\amp=0\amp\amp\amp0\cdot(-7)\amp=0\amp\amp\amp4\cdot7\cdot0\amp=0 \end{align*}

If none of the factors are zero, it is impossible to get a product of zero. The only way to get a product of zero is if one of the factors is zero. This property is unique to the number zero and can be used no matter how many numbers are multiplied together.

Now we can see the value of factoring. We have three factors in our equation \(-16(t+2)(t-3)=0\text{.}\) The first factor is the number \(-16\text{.}\) The second and third factors, \(t+2\) and \(t-3\) are expressions that represent numbers. Since the product of the three factors is equal to zero, one of the factors must be zero.

Since \(-16\) cannot be \(0\text{,}\) either \(t+2\) or \(t-3\) must be \(0\text{.}\) This gives us two equations to solve:

\begin{align*} t+2\amp=0\amp\amp\text{or}\amp t-3\amp=0\\ t+2\subtractright{2}\amp=0\subtractright{2}\amp\amp\text{or}\amp t-3\addright{3}\amp=0\addright{3}\\ t\amp=-2\amp\amp\text{or}\amp t\amp=3 \end{align*}

We have found two solutions, \(t=-2\) and \(t=3\text{.}\) A quadratic equation will have two linear factors, not including any constants, so it can have up to two solutions.

Let's check each of our two solutions \(t=-2\) and \(t=3\text{:}\)

\begin{align*} -16t^2+16t+96\amp=0\amp\amp\amp-16t^2+16t+96\amp=0\\ -16(-2)^2+16(-2)+96\amp\stackrel{?}{=}0\amp\amp\amp-16(3)^2+16(3)+96\amp\stackrel{?}{=}0\\ -16(4)-32+96\amp\stackrel{?}{=}0\amp\amp\amp-16(9)+48+96\amp\stackrel{?}{=}0\\ -64-32+96\amp\stackrel{?}{=}0\amp\amp\amp-144+48+96\amp\stackrel{?}{=}0\\ -96+96\amp\stackrel{?}{=}0\amp\amp\amp-96+96\amp\stackrel{?}{=}0\\ 0\amp\stackrel{\checkmark}{=}0\amp\amp\amp0\amp\stackrel{\checkmark}{=}0 \end{align*}

We have verified that our solutions are correct. While there are two solutions to the equation, the solution \(t=-2\) is not relevant to the physics model because it is a negative time. The solution \(t=3\) does make sense. According to the model, the tennis ball will hit the ground \(3\) seconds after it is launched.

Here are a few more examples of solving quadratic equations. For problems without a context we will write the solutions in solution set notation.

Example8.1.3

Solve \(x^2-5x-14=0\) by factoring.

Solution

\begin{align*} x^2-5x-14\amp=0\\ (x-7)(x+2)\amp=0\\ x-7\amp=0\amp\amp\text{or}\amp x+2\amp=0\\ x-7\addright{7}\amp=0\addright{7}\amp\amp\text{or}\amp x+2\subtractright{2}\amp=0\subtractright{2}\\ x\amp=7\amp\amp\text{or}\amp x\amp=-2 \end{align*}

We write the solution set as \(\{-2, 7\}.\)

If the two factors of a polynomial happen to be the same, the equation will only have one solution. Let's look at an example of that.

Example8.1.4A Quadratic Equation with Only One Solution

Solve \(x^2-10x+25=0\) by factoring.

Solution

\begin{align*} x^2-10x+25\amp=0\\ (x-5)(x-5)\amp=0\\ (x-5)^2\amp=0\\ x-5\amp=0\\ x-5\addright{5}\amp=0\addright{5}\\ x\amp=5 \end{align*}

The solution set is \(\{5\}\text{.}\)

Remark8.1.5

We have now written solution sets for solving three different types of equations. A linear equation has a single solution, such as \(\{-1\}\text{.}\) A system of equations has one solution that is an ordered pair, such as \(\{(-1,5)\}\text{.}\) The parentheses indicate that the solution is an ordered pair. A quadratic equation can have up to two solutions. When it has two solutions it is written as \(\{-1, 5\}\text{.}\) We write the solutions in increasing order.

Here is an example where we need to factor out a common factor first.

Example8.1.6Factor Out a Common Factor

Solve \(5x^2+55x+120=0\) by factoring.

Solution

\begin{align*} 5x^2+55x+120\amp=0\\ 5(x^2+11x+24)\amp=0\\ 5(x+8)(x+3)\amp=0\\ x+8\amp=0\amp\amp\text{or}\amp x+3\amp=0\\ x\amp=-8\amp\amp\text{or}\amp x\amp=-3 \end{align*}

The solution set is \(\{-8, -3\}\text{.}\)

Here is an example where we will factor using the AC method.

Example8.1.7Factoring Using the AC Method

Solve \(3x^2-7x+2=0\) by factoring.

Solution

Recall that we multiply \(3\cdot2=6\) and find a factor pair that multiplies to \(6\) and adds to \(-7\text{.}\) The factors are \(-6\) and \(-1\text{.}\) We use the two factors to replace the middle term with \(-6x\) and \(-x\text{.}\)

\begin{align*} 3x^2-7x+2\amp=0\\ 3x^2-6x-x+2\amp=0\\ (3x^2-6x)+(-x+2)\amp=0\\ 3x(x-2)-1(x-2)\amp=0\\ (3x-1)(x-2)\amp=0\\ 3x-1\amp=0\amp\amp\text{or}\amp x-2\amp=0\\ 3x\amp=1\amp\amp\text{or}\amp x\amp=2\\ x\amp=\frac{1}{3}\amp\amp\text{or}\amp x\amp=2 \end{align*}

The solution set is \(\{\frac{1}{3}, 2\}\text{.}\)

So far the equations have been written in standard form, which is

\begin{equation*} ax^2+bx+c=0 \end{equation*}

If an equation is not given in standard form then we must rearrange it in order to use the Zero Product Property.

Example8.1.8Writing in Standard Form

Solve \(x^2-10x=24\) by factoring.

Solution

To use the zero product property, we must have a zero on one side of the equation.

\begin{align*} x^2-10x\amp=24\\ x^2-10x\subtractright{24}\amp=24\subtractright{24}\\ x^2-10x-24\amp=0\\ (x-12)(x+2)\amp=0\\ x-12\amp=0\amp\amp\text{or}\amp x+2\amp=0\\ x\amp=12\amp\amp\text{or}\amp x=\amp-2 \end{align*}

The solution set is \(\{-2, 12\}\text{.}\)

Example8.1.9Writing in Standard Form

Solve \((x+4)(x-3)=18\) by factoring.

Solution

This time we must multiply the left side and subtract \(18\) from both sides.

\begin{align*} (x+4)(x-3)\amp=18\\ x^2+x-12\amp=18\\ x^2+x-12\subtractright{18}\amp=18\subtractright{18}\\ x^2+x-30\amp=0\\ (x+6)(x-5)\amp=0\\ x+6\amp=0\amp\amp\text{or}\amp x-5\amp=0\\ x\amp=-6\amp\amp\text{or}\amp x\amp=5 \end{align*}

The solution set is \(\{-6, 5\}\text{.}\)

Example8.1.10Factoring a Polynomial with Two Terms

Solve \(2x^2=5x\) by factoring.

Solution

It may be tempting to divide both sides of the equation by \(x\text{;}\) but if we did we would lose one of the solutions, \(x=0\text{.}\) Instead, we will put the equation in standard form.

\begin{align*} 2x^2\amp=5x\\ 2x^2\subtractright{5x}\amp=5x\subtractright{5x}\\ 2x^2-5x\amp=0\\ \end{align*}

Since there are only two terms, we will look for a common factor.

\begin{align*} x(2x-5)\amp=0\\ x\amp=0\amp\amp\text{or}\amp 2x-5\amp=0\\ x\amp=0\amp\amp\text{or}\amp 2x\amp=5\\ x\amp=0\amp\amp\text{or}\amp x\amp=\frac{5}{2} \end{align*}

The solution set is \(\{0, \frac{5}{2}\}\text{.}\)

Example8.1.11Factoring a Special Polynomial

Solve \(x^2=9\) by factoring.

Solution

We will learn an easier method to solve this problem later. For now, we will put the equation in standard form and use factoring.

\begin{align*} x^2\amp=9\\ x^2-9\amp=0\\ (x+3)(x-3)\amp=0\\ x+3\amp=0\amp\amp\text{or}\amp x-3\amp=0\\ x\amp=-3\amp\amp\text{or}\amp x\amp=3 \end{align*}

The solution set is \(\{-3, 3\}\text{.}\)

Example8.1.12Solving an Equation With a Higher Degree

Solve \(2x^3-10x^2-28x=0\) by factoring.

Solution

Although this equation is not quadratic, it does factor so we can solve it by factoring.

\begin{align*} 2x^3-10x^2-28x\amp=0\\ 2x(x^2-5x-14)\amp=0\\ 2x(x-7)(x+2)\amp=0\\ 2x\amp=0\amp\amp\text{or}\amp x-7\amp=0\amp\text{or}\amp\amp x+2\amp=0\\ x\amp=0\amp\amp\text{or}\amp x\amp=7\amp\text{or}\amp\amp x\amp=-2 \end{align*}

The solution set is \(\{-2, 0, 7\}\text{.}\)

We will conclude this section with another application problem.

Example8.1.13An Area Application

Rajesh has a hot tub and he wants to build a deck around it. The hot tub is 7 ft by 5 ft and it is covered by a roof that is 99 ft2. How wide can he make the deck so that it will be covered by the roof?

Solution

We will define \(x\) to represent the width of the deck (in feet). Here is a diagram to help us understand the scenario.

<<SVG image is unavailable, or your browser cannot render it>>

Figure8.1.14Diagram for the deck

The overall length is \(7+2x\) feet, because Rajesh is adding \(x\) feet on each side. Similarly, the overall width is \(5+2x\) feet.

The formula for the area of a rectange is \(\text{area}=\text{length}\cdot\text{width}\text{.}\) Since the total area of the roof is 99 ft2, we can write and solve the equation:

\begin{align*} (7+2x)(5+2x)=99\\ 4x^2+24x+35=99\\ 4x^2+24x+35\subtractright{99}\amp=99\subtractright{99}\\ 4x^2+24x-64\amp=0\\ 4(x^2+6x-16)\amp=0\\ 4(x+8)(x-2)\amp=0\\ x+8\amp=0\amp\amp\text{or}\amp x-2\amp=0\\ x\amp=-8\amp\amp\text{or}\amp x\amp=2 \end{align*}

Solution: Since a length cannot be negative, we take \(x=2\) as the solution. Rajesh should make the deck 2 ft wide on each side to fit under the roof.

Subsection8.1.1Exercises

Solve Quadratic Equations by Factoring

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

Quadratic Equation Application Problems

28
29
30
31
32
33