Skip to content
Tutorials Center
My learning

Topics

Lesson 10 of 38 · Polynomial Functions

Quadratic Functions and Vertex Form

Explore quadratic functions, their parabola graphs, standard and vertex form, how to complete the square and how to find the vertex, axis and extreme value.

A quadratic function is a function of the form f(x) = ax² + bx + c with a ≠ 0. Its graph is a smooth U-shaped curve called a parabola. Parabolas describe the path of a thrown ball, the shape of a satellite dish and the profit of a business that is best at a middle price.

Two forms of the same quadratic reveal different things:

Form Equation What it shows at once
Standard f(x) = ax² + bx + c the y-intercept c
Vertex f(x) = a(x - h)² + k the vertex (h, k)
Factored f(x) = a(x - r)(x - s) the x-intercepts r and s

Features of a parabola

  • The sign of a sets the direction: a > 0 opens upward (the vertex is the minimum); a < 0 opens downward (the vertex is the maximum).
  • The size of |a| sets the width: larger |a| means a narrower parabola.
  • The vertex is the turning point.
  • The axis of symmetry is the vertical line through the vertex, x = h. The graph is a mirror image across it.
  • The y-intercept is f(0) = c.

This is exactly the transformation idea from the previous chapter: vertex form a(x - h)² + k is y = x² stretched by a, moved h right and k up.

Vertex from standard form

For f(x) = ax² + bx + c, the axis of symmetry and the vertex come from a formula:

Text
h = -b / (2a)        k = f(h)

Example 1. f(x) = 2x² - 8x + 5. Then h = 8/4 = 2 and k = f(2) = 8 - 16 + 5 = -3. The vertex is (2, -3), the parabola opens upward, so the minimum value is -3.

Completing the square

To rewrite standard form as vertex form, complete the square. The idea: x² + bx becomes a perfect square when you add (b/2)², because (x + b/2)² = x² + bx + (b/2)².

Example 2. Write f(x) = x² + 6x + 4 in vertex form. Half of 6 is 3, and 3² = 9. Add and subtract 9: f(x) = (x² + 6x + 9) - 9 + 4 = (x + 3)² - 5. The vertex is (-3, -5).

Example 3 (with a ≠ 1). Write f(x) = 2x² - 8x + 5 in vertex form. Factor 2 from the first two terms: 2(x² - 4x) + 5. Half of -4 is -2, and (-2)² = 4. Add and subtract inside the bracket: 2(x² - 4x + 4 - 4) + 5 = 2(x - 2)² - 8 + 5 = 2(x - 2)² - 3. Vertex (2, -3), matching Example 1.

Notice that the -4 inside the bracket is multiplied by the factor 2 when it leaves the bracket. This is the most common slip.

Python Convert to vertex form

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Maximum and minimum applications

The vertex gives the best possible value. A ball is thrown so that its height in meters after t seconds is h(t) = -5t² + 20t + 1. Here a = -5 < 0, so there is a maximum at t = -20/(2·(-5)) = 2 seconds, and h(2) = -20 + 40 + 1 = 21 meters. (The coefficient -5 is a convenient approximation to half of the gravitational acceleration, about 9.8 m/s².)

Example 4. A farmer has 40 meters of fence for a rectangular pen against a long wall, so only three sides need fence. If the sides perpendicular to the wall are x meters, the side parallel to the wall is 40 - 2x, and the area is A(x) = x(40 - 2x) = -2x² + 40x. The vertex is at x = -40/(2·(-2)) = 10, so A(10) = -200 + 400 = 200 square meters.

Python Plot the parabola and mark its vertex

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Writing an equation from a vertex and a point

If you know the vertex (h, k) and one other point, substitute into y = a(x - h)² + k and solve for a. For vertex (1, 4) and point (3, 0): 0 = a(3 - 1)² + 4, so 4a = -4 and a = -1. The equation is y = -(x - 1)² + 4.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the vertex of f(x) = (x - 5)² + 2?

    Vertex form a(x - h)² + k has vertex (h, k) = (5, 2).
  2. 2. What is the axis of symmetry of f(x) = x² - 10x + 3?

    x = -b/(2a) = 10/2 = 5.
  3. 3. Complete the square: x² + 8x + 1 equals

    (x + 4)² = x² + 8x + 16, so subtract 15 to get back to +1.
  4. 4. For f(x) = -3x² + 12x, the vertex is a

    a = -3 is negative so it opens downward; x = -12/(-6) = 2 and f(2) = -12 + 24 = 12.

Summary

  • A quadratic function has the form ax² + bx + c and a parabola for a graph.
  • The vertex is at x = -b/(2a); a > 0 gives a minimum and a < 0 a maximum.
  • Vertex form a(x - h)² + k shows the vertex; completing the square converts to it.
  • The axis of symmetry is x = h.
  • Vertex values solve maximum-and-minimum problems.

Next: Solving Quadratic Equations