Maths dictionary

Quadratic functions and the parabola

By Viktor Lassen6 min readUpdated 3 September 2026

A quadratic function is written f(x) = ax² + bx + c, and its graph is a parabola with one turning point. Here is what the three numbers a, b and c do to the graph, and what the roots are.

A quadratic function is a type of function that, just like the linear function and the exponential function, has its own equation. It's closely tied to the quadratic equation, which we'll come to further down. The equation for a quadratic function looks like this:

f(x)=ax2+bx+cf(x) = ax^2 + bx + c

Two parabolas: f(x) opens downwards and has a top point, g(x) opens upwards and has a bottom point

Here the function has three values, aa, bb and cc, that control what the graph looks like. We call the graph of a quadratic function a parabola. A parabola has a turning point, which is the place where the function value is highest (or lowest, as with g(x)g(x) in the picture). When the turning point sits at the top we can also just call it the top point, and when it sits at the bottom, the bottom point.

What a does

In the linear function y=mx+cy = mx + c the number in front of xx is the gradient, but a quadratic doesn't have one fixed gradient for the whole function. We can see in the picture above that f(x)f(x) grows much faster at the start of the graph than it does up by the turning point. If we had to come up with a good description of aa, we'd say that it describes how the graph curves.

Three parabolas with a = 0.5, a = 2 and a = 4: the bigger a is, the closer together the arms of the parabola sit

As we can see in the picture, the arms of the parabola come closer together the bigger aa is. In fact, if aa is 00, we get a straight line, which also makes sense if we try putting 00 in aa's place in the function:

f(x)=0×x2+bx+cf(x) = 0 \times x^2 + bx + c

Here we can see that the whole x2x^2 term disappears, because it's multiplied by 00, so we end up with a linear function:

f(x)=bx+cf(x) = bx + c

That's exactly the same as the way we normally see a linear function, y=mx+cy = mx + c. There are just some other letters, but the structure is exactly the same: a number multiplied on the independent variable xx, and a number added on. That's also why aa is never 00 in a quadratic.

If aa is negative, on the other hand, we get a parabola where the arms point downwards, like f(x)f(x) in the first picture.

What b does

In a quadratic, bb tells us directly what the gradient is at the point where the graph crosses the y-axis. More precisely, it's the gradient of the tangent at that point, the straight line that just touches the graph there.

The gradient of the tangent where the parabola crosses the y-axis is the b-value

In the picture the tangent is drawn in at the point where the graph crosses the y-axis. The gradient we see there is the bb-value. If the gradient of the tangent were 44, bb would be 44. Explaining why it's exactly bb takes a tool called differentiation, which comes after GCSE, so for now we just use it.

bb also has a second meaning, and it's tied to aa: together they decide which side of the y-axis the turning point lies on. To look closer at that we need the turning point formula, which gives us the x-coordinate of the turning point:

x=−b2ax = \frac{-b}{2a}

If the turning point is to lie on the left of the y-axis, xx has to be negative. Looking at the formula, we can see that xx comes out negative when aa and bb have the same sign. If we try putting in numbers with the same sign in aa's and bb's places, we do get a negative x-value:

x=−(−2)2×(−4)=−14x = \frac{-(-2)}{2 \times (-4)} = -\frac{1}{4}

If xx is to be positive, so the turning point lies on the right of the y-axis, aa and bb must have different signs. Again we can see it by putting in numbers with different signs:

x=−(−2)2×2=14x = \frac{-(-2)}{2 \times 2} = \frac{1}{4}

The turning point gets its own guide, the turning point of a parabola, where we find both of its coordinates.

What c does

The cc-value is where the graph crosses the y-axis. We can see that quickly if we put 00 in xx's place in the function. If xx is 00, we're on the y-axis, after all.

f(0)=a×02+b×0+cf(0) = a \times 0^2 + b \times 0 + c

f(0)=cf(0) = c

So the crossing with the y-axis is the cc-value, when we show it this way.

The quadratic equation and the roots

A quadratic equation is closely related to a quadratic function. A quadratic equation has the form

ax2+bx+c=0ax^2 + bx + c = 0

That's actually exactly the same as a quadratic function. Here f(x)f(x) is just equal to 00. So when we solve the equation, we find the place on the quadratic where y=0y = 0.

The roots of a quadratic are the x-values where the parabola crosses the x-axis, that is where f(x) = 0

We call these the roots of the function. When we solve the equation, we're finding the x-values that give the roots. So if you need to find the roots of a quadratic, you solve this type of equation. When we solve quadratic equations, we use a formula called the quadratic formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The sign ±\pm means both plus and minus. That means we can have 2 solutions: one with +b2−4ac+\sqrt{b^2 - 4ac} and one with −b2−4ac-\sqrt{b^2 - 4ac}. The parabola can cross the x-axis in 2 places, after all, as we can also see in the picture. It doesn't always, though. What the part under the root does, and how the whole thing works, is in the guide on solving quadratic equations with the formula.

There's also a second way of writing a quadratic, with brackets, where you can read the roots straight off. That's the factorised form, and it gets its own guide about factorising quadratics. And when the equation is already written as brackets multiplied together, the zero product rule solves it in two lines. See solving quadratics by factorising.

Common misunderstandings

  • "a is the gradient, like in a straight line." No. In the linear function the number in front of xx is the gradient, but a quadratic doesn't have one gradient for the whole function. aa describes how the graph curves: how close together the legs sit, and whether they point up or down.
  • "a can be 0 in a quadratic." If aa is 00, the x2x^2 term is multiplied by 00 and disappears, and what's left is bx+cbx + c, a straight line. That's exactly why a quadratic needs aa to be something other than 00.
  • "The quadratic equation and the quadratic function are two different things." They're the same thing. The equation ax2+bx+c=0ax^2 + bx + c = 0 is the function with f(x)f(x) set equal to 00, and its solutions are the roots, the places where the graph crosses the x-axis.
  • "The formula only gives one answer." The ±\pm means both plus and minus, so the formula gives 2 answers when the parabola crosses the x-axis twice.

Guides on this topic

Frequently asked questions

Read next

Want to get good at maths?

Mathara explains every topic step by step with videos, exercises and personal feedback.

👉 Get started for free