Graph of a quadratic function
The graph of a quadratic function, y = ax² + bx + c, is always a parabola: a smooth U shape with one turning point, called the vertex. The example here is y = x² − 2x − 3, which opens upward with its vertex at (1, −4).
Key features
- Domain
- All real numbers
- Range
- y ≥ −4 here. In general, y ≥ k if a > 0, and y ≤ k if a < 0, where k is the height of the vertex
- Vertex
- (1, −4), in general at x = −b/(2a)
- Axis of symmetry
- x = 1
- Direction
- Opens up, because a > 0
- Roots
- x = −1 and x = 3
- Standard form
- y = ax² + bx + c
- Vertex form
- y = a(x − h)² + k
- Factored form
- y = a(x − r)(x − s)
- y-intercept
- (0, −3)
- Derivative
- 2x−2
- Antiderivative
- x33−x2−3x+C
Derivative and antiderivative from the calculator’s algebra system. Domain, range and asymptotes are stated for real x.
What the graph of ax² + bx + c looks like
Every quadratic has a single bend. If a is positive, the parabola opens upward and the vertex is the lowest point. If a is negative, it opens downward and the vertex is the highest point. A larger |a| makes it narrower.
c is the y-intercept, since y = c when x = 0. b has a less obvious effect: it moves the vertex diagonally, because the axis of symmetry is at x = −b/(2a).
The left and right sides are mirror images in the axis of symmetry, so the roots, if any, sit an equal distance either side of it. That is why the vertex is at the average of the two roots: (−1 + 3)/2 = 1.
Points of interest
Found numerically to about twelve digits in the window −4 ≤ x ≤ 6, then shown in exact form where one exists.
- x-intercepts (roots)
- x = −1, x = 3
- Local maxima
- None in this window
- Local minima
- (1, −4)
- Inflection points
- None in this window
A quadratic has at most two real roots: two if the discriminant b² − 4ac is positive, one if it is zero, and none if it is negative.
Table of values
A few points to plot, with exact values where they are simple.
| x | y = ax² + bx + c |
|---|---|
| −2 | 5 |
| −1 | 0 |
| 0 | −3 |
| 1 | −4 |
| 2 | −3 |
| 3 | 0 |
| 4 | 5 |
How to graph ax² + bx + c by hand
- 1Decide the direction from the sign of a.
- 2Find the vertex using x = −b/(2a), then work out y there.
- 3Plot the y-intercept, c, and mirror it across the axis of symmetry.
- 4Find the roots by factoring or with the quadratic formula.
- 5Draw a smooth U shape through the points.
Transformations
How the graph moves when you change the formula. The original is ax² + bx + c in blue.
y = 2(x^2 - 2x - 3)Multiplying by 2 keeps the roots but makes it narrower.y = x^2 - 2xChanging c moves the whole curve up or down.y = -(x^2 - 2x - 3)A negative a flips it upside down, keeping the roots.
Common mistakes
- Drawing a sharp point at the vertex. A parabola is smooth; only |x| has a corner.
- Getting the sign of the axis wrong: x = −b/(2a) has a minus sign.
- Forgetting that a parabola continues forever, so its graph should end in arrows.
Where it shows up
- Projectile motion: thrown objects follow parabolic paths.
- Finding a maximum or minimum, such as the price that maximises revenue.
- Satellite dishes and car headlights, whose shape focuses signals at one point.
Frequently asked questions
What does the graph of a quadratic function look like?
How do you find the vertex of a quadratic function?
How many roots can a quadratic have?
What is the domain of a quadratic function?
Calculators for this function
Related graphs
The basic parabola: vertex (0, 0), opens upward.
A V with its vertex at the origin, slopes ±1.
An S-shape through the origin, flat at its inflection point.
How degree sets the shape, the turns and the end behaviour.
A straight line: slope m, y-intercept b.
Slope 2, crossing the y-axis at 0.
Change the window, add sliders for a, b, h and k, trace the curve with your keyboard, or overlay its derivative.