Skip to content
Tutorials Center
My learning

Topics

Lesson 31 of 37 · Quadratic Equations

Graphing Parabolas

Graph quadratic functions: find the vertex, axis of symmetry, intercepts and direction, and move between standard form and vertex form.

The graph of a quadratic function y = ax² + bx + c is a U-shaped curve called a parabola. Throw a ball, and its path is a parabola. A satellite dish has a parabolic cross-section. Knowing a few key features lets you sketch any parabola quickly.

Key features

  • Direction. If a > 0 the parabola opens up (a smile) and has a lowest point. If a < 0 it opens down and has a highest point. A larger |a| makes it narrower.
  • Vertex. The turning point: the minimum if it opens up, the maximum if it opens down.
  • Axis of symmetry. A vertical line through the vertex. The two halves are mirror images.
  • y-intercept. Where x = 0. For y = ax² + bx + c this is the point (0, c).
  • x-intercepts. Where y = 0. These are the roots of the quadratic equation, found by factoring or the quadratic formula. There may be two, one or none (see the discriminant).

Finding the vertex

The axis of symmetry is the line

Text
x = −b / (2a)

This is the midpoint of the two roots (−b ± √D)/(2a): their average is −b/(2a). The vertex has this x-coordinate; substitute it into the function to find the y-coordinate.

Example 1. Graph y = x² − 4x − 5.

  • a = 1 > 0: opens up.
  • Axis: x = −(−4)/(2·1) = 2.
  • Vertex: y = 4 − 8 − 5 = −9, so (2, −9).
  • y-intercept: (0, −5).
  • x-intercepts: x² − 4x − 5 = (x − 5)(x + 1) = 0, so x = 5 and x = −1.

Plot those points. The mirror image of the y-intercept (0, −5) across the axis x = 2 is (4, −5). Join them with a smooth curve.

Python Analyze and plot any parabola

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.

Vertex form

Completing the square (see Square Roots and Completing the Square) rewrites a quadratic as

Text
y = a(x − h)² + k

The vertex is (h, k) and the axis is x = h. Because (x − h)² is never negative, k is the minimum value when a > 0 and the maximum when a < 0.

Example 2. Write y = x² + 6x + 4 in vertex form: x² + 6x + 9 − 9 + 4 = (x + 3)² − 5. The vertex is (−3, −5).

Example 3. Read the features of y = −2(x − 1)² + 8: opens down (a = −2), vertex (1, 8) and maximum value 8. To find the x-intercepts, set y = 0: (x − 1)² = 4, so x = 3 or x = −1.

Vertex form also shows transformations of the basic parabola y = x²: h shifts it right (if positive), k shifts it up, a stretches it vertically, and a negative a flips it.

flowchart LR
    A["y = x²"] --> B["y = a x²<br/>stretch or flip"]
    B --> C["y = a(x − h)²<br/>shift right by h"]
    C --> D["y = a(x − h)² + k<br/>shift up by k"]

Building the vertex form from the basic parabola, one transformation at a time.

Python Move the vertex: a transformation explorer

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.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is the axis of symmetry of y = x² + 8x + 3?

    x = −b/(2a) = −8/2 = −4.
  2. 2. What is the vertex of y = (x − 2)² + 5?

    Vertex form a(x − h)² + k has vertex (h, k) = (2, 5).
  3. 3. The parabola y = −x² + 4 opens ...

    a = −1 is negative, so it opens downward and the vertex (0, 4) is the highest point.
  4. 4. What is the y-intercept of y = 3x² − 2x + 7?

    At x = 0, y = c = 7.

Summary

  • A parabola opens up if a > 0 and down if a < 0.
  • The axis of symmetry is x = −b/(2a); the vertex lies on it.
  • The y-intercept is (0, c); the x-intercepts are the roots, if any.
  • Vertex form y = a(x − h)² + k shows the vertex (h, k) directly.

Next: Function Notation, Domain and Range