In this explainer, we will learn how to find the set of zeros of a quadratic, cubic, or higher-degree polynomial function.
Polynomial functions appear all throughout science and in many real-world applications. For example, a ball thrown in the air will follow a parabolic arc that can be modeled by a quadratic equation. In particular, the height of the ball from the ground will be a quadratic function. Therefore, if we want to determine how long it would take the ball to hit the ground, we will need to find the values where a quadratic function is equal to zero.
The input values of where a function outputs zero are called the zeros (or roots) of the function, and we can write this more formally as follows.
Definition: Zeros or Roots of a Function
If , then we say that is a zero (or root) of the function .
For example, for the function , we can see that so is a root of this function.
There are a few methods of finding the roots of a function. For example, since we are looking for the values of where , we can sketch the graph , and then the points on the curve where the output is zero are the roots; these will be the -intercepts. To see this, consider the following graph of .
From the graph, we can see that , , and ; these are the roots of the function. Since there can be multiple roots of a function, we usually write them in a set called the set of roots of the function; in this case, the set of roots of is .
Not all functions have zeros. Consider the function . In this function, every output is always 1, so no input can ever give us 0. In fact, the constant function of the form will only have zeros if . When a function does not have any zeros, we can say the set of zeros is .
There are pros and cons for finding the zeros of a function graphically versus algebraically. In this explainer, we will focus on finding algebraic roots of polynomials since these will give us exact values for the roots.
We can find the zeros of polynomials by factoring. For example, consider the function . We can factor this by finding a pair of numbers that multiply to give 6 and add to give 5; we see that and . Hence,
Therefore, the zeros of the function are the solutions of the equation
On the left-hand side of this equation, we have a product that must be equal to zero. We note that for a product to be equal to zero, one of the factors must be equal to zero. Hence, either
We can solve both of these equations separately to get and as the zeros of the function. It is worth noting that we could have used the quadratic formula to find the roots of the equation, but we can only use this when we have a quadratic function.
We recall that we can factor some higher-order polynomials by grouping. For example, in the function , we can factor the first two terms to get and the last two terms to get . Since these share a factor, we can take this out of the expression to get
We can factor by using the difference between squares, which we recall states that we can factor a difference of squares as follows: . This gives
Therefore, the zeros of this function are the solutions to the equation
Solving each factor to be equal to zero, we get as the zeros of the function.
Letβs see some examples of applying these techniques to determine the zeros of polynomials. We will start with a linear function.
Example 1: Finding the Zeros of a Linear Function
Find the set of zeros of the function .
Answer
We recall that is a zero of the function if . Therefore, to find the zeros for this function, we need to solve the equation
This is the equation
Multiplying through by 3 gives
We then add 4 to both sides of the equation
We see that the only zero of the function is 4. Hence, the set of zeros of the function is .
In our second example, we will determine the zeros of a quadratic function by factoring.
Example 2: Finding the Zeros of a Monic Quadratic Function by Factoring
Find, by factoring, the zeros of the function .
Answer
We recall that the zeros of a function are the input values such that . Therefore, to find the zeros of the given quadratic, we need to solve the equation
There are several different methods of doing this. For example, we can use the quadratic formula. However, we will fully factor the quadratic. Recall that to factor a quadratic , we need to find two numbers that multiply to give and add to give . In our case, we have and . We can list the possible factor pairs of :
35 | |
7 | |
5 | |
1 |
Of these, we see that . We can use these to rewrite the term in the quadratic as
Using this to rewrite the equation gives us
We can then factor the first two terms and last two terms separately:
We then take out the shared factor of to get
For the product of two numbers to be equal to zero, one of the factors must be equal to zero. Hence, either or . We can solve each equation separately.
First,
We subtract 7 from both sides of the equation to get
Second,
We add 5 to both sides of the equation to get
Therefore, the zeros of the quadratic are and 5.
It is worth noting that we can verify if a number is a zero of a polynomial by substituting it back into the function and evaluating. For example, in the previous example we found that the zeros of are and . We can verify both of these zeroes by evaluating and . We have
Since the function outputs zero at these values of , we have confirmed they are zeros of the function. This is a useful check to make sure that our answers are correct.
In our next example, we will find the roots of a nonmonic quadratic by factoring.
Example 3: Finding the Zeros of a Nonmonic Quadratic Function by Factoring
Find, by factoring, the zeros of the function .
Answer
We recall that we say is a zero of when . Therefore, to find the zeros for this function, we need to solve the equation
We could do this by using the quadratic formula; however, we will use the grouping method. We recall that to factor a quadratic , we need to find a factor pair of that add to give . In this quadratic, we have , , and , so we need to find a pair of numbers that multiple to give and add to give 9. We notice that
To apply the grouping method to factor this quadratic, we use these two numbers to rewrite the second term in the quadratic as follows:
Hence, we can rewrite the quadratic equation as
We then factor the first two terms and second two terms separately:
We can take out the shared factor of :
For a product to be equal to zero, one of the factors must be equal to zero. Hence, either
We can solve each equation separately. First,
We add 5 to both sides of the equation to get then, we divide through by 3, which gives us
Second,
We subtract 8 from both sides of the equation to get then, we divide through by 3, which gives us
Therefore, the zeros of the function are and .
Thus far, we have only found the zeros of polynomials of degree 2 or less. In the remaining examples, we will find the zeros of polynomials of degree 3 or more.
Example 4: Finding the Zeros of a Quartic by Factoring
Find the set of zeros of the function .
Answer
We recall that the zeros or roots of a function are the input values that cause the function to output zero. Therefore, to find the zeros of we need to solve the equation ; this is the equation
We can solve this equation by factoring. We note that both terms share a factor of ; taking out this factor gives
If we then take out a factor of , we have
We can factor further by recalling the difference between squares result, which states that
Applying this with gives
We can then rewrite the equation:
Since , this is now the product of linear factors, so we cannot factor any further. We can now find the zeros of the equation by recalling that if a product is equal to zero, then one of the factors must be equal to zero. We can solve each of the factors being equal to zero separately. First,
We divide through by :
Then, we take the square root of both sides of the equation, noting that zero is the only root:
Second,
We add 5 to both sides of the equation:
Third,
We subtract 5 from both sides of the equation, which gives us the final zero of the function:
It is worth noting that since we were not asked to factor the polynomial fully, we could have found the values of that make each factor in the expression equal to zero directly. We would then have which we can solve by taking the square root of both sides of the equation, where we remember we will get a positive and a negative square root:
Similarly, we have
Writing these as a set gives us that the set of zeros of this function is .
Example 5: Finding the Zeros of a Partially Factored Cubic Function
Find the set of zeros of the function .
Answer
We recall that is a zero of the function if . Therefore, to find the zeros for this function, we need to solve the equation
This is the equation
Since both terms on the left-hand side of this equation share a factor of , we will do this by factoring. Taking out the shared factor, we have
We can factor this further by recalling that the difference between squares tells us that for any constant , . Setting , we have . Therefore, we can rewrite the equation as
Since this is three linear factors, we have factored the expression fully. For a product to be equal to zero, one of the factors must be equal to zero. Hence, we have
We can solve each equation separately. First,
We add 9 to both sides of the equation to get
Second,
We subtract 9 from both sides of the equation, which gives us
Third,
We add 2 to both sides of the equation to get
Therefore, we have three solutions: , , or 2.
It is worth noting that since we were not asked to factor the polynomial fully, we could have found the values of that make each factor in the expression equal to zero directly. We would then have which we can solve by taking the square root of both sides of the equation, where we remember we will get a positive and a negative square root:
Similarly, we have
These are the zeros of the function. Writing these in a set, we have that the set of zeros of is .
In our next example, we will determine the value of a constant using the sets of zeros of two polynomial functions.
Example 6: Finding an Unknown Coefficient in a Quadratic and a Linear Function Given That They Have an Equal Set of Zeros
The function and the function have the same set of zeros. Find and the set of zeros.
Answer
We recall that the set of zeros of a function is the set containing all values such that . We see that is a linear function; we can determine its set of zeros by solving the equation . We have
Subtracting 9 from both sides gives
We want to divide through by , but we can only do this if is nonzero. Note that if , then . Thus, would be a constant function and have no zeros. However,
We can see that this has a zero by solving
Since and must have the same set of zeros, we can conclude that must be nonzero. We can now divide both sides of the linear equation by :
Since is a linear function, this is its only root. We can also conclude that must have a repeated root of . We know that , so letβs substitute into :
We can evaluate to get
We can now solve for ; we add to both sides of the equation to get
We then multiply both sides of the equation by to get
Finally, we divide the equation through by 162 and evaluate to get
We have shown that these functions have a single zero at , so we can find this zero by substituting . We get .
Hence, and the set of zeroes of both functions is .
In our final example, we will use factoring by grouping to determine the set of zeros of a cubic polynomial.
Example 7: Finding the Set of Zeros of a Cubic Function
Find the set of zeros of the function , where all three zeros take integer values.
Answer
Recall that is a zero of the function if . To find the zeros of a function, we need to solve the equation
Therefore, in this question, we need to solve the equation
Observe that is a cubic function, and recall that we can factor some higher-order polynomials by grouping. Since we are told that all three zeros of this cubic polynomial take integer values, then there is a chance we might be able to spot a pattern among the terms so that we can group them.
In fact, we can factor the first two terms to get and the last two terms to get . As these two expressions have a common factor of , we can take out this factor to get
Next, notice that is of the form , which we recall is known as a difference of two squares and can be factored by using the formula . This gives
We can now find the zeros of the original function, which are the solutions to the equation
Setting each factor equal to zero, we get , , and 4 as the zeros of the function. Writing these values in a set, we have that the set of zeros of is .
Letβs finish by recapping some of the important points of this explainer.
Key Points
- The zeros or roots of a polynomial are the values such that .
- If is a polynomial and , then is a factor of . The same statement is true in reverse: if is a factor of the polynomial , then .
- We can verify that is a zero of a given polynomial by checking that . This can be a useful check to make sure that a number is a zero of the polynomial.
- There are many techniques we can use to help us determine the roots of polynomials including the quadratic formula and factoring by grouping.