Learning Outcomes
- Explain the meaning of solving a polynomial equation graphically
- Solve polynomial equations using the zero product property
- Find the [latex]x[/latex]-intercepts of a polynomial function
The Meaning of Solving a Polynomial Equation
Suppose we have two functions [latex]f(x)=x^2-2x-10[/latex] and [latex]g(x)=5[/latex]. Using Desmos to graph these functions we get the graph in figure 1.
The horizontal line representing [latex]g(x)=5[/latex] intersects the parabola representing [latex]f(x)=x^2-2x-10[/latex] in two points. The two graphs intersect at the points (–3, 5) and (5, 5). These are the points where [latex]f(x)=g(x)[/latex] or, in this case, where [latex]x^2-2x-10=5[/latex]. In other words, the [latex]x[/latex]-coordinates of the intersection points are solutions of the equation [latex]x^2-2x-10=5[/latex]. Finding the intersection points graphically, as in figure 1, is equivalent to solving the equation [latex]f(x)=g(x)[/latex].
The intersection point(s) between the graphs of any two functions [latex]f(x)[/latex] and [latex]g(x)[/latex] can be found algebraically by setting the two functions equal to each other:
[latex]f(x) = g(x)[/latex]
At any intersection point [latex](x,y)[/latex], the value of [latex]x[/latex] is the same for both functions, as is the value of [latex]y[/latex]. In other words, [latex]f(x)=g(x)[/latex] means when the two functions have the same input [latex]x[/latex], and the output of the two functions [latex]f(x)[/latex] and [latex]g(x)[/latex] are equal (i.e., [latex]f(x)=g(x)[/latex]).
Example 1
Use Desmos to find the solution to the equation [latex]x^2-x-12=0[/latex].
Solution
Let [latex]f(x)=x^2-x-12[/latex] and [latex]g(x)=0[/latex]. Note that [latex]g(x)=0[/latex] is represented by the [latex]x[/latex]-axis, so we are finding where the graph of [latex]y=f(x)[/latex] intersects the [latex]x[/latex]-axis (i.e., the [latex]x[/latex]-intercepts).
Using Desmos we get:
From the graph, [latex]y=f(x)[/latex] intersects the [latex]x[/latex]-axis at (–3, 0) and (4, 0).
So the solution to the equation [latex]x^2-x-12=0[/latex] is [latex]x=–3,\;4[/latex].
Note. We can always check our solution by substituting the values into the equation:
When [latex]x=–3[/latex],
[latex]\begin{aligned}x^2-x-12&=0\\(-3)^2-(-3)-12&=0\\9+3-12&=0\\0&=0\;\;\;\;\text{True}\end{aligned}[/latex]
When [latex]x=4[/latex],
[latex]\begin{aligned}x^2-x-12&=0\\(4)^2-(4)-12&=0\\16-4-12&=0\\0&=0\;\;\;\;\text{True}\end{aligned}[/latex]
Example 2
Use Desmos to find the solution to the equation [latex]x^2-4=-x^2+14[/latex].
Solution
Let [latex]f(x)=x^2-4[/latex] and [latex]g(x)=-x^2+14[/latex]. then use Desmos to graph the two functions.
From the graph, the intersection points are (–3, 5) and (3, 5).
So, the solution of the equation [latex]x^2-4=-x^2+14[/latex] is [latex]x=–3,\;3[/latex].
The Relationship of Equivalent Equations, Solutions, Zeros, [latex]x[/latex]-Intercepts, and Points of Intersection
No matter the equation, [latex]f(x)=g(x)[/latex] can always be simplified to [latex]f(x)-g(x)=0[/latex]. The difference in two polynomial functions is always another polynomial function, so solving [latex]f(x)=g(x)[/latex] is equivalent to solving [latex]p(x)=0[/latex], where [latex]p(x)=f(x)-g(x)[/latex].
For example, the equation in Example 2, [latex]x^2-4=-x^2+14[/latex], can be simplified to [latex]2x^2-18=0[/latex]. [latex]x^2-4=-x^2+14[/latex] and [latex]2x^2-18=0[/latex] are equivalent equations so they have identical solutions. Consequently, solving [latex]x^2-4=-x^2+14[/latex] is equivalent to solving [latex]2x^2-18=0[/latex], which in turn is equivalent to finding the zeros of the function [latex]p(x)=2x^2-18[/latex]. In other words, solving [latex]x^2-4=-x^2+14[/latex] is equivalent to finding the intersection of [latex]p(x)=2x^2-18[/latex] with the [latex]x[/latex]-axis, which is where the [latex]x[/latex]-intercepts lie. Figure 2 shows this graphically.
The zeros of [latex]p(x)=2x^2-18[/latex] are [latex]x=-3,\;3[/latex].
The [latex]x[/latex]-intercepts of the graph of [latex]p(x)=2x^2-18[/latex] are (–3, 0) and (3, 0).
The graphs of [latex]f(x)=2x^2-18[/latex] and [latex]g(x)=0[/latex] intersect at [latex]x=-3,\;3[/latex].
The solutions of the polynomial equation [latex]2x^2-18=0[/latex] are [latex]x=-3,\;3[/latex].
Do you see the relationship between zeros, intersection points, [latex]x[/latex]-intercepts, and solutions?
Example 3
Find the zeros of the polynomial function [latex]f(x)=x^3+2x^2-8x[/latex].
Solution
Finding the zeros is equivalent to solving the equation [latex]x^3+2x^2-8x=0[/latex].
Graphically, this is equivalent to finding where the function [latex]f(x)=x^3+2x^2-8x[/latex] intersects the [latex]x[/latex]-axis (the line [latex]g(x)=0[/latex]).
Using Desmos, we graph [latex]f(x)=x^3+2x^2-8x[/latex] and [latex]g(x)=0[/latex].
The curve intersects the horizontal line at (–4, 0), (0, 0) and (2, 0).
Consequently, the zeros of [latex]f(x)=x^3+2x^2-8x[/latex] are [latex]x=-4,\;0,\;2[/latex].
Try It 2
Use Desmos to find the zeros of the polynomial function [latex]f(x)=x^3-2x^2-3x[/latex].
Solving a Polynomial Equation
We now know what it means to solve a polynomial equation graphically, but what about solving the equation algebraically? Afterall, the intersection points of two curves will not always end up on integer values of [latex]x[/latex].
One way to solve a polynomial set equal to zero is to use the zero product property.
The Zero Product Property
Suppose we multiply two numbers together and get an answer of zero. What can you say about the two numbers? Could they be [latex]2[/latex] and [latex]5[/latex]? Could they be [latex]9[/latex] and [latex]–1[/latex]? No! The only way to get a product of zero, is to multiply by zero. So if a product equals zero, at least one of the factors must be zero. This idea is called the zero product property, and it is useful for solving polynomial equations that can be factored.
Zero Product property
The Zero Product Property states that if the product of two or more factors is [latex]0[/latex], then at least one of the factors must be [latex]0[/latex].
If [latex]ab=0[/latex], then either [latex]a=0[/latex] or [latex]b=0[/latex], or both [latex]a[/latex] and [latex]b=0[/latex].
Example 3
Solve the equation [latex]x(x-3)=0[/latex].
Solution
According to the zero product property,
[latex]x(x-3)=0[/latex] means [latex]x=0[/latex] or [latex]x-3=0[/latex]
If [latex]x-3=0[/latex], then [latex]x=3[/latex].
Answer
[latex]x=0,\;3[/latex]
Example 4
Solve the equation [latex](2x-5)(7x+6)(3x+4)=0[/latex].
Solution
[latex]\begin{aligned}(2x-5)(7x+6)(3x+4)&=0\\2x-5=0\;\;\text{ or }\;\;7x+6=0\;\;\text{ or }\;\;3x+4&=0\\2x=5\;\;\;\;\;7x=-6\;\;\;\;\;3x&=-4\\x=\dfrac{5}{2}\;\;\;\;\;x=-\dfrac{6}{7}\;\;\;\;\;x&=-\dfrac{4}{3}\end{aligned}[/latex]
Try It 3
Solve the equation:
1. [latex](x+1)(x-7)=0[/latex]
2. [latex]x(3x-5)=0[/latex]
3. [latex]-5x(3x+1)(2x-9)=0[/latex]
Using Factoring to Solve a Polynomial Equation
The zero product property makes it possible for us to solve factored polynomial equations. So, if the equation contains a polynomial that is not factored, the first thing we need to do is 1) simplify it so that it is equal to zero, and 2) factor.
Example 5
Solve the equation [latex]x^2-x-12=0[/latex].
Solution
The equation is already set equal to zero, so all we have to do is factor it, then use the zero product property to solve it:
[latex]\begin{aligned}x^2-x-12&=0\\(x-4)(x+3)&=0\\x-4=0\;\;\text{or}\;\;x+3&=0\\x=4\;\;\;\;\;\;\;\;\;\;\;\;\;x&=-3\end{aligned}[/latex]
Answer
[latex]x=4,\;-3[/latex]
Graphically, this means that the graph of the function [latex]f(x)=x^2-x-12[/latex] has [latex]x[/latex]-intercepts at (4, 0) and (–3, 0). See example 1.
The following video shows two more examples of using both factoring and the principle of zero products to solve a polynomial equation.
The next video shows that we can use previously learned methods to factor a trinomial in order to solve a polynomial equation.
What happens if we don’t have zero on one side of the equation? More often than not, we will start by simplifying the equation to get zero on one side.
Example 6
Solve: [latex]s^2-4s=5[/latex]
Solution
To solve a polynomial equation, we need to have a zero on one side of the equation so we can factor and use the zero product principle to solve the equation. So, we will start by subtracting 5 from both sides of the equation:
[latex]\begin{aligned}s^2-4s&=5\\s^2-4s-5&=0\\\end{aligned}[/latex]
We now have all the terms on the left side and zero on the right side. The polynomial [latex]s^2-4s-5[/latex] factors nicely which makes this equation a good candidate for the zero product principle.
[latex]\begin{aligned}s^2-4s-5&=0\\\left(s+1\right)\left(s-5\right)&=0\end{aligned}[/latex]
We separate our factors into two linear equations using the zero product property.
[latex](s-5)=0[/latex]
[latex]s-5=0[/latex]
[latex]s=5[/latex]
OR
[latex](s+1)=0[/latex]
[latex]s+1=0[/latex]
[latex]s=-1[/latex]
Therefore, [latex]s=-1\text{ OR }s=5[/latex].
Try It 4
Solve [latex]15x^2=16x+15[/latex].
Let’s work through one more example that is similar to the one above, except this example has fractions, yay!
Example 7
Solve [latex]y^2-5=-\dfrac{7}{2}y+\dfrac{5}{2}[/latex].
Solution
We can solve this equation by first multiplying the equation by a common denominator to get rid of the fractions. Start by multiplying the whole equation by [latex]2[/latex] to eliminate the fractions:
[latex]\begin{aligned}2\left(y^2-5\right)&=2\left(-\dfrac{7}{2}y+\dfrac{5}{2}\right)\\2y^2-10&=-7y+5\end{aligned}[/latex]
Now we can move all the terms to one side and see if the resulting polynomial will factor so we can use the zero product property:
[latex]\begin{aligned}2y^2-10&=-7y+5\\2y^2-10+7y-5&=0\\2y^2-15+7y&=0\\2y^2+7y-15&=0\end{aligned}[/latex]
We can now check whether this polynomial will factor. Using a table we can list factors until we find two numbers with a product of [latex]ac=2\cdot(-15)=-30[/latex] and a sum of [latex]b=7[/latex].
Factors of [latex]2\cdot-15=-30[/latex] | Sum of Factors |
---|---|
[latex]1,-30[/latex] | [latex]-29[/latex] |
[latex]-1,30[/latex] | [latex]29[/latex] |
[latex]2,-15[/latex] | [latex]-13[/latex] |
[latex]-2,15[/latex] | [latex]13[/latex] |
[latex]3,-10[/latex] | [latex]-7[/latex] |
[latex]-3,10[/latex] | [latex]7[/latex] |
[latex]10,-3[/latex] multiply to –30 and add to 7. We replace [latex]7y[/latex] with [latex]10y-3y[/latex] then factor by grouping:
[latex]\begin{aligned}2y^2+7y-15&=0\\ 2y^2+10y-3y-15&=0\\2y(y+5)-3(y+5)&=0\\(y+5)(2y-3)&=0\end{aligned}[/latex]
Now we can set each factor equal to zero and solve:
[latex]\begin{aligned}(2y-3)=0\;\;\;\text{ OR }\;\;\;\left(y+5\right)&=0\\2y=3\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;y&=-5\\y=\frac{3}{2}\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;y&=-5\end{aligned}[/latex]
Remember, we can always check to make sure our solutions are correct:
Check [latex]y=\frac{3}{2}[/latex]
[latex]\begin{array}{ccc}\left(\frac{3}{2}\right)^2-5=-\frac{7}{2}\left(\frac{3}{2}\right)+\frac{5}{2}\\\frac{9}{4}-5=-\frac{21}{4}+\frac{5}{2}\\\text{ common denominator = 4}\\\frac{9}{4}-\frac{20}{4}=-\frac{21}{4}+\frac{10}{4}\\-\frac{11}{4}=-\frac{11}{4}\end{array}[/latex]
[latex]y=\frac{3}{2}[/latex] is indeed a solution, now check [latex]y=-5[/latex]
[latex]\begin{array}{ccc}\left(-5\right)^2-5=-\frac{7}{2}\left(-5\right)+\frac{5}{2}\\25-5=\frac{35}{2}+\frac{5}{2}\\20=\frac{40}{2}\\20=20\end{array}[/latex]
[latex]y=-5[/latex] is also a solution, so we must have done something right!
Therefore, [latex]y=\frac{3}{2}\text{ OR }y=-5[/latex].
The next video shows how to solve another quadratic equation that contains fractions.
Try It 5
Solve [latex]\dfrac{1}{2}x^2+\dfrac{7}{6}x=1[/latex]
There are, of course, polynomial equations that do not factor; they are prime. But just because they are prime, does not mean that they do not intersect with the [latex]x[/latex]-axis. For example, the function [latex]f(x)=x^2-3x-1[/latex] is prime, yet it crosses the [latex]x[/latex]-axis at two points. This means that the equation [latex]x^2-3x-1=0[/latex] has two solutions (figure 3). We just can’t find them by factoring.
In addition, there are polynomial equations that have no solution. For example the function [latex]g(x)=x^2+2[/latex] never crosses the [latex]x[/latex]-axis, therefore there is no real solution of the equation [latex]x^2+2=0[/latex] (figure 4).
The techniques we have learned can be used to solve polynomial equations that factor, find zeros of functions, find intersection points of functions, and find [latex]x-intercepts[/latex].
Example 8
Find the [latex]x[/latex]-intercepts of the graph of the function [latex]f(x)=6x^2-11x-10[/latex].
Solution
We could do this graphically using Desmos, but we end up with fractional [latex]x[/latex]-values. So we will work the problem algebraically.
[latex]x[/latex]-intercepts are found when [latex]f(x)=0[/latex] so we need to solve the equation [latex]6x^2-11x-10 = 0[/latex]
To solve the equation for [latex]x[/latex] we can use factoring and the zero product property:
[latex]\begin{aligned}6x^2-11x-10 &= 0\\(2x-5)(3x+2)&=0\\2x-5=0\;\;\;\;\;\text{or}\;\;\;\;\;3x+2&=0\\x=\dfrac{5}{2}\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;x&=-\dfrac{2}{3}\end{aligned}[/latex]
Therefore, the [latex]x[/latex]-intercepts of the function [latex]f(x)=x^2-3x-10[/latex] are [latex]\left(\dfrac{5}{2}, 0\right)[/latex] and [latex]\left(–\dfrac{2}{3}, 0\right)[/latex].
Example 9
Determine the zeros of the function [latex]f(x)=4x^3-36x[/latex].
Solution
We need to solve the equation [latex]4x^3-36x=0[/latex].
We start by factoring then use the zero product property.
There is a common factor of [latex]4x[/latex]: [latex]4x^3-36x=4x(x^2-9)[/latex].
[latex]x^2-9[/latex] is the difference of two squares [latex]x^2-3^2=(x-3)(x+3)[/latex].
So,
[latex]\begin{aligned}4x^3-36x&=0\\4x(x-3)(x+3)&=0\\4x=0\;\;\;\text{or}\;\;\;x-3=0\;\;\;\text{or}\;\;\;x+3&=0\\x=0\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;x=3\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\,x&=-3\end{aligned}[/latex]
The zeros of [latex]f(x)=4x^3-36x[/latex] are [latex]x=0,\;3,\;-3[/latex]
Try It 6
Find the [latex]x[/latex]-intercepts of the graph of the function [latex]f(x)=15x^3+28x^2-32x[/latex]
Try It 7
Solve [latex](x-2)^2=(x-2)(x+5)[/latex].