Sub topic 13
Application: Vertex Form of a Quadratic
Assume you know function notation, the graph of \(y=x^2\), and how transformations affect domain and range. This chapter applies those ideas to quadratic functions written in vertex form.
From the parent function to vertex form
The parent quadratic function is
\[ f(x)=x^2. \]
Its graph is a parabola with vertex \((0,0)\), opening upward. A transformed quadratic can be written as
\[ y=a(x-h)^2+k. \]
This is called vertex form. The vertex is \((h,k)\), and the value of \(a\) controls the direction and width of the parabola.
The form matches the general transformation
\[ g(x)=a f(b(x-h))+k. \]
For a quadratic with no separate horizontal scale factor, \(b=1\), so
\[ g(x)=a f(x-h)+k=a(x-h)^2+k. \]
| Feature | Effect in \(y=a(x-h)^2+k\) | Column | Column |
|---|---|---|---|
| \(h\) | Moves the vertex right if positive and left if negative | ||
| \(k\) | Moves the vertex up if positive and down if negative | ||
| \(a>0\) | Parabola opens upward | ||
| \(a<0\) | Parabola opens downward | ||
| \( | a | >1\) | Vertical stretch; the parabola is narrower |
| \(0< | a | <1\) | Vertical compression; the parabola is wider |
Reading a quadratic from its equation
Consider
\[ y=-2(x-3)^2+1. \]
Start with \(y=x^2\).
- The expression \(x-3\) shifts the graph 3 units right.
- Multiplication by \(-2\) reflects the graph across the x-axis and stretches it vertically by a factor of 2.
- Adding 1 shifts the graph 1 unit up.
Therefore, the vertex is \((3,1)\), and the parabola opens downward.
The axis of symmetry is the vertical line through the vertex:
\[ x=3. \]
The domain remains all real numbers. Because the parabola opens downward and has a maximum value of 1, its range is
\[ y\leq 1. \]
def transform(f, a=1, b=1, h=0, k=0):
"""Return g(x) = a * f(b * (x - h)) + k."""
return lambda x: a * f(b * (x - h)) + k
f = lambda x: x ** 2
g = transform(f, a=-2, b=1, h=3, k=1)
print(g(3)) # 1, the vertex value
print(g(4)) # -1
print(g(2)) # -1The points one unit from the vertex have equal y-values because of symmetry. Here, \(g(2)=g(4)=-1\).
Writing vertex form from key features
Suppose a parabola has vertex \((h,k)\) and passes through another point \((x1,y1)\). Begin with
\[ y=a(x-h)^2+k. \]
Substitute the known point to find \(a\).
For a parabola with vertex \((2,-3)\) passing through \((4,5)\):
\[ 5=a(4-2)^2-3 \]
\[ 8=4a \]
\[ a=2. \]
The equation is
\[ y=2(x-2)^2-3. \]
The vertex gives the shift, and the second point determines the stretch factor.
A transformation diagram
When identifying a quadratic from a graph, first locate the vertex. Then use any other point to calculate \(a\). Finally, check whether the equation predicts the graph’s opening direction, symmetry, domain, and range.
Exercise
A parabola has vertex (-1, 4), opens downward, and passes through (1, -4). Write its equation in vertex form and state its range.
Show answer
Use y = a(x + 1)² + 4. Substituting (1, -4) gives -4 = 4a + 4, so a = -2. The equation is y = -2(x + 1)² + 4, and the range is y ≤ 4.