MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Sketching quadratic graphs — key features

U2 — Algebra Advancing › U2.4 — Linear and Quadratic GraphsLecture 4 of 5~2740 words

Two tables, and neither one finds the bottom

Priya and Tomás both need the graph of . Priya makes a table for and gets . Tomás uses and gets .

x y −4 −2 2 4 6 −8 −4 4 8 12 16 O Tomás Priya ?
Tomás's points (hollow) only fall. Priya's points (filled) only rise. The dashed curve is the true graph. Its lowest point lies between the two tables.

Both tables are correct, and both miss the most important point. This is the disruption. A table only answers the questions you thought to ask. If you choose the wrong values of , you miss the turn. Sketching works the other way round. You read the key features from the equation first. Then you know where to look.

A sketch is not a careful plot on graph paper. It is a drawing of the right shape, in the right place, with the key points labelled with their exact coordinates.

Every quadratic graph has the same shape

The graph of , with , is called a parabola. The lecture on drawing straight lines found that has values at , with steps , so its graph is a curve. It promised that curves like this would come later. Here they are.

Look at those steps again. Each step is exactly 2 more than the one before. So the graph gets steeper at a steady rate, and that steady bending gives a parabola its smooth, even shape.

Every quadratic behaves like this. Take at . The values are . The steps are . Again, each step is 2 more than the last. The curve falls, falls less, turns, and rises.

In general the steps change by each time, so the sign of decides which way the curve bends. There is a second way to see this. Far from the origin, the term is much bigger than the others. At , the terms of are , and . The same happens at , because is also positive. So far out on both sides, has the same sign as .

The completing-the-square lecture showed that any quadratic can be written as . That is the graph of , stretched by and moved so that its turning point is at . There is only one shape. Only its width, direction and position change.

Where the curve meets the -axis

Every point on the -axis has . Put into , and the first two terms vanish. So the curve always crosses the -axis at .

Stop and think

Earlier lectures found the mirror line halfway between the two roots. Now take . Its discriminant is , so it has no roots. Does it still have a mirror line? How could you find it?

Show the answer

Yes. Every parabola is symmetric. The roots are just one pair of points at the same height, and any other pair works equally well. You need a pair that every quadratic has, roots or not. The next section finds one.

The mirror line, found without the roots

We know one point: . Where else does the curve reach the height ? Set and solve:

So or . The curve passes through a second point at height : .

Two different points on a parabola at the same height are mirror images. This is because gives the same value when is the same distance from on either side, and only then. So the mirror line is halfway between them, at the average of and :

That is it. That is where comes from. It is not a formula to learn by heart. It is the average of two places at the same height. This line is the axis of symmetry, and the argument works for every quadratic, with roots or without.

x y −4 −3 −2 −1 1 2 2 4 6 8 10 12 O (0, 5) (−2, 5) vertex (−1, 4) x = −1
has no roots, but it reaches height 5 twice: at and at . The mirror line is halfway between them, at .

The second point, , is also a free point for your sketch. Call it the mirror point of the -intercept.

The vertex: the turning point

The turning point is called the vertex. It lies on the axis of symmetry, so its -coordinate is . To find its -coordinate, substitute that value into the equation. For , the axis is , and

So the vertex is , a minimum, because is positive. The discriminant lecture gave the same height another way: ✓. Substitution is usually quicker.

Where the curve meets the -axis

Every point on the -axis has , so the roots come from solving . Factorise when you can see the brackets. Use the formula or completing the square when you cannot. The discriminant, , tells you first what to expect: positive, two roots; zero, one repeated root, with the vertex on the axis; negative, no real roots. Two roots are mirror images, so they sit the same distance either side of the axis. That is a free check on every sketch.

Sketching

Shape: gives a U-shape with a minimum; gives an ∩-shape with a maximum.

-intercept: , and its mirror point .

Axis of symmetry: , halfway between any two points at the same height.

Vertex: substitute to find its -coordinate.

Roots: solve when .

Then draw one smooth, symmetric curve through the marked points, and label every point with its coordinates.

What the middle number does

The constant says where the curve crosses the -axis. The number says which way it opens, and how narrow it is. The middle number, , is the puzzle. It moves the vertex, but in which direction? Make a prediction before you read on.

Predict — which way does b move the vertex?

Both curves are U-shapes through (0, 3). One has its vertex to the left of the y-axis, the other to the right. Choose the statement you believe, then read the explanation.

The two curves y = x² + 4x + 3 and y = x² − 4x + 3 both pass through (0, 3). The one with +4x has its vertex on the left, at (−2, −1). The one with −4x has its vertex on the right, at (2, −1).

x y −4 4 2 4 6 8 O (0, 3) (−2, −1) (2, −1) y = x² + 4x + 3 y = x² − 4x + 3 Dashed: the direction of each curve as it crosses the y-axis.
The curve with is rising as it crosses the -axis, so its lowest point is already behind it, on the left. The curve with is still falling, so its lowest point is ahead, on the right.

Here is the reason. The number is the gradient of the curve where it crosses the -axis. The gradient idea from the straight-line lectures proves it. Take two points on the curve, the same distance either side of the -axis:

The difference in height is . The difference in is . So the line joining the two points has gradient . The answer does not depend on . However close the two points are, the line joining them has gradient . So at the -axis, the curve itself is heading with gradient .

In , the curve is rising with gradient 4 at the -axis. A U-shape that is already rising has passed its lowest point. So the vertex is on the left. In , the curve is still falling at the -axis, so its lowest point is still ahead, on the right. So a positive moves the vertex of a U-shape to the left, which is what the minus sign in says.

Try all three numbers together in the graph builder below.

Graph builder — what a, b and c each do

The curve starts as y = x² − 4x − 5, from Worked Example 1. Change one number at a time. First move only c and watch the dashed axis. Then move only b and watch the point (0, c). Last, move a down through 0 and watch the curve turn over.

What each number does, starting from y = x² − 4x − 5 (vertex (2, −9)):

ChangeWhat movesWhat stays fixed
c from −5 to 3: y = x² − 4x + 3The whole curve rises by 8. Vertex (2, −1).The axis x = 2.
b from −4 to 4: y = x² + 4x − 5The vertex moves to (−2, −9), on the other side.The point (0, −5), now rising with gradient 4.
b from −4 to 0: y = x² − 5The vertex moves onto the y-axis, at (0, −5).The point (0, −5), now flat.
a from 1 to 2: y = 2x² − 4x − 5Narrower curve. Axis x = 1, vertex (1, −7).The point (0, −5) and its gradient −4.
a from 1 to −1: y = −x² − 4x − 5An ∩-shape. Axis x = −2, maximum (−2, −1), no real roots.The point (0, −5) and its gradient −4.
a = 0: y = −4x − 5No longer a parabola: a straight line.Gradient −4 through (0, −5).

What should you have seen? Changing lifts or lowers the whole curve, and the axis never moves, because contains no . Changing keeps fixed and swings the curve around it. Changing makes the curve narrower or wider. At it becomes the straight line , with gradient through : the direction of every one of these parabolas at the -axis.

Worked examples

Worked Example 1 — Back to Priya and Tomás

Sketch . Label all the key features.

Shape. is positive, so the graph is a U-shape with a minimum.

-intercept. , so the curve passes through . Its mirror point is at , so is also on the curve.

Axis. . This is halfway between 0 and 4 ✓.

Vertex. . The minimum is .

Roots. , so or . Check: halfway between them is , the axis ✓.

Gradient check. , so the curve is falling as it crosses the -axis. The minimum should be to the right of the -axis, and it is ✓.

x y O (−1, 0) (5, 0) (0, −5) (4, −5) (2, −9) minimum x = 2 y = x² − 4x − 5
The finished sketch: five labelled points and the mirror line. The turn that Priya and Tomás missed is found first.
Worked Example 2 — An upside-down parabola

Sketch .

Shape. is negative, so the graph is an ∩-shape with a maximum.

-intercept. . Mirror point: , so .

Axis. . Halfway between 0 and 2 ✓.

Vertex. . The maximum is .

Roots. Solve . Multiply every term by . This does not change the solutions, because is still . You get , so , and or . Halfway between them is 1 ✓.

Gradient check. : rising at the -axis. An ∩-shape that is still rising has not reached its top, so the maximum is to the right ✓. The sketch is an ∩-shape through , , , and .

Worked Example 3 — No roots at all

Sketch .

Shape. , positive: a U-shape, and narrower than , because the steps grow twice as fast.

-intercept. . Mirror point: , so .

Axis and vertex. . Then . The minimum is .

Roots. , which is negative. There are no real roots.

Does that agree with the picture? Yes. The lowest point of the curve is at height 3, above the -axis, so the curve can never come down to the axis ✓.

The sketch: a U-shape entirely above the -axis, through , and , labelled "no real roots". The mirror point gives this sketch three points instead of two.

Worked Example 4 — Roots that are not whole numbers

Sketch .

Shape, intercept, mirror point. U-shape. , and its mirror point at , so .

Axis and vertex. . Then . The minimum is .

Roots. , positive, so there are two roots. No pair of whole numbers multiplies to 4 and adds to , so the quadratic does not factorise. The vertex already gives the completed square: . Setting this to zero gives , so

Label the roots exactly, as and . For placing them on the sketch, and (3 significant figures, written 3 s.f.).

Check. The roots are either side of the axis ✓. The curve is at height 4 on the -axis and falling (), so it should cross the -axis soon after, and it does, near 0.76 ✓.

Three traps

Trap 1 — Losing the minus sign in

For , the number is , not 4. So , and the axis is . Writing puts the vertex on the wrong side. The gradient check catches this at once: means the curve is falling at the -axis, so the minimum must be to the right.

Trap 2 — Squaring a negative number wrongly

To find on at , you need . The square comes first: , and then the minus sign gives . So . Writing here is a very common slip. On a calculator, type the brackets: , not .

Trap 3 — A pointed tip, or arms that stop

A parabola is round at the vertex, never pointed like a V. Its arms keep going: they do not stop at the roots, and they never curve back in. Draw the two sides as mirror images about the dashed axis.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Sketch . Label the -intercept, its mirror point, the vertex and the roots.

    Hint 1

    Start with the shape, then read . The mirror point is at .

    Hint 2

    The axis is . For the roots, find two numbers that multiply to and add to 2.

    Full answer

    : U-shape, minimum. -intercept ; mirror point at , so . Axis . Vertex: , so . Roots: , so and . Check: halfway between and 2 is ✓. Gradient check: , rising at the -axis, so the minimum is on the left ✓.

  2. Sketch . Give the roots exactly and to 3 s.f.

    Hint 1

    , so the curve is an ∩-shape. The axis is .

    Hint 2

    The discriminant is . Use the quadratic formula, and simplify .

    Full answer

    ∩-shape, maximum. -intercept ; mirror point at , so . Axis . Vertex: , so the maximum is . Roots: , so and . Check: both are from the axis ✓. The curve starts below the axis at and is rising (), so it crosses the axis soon after, near 0.42 ✓.

  3. A parabola crosses the -axis at and , and the -axis at . Find its equation and its vertex.

    Hint 1

    Roots and 5 mean the quadratic has factors and . There may also be a number in front.

    Hint 2

    Write . Put in , to find .

    Full answer

    . At : , so . Expanding, . The axis is halfway between the roots, at . The vertex: , so . Check with the formula: ✓. This curve is Worked Example 1 stretched by the factor 2: the roots stay put, and every height doubles, so becomes .

  4. A farmer has 24 m of fencing. She builds a rectangular pen against a long wall, so she fences only three sides: two sides of width metres, and one side parallel to the wall. Write the area in terms of . Sketch against , and use the sketch to find the largest possible area. Which part of your sketch makes sense for the pen? (An invented example.)

    Hint 1

    Two widths use metres, so the side parallel to the wall is . The area is width × length.

    Hint 2

    . Its roots are easy to read from the factorised form.

    Full answer

    . This is an ∩-shape (), so it has a maximum. The roots are and , where the pen has no area. The axis is halfway, at (and ✓). The maximum is m², with a pen 6 m wide and 12 m long. Check two neighbours: gives , and gives , both smaller and equal, as the symmetry says ✓. Only the arch between and makes sense: outside it, a length or the area would be negative. The vertex answers two questions at once: the best area (72 m²) and how to get it ().

The bigger idea

The vertex is an optimum: the smallest or largest value the quadratic can take. The fencing question in Try it 4 is one example. A ball thrown into the air is another: if air resistance is ignored, its path is a parabola, and the vertex is the top of its flight.

The two-point trick works at any point, not only at . Join the points at and , and the gradient comes out as , again with no left. At the vertex the curve is flat, so , which gives a third time. Finding where a curve is flat is the central move of differentiation, the first great idea of calculus. The next lecture uses the same features to sketch cubics, which can turn twice.

Key concepts in this lesson