The parabola: graph of a quadratic function
How a, b and c shape y = ax² + bx + c, the vertex and axis of symmetry, where the graph crosses the axes, and the vertex form a(x − h)² + k.
First, the rules
Every quadratic draws a parabola
a > 0 opens up (a minimum), a < 0 opens down (a maximum). Larger |a| is narrower.
The axis of symmetry is the vertical line x = xv.
Vertex (h, k) read straight off. Get it by completing the square.
Roots read straight off; the vertex is halfway between them.
See it
Move a, b and c
Watch the vertex (green) slide along, the axis follow it, the y-intercept stay at c, and the x-intercepts appear and disappear as Δ changes sign.
Step by step
Worked examples
Sketch from the standard form
vertex, interceptsSketch y = x² − 4x − 5: direction, vertex, axis, intercepts.
Ask yourself: Four facts make the sketch: which way it opens, where the vertex is, where it meets each axis.
Show the solution
- a = 1 > 0: opens upward.
- Vertex: xv = −−42 = 2, yv = 4 − 8 − 5 = −9. Axis x = 2.
- y-intercept (0, −5). x-intercepts: x² − 4x − 5 = (x − 5)(x + 1) = 0, at (−1, 0) and (5, 0) — symmetric about x = 2. ✓
Answer up; vertex (2, −9); axis x = 2; (0, −5), (−1, 0), (5, 0)
Completing the square
vertex formWrite y = 2x² + 12x + 7 in vertex form and state its minimum value.
Ask yourself: Factor the a out of the x-terms first, then make a perfect square inside.
Show the solution
- y = 2(x² + 6x) + 7.
- Half of 6 is 3, 3² = 9: y = 2(x² + 6x + 9 − 9) + 7 = 2(x + 3)² − 18 + 7.
- y = 2(x + 3)² − 11: vertex (−3, −11), and since a > 0 the minimum value is −11. Check with the formula: xv = −12 / 4 = −3. ✓
Answer y = 2(x + 3)² − 11; minimum −11
A maximum area
optimisationA farmer has 40 m of fence to enclose a rectangular field against a straight wall (no fence needed on the wall side). What dimensions give the largest area, and what is that area?
Ask yourself: Write the area as a function of one variable; the maximum of a downward parabola is its vertex.
Show the solution
- Let x be the side perpendicular to the wall. Fence: 2x + w = 40 ⇒ w = 40 − 2x.
- Area A(x) = x(40 − 2x) = −2x² + 40x — a parabola opening down (a = −2).
- Vertex: xv = −402 · (−2) = 10, so w = 20 and A = 10 · 20 = 200.
- Factored form −2x(x − 20) shows the roots 0 and 20; the vertex sits halfway, at 10. ✓
Answer 10 m by 20 m, area 200 m²
Practice: the parabola
0 / 0Vertex coordinates, direction, axis of symmetry and intercepts from the equation. Your best score is kept in this browser only.
About this lesson
Quadratic functions and their graphs: the parabola y = ax² + bx + c, the sign of a (opens up or down), the vertex at x = −b / 2a, the axis of symmetry, the y-intercept c, the x-intercepts from the roots, the vertex form a(x − h)² + k, maximum and minimum values, and the sign of the function between and outside the roots. Drag the sliders and watch the parabola move, then practise. Everything on this page runs in your browser; nothing you type is sent or stored. Spotted an error? Tell us.