14.4 Graphing quadratic functions — Learn
Prerequisites: plotting points and drawing a graph from Section 14.3, multiplying two brackets from Section 11.3, and factorising a quadratic from Section 11.5.
Objectives: make a table of values for a quadratic function; draw the curve; find the roots from the graph; read the highest or lowest point; build a quadratic from its roots.
By the end of this section, you can draw the graph of a quadratic function and read its roots and its highest or lowest point.
The simplest quadratic
A quadratic function has an in its rule. The simplest one is .
Example 1. Make a table of values for for , , , , , and .
| 9 | 4 | 1 | 0 | 1 | 4 | 9 |
Plot the points. The graph is a smooth curve, not a set of straight segments. It is called a parabola, and it looks like a letter U.
The lowest point is . It is the minimum of the graph, and it is where the curve turns around.
The curve is symmetrical
Look at the table again. The value for is 4, and the value for is also 4. The value for is 9, and so is the value for .
The left side of the curve is a mirror image of the right side. The curve is symmetrical about the vertical line through its lowest point. For that line is the vertical axis.
A square hides the sign of its input, so and are equal. That is where the symmetry comes from.
The roots
A root of a function is an input for which the output is 0. On the graph, a root is a place where the curve crosses the horizontal axis.
For , the roots are the solutions of
The curve crosses the horizontal axis at and at . Between those two values the curve is below the axis, so the output is negative there.
Building a quadratic from its roots
If you know the roots, you can write down the function.
A root at means that the output is 0 when the input is 2. The bracket is 0 at , so is a factor. In the same way, a root at gives the factor .
Example 2. A quadratic has roots 2 and 5. Write its rule and expand it.
Multiply the two brackets.
Check: at , . At , . Both roots work.
Example 3. A quadratic has roots and . Write its rule and expand it.
A root at gives the factor , because substituting makes that bracket zero.
A quadratic that opens downwards
When the number in front of is negative, the curve opens downwards. Its highest point is the maximum of the graph.
The garden bed has a rule like this. Its area is
The number in front of is , so the curve opens downwards and has a maximum.
Example 4. Make a table for for , , , , , and .
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|---|
| 0 | 10 | 16 | 18 | 16 | 10 | 0 |
Plot the points and join them with a smooth curve. The curve rises from to a highest point, and then falls back to .
- The greatest area is , at a width of 3 m. That is the maximum point.
- The roots are 0 and 6, where the curve crosses the horizontal axis.
- The curve is symmetrical about the vertical line through the maximum, so the widths 2 m and 4 m give the same area, and the widths 1 m and 5 m do the same.
Example 5. Find the greatest area from the table.
The largest value in the bottom row is 18, at .
The greatest area is , and the width that gives it is 3 m. The fenced length is then m.
Progress check
Return to the chapter problem. The area of the garden bed is square metres.
- Copy and complete the table for , , , , , and .
- Plot the points and draw the smooth curve.
- Read the greatest area from the graph, and the width that gives it.
- Read the two roots from the graph, and say what they mean for the bed.
In Section 14.5 you will read this graph as the story of the garden bed, and compare it with other graphs from real situations.
You should now be able to
- make a table of values for a quadratic function;
- draw the smooth curve of a quadratic function;
- read the roots from the graph, and explain what a root is;
- read the maximum or the minimum from the graph;
- build a quadratic from its roots and expand it;
- explain why the curve is symmetrical.