Quadratic Functions: Three Forms
In this lesson
- Read what each form of a quadratic function shows: the \( y \)-intercept, the vertex, the zeros.
- Find the vertex from the standard form: \( x_0 = -\frac{b}{2a} \) and \( y_0 = -\frac{D}{4a} \).
- Switch between the forms, including completing the square when \( a \ne 1 \).
- Choose the form that answers the question, and find an equation from a graph.
- Interpret the vertex, the zeros, and the \( y \)-intercept in word problems.
1. Standard form
A quadratic function can be written in three forms. Throughout this lesson we use one function, written all three ways:
\[ f(x) = -2x^2 + 12x - 10 \]
\[ f(x) = -2(x - 3)^2 + 8 \]
\[ f(x) = -2(x - 1)(x - 5) \]
All three describe the same parabola (Figure 1). Note that the leading coefficient \( a = -2 \) is the same in every form. Each form shows a different point of the graph at a glance.
Reading \( ax^2 + bx + c \)
The sign of \( a \): for \( a > 0 \) the parabola opens upward, for \( a < 0 \) downward.
The constant \( c \) is the \( y \)-intercept: \( f(0) = c \), the point \( (0, c) \).
The vertex is at \( x_0 = -\frac{b}{2a} \), and \( y_0 = -\frac{D}{4a} \), where \( D = b^2 - 4ac \).
You can also find \( y_0 \) by substitution, \( y_0 = f(x_0) \). With numbers this is often faster; \( -\frac{D}{4a} \) is useful when the coefficients are letters.
Example: the vertex from the standard form
For \( f(x) = -2x^2 + 12x - 10 \): \( a = -2 < 0 \), so the parabola opens downward. The \( y \)-intercept is \( (0, -10) \).
\( x_0 = -\frac{12}{2 \cdot (-2)} = 3 \). Then \( D = 12^2 - 4 \cdot (-2) \cdot (-10) \), that is, \( D = 144 - 80 = 64 \).
\[ y_0 = -\frac{64}{4 \cdot (-2)} = 8 \]
Check by substitution: \( f(3) = -18 + 36 - 10 = 8 \). The vertex is \( (3, 8) \).
Practice
The height \( h \), in feet, of a ball \( t \) seconds after it is thrown upward is modeled by \( h(t) = -16t^2 + 48t + 6 \). What is the best interpretation of 6 in this context?
A) The height of the ball, in feet, at the moment it was thrown
B) The maximum height of the ball, in feet
C) The number of seconds the ball is in the air
D) The number of seconds it takes the ball to reach its maximum height
The constant term is the value of the function at \( t = 0 \): \( h(0) = 6 \).
\( t = 0 \) is the moment the ball is thrown, so 6 feet is its starting height. Choice A.
The maximum height is not 6: it is reached at the vertex, \( t = \frac{48}{32} = 1.5 \), and \( h(1.5) = 42 \) feet.
2. Vertex form
Reading \( a(x - h)^2 + k \)
The vertex is \( (h, k) \), and the axis of symmetry is the line \( x = h \).
For \( a > 0 \), \( k \) is the minimum value of the function; for \( a < 0 \), \( k \) is the maximum value.
Watch the sign: \( (x + 3)^2 = (x - (-3))^2 \), so \( h = -3 \).
Examples
\( f(x) = -2(x - 3)^2 + 8 \): the vertex is \( (3, 8) \). Since \( a = -2 < 0 \), the maximum value of \( f \) is \( 8 \), reached at \( x = 3 \).
\( g(x) = 5(x + 1)^2 - 7 \): the vertex is \( (-1, -7) \). Since \( a = 5 > 0 \), the minimum value of \( g \) is \( -7 \).
Practice
What is the vertex of the graph of \( f(x) = 2(x - 3)^2 + 5 \) in the \( xy \)-plane?
A) \( (-3, 5) \)
B) \( (3, 5) \)
C) \( (3, -5) \)
D) \( (-3, -5) \)
In vertex form \( f(x) = a(x - h)^2 + k \), the vertex is \( (h, k) \).
Here \( h = 3 \) and \( k = 5 \). Watch the sign: \( (x - 3) \) means \( h = 3 \), not \( -3 \).
The vertex is \( (3, 5) \). Choice B.
3. Factored form
Reading \( a(x - p)(x - q) \)
The zeros are \( p \) and \( q \): the graph crosses the \( x \)-axis at \( (p, 0) \) and \( (q, 0) \).
The axis of symmetry is halfway between the zeros: \( x = \frac{p + q}{2} \). The value at the vertex comes from substitution.
Watch a coefficient inside the factor: \( (2x - 3) = 0 \) gives \( x = \frac{3}{2} \), not \( 3 \).
Example
\( f(x) = -2(x - 1)(x - 5) \): the zeros are \( 1 \) and \( 5 \), and the axis of symmetry is \( x = \frac{1 + 5}{2} = 3 \).
\[ f(3) = -2 \cdot 2 \cdot (-2) = 8 \]
So the vertex is \( (3, 8) \), the same point we found in sections 1 and 2.
Practice
The function \( f \) is defined by \( f(x) = (x - 1)(x - 7) \). What is the minimum value of \( f \)?
The zeros of \( f \) are \( 1 \) and \( 7 \). The axis of symmetry is halfway between them: \( x = \frac{1 + 7}{2} = 4 \).
The parabola opens upward (\( a = 1 > 0 \)), so the vertex gives the minimum:\[ f(4) = (4 - 1)(4 - 7) = -9 \]
4. Switching between forms
Three conversions
To the standard form: expand the brackets. For example, \( -2(x - 1)(x - 5) \) becomes \( -2(x^2 - 6x + 5) \), which is \( -2x^2 + 12x - 10 \).
To the factored form: factor. Take out \( a \) first: \( -2x^2 + 12x - 10 \) becomes \( -2(x^2 - 6x + 5) \), and \( x^2 - 6x + 5 = (x - 1)(x - 5) \).
To the vertex form: complete the square, as shown below.
Completing the square, \( a = 1 \)
Write \( x^2 + 4x - 1 \) in vertex form. Half of \( 4 \) is \( 2 \), and \( (x + 2)^2 = x^2 + 4x + 4 \). So add and subtract \( 4 \):
\[ x^2 + 4x - 1 = (x^2 + 4x + 4) - 5 \]
\[ x^2 + 4x - 1 = (x + 2)^2 - 5 \]
The vertex is \( (-2, -5) \).
Completing the square, \( a \ne 1 \)
Write \( -2x^2 + 12x - 10 \) in vertex form.
Step 1. Take \( a = -2 \) out of the \( x \)-terms only: \( -2(x^2 - 6x) - 10 \).
Step 2. Complete the square inside the brackets: \( x^2 - 6x + 9 = (x - 3)^2 \). We added \( 9 \) inside the brackets, which adds \( -2 \cdot 9 = -18 \) to the function, so add \( 18 \) outside:
\[ -2(x^2 - 6x + 9) + 18 - 10 \]
Step 3. Fold the square: \( -2(x - 3)^2 + 8 \). The vertex is \( (3, 8) \).
Which form shows what
The table sums up what each form shows and how to get it.
| Form | Shows at a glance | How to get it |
|---|---|---|
| \( ax^2 + bx + c \) | \( y \)-intercept \( (0, c) \) | expand the brackets |
| \( a(x - h)^2 + k \) | vertex \( (h, k) \), minimum or maximum \( k \) | complete the square |
| \( a(x - p)(x - q) \) | zeros \( p \) and \( q \) | factor |
Which form displays it?
A typical SAT question gives several equivalent forms and asks which one displays some value "as a constant or coefficient". Choose the form by the value:
the minimum, the maximum, or the vertex: the vertex form;
the zeros (the \( x \)-intercepts): the factored form;
the \( y \)-intercept: the standard form.
Practice
The function \( f \) is defined by \( f(x) = x^2 + 6x - 7 \). Which of the following equivalent forms of \( f(x) \) displays the minimum value of \( f \) as a constant or coefficient?
A) \( x(x + 6) - 7 \)
B) \( (x + 7)(x - 1) \)
C) \( x^2 + 6x - 7 \)
D) \( (x + 3)^2 - 16 \)
The vertex form \( a(x - h)^2 + k \) shows the minimum (for \( a > 0 \)) as the constant \( k \).
Expand: \( (x + 3)^2 = x^2 + 6x + 9 \), so \( (x + 3)^2 - 16 = x^2 + 6x - 7 \). This form is equivalent, and the minimum value \( -16 \) appears in it directly. Choice D.
Choice B shows the zeros \( -7 \) and \( 1 \), and choice C shows the \( y \)-intercept \( -7 \).
5. From a graph to an equation
Choose the form by what you see
If the graph shows the vertex \( (h, k) \), start with \( y = a(x - h)^2 + k \).
If the graph shows the zeros \( p \) and \( q \), start with \( y = a(x - p)(x - q) \).
Then find \( a \) from one more point of the graph.
Example: the zeros are known
The zeros are \( -4 \) and \( 2 \), so \( y = a(x + 4)(x - 2) \).
The point \( (0, -4) \): \( a \cdot 4 \cdot (-2) = -8a = -4 \), so \( a = \frac{1}{2} \).
\[ y = \tfrac{1}{2}(x + 4)(x - 2) \]
Example: the vertex is known
The vertex is \( (2, -3) \), and the graph passes through \( (4, 5) \). Start with \( y = a(x - 2)^2 - 3 \).
The point \( (4, 5) \): \( a \cdot 2^2 - 3 = 5 \), so \( 4a = 8 \) and \( a = 2 \).
\[ y = 2(x - 2)^2 - 3 \]
Practice
The graph of \( y = f(x) \) is shown. Which equation could define \( f \)?
A) \( y = (x + 2)(x - 4) \)
B) \( y = (x - 2)(x + 4) \)
C) \( y = 2(x + 2)(x - 4) \)
D) \( y = -(x + 2)(x - 4) \)
The graph crosses the \( x \)-axis at \( x = -2 \) and \( x = 4 \), so \( y = a(x + 2)(x - 4) \). This rules out B (zeros \( 2 \) and \( -4 \)).
The graph passes through \( (0, -8) \): \( a(0 + 2)(0 - 4) = -8a = -8 \), so \( a = 1 \).
Choice A. (Choice C gives \( -16 \) at \( x = 0 \), and choice D gives \( 8 \).)
6. Word problems
One model, three answers
A ball is thrown upward from a roof. Its height \( h \), in feet, \( t \) seconds after it is thrown is
\[ h(t) = -16t^2 + 32t + 48 \]
The same function in the other two forms:
\[ h(t) = -16(t - 1)^2 + 64 \]
\[ h(t) = -16(t - 3)(t + 1) \]
Each form answers its own question. The standard form: the starting height is \( h(0) = 48 \) feet. The vertex form: the maximum height is \( 64 \) feet, reached at \( t = 1 \). The factored form: \( h = 0 \) at \( t = 3 \), so the ball hits the ground after 3 seconds. The other zero, \( t = -1 \), makes no sense here: time starts at \( t = 0 \).
What the numbers mean
The \( y \)-intercept is the starting value (at \( t = 0 \)).
The vertex gives the maximum or minimum and the moment it is reached.
A zero is the moment the quantity becomes 0, for example when a ball hits the ground. Ignore zeros that make no sense in the context.
If an area or a revenue is a product like \( x(60 - x) \), its maximum is halfway between the zeros.
Practice
A ball is thrown upward. Its height \( h \), in feet, \( t \) seconds after it is thrown is given by \( h(t) = -16t^2 + 64t + 5 \). What is the maximum height of the ball, in feet?
A) \( 2 \)
B) \( 5 \)
C) \( 64 \)
D) \( 69 \)
Since \( a = -16 < 0 \), the parabola opens downward, and the maximum is at the vertex.
\( t = -\frac{b}{2a} = -\frac{64}{2 \cdot (-16)} = 2 \)\[ h(2) = -16 \cdot 4 + 64 \cdot 2 + 5 = 69 \]Choice D. (\( 2 \) is the time when the maximum is reached, not the height.)
On Your Own
The function \( f \) is defined by \( f(x) = (x + 4)(x - 2) \). What are the zeros of \( f \)?
A) \( 4 \) and \( -2 \)
B) \( -4 \) and \( -2 \)
C) \( -4 \) and \( 2 \)
D) \( 4 \) and \( 2 \)
Which of the following is equivalent to \( x^2 - 8x + 21 \)?
A) \( (x - 8)^2 + 21 \)
B) \( (x + 4)^2 + 5 \)
C) \( (x - 4)^2 + 5 \)
D) \( (x - 4)^2 + 21 \)
The function \( f \) is defined by \( f(x) = (2x - 3)(x + 5) \). What is the sum of the zeros of \( f \)?
The function \( f \) is defined by \( f(x) = a(x - 1)^2 - 8 \), where \( a \) is a constant. If \( f(3) = 4 \), what is the value of \( a \)?
A) \( 2 \)
B) \( 3 \)
C) \( 6 \)
D) \( 12 \)
The function \( f(x) = ax^2 + bx + c \), where \( a \), \( b \), and \( c \) are constants, has its vertex at \( (-2, 5) \). The graph of \( f \) passes through the point \( (0, -3) \). What is the value of \( a + b + c \)?