2.2 Quadratic Functions and Graphs
A quadratic function is a second-degree polynomial function. The general form of a quadratic function is
When we graph quadratic functions, we could plot the points one by one. However, it is better to complete the square, which will produce the following form, called the vertex form:
This form will help us graph quadratic functions because it tells us important elements of the graph, which we will discuss later. We will first learn how to change the standard form of a quadratic function into vertex form.
Complete the Square and Vertex Form
Let’s start with learning how to complete the square of a quadratic function. Completing the square is the process of making a quadratic equation into a perfect square. That is, we want to rewrite in the form . In order to do so, we want to make the standard form function into
Here are the steps to complete the square and transform the standard form equation into vertex form:
Factor both and by the coefficient of .
Divide the coefficient of by 2.
Square the outcome of step 2.
Add “zero.”
Complete the square.
We will use the following example to illustrate the process of completing the square and transforming the equation into vertex form. Suppose we have a function such that
where means a function of .
To complete the square, we first need to factor by the coefficient of . In this example, the coefficient is 1. We can then move to the next step.
The second step is to divide the coefficient of by 2, which is -2.
The third step is to square the outcome of the second step. The square of -2 is 4.
In order to complete the square for , we need +4. However, to keep the equation the same, if we add +4, then we have to subtract -4 on the same side of the equation, which is the fourth step:
We can use parentheses to indicate the portion of the equation that can complete the square, and then any additional terms remain outside the parentheses as follows:
Then we can complete the square within the parentheses:
Notice that, in the equation on the second line, we added 4 to the function since we needed it to square the quadratic function, and then we subtracted 4 to cancel out the addition (this is equivalent to adding 0 to the function). The last line is the vertex form of the quadratic equation. Focusing on the part within the parentheses, in the third line, is added (adding -2 is equivalent to subtracting 2) to half of the coefficient of from the second line, and then the result is squared.
Let’s look at one more example. Suppose that we have the following quadratic function:
Since the coefficient of is 2, we will factor both the and terms by 2 to get
Next, since the coefficient of is 4, we divide it by 2 to get 2. Then, we square it to get 4. This means that we need a 4 to complete the square. So we will add “zero” to the equation by adding 4 and then subtracting 4 within the parentheses:
We want only in the parentheses, so we use the distributive property to multiply -4 by 2 and then add the result to the -3 ouside the parentheses. We can now complete the square:
Let’s try one more example to make sure we can complete the square. Suppose we have a quadratic function such that
Again, we will use the same steps:
Factor both and by the coefficient of .
Divide the coefficient of by 2.
Square the outcome of step 2.
Add “zero.”
Complete the square.
Quadratic Function Graph
It is important to remember that the graph of any quadratic function is a transformation of the graph of the function . Even though it may look complicated at first, let’s look at the general form of the quadratic function:
You may wonder why it is important to transform the equation to the vertex form. The vertex form of a quadratic function tells us some of the values we need to graph the function. For example, if , then:
The coefficient tells us which way the graph opens: If , the graph opens upward; if , the graph opens downward.
The constants and tell us the vertex of the graph. The vertex of the graph is (, ).
The vertical line that goes through is the parabola’s axis of symmetry, .
Recall what you have learned in previous math classes about graphing a quadratic function. The graph of a quadratic function is the shape of a parabola.
Pay attention to the sign of the value . If is negative, as shown below, then the vertex is (, ).
If is positive, as shown below, then the vertex is (, ).
Thus, the sign of x-coordinate of the vertex is the opposite of the sign of the value in the function, while the sign of y-coordinate of the vertex has same sign as the value in the function.
How can we find the x-intercepts and the y-intercept of a quadratic equation? To find the y-intercept, we plug 0 in for in the function and solve for . The result is the y-coordinate of the intercept (the x-coordinate of the intercept is 0). In order to find the x-intercepts, we need to learn how to find zeros. We will discuss finding zeros in next section.
Examples
Let’s go through some examples to master graphing quadratic functions.
Example 1
Graph the quadratic function . On the graph, specify the vertex and y-intercept.
First, we need to square the quadratic function.
The y-coordinate of the y-intercept is found as follows:
The graph of this function is shown below:
Example 2
Graph the quadratic function . On the graph, specify the vertex and y-intercept.
The y-coordinate of the y-intercept is found as follows:
The graph of this function is shown below:
Want to try our built-in assessments?
Use the Request Full Access button to gain access to this assessment.