Graphing Quadratic Equations

A Quadratic Equation in Standard Form:

Standard form of a quadratic equation: ax^2 + bx + c = 0

(a, b, and c can have any value, except that a can't be 0.)

Here's an example:

Quadratic equation 2x^2 + 5x - 3 with coefficients a, b, and c labeled

Graphing

You can graph a Quadratic Equation using the Function Grapher, but to really understand what's going on, you can make the graph yourself. Read On!

The Simplest Quadratic

The simplest Quadratic Equation is:

f(x) = x2

And its graph is simple too:

U-shaped parabola graph of the function f(x) = x^2

This is the curve f(x) = x2
It is a parabola

Parabolic satellite dish focusing incoming signals to a central point

Example: Satellite Dish Shape

Many satellite dishes have a parabolic shape, which helps focus signals to the receiver

But we'll need to use f(x) = ax2

Let's see what happens when we introduce the "a" value:

f(x) = ax2

Comparison of several parabolas showing how the 'a' value changes width and direction

Quadratic Graph

Play With It

Now is a good time to play with the
Quadratic Equation Explorer so you can see what different values of a, b and c do.

The "General" Quadratic

Before graphing we rearrange the equation, from this:

f(x) = ax2 + bx + c

To this:

f(x) = a(x-h)2 + k

Where:

In other words, calculate h (= −b/2a), then find k by calculating the whole equation for x=h

But Why?

Parabola with the vertex point and vertical axis of symmetry highlighted

The wonderful thing about this new form is that h and k show us the very lowest (or very highest) point, called the vertex:

And also the curve is symmetrical (mirror image) about the axis that passes through x=h, making it easy to graph

So ...

In the form a(x−h)2 + k, the horizontal shift is h. For (x−3)2 the h is 3 (a shift right), and for (x+3)2 the h is −3 (a shift left).

Lets see an example of how to do this:

Example: Plot f(x) = 2x2 − 12x + 16

First, let's note down:

  • a = 2,
  • b = −12, and
  • c = 16

Now, what do we know?

  • a is positive, so it is an "upwards" graph ("U" shaped)
  • a is 2, so it is a little "squashed" compared to the x2 graph

Next, let's calculate h:

h = −b/2a = −(−12)/(2x2) = 3

And next we can calculate k (using h=3):

k = f(3) = 2(3)2 − 12·3 + 16 = 18−36+16 = −2

So now we can plot the graph (with real understanding!):

Step-by-step plotting of the parabola for 2x^2 - 12x + 16

We also know: the vertex is (3,−2), and the axis is x=3

From A Graph to The Equation

What if we have a graph, and want to find an equation?

Example: you have just plotted some interesting data, and it looks Quadratic:

Coordinate plane with points at (0, 1.5) and (1, 1) suggesting a quadratic curve

Just knowing those two points we can come up with an equation.

First, we know h and k (at the vertex):

(h, k) = (1, 1)

So let's put that into this form of the equation:

f(x) = a(x-h)2 + k

f(x) = a(x−1)2 + 1

Then we calculate "a":

We know the point (0, 1.5) so:f(0) = 1.5 And a(x−1)2 + 1 at x=0 is:f(0) = a(0−1)2 + 1 They are both f(0) so make them equal: a(0−1)2 + 1 = 1.5 Simplify:a + 1 = 1.5 a = 0.5

And here's the resulting Quadratic Equation:

f(x) = 0.5(x−1)2 + 1

Note: This may not be the correct equation for the data, but it's a good model and the best we can come up with.

Some tips:

567,7335,7336,7337,7338,1207,2443,2444,2445,2447