Parabolas

Watch the video explainer

Learning goals

  • Read aa for which way it opens and how wide
  • Locate the axis of symmetry at x=−b2ax = -\tfrac{b}{2a}
  • Find the vertex, the lowest or highest point
  • Complete the square to reach vertex form y=a(x−h)2+ky = a(x - h)^2 + k
  • Take the yy-intercept as (0,c)(0, c)
  • Count the xx-intercepts with the discriminant b2−4acb^2 - 4ac

The graph of a quadratic is a curve

A quadratic is an equation whose highest power of xx is a square, written in the standard form

y=ax2+bx+c,a≠0.y = ax^2 + bx + c, \qquad a \ne 0.

If a=0a=0, the squared term disappears and leaves the line y=bx+cy=bx+c. With a≠0a\ne0, the graph bends. Start as you did with a line: make a table of solutions and plot them. This time you will join them with a smooth curve.

Start with the plainest quadratic there is, y=x2y = x^2, where a=1a = 1, b=0b = 0, and c=0c = 0. Pick a spread of xx-values and square each one.

xxy=x2y = x^2(x,y)(x, y)
−2-244(−2,4)(-2, 4)
−1-111(−1,1)(-1, 1)
0000(0,0)(0, 0)
1111(1,1)(1, 1)
2244(2,4)(2, 4)

The five points do not line up. A smooth curve through them forms a rounded U, with its lowest point at the origin. This curve is a parabola, and every equation y=ax2+bx+cy=ax^2+bx+c with a≠0a\ne0 graphs as one. The curve includes all its solution points, not just the five in the table.

The parabola y = x squared plotted from a tableFive solution points of y = x squared plotted from a table, joined into a U-shaped parabola with vertex at the origin.xy-2214(-2, 4)(-1, 1)(0, 0)(1, 1)(2, 4)
The five table points of y = x squared do not lie on a line. Joined by a smooth curve they form a parabola, a U-shaped bowl with its lowest point at the origin. Because squaring erases sign, the inputs 2 and negative 2 share the height 4, so the curve is a mirror image left and right.

Look again at the table. The rows pair up: x=−2x = -2 and x=2x = 2 both give y=4y = 4, and x=−1x = -1 and x=1x = 1 both give y=1y = 1. Squaring throws away the sign, so two inputs that are opposite in sign land at exactly the same height. That is why the left half of the curve is a mirror image of the right half, and it is the first fact we will make precise below.

The same table-and-plot routine graphs any quadratic. As long as aa stays the same, changing bb or cc only slides the bowl around the plane; its shape never changes. (The next section looks at what changing aa itself does.)

Worked example 1 Graph y=−x2+4y = -x^2 + 4 from a table

Here a=−1a = -1, b=0b = 0, and c=4c = 4. Choose a spread of xx-values and compute each yy, taking care to square first and then apply the minus sign.

xxy=−x2+4y = -x^2 + 4(x,y)(x, y)
−2-200(−2,0)(-2, 0)
−1-133(−1,3)(-1, 3)
0044(0,4)(0, 4)
1133(1,3)(1, 3)
2200(2,0)(2, 0)

Plotting (−2,0)(-2, 0), (−1,3)(-1, 3), (0,4)(0, 4), (1,3)(1, 3), and (2,0)(2, 0) and joining them smoothly gives a parabola, but this one is upside down. The curve rises to a highest point at (0,4)(0, 4) and falls away on both sides. The flip comes from the negative leading coefficient. At x=2x = 2 the value is −(2)2+4=−4+4=0-(2)^2 + 4 = -4 + 4 = 0, not 88, because the square is taken before the sign is attached. As with y=x2y = x^2, rows equally far above and below the x=0x=0 row have matching heights. They give matching points on the graph’s left and right halves.

Which way it opens, and how wide

The coefficient aa tells you which way the parabola opens and how wide it is. Begin with y=x2y=x^2: a square is nonnegative, equals zero only at x=0x=0, and grows as xx moves farther from zero on either side. That gives a valley. In y=ax2y=ax^2, a positive aa rescales every height without changing its sign, so the valley stays a valley and the parabola opens upward. A negative aa reverses their signs, so it opens downward.

A larger ∣a∣\lvert a\rvert makes the height change faster as you move from the vertex, giving a narrower curve; a smaller nonzero ∣a∣\lvert a\rvert gives a wider one. Compare y=2x2y=2x^2 and y=0.5x2y=0.5x^2 below. Later, completing the square will show why bb and cc change the position without changing these rules for the shape.

Upward and downward parabolas: the sign of aTwo parabolas sharing the origin as vertex: y equals x squared opening up and y equals negative x squared opening down.xyy = x²y = -x²
When a is positive, as in the accent curve y = x squared, the parabola opens upward into a valley; when a is negative, as in y = negative x squared, it opens downward into a hill. The two share the same vertex at the origin and are reflections of each other across the x-axis.
Narrow and wide parabolas: the size of aTwo upward parabolas sharing the origin as vertex: y equals 2 x squared is narrow and y equals one half x squared is wide.xy2-24y = 2x²y = 0.5x²
Both parabolas open upward from the origin, but y = 2x squared (the accent curve) has the larger coefficient, so its arms climb faster and it is narrow, while y = 0.5x squared climbs slowly and is wide.

Check your understanding

Which of these opens downward and is narrower than the graph of y=x2y = x^2?

Answer choices

The axis of symmetry

A parabola’s left and right sides are mirror images across its axis of symmetry. For y=ax2+bx+cy=ax^2+bx+c, that vertical line is

x=−b2a.x = -\frac{b}{2a}.

For y=x2y = x^2, where b=0b = 0, the axis is x=0x = 0, the y-axis itself, which matches the fold you saw in the table. To find the axis in general, use completing the square, from the Completing the Square lesson.

Completing the square puts xx inside one squared term. Opposite numbers have the same square, so inputs equally far to the left and right of the axis give the same height.

Why a parabola is symmetric about x=−b2ax = -\tfrac{b}{2a}#

First try y=x2−4x+1y=x^2-4x+1. Add and subtract 44 to complete the square:

y=(x2−4x+4)−4+1=(x−2)2−3.\begin{aligned} y&=(x^2-4x+4)-4+1 \\ &= (x-2)^2-3. \end{aligned}

At x=1x=1 and x=3x=3, the squared terms are (−1)2(-1)^2 and 121^2, so both heights are −2-2. The same works for any distance dd from 22: the terms are (−d)2(-d)^2 and d2d^2. Thus the axis is x=2x=2, not just for this pair of points but for the whole curve.

For the general quadratic, factor out aa from the first two terms, then complete the square:

y=a(x2+bax)+c=a[(x+b2a)2−b24a2]+c=a(x+b2a)2+c−b24a.\begin{aligned} y&=a\left(x^2+\frac ba x\right)+c\\ &=a\left[\left(x+\frac b{2a}\right)^2-\frac{b^2}{4a^2}\right]+c\\ &=a\left(x+\frac b{2a}\right)^2+c-\frac{b^2}{4a}. \end{aligned}

Look at where xx appears in that final form: only once, inside the square (x+b2a)2\left(x + \tfrac{b}{2a}\right)^2. Everything else is a constant. So the height yy depends on xx entirely through that one squared term.

Now compare two inputs placed the same distance dd on either side of the line x=−b2ax = -\tfrac{b}{2a}, namely x=−b2a+dx = -\tfrac{b}{2a} + d and x=−b2a−dx = -\tfrac{b}{2a} - d. For the first, x+b2a=dx + \tfrac{b}{2a} = d; for the second, x+b2a=−dx + \tfrac{b}{2a} = -d. Squaring both gives the same value d2d^2:

(−b2a+d+b2a)2=d2,(−b2a−d+b2a)2=(−d)2=d2.\begin{aligned} \left(-\tfrac{b}{2a}+d+\tfrac{b}{2a}\right)^2&=d^2,\\ \left(-\tfrac{b}{2a}-d+\tfrac{b}{2a}\right)^2&=(-d)^2=d^2. \end{aligned}

Since the squared term is identical, the whole expression for yy is identical, so the two mirror-image inputs produce the same height. That is exactly what it means for the graph to be symmetric about the vertical line x=−b2ax = -\tfrac{b}{2a}. Fold the plane along that line and the left half of the parabola lands on the right half. The line is the axis of symmetry.

The vertex

The vertex is the turning point: the curve changes from falling to rising, or from rising to falling. It lies where the axis meets the curve, so its xx-coordinate is

x=−b2a.x = -\frac{b}{2a}.

Substitute this value back into the equation to find the vertex’s yy-coordinate.

Why is it the lowest or highest point? In the completed-square form, the square is never negative. If a>0a>0, its contribution only adds to the constant, so yy is smallest when the square is zero. If a<0a<0, it only subtracts, so yy is largest there. The zero occurs exactly on the axis, at the vertex. Quadratic Optimization will use this fact to find lowest costs and greatest heights.

Worked example 2 Find the axis of symmetry and vertex of y=2x2−8x+5y = 2x^2 - 8x + 5

Read off the coefficients with their signs: a=2a = 2, b=−8b = -8, c=5c = 5. The axis of symmetry is the vertical line at x=−b2ax = -\tfrac{b}{2a}:

x=−b2a=−−82(2)=84=2.x = -\frac{b}{2a} = -\frac{-8}{2(2)} = \frac{8}{4} = 2.

So the axis of symmetry is x=2x = 2, and the vertex sits on it. Find the vertex’s height by substituting x=2x = 2 back into the equation:

y=2(2)2−8(2)+5=8−16+5=−3.\begin{aligned} y &= 2(2)^2 - 8(2) + 5 \\ &= 8 - 16 + 5 = -3. \end{aligned}

The vertex is (2,−3)(2, -3). Since a=2>0a = 2 > 0 the parabola opens upward, so this vertex is the lowest point on the graph, and the smallest value yy ever reaches is −3-3.

Vertex form

The completed-square equation has its own name, vertex form:

y=a(x−h)2+k.y = a(x - h)^2 + k.

The vertex is (h,k)(h,k): setting x=hx=h makes the square zero and gives y=ky=k. The coefficient aa is unchanged, so you can read the opening and width from it as before. At horizontal distance dd from the vertex, the height differs from kk by ad2ad^2, just as y=ax2y=ax^2 differs from zero at distance dd from the origin. Thus moving the vertex does not change the shape. Comparing with the completed square gives h=−b2ah=-\tfrac{b}{2a} and k=c−b24ak=c-\tfrac{b^2}{4a}, the same axis and vertex height as before.

Watch the sign inside the parentheses. Vertex form is x−hx - h, so y=(x−3)2+2y = (x - 3)^2 + 2 has h=3h = 3 (vertex x-coordinate 33), while y=(x+3)2+2y = (x + 3)^2 + 2 is really (x−(−3))2+2(x - (-3))^2 + 2, so h=−3h = -3. The number inside the parentheses is the opposite of the vertex’s x-coordinate.

Converting standard form to vertex form is just completing the square; converting back is just expanding. Both directions are worth practicing: in standard form you read the y-intercept from cc, and in vertex form you read off the vertex.

Worked example 3 Write y=x2−6x+5y = x^2 - 6x + 5 in vertex form, then convert it back

Complete the square on the two xx terms. Half of the coefficient −6-6 is −3-3, and (−3)2=9(-3)^2 = 9, so add and subtract 99:

y=(x2−6x+9)−9+5.y = (x^2 - 6x + 9) - 9 + 5.

The parenthesized trinomial is the perfect square (x−3)2(x - 3)^2, and the loose constants combine to −9+5=−4-9 + 5 = -4:

y=(x−3)2−4.y = (x - 3)^2 - 4.

In vertex form this is y=(x−3)2−4y = (x - 3)^2 - 4, so h=3h = 3 and k=−4k = -4, and the vertex is (3,−4)(3, -4). To convert back, expand the square and collect:

(x−3)2−4=x2−6x+9−4=x2−6x+5,\begin{aligned} (x - 3)^2 - 4 &= x^2 - 6x + 9 - 4 \\ &= x^2 - 6x + 5, \end{aligned}

which returns the original standard form, confirming the two are the same equation written two ways.

Check your understanding

Complete the square to write y=x2+10x+24y = x^2 + 10x + 24 in vertex form. What is the vertex?

Answer choices

The y-intercept

The y-intercept is where the graph crosses the y-axis, and every point on the y-axis has x=0x = 0. Set x=0x = 0 in y=ax2+bx+cy = ax^2 + bx + c and the first two terms vanish:

y=a(0)2+b(0)+c=c.y = a(0)^2 + b(0) + c = c.

So the y-intercept is the point (0,c)(0, c), read off instantly as the constant term of standard form. For y=x2−2x−3y = x^2 - 2x - 3 the y-intercept is (0,−3)(0, -3); for y=−x2+4y = -x^2 + 4 it is (0,4)(0, 4). Every graph of a quadratic has exactly one y-intercept, because substituting x=0x=0 gives exactly one value of yy.

The x-intercepts and the discriminant

The x-intercepts are where the graph meets the x-axis, and every point on the x-axis has y=0y = 0. So to find them, set y=0y = 0 and solve the quadratic equation

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

by factoring when it splits nicely, or by the quadratic formula when it does not. Each real solution is one x-intercept. Unlike the y-intercept, a parabola can have two, one, or zero x-intercepts. The discriminant b2−4acb^2 - 4ac, which you met with the quadratic formula, tells you which of the three you get.

Why the discriminant counts the x-intercepts#

Start with y=x2−2x−3y=x^2-2x-3. Its discriminant is (−2)2−4(1)(−3)=16(-2)^2-4(1)(-3)=16, so the formula gives

x=2±42,x=−1 or x=3.x=\frac{2\pm4}{2},\qquad x=-1\text{ or }x=3.

Changing the constant to 11 gives D=4−4=0D=4-4=0 and just x=1x=1. Changing it to 22 gives D=4−8=−4D=4-8=-4, so the square root is not real and there is no xx-intercept.

The same reasoning applies to any quadratic. Its xx-intercepts are the real solutions of ax2+bx+c=0ax^2+bx+c=0, given by

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

and how many real values come out depends on the quantity under the root, the discriminant D=b2−4acD = b^2 - 4ac. When D>0D > 0 the root D\sqrt{D} is a nonzero real number, so the ±\pm produces two different real xx-values: the parabola crosses the x-axis twice. When D=0D = 0 the root is 00, the ±\pm collapses, and there is exactly one real xx-value: the parabola just touches the axis at its vertex. When D<0D < 0 the root is not real, so no real xx makes y=0y = 0 and the parabola misses the x-axis entirely.

The picture agrees with the algebra. Completing the square put the vertex height at k=c−b24a=−b2−4ac4a=−D4ak = c - \tfrac{b^2}{4a} = -\tfrac{b^2 - 4ac}{4a} = -\tfrac{D}{4a}. Take an upward parabola, a>0a > 0, whose vertex is its lowest point. That lowest point lies below the x-axis when k<0k < 0, on it when k=0k = 0, and above it when k>0k > 0, which is D>0D > 0, D=0D = 0, and D<0D < 0 in turn. A bowl whose bottom is below the axis must cross it twice, and one sitting exactly on the axis touches once. A bowl held above the axis never reaches it.

Try those three cases in the figure. Keep a=1a=1 and b=−2b=-2, and step cc up from −3-3. The discriminant is 4−4c4-4c, so the rings marking the two xx-intercepts move toward each other as cc rises. At c=1c=1 they meet at the vertex; at c=2c=2 they disappear. The curve has moved up without changing its shape.

Next change bb. The axis moves according to x=−b/(2a)x=-b/(2a), and the vertex moves with it, while the opening and width stay the same. Finally set a=0a=0: the squared term disappears, leaving a line. This is why a quadratic requires a≠0a\ne0.

The discriminant and the number of x-intercepts

y = x² - 2x - 3. It opens upward, and its vertex is at (1, -4). The axis of symmetry is x = 1. The discriminant b² - 4ac is 16, which is positive, so there are two roots, at x = -1 and x = 3. A coordinate plane with a quadratic graph on it. A dot marks the vertex where the graph has one, and dots mark any points where the curve crosses the horizontal axis. A dashed vertical line marks the axis of symmetry when there is one. Use the controls below the figure to change the three coefficients. -6 -4 -2 2 4 6 -8 -6 -4 -2 2 4 6 8 vertex roots axis of symmetry
a b c

y = x² - 2x - 3. It opens upward, and its vertex is at (1, -4). The axis of symmetry is x = 1. The discriminant b² - 4ac is 16, which is positive, so there are two roots, at x = -1 and x = 3.

Controls set the three coefficients in y = ax squared + bx + c. When a is nonzero, the graph is a parabola: its vertex, symmetry axis and horizontal intercepts are marked and move as the coefficients change. When a is zero, the graph is a line with no parabola vertex or symmetry axis.

Worked example 4 Find the intercepts of y=x2−x−6y = x^2 - x - 6

Start with the y-intercept, the easy one: set x=0x = 0, which leaves y=c=−6y = c = -6, so the y-intercept is (0,−6)(0, -6).

For the x-intercepts, set y=0y = 0 and solve x2−x−6=0x^2 - x - 6 = 0. This factors, since −3-3 and 22 multiply to −6-6 and add to −1-1:

x2−x−6=(x−3)(x+2)=0.x^2 - x - 6 = (x - 3)(x + 2) = 0.

A product is 00 when a factor is 00, so x=3x = 3 or x=−2x = -2, giving the two x-intercepts (3,0)(3, 0) and (−2,0)(-2, 0). The discriminant confirms there should be two:

D=(−1)2−4(1)(−6)=1+24=25>0,\begin{aligned} D &= (-1)^2 - 4(1)(-6) \\ &= 1 + 24 = 25 > 0, \end{aligned}

and 25>025 > 0 means two real x-intercepts, exactly the pair the factoring found.

Check your understanding

How many x-intercepts does the graph of y=x2−4x+7y = x^2 - 4x + 7 have?

Answer choices

Putting it all together

Each feature is quick on its own; together they let you sketch a parabola without a long table. The recipe is always the same: read the direction from the sign of aa, then find the vertex from −b2a-\tfrac{b}{2a}. Mark the y-intercept at (0,c)(0, c), and find the x-intercepts by setting y=0y = 0.

Worked example 5 Graph y=x2−2x−3y = x^2 - 2x - 3 using its features

Here a=1a = 1, b=−2b = -2, c=−3c = -3. Take the features one at a time.

Direction. Since a=1>0a = 1 > 0, the parabola opens upward.

Vertex and axis. The axis of symmetry is at

x=−b2a=−−22(1)=1,x = -\frac{b}{2a} = -\frac{-2}{2(1)} = 1,

and substituting x=1x = 1 gives the height y=(1)2−2(1)−3=1−2−3=−4y = (1)^2 - 2(1) - 3 = 1 - 2 - 3 = -4, so the vertex is (1,−4)(1, -4), the lowest point.

y-intercept. Setting x=0x = 0 gives y=c=−3y = c = -3, the point (0,−3)(0, -3).

x-intercepts. Set y=0y = 0 and factor x2−2x−3=(x−3)(x+1)=0x^2 - 2x - 3 = (x - 3)(x + 1) = 0, so x=3x = 3 or x=−1x = -1, giving (3,0)(3, 0) and (−1,0)(-1, 0). The discriminant D=(−2)2−4(1)(−3)=4+12=16>0D = (-2)^2 - 4(1)(-3) = 4 + 12 = 16 > 0 agrees that there are two.

Plot the vertex (1,−4)(1, -4), the two x-intercepts, and the y-intercept, then draw a smooth upward U through them, symmetric about the line x=1x = 1. Notice the y-intercept (0,−3)(0, -3) has a mirror twin at (2,−3)(2, -3), the same height on the other side of the axis. That twin is a handy fifth point to steady the curve.

The graph of y = x squared minus 2x minus 3 with its features labeledAn upward parabola with vertex (1, -4), axis of symmetry x = 1, y-intercept (0, -3), and x-intercepts (-1, 0) and (3, 0).xy0x = 1vertex (1, -4)(0, -3)(-1, 0)(3, 0)
The graph of y = x squared minus 2x minus 3, built from its features. It opens upward, with vertex (1, negative 4) sitting on the dashed axis of symmetry x = 1, the y-intercept at (0, negative 3), and the two x-intercepts at (negative 1, 0) and (3, 0).

Common mistakes

Practice

Multiple Choice Questions (MCQ)

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

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems 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)

Hang a chain between two hooks. It sags in the middle and curves upward on both sides, looking much like a parabola. In 1646, the seventeen-year-old Christiaan Huygens proved that it was a different curve. Near the bottom, a carefully matched parabola and hanging chain can look almost identical; farther out, their shapes separate.

Now hang a roadway from a cable. Under an ideal load spread evenly across the horizontal span, with the cable’s own weight neglected, its shape really is a parabola. A bare chain carries weight differently: its weight is spread along the chain’s own length. That produces the curve called a catenary. A suspension bridge’s cable can be modeled closely by a parabola when the roadway supplies most of its load.

The two curves look alike, but they have different equations because they carry different loads. The graphs you studied here have the precise form y=ax2+bx+cy=ax^2+bx+c with a≠0a\ne0.

Your progress

See all your progress →