Skip to main content

Section 6.7 Solve by Factoring

Objective: Solve quadratic equation by factoring and using the zero product rule.

When solving linear equations such as \(2x - 5 = 21\) we can solve for the variable directly by adding \(5\) and dividing by \(2\) to get \(13\text{.}\) However, when we have \(x^2\) (or a higher power of \(x\)) we cannot just isolate the variable as we did with the linear equations. One method that we can use to solve for the varaible is known as the zero product rule

\begin{equation*} \textbf{ Zero Product Rule: If } \mathbf{ ab=0 } \textbf{ then either } \mathbf{ a=0 } \textbf{ or } \mathbf{ b=0 } \end{equation*}

The zero product rule tells us that if two factors are multiplied together and the answer is zero, then one of the factors must be zero. We can use this to help us solve factored polynomials as in the following example.

Example 6.7.1.

\begin{align*} (2x-3)(5x+1)=0 \amp \quad \text{ One factor must be zero } \\ 2x-3=0 \text{ or } 5x+1=0 \amp\quad \text{ Set each factor equal to zero } \\ +3 \ +3 \qquad -1\ -1 \amp\quad \text{Solve each equation } \\ 2x=3 \text{ or } 5x=-1 \amp\quad \text{ } \\ \frac{2x}{2}=\frac{3}{2} \text{ or } \frac{5x}{5}=\frac{-1}{5} \amp\quad \text{ } \\ x=\frac{3}{2} \text{ or } \frac{-1}{5} \amp\quad \text{ Our Solution } \end{align*}

For the zero product rule to work we must have factors to set equal to zero. This means if the problem is not already factored we will factor it first.

Example 6.7.2.

\begin{align*} 4x^2+x-3=0 \amp \quad \text{ Factor using the $ac$ method, multiply to $-12$, add to } 1 \\ 4x^2-3x+4x-3=0 \amp\quad \text{ The numbers are $-3$ and $4$, split the middle term } \\ x(4x-3)+1(4x-3)=0 \amp\quad \text{ Factor by grouping } \\ (4x-3)(x+1)=0 \amp \quad \text{ One factor must be zero } \\ 4x-3=0 \text{ or } x+1=0 \amp\quad \text{ Set each factor equal to zero } \\ +3\ +3 \qquad -1\ -1 \amp\quad \text{ Solve each equation } \\ 4x=3 \text{ or } x=-1 \amp \quad \text{ } \\ \frac{4x}{4}=\frac{3}{4} \text{ or } x=-1 \amp\quad \text{ } \\ x=\frac{3}{4} \text{ or } -1 \amp\quad \text{ Our Solution } \end{align*}

Another important part of the zero product rule is that before we factor, the equation must equal zero. If it does not, we must move terms around so it does equal zero. Generally we like the \(x^2\) term to be positive.

Example 6.7.3.

\begin{align*} x^2=8x-15 \amp \quad \text{ Set equal to zero by moving terms to the left } \\ -8x+15 \quad -8x+15 \amp\quad \text{ } \\ x^2-8x+15=0 \amp\quad \text{ Factor using the $ac$ method, multiply to $15$, add to } -8 \\ (x-5)(x-3)=0 \amp\quad \text{ The numbers are $-5$ and } -3 \\ x-5=0 \text{ or } x-3=0 \amp\quad \text{Set each factor equal to zero } \\ +5\ +5 \quad +3\ +3 \amp\quad \text{ Solve each equation } \\ x=5 \text{ or } x=3 \amp\quad \text{ Our Solution } \end{align*}

Example 6.7.4.

\begin{align*} (x-7)(x+3)=-9 \amp \quad \text{ Not equal to zero, multiply first, use FOIL } \\ x^2-7x+3x-21=-9 \amp\quad \text{ Combine like terms } \\ x^2-4x-21=-9 \amp\quad \text{ Move $-9$ to other side so equation equals zero } \\ +9\qquad +9 \amp\quad \text{ } \\ x^2-4x-12=0 \amp\quad \text{ Factor using the $ac$ method, mutiply to $-12$, add to } -4 \\ (x-6)(x+2)=0 \amp\quad \text{ The numbers are $6$ and } -2 \\ x-6=0 \text{ or } x+2=0 \amp\quad \text{ Set each factor equal to zero } \\ +6\ +6 \qquad -2\ -2 \amp\quad \text{ Solve each equation } \\ x=6 \text{ or } -2 \amp\quad \text{ Our Solution } \end{align*}

Example 6.7.5.

\begin{align*} 3x^2 + 4x - 5 = 7x^2 + 4x - 14 \amp \quad \text{ Set equal to zero by moving terms to the right } \\ -3x^2 -4x+5 \quad -3x^2 -4x+5 \amp\quad \text{ } \\ 0 = 4x^2 - 9 \amp\quad \text{ Factor using difference of squares } \\ 0=(2x+3)(2x-3) \amp\quad \text{ One factor must be zero } \\ 2x+3=0 \text{ or } 2x-3=0 \amp\quad \text{ Set each factor equal to zero } \\ -3\ -3\qquad +3\ +3 \amp\quad \text{Solve each equation} \\ 2x=-3 \text{ or } 2x=3 \amp\quad \text{ } \\ \frac{2x}{2}=\frac{-3}{2} \text{ or } \frac{2x}{2}=\frac{3}{2} \amp\quad \text{ } \\ x=\frac{-3}{2} \text{ or } \frac{3}{2} \amp\quad \text{ Our Solution } \end{align*}

Most problems with \(x^2\) will have two unique solutions. However, it is possible to have only one solution as the next example illustrates.

Example 6.7.6.

\begin{align*} 4x^2=12x-9 \amp \quad \text{ Set equal to zero by moving terms to left } \\ -12x+9 \quad -12x+9 \amp\quad \text{ } \\ 4x^2 -12x+9=0 \amp\quad \text{Factor using the $ac$ method, multiply to $36$, add to } - 12 \\ (2x - 3)^2 = 0 \amp\quad \text{ $- 6$ and $- 6$, a perfect square! } \\ 2x-3=0 \amp\quad \text{ Set this factor equal to zero } \\ +3\ +3 \amp\quad \text{ Solve the equation } \\ 2x=3 \amp\quad \text{ } \\ \frac{2x}{2}=\frac{3}{2}\amp\quad \text{ } \\ x=\frac{3}{2} \amp\quad \text{ Our Solution } \end{align*}

As always it will be important to factor out the GCF first if we have one. This GCF is also a factor and must also be set equal to zero using the zero product rule. This may give us more than just two solution. The next few examples illustrate this.

Example 6.7.7.

\begin{align*} 4x^2=8x \amp \quad \text{ Set equal to zero by moving the terms to left } \\ -8x\ -8x \amp\quad \text{ Be careful, on the right side, they are not like terms! } \\ 4x^2 -8x=0 \amp\quad \text{ Factor out the GCF of } 4x \\ 4x(x-2)=0 \amp\quad \text{ One factor must be zero } \\ 4x=0 \text{ or } x-2=0 \amp\quad \text{ Set each factor equal to zero } \\ \frac{4x}{4}=\frac{0}{4} \qquad +2\ +2 \amp\quad \text{ Solve each equation } \\ x=0 \text{ or } 2\amp\quad \text{ Our Solution } \end{align*}

Example 6.7.8.

\begin{align*} 2x^3-14x^2+24x=0\amp \quad \text{ Factor out the GCF of } 2x \\ 2x(x^2 -7x+12)=0 \amp\quad \text{ Factor with $ac$ method, multiply to $12$, add to } - 7 \\ 2x(x-3)(x-4)=0 \amp\quad \text{ The numbers are $-3$ and } -4 \\ 2x=0 \text{ or } x-3=0 \text{ or } x-4=0 \amp\quad \text{ Set each factor equal to zero } \\ \div 2\ \div 2 \qquad +3\ +3 \qquad +4\ +4 \amp\quad \text{ Solve each equation } \\ x=0 \text{ or } 3 \text{ or } 4 \amp\quad \text{ Our Solution } \end{align*}

Example 6.7.9.

\begin{align*} 6x^2+21x-27=0 \amp \quad \text{ Factor out the GCF of } 3 \\ 3(2x^2+7x-9)=0 \amp\quad \text{ Factor with $ac$ method, multiply to $- 18$, add to } 7 \\ 3(2x^2+9x-2x-9)=0 \amp\quad \text{ The numbers are $9$ and } -2 \\ 3\left(x(2x+9)-1(2x+9)\right)=0 \amp\quad \text{ Factor by grouping } \\ 3(2x+9)(x-1)=0\amp\quad \text{ One factor must be zero } \\ 3=0 \text{ or } 2x+9=0 \text{ or } x-1=0 \amp\quad \text{ Set each factor equal to zero } \\ 3\neq 0 \qquad -9\ -9 \qquad +1\ +1 \amp\quad \text{ Solve each equation } \\ 2x=-9 \text{ or } x=1 \amp\quad \text{ } \\ \frac{2x}{2}=\frac{-9}{2} \text{ or } x=1 \amp\quad \text{ } \\ x=-\frac{9}{2} \text{ or } 1 \amp\quad \text{ Our Solution } \end{align*}

In the previous example, the GCF did not have a variable in it. When we set this factor equal to zero we got a false statement. No solution come from this factor. Often a student will skip setting the GCF factor equal to zero if there is no variables in the GCF.

Just as not all polynomials cannot factor, all equations cannot be solved by factoring. If an equation does not factor we will have to solve it using another method. These other methods are saved for another section.

World View Note:While factoring works great to solve problems with \(x^2\text{,}\) Tartaglia, in \(16\)th century Italy, developed a method to solve problems with \(x^3\) . He kept his method a secret until another mathematician, Cardan, talked him out of his secret and published the results. To this day the formula is known as Cardan’s Formula.

A question often asked is if it is possible to get rid of the square on the variable by taking the square root of both sides. While it is possible, there are a few properties of square roots that we have not covered yet and thus it is common to break a rule of roots that we are not aware of at this point. The short reason we want to avoid this for now is because taking a square root will only give us one of the two answers. When we talk about roots we will come back to problems like these and see how we can solve using square roots in a method called completing the square. For now, never take the square root of both sides!

Exercises Exercises - Solve by Factoring

Exercise Group.

Solve each equation by factoring.

1.

\((k-7)(k+2)=0\)

2.

\((a+4)(a-3)=0\)

3.

\((x-1)(x+4)=0 \)

4.

\((2x+5)(x-7)=0\)

5.

\(6x^2 - 150 = 0\)

6.

\(p^2+4p-32=0\)

7.

\(2n^2+10n-28=0 \)

8.

\(m^2-m-30=0 \)

9.

\(7x^2 +26x+15=0 \)

10.

\(40r^2-285r-280=0 \)

11.

\(5n^2-9n-2=0 \)

12.

\(2b^2 -3b-2=0 \)

13.

\(x^2-4x-8=-8 \)

14.

\(v^2 -8v -3=-3\)

15.

\(x^2-5x-1=-5 \)

16.

\(a^2 -6a+6=-2 \)

17.

\(49p^2+371p-163=5\)

18.

\(7k^2+57k+13=5\)

19.

\(7x^2 +17x-20=-8 \)

20.

\(4n^2 -13n+8=5 \)

21.

\(7r^2+84=-49r \)

22.

\(7m^2 - 224 = 28m \)

23.

\(x^2-6x=16\)

24.

\(7n^2 -28n=0\)

25.

\(3v^2+7v=40\)

26.

\(6b^2 = 5 + 7b \)

27.

\(35x^2 +120x=-45 \)

28.

\(9n^2 +39n=-36 \)

29.

\(4k^2 +18k -23=6k -7 \)

30.

\(a^2+7a-9=-3+6a \)

31.

\(9x^2 -46+7x=7x+8x^2 +3 \)

32.

\(x^2 +10x+30=6 \)

33.

\(2m^2 +19m+40=-2m \)

34.

\(5n^2 +41n+40=-2 \)

35.

\(40p^2+183p-168=p+5p^2 \)

36.

\(24x^2+11x-80=3x\)