In this explainer, we will learn how to graph any quadratic function that is given in its standard and vertex forms using and studying its transformations.
Quadratic equations are used in everyday life, in science, business, and engineering. They can determine the paths of moving objects, from bouncing balls to the flight paths of bees. Business can use them to forecast revenues and design packaging to minimize waste. We can use quadratic equations to identify the minimum and maximum values of many different variables such as speed, cost, and area.
Definition: Quadratic Equation
A quadratic equation is an equation of the form where , , and are constants and .
It may also be written as where is a constant and is the vertex of the turning point.
When working with functions, we may see a function written as or . For example, could also be written as . The indicates the value that would be given as an output when a particular -value is input.
The graph of a quadratic function has a characteristic parabola shape. Depending on the value of in , the graph will have either a maximum or a minimum vertex (turning point). We can see how the equation below has a minimum vertex with the curve opening upward and the equation with a negative coefficient of , , has a maximum vertex with the curve opening downward.
A quadratic equation is a polynomial of order two, where the highest power of any of the variables is 2. If there are higher or fractional powers, then it is not a quadratic equation. So, for instance, the equation is a quadratic equation in , with values , , and . The equation is a quadratic in . However, an equation such as would not be a quadratic equation as it does not fit the form .
Let us look at some examples of how changing the coefficients and changes the appearance of the graph of a quadratic function.
We can begin by looking at the simplest example of a quadratic equation, , as below.
Here, the coefficient of is positive and the graph has a minimum vertex. We can see that the curve crosses through the point and is symmetrical about the -axis. We can see, in the right figure above, how changing the value of the constant translates the function vertically. The graph of crosses the -axis at , and the graph of crosses the -axis at . A quadratic function will always cross the -axis at .
Next, we will look at how changing , the coefficient of the -term, will change how a function appears. We can see some examples of this below with our function . Setting gives , which dilates the graph by a factor of 2, with the vertex of the function as the center of dilation. When , the function is dilated by a factor of 4, and when , there is a dilation of factor about the vertex, as we can see below. When we change the coefficient of in a quadratic, the vertex of the parabola is unchanged.
When , the graph is inverted. Below, we can see how and compare.
Next, we will look at how the vertex of an equation can be used to help us identify a quadratic equation in the form . As we can see below, the function has a vertex of . It is important to note that because there can be many different values for without changing the vertex, this means that there will be many different equations that have the same vertex. We can see in the second figure below that the equations , , and all have the same vertex of . If we are using the vertex of a parabola to derive its equation, we would need to use this in conjunction with other information such as the roots of the equation, the -intercept, and the coordinates on the curve in order to identify the correct equation.
We may see an equation written in a factored form, such as , factored as . This factored form is useful for identifying the coordinates where the equation crosses the -axis. When a graph crosses the -axis, we know that at these points the -coordinate must be equal to 0. In our example equation of , we could substitute and write .
Recall that, in any mathematical context, if we have two numbers and , which multiply giving , then we know that either or (or both) must equal 0.
Hence, if , then
Hence, the coordinates where the graph crosses the -axis are and . This process is called finding the roots of an equation.
How To: Identifying the Equation of a Quadratic Graph
- Check the shape of the parabola: the graph will have a maximum turning point if and a minimum turning point if .
- Identify where the parabola crosses the -axis: find when the equation is in the form .
- Identify the vertex of the turning point: find when the equation is in the form .
- Identify the roots of the equation in factored form to find the points at which the graph crosses the -axis.
- Recall that we can change between forms of an equation; for example, we can change into the form by expanding the brackets and collecting terms.
Let us now look at some examples of how we can use the information shown in a graph to identify its equation.
Example 1: Identifying the Equation of a Quadratic Graph
Which of the following equations represents the graph shown?
Answer
We can begin answering this by eliminating the equations that do not fit the shape of the parabola. Using the form to find the -intercept , we can see that equation C, , has a -intercept of , which does not fit the graph. Equation D would have a -intercept of , which also does not fit the graph.
Equation B is a factored form of the general equation , and we can expand the brackets of to give . Therefore, as the constant value is 0, we know that the -intercept here would be . This does not fit the graph.
Recall that we can find the vertex from the form . This means that equation A, , has a vertex of and equation E has a vertex of . Hence, the graph shown has the equation A, .
Example 2: Identifying the Equation of a Quadratic Graph
Which of the following graphs represents the equation ?
Answer
Since the graph of an equation will cross the -axis at , we know that our equation, , will cross the -axis at .
As the coefficient of our -term is a positive value of 1, this means that the graph of the function will have a minimum vertex with the curve upward.
Inspecting the graphs, we can see that the functions A and C both have these characteristics. One method of determining if an equation fits a given parabola is to select a coordinate on the parabola and check if the input, , gives a valid output of .
Looking at the graph in A, we can see that the coordinate lies on the parabola. So, for our function, , if , then this equation would fit the parabola.
Substituting into our equation gives
Since the coordinate lies on parabola A and does not lie on parabola C, we can give graph A as our final answer since it is the only graph with all of the properties above.
Alternatively, we could choose a coordinate on parabola C, such as , and check if for the function . Here, we would have
Therefore, since , graph C is not the graph of the function . Graph A is the final answer.
We will now look at some examples and work through the solution to derive the equation given the shape of the parabola.
Example 3: Finding the Equation of a Quadratic Graph
Write the quadratic equation represented by the graph shown.
Answer
Recall that a quadratic can be written in the vertex form , where the vertex is at . We can see that the vertex of the graph shown is at . Therefore, we can substitute and into the general form of the equation, giving us
To find the value of in the equation, we can select any coordinate on the parabola and substitute these - and -values into the equation. It is helpful to select a coordinate that has clear integer values.
We can see that the coordinate lies on the parabola, so, substituting and into , we have
Since , we have and we can substitute this into to give our answer for the equation:
Example 4: Finding the Equation of a Quadratic Graph
Write the quadratic equation represented by the graph shown. Give your answer in factored form.
Answer
In this approach, let us begin by examining the graph. We can see that the coordinates where the graph crosses the -axis are and , giving us the roots and 4 for the equation. An equation of a function with these roots would be . However, it is important to note that there are many functions that also have these roots; for example, .
If we expand the brackets in the equation , we get the equation . Recall that, in this form of a quadratic equation, , we can find the -intercept as . This would fit with the graph and is sufficient to allow us to give as our answer.
As an alternative method, we can use the vertex of our graph to help identify its equation. Recall that a function has a vertex at . In this graph, we see that the vertex is at which gives an equation . In order to find the value of , we select a coordinate on the graph and substitute in the - and -values.
Selecting the coordinate , we substitute and into the equation , giving
Evaluating gives us
We can now add 9 to both sides to isolate , giving us
Therefore, , and we have
As we need an answer in factored form, we expand the brackets of this equation giving us
Factoring this, we get the final answer: .
In the next example, we will look at a question regarding the roots of an equation. It can often be helpful to sketch a coordinate graph and mark key coordinates, remembering that the parabola shape of a quadratic function can be an upward or a downward curve.
Example 5: Finding the Roots of a Quadratic Graph
Given that the point is the vertex of the graph of the quadratic function and 6 is a root of the equation , find the other root of the equation.
Answer
Recall that a function of the form has the vertex . As we are given that the function has a vertex , we can substitute and to give us
We can evaluate as
Evaluating , we have
As 6 is a root of the equation, , therefore
As , we now have the equation .
To find the other root, we find all values of when . Therefore, we can substitute into , giving us
Adding 4 to both sides gives us
Taking the square root of both sides,
When taking square roots, we need to consider both the positive and the negative values, so we have
We can now add 4 to both sides to isolate :
Therefore, our solutions for would be or . As we were given the root 6, we can say that the other root of the equation is 2.
Key Points
- Using the forms of the quadratic equation, and , we can identify features of the graph.
- In the form , we can identify
- if the curve opens upward (when ) or downward (when ),
- the -intercept, at ,
- the roots of the equation, by factoring the equation.
- In the form , we can identify
- if the curve opens upward (when ) or downward (when ),
- the vertex of the equation, at .
- Remember that we can change a quadratic equation in vertex form to a quadratic in the general form by expanding the brackets.
- To write the equation of a quadratic given the graph of its function, we may need to use both of these forms. Additionally, we may need to substitute coordinates into the equation to confirm the equation or to find the value of in vertex form.
- It is helpful to use graphing software, such as a graphical calculator, to input some quadratic equations and notice how the graph changes depending on the values.