A quadratic function has the form y = ax² + bx + c with a ≠ 0. Its graph is a parabola — a symmetric U shape that opens upwards when a is positive and downwards when a is negative. Four features are enough for a confident sketch: roots, y-intercept, turning point and axis of symmetry.
Worked example: y = x² − 4
Here a = 1, b = 0 and c = −4. Because a > 0 the parabola opens upwards and the turning point is a minimum.
1. Roots (x-intercepts)
Set y = 0 and solve:
0 = x² − 4, so x² = 4, so x = −2 or x = 2.
The parabola crosses the x-axis at (−2, 0) and (2, 0). You could also factorise: x² − 4 = (x − 2)(x + 2).
2. y-intercept
Substitute x = 0: y = 0² − 4 = −4, giving (0, −4).
3. Axis of symmetry
A parabola is symmetric about a vertical line through its turning point. For roots −2 and 2 the line is halfway between: x = (−2 + 2) ÷ 2 = 0. In general the axis is x = −b ÷ (2a), which also gives 0 here.
4. Turning point
Substitute the axis value into the rule: y = 0² − 4 = −4. The vertex is (0, −4), which here is also the y-intercept.
| Feature | Value | How it was found |
|---|---|---|
| Roots | x = −2, x = 2 | Solve x² − 4 = 0 |
| y-intercept | (0, −4) | Substitute x = 0 |
| Axis of symmetry | x = 0 | Midpoint of roots, or −b/(2a) |
| Turning point | (0, −4), minimum | Substitute x = 0; a > 0 |
Sketching the parabola
- Draw and label both axes.
- Mark the roots (−2, 0) and (2, 0), and the vertex (0, −4).
- Add one symmetric pair for shape: x = 3 gives y = 5, and by symmetry x = −3 also gives 5.
- Draw a smooth U through the points — no sharp corner at the bottom.
- Label the curve with its equation and the key points.
Plot y = x² − 4 in the graphing calculator →
In the calculator, Roots & intersections reports x-intercepts at (−2, 0) and (2, 0) and a y-intercept of (0, −4). The value table from −2 to 2 shows 0, −3, −4, −3, 0 — symmetric, as expected.
A repeated root: y = (x − 1)²
Not every parabola crosses the x-axis twice. Expand y = (x − 1)² and you get x² − 2x + 1. Solving (x − 1)² = 0 gives only x = 1. The parabola touches the axis at (1, 0) and turns back up; its vertex sits on the axis.
This matters for calculators. Many root finders look only for places where y changes from negative to positive. (x − 1)² is never negative, so a sign-change search finds nothing. Our calculator also looks for points where |f(x)| shrinks to zero without a sign change and labels them “touches the axis (repeated root)”.
Plot y = (x − 1)² and find its repeated root →
How many roots can a quadratic have?
The discriminant Δ = b² − 4ac tells you before you graph:
- Δ > 0: two roots (x² − 4 has Δ = 16).
- Δ = 0: one repeated root ((x − 1)² has Δ = 4 − 4 = 0).
- Δ < 0: no real roots — the parabola stays entirely above or below the x-axis (x² + 1 has Δ = −4).
Common mistakes
- Writing x² = 4 as x = 2 only. There are two square roots: ±2.
- Drawing a V-shaped point at the vertex. Parabolas are smooth.
- Typing
-x^2when you mean the negative quadratic y = −x²: that is correct, but(-x)^2is x², not −x². - Missing roots outside the window. If the vertex is far away, widen the window before searching.
Common questions
How do I know if the vertex is a maximum or minimum?
Look at a. If a > 0 the parabola opens up and the vertex is a minimum; if a < 0 it opens down and the vertex is a maximum.
Does the calculator find the vertex automatically?
Not as a separate button. Use the axis of symmetry from −b/(2a), then Evaluate at that x value.
How this guide was made: drafted with AI assistance under the site’s editorial policy. Worked examples and plotted figures are computed by the same maths engine as our calculators and checked by automated tests. Found an error? Report a correction.