This site is a work in progress. New lessons are added regularly. Contact us

Quadratic Functions and Parabolas

Learning goals

  • Define a quadratic by a0a \ne 0 and name its parabola
  • Read vertex form as the parent y=x2y = x^2 transformed
  • Take cc and the end behavior from standard form
  • Derive the axis x=b2ax = -\tfrac{b}{2a} from symmetry alone
  • Locate the zeros on factored form, bisected by the axis
  • Move between the three normal forms as the chapter's map

What makes a function quadratic

A quadratic function is a function of the form

f(x)=ax2+bx+c,a0,f(x) = ax^2 + bx + c, \qquad a \ne 0,

where aa, bb, and cc are real constants: aa is the leading coefficient, bb the linear coefficient, and cc the constant term. Squaring, multiplying by a constant, and adding accept every real input, so the domain is all real numbers. The graph of a quadratic function is called a parabola.

The condition a0a \ne 0 is not decoration. Set a=0a = 0 and the rule collapses to f(x)=bx+cf(x) = bx + c, a linear function: a straight line, with no bend, no highest or lowest point, and no vertical mirror. Everything this chapter studies lives in the x2x^2 term. The other two coefficients are optional in a way aa is not: f(x)=x2f(x) = x^2 has b=c=0b = c = 0 and is still the most important quadratic of all.

There is a precise sense in which quadratics are the simplest functions after linear ones. A linear function changes by equal amounts over equal steps: each step of 11 in the input adds the same bb to the output. For f(x)=x2f(x) = x^2 the outputs at x=0,1,2,3,4x = 0, 1, 2, 3, 4 are 0,1,4,9,160, 1, 4, 9, 16, and the jumps between them are 1,3,5,71, 3, 5, 7: not constant, but growing by the same 22 each time. That is no accident of these five values, because

(x+1)2x2=2x+1,(x + 1)^2 - x^2 = 2x + 1,

so the jump is itself a linear function of xx. The same computation on a general quadratic gives f(x+1)f(x)=2ax+a+bf(x + 1) - f(x) = 2ax + a + b, again linear. A linear function has constant jumps; a quadratic has linear jumps. Quadratics are what you get when you let the rate of change itself change, but only in the plainest possible way. The steady growth of those jumps is exactly the bend you see in a parabola.

One more piece of vocabulary before we begin. This lesson is about the quadratic function, the input-output object with a graph. Asking which inputs produce one prescribed output, that is, solving a quadratic equation, begins in the next lesson. Today we learn everything a parabola will tell us without solving anything.

The parent of every parabola

Transformations of Graphs had one message: complicated graphs are simple graphs moved around, and everything about the copy is readable from the original plus the move. For parabolas the original is p(x)=x2p(x) = x^2, the parent parabola, so before transforming it you should know it completely.

Three properties of the parent parabola#

Write p(x)=x2p(x) = x^2.

It is symmetric across the yy-axis. For every input, p(x)=(x)2=x2=p(x)p(-x) = (-x)^2 = x^2 = p(x): reflecting the input changes no output. In the language of Transformations of Graphs, the inside reflection xxx \mapsto -x is a transformation that does nothing to this graph. Consequently the yy-axis is a mirror line of the parabola, and pp is an even function.

Its lowest point is the origin. A square is never negative: if x0x \ge 0 then xx0x \cdot x \ge 0, and if x<0x < 0 then xxx \cdot x is a product of two negative numbers, hence positive. So p(x)0=p(0)p(x) \ge 0 = p(0) for every xx, with equality exactly when x=0x = 0. The point (0,0)(0, 0) is on the graph and nothing on the graph is lower. This turning point is the vertex, and it sits on the mirror line.

Its range is [0,)[0, \infty), and heights rise steadily away from the vertex. No negative number is an output, and every c0c \ge 0 is one, since p(c)=cp(\sqrt{c}) = c. Moreover, if 0s<t0 \le s < t then t2s2=(ts)(t+s)>0t^2 - s^2 = (t - s)(t + s) > 0, so on the right half of the parabola the heights increase strictly. By the mirror symmetry established above, the heights increase equally strictly as you move leftward from the vertex. Each positive height is therefore reached exactly once on each side of the mirror, a small fact that will carry this lesson’s main theorem.

Vertex form is a transformation in disguise

Now dress the parent. Take constants a0a \ne 0, hh, and kk, and build

g(x)=a(xh)2+k=ap(xh)+k.g(x) = a(x - h)^2 + k = a\,p(x - h) + k.

Read the right side with chapter 2 eyes: the input is shifted by hh before the parent acts, and the output is scaled by aa and shifted by kk after. This is the master shape af(b(xh))+ka\,f(b(x - h)) + k from Transformations of Graphs with b=1b = 1, so its landing rule applies verbatim: the point (u,v)(u, v) on the parent lands at (u+h, av+k)(u + h,\ av + k).

Everything you might want to know about gg now costs nothing, because you know where the parent’s features land. The parent’s vertex (0,0)(0, 0) lands at (h,k)(h, k), so the vertex of gg is (h,k)(h, k). The parent’s mirror x=0x = 0 is carried to the vertical line through the new vertex, so the axis of symmetry is x=hx = h. The parent’s range [0,)[0, \infty) is scaled by aa and shifted by kk. When a>0a > 0 the range becomes [k,)[k, \infty), and when a<0a < 0 the negative scaling flips the interval end for end, giving (,k](-\infty, k]. So gg has a minimum value of kk when a>0a > 0 and a maximum value of kk when a<0a < 0, attained at x=hx = h in both cases. Meanwhile, a|a| sets how steeply the arms climb: the parabola looks narrower for a>1|a| > 1 and wider for 0<a<10 < |a| < 1.

If you prefer not to lean on chapter 2, the same facts fall out of two lines of algebra. Since (xh)20(x - h)^2 \ge 0 with equality exactly at x=hx = h, multiplying by a>0a > 0 and adding kk gives g(x)kg(x) \ge k with equality exactly at x=hx = h; for a<0a < 0 the inequality reverses. And equal steps either side of hh give equal heights, because g(h+t)=at2+k=g(ht)g(h + t) = at^2 + k = g(h - t), so the line x=hx = h is a genuine mirror. The transformation reading is instant, the direct check is airtight, and you should own both.

The parent parabola and a shifted copy with its vertex and axis markedThe parent parabola y = x squared, dashed, and the shifted parabola y = (x - 3) squared + 1, solid, with vertex (3, 1), the mirror line x = 3, and a horizontal chord of equal heights bisected by the axis.xyx = 3(0, 0)(3, 1)y = x²y = (x - 3)² + 1
The dashed curve is the parent y = x squared, vertex at the origin. The solid curve is y = (x - 3) squared + 1, the parent shifted right 3 and up 1, so its vertex is (3, 1) and its axis of symmetry is the line x = 3. The dashed horizontal chord joins two points of equal height on the shifted parabola; the axis cuts every such chord at its midpoint.

Worked example 1 Reading a vertex form at sight

Describe the graph of y=2(x+3)2+8y = -2(x + 3)^2 + 8 completely.

Match the template a(xh)2+ka(x - h)^2 + k. The inside is x+3=x(3)x + 3 = x - (-3), so h=3h = -3: inside changes run backward, exactly as in Transformations of Graphs. The outside gives a=2a = -2 and k=8k = 8.

The vertex is therefore (h,k)=(3,8)(h, k) = (-3, 8), the axis of symmetry is x=3x = -3, and since a=2<0a = -2 < 0 the parabola opens downward, so the vertex is its highest point. That maximum value is 88, attained at x=3x = -3, and the range is (,8](-\infty, 8].

As a recipe from the parent: shift left 33, stretch vertically by 22 and reflect across the xx-axis, then shift up 88. The landing rule confirms any point you like. The parent point (1,1)(1, 1) lands at

(1+(3), 21+8)=(2,6),(1 + (-3),\ -2 \cdot 1 + 8) = (-2, 6),

and indeed y=2(2+3)2+8=2+8=6y = -2(-2 + 3)^2 + 8 = -2 + 8 = 6. Not one feature required computation beyond reading the three constants.

Check your understanding

What are the vertex and range of y=3(x+2)2+7y = -3(x + 2)^2 + 7?

Answer choices

Both of those are states of the figure below, so check yourself against it rather than against the answer key. Worked example 1 is a=2a = -2, h=3h = -3, k=8k = 8; the checkpoint is a=3a = -3, h=2h = -2, k=7k = 7. Set each in turn and confirm that the vertex arrives where you said, and that the parabola opens the way the sign of aa promised.

The claim worth testing here is the one this section makes about the range, because it is the claim students take on trust. Fix aa at some positive value and move kk: the lowest point of the curve is kk, every time, and no part of the graph ever appears below it. Now make aa negative with kk left where it is. The same number is suddenly the highest point, and the curve hangs beneath it. Nothing about kk changed; the interval turned over because the scaling did. Moving hh instead slides the whole picture sideways and leaves that number exactly where it was, which is the other half of the claim. The range is fixed by aa and kk alone, and the axis of symmetry rides along with hh.

Vertex form y=a(xh)2+ky = a(x - h)^2 + k, with the vertex on the controls

y = x². Its vertex sits at (0, 0), not shifted at all. It opens upward, at the natural width of x². A coordinate plane with the graph of x² drawn on it, with its vertex marked. Use the controls below the figure to stretch it, or to shift it across or up and down. -6 -4 -2 2 4 -4 -2 2 4 6 8 10
Stretch a Inside h Outside k

y = x². Its vertex sits at (0, 0), not shifted at all. It opens upward, at the natural width of x².

A parabola on a coordinate plane, with its vertex placed by the inside and outside shifts and its width and direction set by the coefficient. The outside shift is the smallest output when the coefficient is positive and the largest when it is negative.

What standard form shows at a glance

Multiply a vertex form out and you always land back in standard form: expanding a(xh)2+ka(x - h)^2 + k gives ax22ahx+(ah2+k)ax^2 - 2ahx + (ah^2 + k), an ax2+bx+cax^2 + bx + c. Standard form is the costume quadratics usually arrive in, so it is worth knowing exactly what it offers for free, and what it hides.

Two features are free. First, the yy-intercept: f(0)=a0+b0+c=cf(0) = a \cdot 0 + b \cdot 0 + c = c, so the graph crosses the yy-axis at height cc, no work required. Second, the end behavior. For x0x \ne 0, factor out the highest power, exactly as the Graphs of Functions lesson taught:

f(x)=x2(a+bx+cx2).f(x) = x^2\left(a + \frac{b}{x} + \frac{c}{x^2}\right).

Far from the origin the fractions bx\tfrac{b}{x} and cx2\tfrac{c}{x^2} shrink toward 00, so the bracket sits as close to aa as you like while x2x^2 is enormous and positive. The outputs therefore take the sign of aa and grow without bound: when a>0a > 0 both ends of the parabola point up, and when a<0a < 0 both ends point down. One sign settles the whole large-scale picture.

What standard form hides is everything about the middle: where the turning point sits, how low or high the graph reaches, whether it ever meets the xx-axis. The vertex is simply not visible in ax2+bx+cax^2 + bx + c. The surprise of the next section is that symmetry digs it out anyway.

The axis of symmetry, from symmetry alone

Every parabola you have ever drawn has an evident vertical mirror, and for vertex form we just proved it: the mirror is x=hx = h. But a quadratic handed to you as f(x)=ax2+bx+cf(x) = ax^2 + bx + c names no hh. Later in this chapter, Completing the Square converts standard form into vertex form outright. Remarkably, you do not have to wait for it: two cheap evaluations and one symmetry principle locate the mirror exactly.

Two inputs that must share an output#

Let f(x)=ax2+bx+cf(x) = ax^2 + bx + c with a0a \ne 0, and suppose for the moment that b0b \ne 0.

Evaluate ff at 00: every term carrying an xx dies, and f(0)=cf(0) = c. Now evaluate at x=bax = -\tfrac{b}{a}:

f ⁣(ba)=ab2a2+b(ba)+c=b2ab2a+c=c.f\!\left(-\frac{b}{a}\right) = a \cdot \frac{b^2}{a^2} + b\left(-\frac{b}{a}\right) + c = \frac{b^2}{a} - \frac{b^2}{a} + c = c.

So the two distinct inputs 00 and ba-\tfrac{b}{a} produce the same output cc. A vertical mirror pairs every point of the graph with a partner at an identical height, reflected across the mirror. So if the graph possesses a mirror, the points (0,c)(0, c) and (ba,c)\left(-\tfrac{b}{a}, c\right) should be partners, and the mirror should stand exactly halfway between them, at

x=12(0+(ba))=b2a.x = \frac{1}{2}\left(0 + \left(-\frac{b}{a}\right)\right) = -\frac{b}{2a}.

So far this argument only locates a suspect: we have not yet proved the graph possesses a mirror at all. For an arbitrary graph, two points of equal height need not be reflections of one another. So put the suspect on trial. Write m=b2am = -\tfrac{b}{2a} and compare heights at equal displacements tt to the right and left of mm. Expanding,

f(m+t)=a(m+t)2+b(m+t)+c=(am2+bm+c)+(2am+b)t+at2,\begin{aligned} f(m + t) &= a(m + t)^2 + b(m + t) + c \\ &= (am^2 + bm + c) + (2am + b)\,t + at^2, \end{aligned}

and the only term that can tell right from left is the one carrying a plain tt. Its coefficient vanishes at our suspect, since

2am+b=2a(b2a)+b=b+b=0,2am + b = 2a\left(-\frac{b}{2a}\right) + b = -b + b = 0,

leaving, for every displacement tt,

f(m+t)=f(m)+at2.f(m + t) = f(m) + at^2.

Replacing tt by t-t changes nothing on the right side, so f(m+t)=f(mt)f(m + t) = f(m - t) for every displacement tt. Equal steps leftward and rightward of x=mx = m really do arrive at identical heights, so the line x=b2ax = -\tfrac{b}{2a} is a genuine mirror of the parabola. That line is also the only one, because a mirror at mm forces f(m+t)f(mt)=2(2am+b)tf(m + t) - f(m - t) = 2(2am + b)\,t to vanish for every tt, which happens only when 2am+b=02am + b = 0, that is, only at m=b2am = -\tfrac{b}{2a}.

Finally, if b=0b = 0 the two inputs 00 and ba-\tfrac{b}{a} coincide and identify no pair, but nothing is lost. The formula still answers x=0x = 0, and that answer is visibly correct, because f(x)=ax2+c=f(x)f(-x) = ax^2 + c = f(x), the identical evenness the parent parabola displayed.

The verification handed us more than we asked for. The identity f(m+t)=f(m)+at2f(m + t) = f(m) + at^2 says the height at displacement tt from the axis differs from the height on the axis by at2at^2, a correction with one sign. That correction is positive for every t0t \ne 0 when a>0a > 0, negative when a<0a < 0, and it grows steadily as t|t| grows. So the point of the parabola on the axis is the lowest point of the whole graph when a>0a > 0 and the highest when a<0a < 0. In other words, the vertex of f(x)=ax2+bx+cf(x) = ax^2 + bx + c sits at

x=b2a,y=f ⁣(b2a),x = -\frac{b}{2a}, \qquad y = f\!\left(-\frac{b}{2a}\right),

and the range is [f ⁣(b2a),)\left[f\!\left(-\tfrac{b}{2a}\right), \infty\right) when a>0a > 0 and (,f ⁣(b2a)]\left(-\infty, f\!\left(-\tfrac{b}{2a}\right)\right] when a<0a < 0. Standard form never displays its vertex, but it cannot hide it either: one division finds the axis, one evaluation finds the height. When Completing the Square arrives, it will repackage exactly this information as a rewriting of the formula. The geometry was never waiting on the algebra.

Worked example 2 Axis, vertex, and range from standard form

Find the axis of symmetry, vertex, and range of f(x)=2x28x+3f(x) = 2x^2 - 8x + 3.

Here a=2a = 2 and b=8b = -8, so the axis is

x=b2a=822=2,x = -\frac{b}{2a} = -\frac{-8}{2 \cdot 2} = 2,

minding the double negative. One evaluation finds the height of the vertex:

f(2)=2482+3=816+3=5,f(2) = 2 \cdot 4 - 8 \cdot 2 + 3 = 8 - 16 + 3 = -5,

so the vertex is (2,5)(2, -5). Since a=2>0a = 2 > 0 the parabola opens upward, 5-5 is the minimum value, and the range is [5,)[-5, \infty).

Symmetry now gives free points. The yy-intercept (0,3)(0, 3) sits 22 to the left of the axis, so its mirror partner (4,3)(4, 3) is also on the graph; indeed f(4)=3232+3=3f(4) = 32 - 32 + 3 = 3. One formula, one evaluation, and the whole middle of the graph is known.

Worked example 3 Symmetry with no coefficients at all

A quadratic function ff satisfies f(2)=f(10)f(2) = f(10), and its leading coefficient is negative. Where is its axis of symmetry, where is its maximum, and which is larger, f(3)f(3) or f(8)f(8)?

The inputs 22 and 1010 share an output, so they are mirror partners and the axis stands midway:

x=2+102=6.x = \frac{2 + 10}{2} = 6.

Since the leading coefficient is negative, the parabola opens downward and its maximum is attained on the axis, at x=6x = 6.

For the comparison, use the displacement identity f(6+t)=f(6)+at2f(6 + t) = f(6) + at^2 with a<0a < 0: height drops as t|t| grows, so whichever input is closer to the axis has the larger output. Now 36=3|3 - 6| = 3 while 86=2|8 - 6| = 2, so f(8)>f(3)f(8) > f(3). We compared two values of a function we were never given.

Check your understanding

What is the axis of symmetry of y=3x212x+5y = 3x^2 - 12x + 5?

Answer choices

One quadratic, three normal forms

You have now met all three costumes this chapter lives in:

standard:f(x)=ax2+bx+cvertex:f(x)=a(xh)2+kfactored:f(x)=a(xr1)(xr2)\begin{aligned} \text{standard:}\quad & f(x) = ax^2 + bx + c \\ \text{vertex:}\quad & f(x) = a(x - h)^2 + k \\ \text{factored:}\quad & f(x) = a(x - r_1)(x - r_2) \end{aligned}

The same aa appears in all three, because expanding either alternative form starts ax2+ax^2 + \cdots, so the leading coefficient, and with it the end behavior, survives every change of costume.

Each form pays out its own facts at sight. Standard form shows the yy-intercept c=f(0)c = f(0) and the end behavior. Vertex form shows the vertex (h,k)(h, k), the axis x=hx = h, the extreme value kk, the range, and the whole graph as a transformation of the parent. Factored form shows the zeros: substituting x=r1x = r_1 or x=r2x = r_2 makes a factor vanish, so f(r1)=f(r2)=0f(r_1) = f(r_2) = 0 and the graph meets the xx-axis at exactly those inputs. Reading zeros off a factored form that is handed to you is mere evaluation; producing the factored form yourself is the next lesson’s work. Factored form also controls the sign of ff between and beyond the zeros, which is what Quadratic Inequalities will exploit.

The three forms are not equally available. Every quadratic has a standard form, and Completing the Square will prove every quadratic has a vertex form. But the factored form exists over the real numbers only when the parabola actually meets the xx-axis. A parabola that opens upward with its vertex above the axis, such as one with range [4,)[4, \infty), never reaches height 00. Such a parabola has no real zeros, and that is a complete, honest answer. The Quadratic Formula lesson builds the discriminant, the single number that decides in advance which situation you are in. And chapter 5 enlarges the number system so that even those parabolas acquire zeros.

Notice also what symmetry says about factored form: the two zeros are a pair of inputs sharing the output 00, so the axis of symmetry must cut their midpoint, x=r1+r22x = \tfrac{r_1 + r_2}{2}. Read backward, the coefficients remember the zeros, which is the seed of the Sum and Product of Roots lesson closing this chapter.

The chapter’s plan is now one sentence per lesson. Solving Quadratics by Factoring converts standard form to factored form. Completing the Square converts standard form to vertex form. The Quadratic Formula runs that second conversion once, in full generality, and keeps the result forever, which is why it is a theorem rather than a recipe. Quadratic Inequalities harvests the sign information the factored form displays. Sum and Product of Roots reads the factored form back into the coefficients, extracting facts about the zeros without ever finding them.

Worked example 4 One function, three costumes

The function f(x)=2x24x6f(x) = 2x^2 - 4x - 6 can also be written as 2(x1)282(x - 1)^2 - 8 and as 2(x+1)(x3)2(x + 1)(x - 3). Verify both, then read each form’s free information.

Expanding the vertex form,

2(x1)28=2(x22x+1)8=2x24x+28=2x24x6,2(x - 1)^2 - 8 = 2(x^2 - 2x + 1) - 8 = 2x^2 - 4x + 2 - 8 = 2x^2 - 4x - 6,

and expanding the factored form,

2(x+1)(x3)=2(x22x3)=2x24x6,2(x + 1)(x - 3) = 2(x^2 - 2x - 3) = 2x^2 - 4x - 6,

so all three are the same function. Standard form says the yy-intercept is 6-6 and, since a=2>0a = 2 > 0, both ends point up. Vertex form says the vertex is (1,8)(1, -8), the axis is x=1x = 1, the minimum value is 8-8, and the range is [8,)[-8, \infty). Factored form says the zeros are 1-1 and 33.

The forms also police each other. The axis from standard form is x=422=1x = -\tfrac{-4}{2 \cdot 2} = 1, matching vertex form. The zeros 1-1 and 33 are an equal-height pair, so the axis must bisect them, and indeed 1+32=1\tfrac{-1 + 3}{2} = 1. Three costumes, one object, and each question answered in the form where it is free.

Check your understanding

Without expanding, find the axis of symmetry of g(x)=3(x2)(x8)g(x) = 3(x - 2)(x - 8).

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

Every ship at sea once steered by a book of numbers, and the books were full of mistakes.

Tables of logarithms and star positions were computed by hand, copied by hand, then set in type by hand. Each of those stages could drop a digit. A dropped digit could put a vessel on a reef. In 1822 the English mathematician Charles Babbage proposed the obvious cure. Build a machine that calculates the table and prints it, so that no human hand ever touches a number.

His design turns on a fact this lesson opened with. List the squares 0,1,4,9,160, 1, 4, 9, 16 and look at the gaps between them: 1,3,5,71, 3, 5, 7. The outputs do not climb evenly, but the gaps do, rising by a constant 22 at every step. So the next square is two additions away, with no multiplication anywhere, and the same trick walks a table of any quadratic forward forever.

That is the whole principle of the machine he called the Difference Engine, and it is also why a quadratic is the simplest curve that bends. A linear function has constant jumps. A quadratic has jumps that are themselves linear, so the jumps between its jumps settle down to a single number. Babbage never finished building it. A working engine was assembled from his drawings in 1991, and it does its arithmetic exactly the way you did yours.