Section 13.2 Equations of Quadaratic Functions
Example 13.11. Guiding Example.
Suppose \(f(x)=2(x+1)(x-3)\) and we want to find its roots. From Example 13.4, we know that we can set each part equal to 0 and solve. Of course, 2 is not equal to 0, so that doesn't give us any information about the roots. For the other two parts, we will move the numbers to the other side of the equal sign, to get \(x=-1,3\text{.}\)
Notice what happened in the example above:
The \(2\) multiplied out front didn't have anything to do with the roots.
The \((x+1)\) and \((x-3)\) told us exactly what the root are, but the signs are flipped because the roots come from setting those equal to 0
Those two key observations give us our strategy for working backwards: finding the equation when we are given the roots and some other information.
Definition 13.12.
If \(f(x)\) is a quadratic function with a root \(x=r\text{,}\) then it has a factor of \((x-r)\text{.}\)
Example 13.13.
Suppose \(f(x)\) has roots \(x=2,-5\text{.}\) Then the factors of \(f(x)\) are \((x-2)\) and \((x-(-5))=(x+5)\text{.}\)Once we know the factors, we have most of the information to build the full equation. However, we still need to figure out the number multiplied out front, like the \(2\) in the example at the start of this section. To do that, we will use the strategy we saw before with lines, like in Example 6.12.
Example 13.14.
Suppose \(f(x)\) is a quadratic function with roots \(x=-1,3\) and goes through the point \((5,-4)\text{.}\) Let's write the equation of that function.
We already know from the discussion above that \(f(x)\) has factors \((x+1)\) and \((x-3)\text{,}\) so our function looks like this so far:
We just need to figure out what \(A\) is. The other piece of information we are given is that it goes through the point \((5,-4)\text{,}\) so just like we did with linear functions, we will plug in \(x=5\) and \(y=-4\) and solve for the number we don't know.
Now we can plug that in to get our final answer:
Checkpoint 13.15.
Suppose \(f(x)\) is a quadratic function with roots \(x=-3,-2\) and \(y\)-intercept at \((0,12)\text{.}\) Write the equation for \(f(x)\text{.}\)Right away, we can see that \(f(x)\) has factors \((x+3)\) and \((x+2)\text{,}\) so our function looks like this so far:
We just need to figure out what \(A\) is. The other piece of information we are given is that it goes through the point \((0,12)\text{,}\) so we will plug in \(x=0\) and \(y=12\) and solve for the number we don't know.
Now we can plug that in to get our final answer:
Example 13.16.
Suppose \(f(x)\) is a quadratic function with one root at \(x=3\) and goes through the point \((1,20)\text{.}\) Let's write the equation of \(f(x)\text{.}\)
Since we know the root, we know the factor is \((x-3)\text{.}\) However, to be a quadratic function, we need to actually have two factors. Since this one has one root, both factors must be the same thing. So, our function looks like this:
From here, we follow the same strategy as before. We know the function goes through the point \((1,20)\text{,}\) so we can plug in \(x=1\) and \(y=20\) and solve for \(A\text{.}\)
Now we can plug that in to get our final answer:
Checkpoint 13.17.
Suppose \(f(x)\) is a quadratic function with one root at \(x=-2\) and goes through the point \((2,-2)\text{.}\) Write the equation for \(f(x)\text{.}\)Since we know the root, we know the factor is \((x+2)\text{.}\) However, to be a quadratic function, we need to actually have two factors. Since this one has one root, both factors must be the same thing. So, our function looks like this:
From here, we follow the same strategy as before. We know the function goes through the point \((2,-2)\text{,}\) so we can plug in \(x=2\) and \(y=-2\) and solve for \(A\text{.}\)
Now we can plug that in to get our final answer: