Quadratic graphs — plot a parabola online

Move the a, b and c sliders and watch the quadratic graph change, while the calculator shows the turning point, the line of symmetry, the roots, where the function is increasing and decreasing, and the completed square and factorised forms.

y = x² − 2x − 3
−3 −2 −1 1 2 3 4 5 −4 −2 2 xy x = 1 (1, −4) (−1, 0) (3, 0) (0, −3)

Drag the sliders and the graph and its properties update straight away. Drag the graph with the mouse to move it, and use the buttons in the top right to zoom in and out.

Function
y = x² − 2x − 3

y = x² − 2x − 3 is a ∪-shaped parabola with turning point (1, −4). Roots: x₁ = −1; x₂ = 3.

Step-by-step breakdown
  1. Shape∪-shaped: opens upwards
  2. Turning point(1, −4)
  3. Line of symmetryx = 1
  4. DiscriminantΔ = 16
  5. Roots (x-intercepts)x₁ = −1; x₂ = 3
  6. y-intercept(0, −3)
  7. Range[−4, +∞)
  8. Increasing on[1, +∞)
  9. Decreasing on(−∞, 1]
  10. Completed square formy = (x − 1)² − 4
  11. Factorised formy = (x + 1)(x − 3)

Formula

y=ax² + bx + c

a sets the shape and width of the parabola, c is where it crosses the y-axis, and b together with a fixes the turning point: its x-coordinate is −b / 2a.

How we got there

y = x² − 2x − 3

The roots of the function are the solutions of ax² + bx + c = 0; the calculator gives them exactly.

How to draw a quadratic graph

  1. Find the shape

    For y = x² − 2x − 3, a = 1 > 0, so the graph is ∪-shaped: it opens upwards.

  2. Find the turning point

    x = −b / 2a = 2 / 2 = 1, and y = 1 − 2 − 3 = −4. The turning point is (1, −4) and the line of symmetry is x = 1.

  3. Find the roots and the y-intercept

    Factorising, x² − 2x − 3 = (x + 1)(x − 3) = 0 gives x = −1 and x = 3; when x = 0, y = −3.

  4. Plot the points and draw the curve

    Through (−1, 0), (0, −3), (1, −4), (2, −3) and (3, 0), symmetrical about the line x = 1.

Quadratic graphs still going wrong in tests? Find a maths tutor for Year 10

How the parameters change the graph

The larger |a| is, the narrower the parabola; when a < 0, it turns upside down. c moves the graph up or down, while b, together with a, moves the turning point sideways.

Any quadratic graph can be made from y = x² by transformations: a stretch parallel to the y-axis with scale factor |a| (plus a reflection in the x-axis if a < 0) and a translation that moves the turning point to (p, q).

Quadratic graphs in problems

The greatest or least value is at the turning point: that is how you solve problems about the largest area or the best price. The path of a thrown ball is a parabola too.

Quadratic inequalities such as ax² + bx + c > 0 are solved with the graph: look at where the curve is above the x-axis.

Common mistakes

  • Using b / 2a for the x-coordinate of the turning point, without the minus sign.
  • Assuming the turning point is always a minimum: when a < 0, it is a maximum.
  • Forgetting that when Δ < 0 there are no roots, but the turning point and the graph still exist.

Table of values

Values of the function at a few points, so you can plot the graph by hand.

y = x² − 2x − 3

xy
−10
0−3
1−4
2−3
30

Frequently asked questions

The graph of a quadratic function y = ax² + bx + c, where a ≠ 0. Its shape is a curve called a parabola.

Its x-coordinate is −b / 2a, and its y-coordinate is the value of the function there (or −Δ / 4a). For y = x² − 2x − 3, the turning point is (1, −4).

From the sign of a. If a > 0, the graph is ∪-shaped and the turning point is a minimum; if a < 0, it is ∩-shaped and the turning point is a maximum.

y = a(x − p)² + q, where (p, q) is the turning point. You get it by completing the square, and then you can read the turning point straight off: y = x² − 2x − 3 = (x − 1)² − 4, so it is (1, −4).

As many as the equation ax² + bx + c = 0: two if Δ > 0, one if Δ = 0 and none if Δ < 0, where Δ = b² − 4ac is the discriminant.

If a > 0, the range is y ≥ q, or [q, +∞); if a < 0, it is y ≤ q, or (−∞, q], where q is the y-coordinate of the turning point. The domain is all real numbers.

Struggling with graphs?

Book a free introductory lesson with a Mathema tutor. 30 minutes online, no commitment — we find the gap and the plan to close it.