Suppose p(m)=112m2−m+5 represents the price of a gallon of gas as a function of the month of the year. Are you able to graph this function? What shape does the graph of the function make? What are the domain and range of the function? What is the vertex of the graph? In this Concept, you'll learn about quadratic functions and their graphs so that you can answer questions like these.
Previous Concepts introduced the concept of factoring quadratic trinomials of the form 0=ax2+bx+c. This is also called the standard form for a quadratic equation. The most basic quadratic equation is y=x2. The word quadratic comes from the Latin word quadrare, meaning “to square.” By creating a table of values and graphing the ordered pairs, you find that a quadratic equation makes a U-shaped figure called a parabola.
Graph the most basic quadratic equation, y=x2, using the following table of its values:
By graphing the points in the table, you can see that the shape is approximately like the graph below. This shape is called a parabola.
The Anatomy of a Parabola
A parabola can be divided in half by a vertical line. Because of this, parabolas have symmetry. The vertical line dividing the parabola into two equal portions is called the line of symmetry. All parabolas have a vertex, the ordered pair that represents the bottom (or the top) of the curve.
The vertex of a parabola is the ordered pair (h,k).
Because the line of symmetry is a vertical line, its equation has the form x=h, where h= the x−coordinate of the vertex.
As with linear equations, the x-intercepts of a quadratic function are where the graph intersects the x-axis. The y-value is zero at the x-intercepts.
An equation of the form y=ax2 forms a parabola.
If a is positive, the parabola will open upward. The vertex will be a minimum.
If a is negative, the parabola will open downward. The vertex will be a maximum.
The variable a in the equation above is called the leading coefficient of the quadratic equation. Not only will it tell you if the parabola opens up or down, but it will also tell you the width.
If a>1 or a<−1, the parabola will be narrow about the line of symmetry.
If −1<a<1, the parabola will be wide about the line of symmetry.
Find the x-intercepts of the quadratic function y=x2+5x−6.
To find the x-intercepts, set y equal to zero and solve for x by factoring.
This means that
0=x+6⇒x=−6 or 0=x−1⇒x=1.
Thus the x-intercepts are -6 and 1.
Finding the Vertex of a Quadratic Equation in Standard Form
The x−coordinate of the vertex of 0=ax2+bx+c is x=−b2a.
Determine the direction, shape and vertex of the parabola formed by y=−12x2.
The value of a in the quadratic equation is −12.
- Because a is negative, the parabola opens downward.
- Because a is between –1 and 1, the parabola is wide about its line of symmetry.
- Because there is no b term, b=0. Substituting this into the equation for the x-coordinate of the vertex, x=−b2a=−02a=0. (Note: It does not matter what a equals; since b=0, the fraction equals zero.) To find the y-coordinate, substitute the x-coordinate into the equation:
The vertex is (0,0).
Domain and Range
Several times throughout this textbook, you have experienced the terms domain and range. Remember:
- Domain is the set of all inputs (x−coordinates).
- Range is the set of all outputs (y−coordinates).
The domain of every quadratic equation is all real numbers (R). The range of a parabola depends upon whether the parabola opens up or down.
If a is positive, the range will be y≥k.
If a is negative, the range will be y≤k, where k=the y−coordinate of the vertex.
Find the range of the quadratic function y=−2x2+16x+5.
To find the range, we must find the y-value of the vertex. Using the formula given above, we can find the x-value of the vertex, and use that to find the y-value of the vertex.
Since the x-value of the vertex is x=−b2a, we get x=−162⋅−2=4.
Now, substitute 4 into the function:
The y-value of the vertex is -3, and since a=−2, the parabola is facing down, so -3 is the highest possible value for the range.
Thus, the range is y≤−3.
Determine the direction, vertex and range of y=7x2+14x−9.
Since a=7 is positive, the direction of the parabola is upward. Now we find the vertex:
Now, substitute x=−1 into the quadratic function:
Thus, the vertex is (-1, -16).
Since the parabola faces up, and the y-value of the vertex is -16, the range is y≥−16.
Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Graphs of Quadratic Functions (16:05)
- Define the following terms in your own words.
- Line of symmetry
- Without graphing, how can you tell if y=ax2+bx+c opens up or down?
Graph the following equations by making a table. Let −3≤x≤3. Determine the range of each equation.
Does the graph of the parabola open up or down?
Find the x−coordinate of the vertex of the following equations.
Graph the following functions by making a table of values. Use the vertex and x−intercepts to help you pick values for the table.