Sub topic 5
Quadratic Functions: Vertex, Axis and Roots
Prerequisites: You should be comfortable solving linear and quadratic equations, plotting points on the coordinate plane, and simplifying algebraic expressions.
A quadratic function has the form
f(x) = ax² + bx + c, where a ≠ 0.
Its graph is a parabola. The value of a controls the direction and width of the parabola:
- If
a > 0, the parabola opens upward and has a minimum. - If
a < 0, the parabola opens downward and has a maximum. - A larger
|a|makes the parabola narrower. - A smaller
|a|makes it wider.
The vertex and axis of symmetry
The vertex is the turning point of a parabola. For f(x) = ax² + bx + c, the x-coordinate of the vertex is
x = -b/(2a).
Substitute this x-value into the function to find the y-coordinate. The vertical line through the vertex is the axis of symmetry:
x = -b/(2a).
For example, consider
f(x) = x² - 6x + 5.
Here, a = 1 and b = -6, so
x = -(-6)/(2 × 1) = 3.
Then
f(3) = 9 - 18 + 5 = -4.
Therefore, the vertex is (3, -4), and the axis of symmetry is x = 3. Since a > 0, the vertex gives the minimum value, which is -4.
The vertex form makes these features visible immediately:
f(x) = a(x - h)² + k.
The vertex is (h, k), and the axis is x = h.
Roots and intercepts
A root is an x-value for which f(x) = 0. On a graph, roots are the points where the parabola crosses or touches the x-axis. They are also called x-intercepts or zeros.
The quadratic formula gives the roots of ax² + bx + c = 0:
x = (-b ± √(b² - 4ac))/(2a).
The expression D = b² - 4ac is the discriminant. It predicts the number of real roots.
| Discriminant | Real roots | Graph |
|---|---|---|
| `D > 0` | Two distinct roots | Crosses the x-axis twice |
| `D = 0` | One repeated root | Touches the x-axis once |
| `D < 0` | No real roots | Does not meet the x-axis |
For x² - 6x + 5, factoring gives
x² - 6x + 5 = (x - 1)(x - 5).
The roots are x = 1 and x = 5. Their midpoint is 3, matching the axis of symmetry.
def f(x):
return x ** 2 - 6 * x + 5
a, b = 1, -6
vertex_x = -b / (2 * a)
print(vertex_x, f(vertex_x))Exercise
For f(x) = -x² + 4x + 5, find the vertex, axis of symmetry, and roots.
Show answer
The vertex has x = -4/(2 × -1) = 2, and f(2) = 9, so it is (2, 9). The axis is x = 2. Solving -x² + 4x + 5 = 0 gives x = -1 and x = 5.