Module 7 (M7) - Number and algebra – Graphs

Part ofMathsM7: Number

Before reading this guide, it may me helpful to read the following guides from Module 3 (M3), Module 6 (M6) and Module 7 (M7).

Functions and graphs

A function is a rule that is applied to one set of values to give another set of values.

A function can be illustrated on a graph – points are plotted as coordinates and joined by either a straight line or a smooth curve.

A linear function has an equation of the form \(y = mx + c\). Its graph is a straight line.

A quadratic function has an equation of the form \(y = ax^{2} + bx + c\) where \(b\) and/or \(c\) can be equal to zero, but \(a\) is not equal to zero. Its graph is a smooth symmetrical curve.

Some examples:

  • \(y = 5x^{2}\)

  • \(y = 3x^{2} + 2x – 5\)

  • \(y = 9 – x^{2}\)

  • \(y = 2x^{2} – 3x\)

For Module 7 (M7) Graphs, you'll need to know…

  • more about quadratic functions and their graphs,
  • be able to recognise two further types of functions and graphs – cubic functions and reciprocal functions.

Graphs of quadratic functions

A quadratic graph is produced when you have an equation of the form \(y = ax^{2} + bx + c\), where \(b\) and \(c\) can be zero but \(a\) cannot be zero.

All quadratic graphs have a line of symmetry.

Positive quadratic graphs (where \(a > 0\)) are U-shaped and have a turning point at the bottom of the curve. Negative quadratic graphs (where \(a< 0 \)) are \(\cap\)-shaped, like an inverted U, and have a turning point at the top of the curve.

An image of a labelled quadratic graph, with the turning points and lines of symmetry labelled. The left graph illustrates a U-shaped graph of a greater than 0, and the right graph illustrates an inverted U-shaped graph where a is less than 0.

Plotting a quadratic graph

Example

Draw the graph of \(y = x^{2} – x – 4 \).

Solution

First, we need to complete a table of values:

\(x\)–3–2–1012345
\(y\)82–2–4–4–22816

Then plot these points and join them with a smooth curve.

An image of a quadratic graph on a grid, with the points plotted and a smooth curve drawn through them. Coordinates of points from left of x-axis to right are (–3, 8), (–2, 2), (–1, –2), (0, –4), (1, –4), (2, –2), (3, 2), (4, 8), (5, 16).

Points of intersection with straight lines

At the point (or points) where two graphs intersect, the \(x\) and \(y\) values are the same for both functions. We use this information to find the solution to simultaneous linear equations.

Simultaneous equations where one of the graphs is quadratic and the other is a straight line can also be solved by reading the points of intersection.

Example

The graph of \(y = x^{2} – x – 2\) has been drawn below.

A quadratic graph showing the equation y = x squared -x -2.

On the same grid, draw the line \(y = x + 1\). Write down the coordinates of the points of intersection of the two graphs.

Solution

An image of a quadratic graph on a grid, with the points plotted and a smooth curve drawn through them, illustrating y = x squared – x – 2. Another line illustrating y = x +1 is drawn, intersecting with the quadratic at (–1, 0) and (3, 4).

To draw the line \(y = x +1\), chose three values of \(x\)

  • when \(x = 0, y = 1 \)

  • \(x = 1, y = 2 \)

  • \( x = 2, y = 3\)

Plot the points \((0, 1) (1,2)\) and \((2, 3)\)

Join the points with a straight line extending it to the edges of the grid.

To draw a straight line from its equation, you only need three points. If they do not lie on a straight line, one or more of your points is wrong and you need to check your accuracy when you substituted the \(x\) values.

Read the points of intersection from the graph.

The line crosses the curve at \((-1,0)\) and \((3,4)\)

Answer

\((-1,0)\) and \((3,4)\)

In the example, the points of intersection of \(y = x^{2} – x – 2\) and \(y = x + 1\) give a solution to the equation \(x^{2} – x – 2 = x + 1\)

Question

Complete the table for \(y = 5 + 6x – x^{2}\) and draw its graph.

\(x\)−1012345
\(y\)−2101413

On the same grid, draw a suitable straight line to solve the equation \(5 + 6x – x^{2} = x + 7\)

Back to top

Cubic graphs

A cubic equation contains only terms up to and including \(x^{3}\).

Here are some examples of cubic equations:

  • \(y = x^{3}\)

  • \(y = x^{3} + 5\)

Cubic graphs are curved, but can have more than one change of direction.

Example

Draw the graph of \(y = x^{3}\).

Solution

First, we need to complete our table of values:

\(x\)−2−1012
\(y\)
  • when \(x = −2, y = (−2 \times −2 \times −2) = −8\)

  • when \(x = −1, y = (−1 \times −1 \times −1) = −1\)

  • when \(x = 0, y = (0 \times 0 \times 0) = 0\)

  • when \(x = 1, y = (1 \times 1 \times 1) = 1\)

  • when \(x = 2, y = (2 \times 2 \times 2) = 8\)

\(x\)−2−1012
\(y\)−8−1018

The graph will look like this:

An image of a cubic graph, illustrating y = x cubed.

Question

Draw the graph of \(y = x^{3} + 5\).

Back to top

Reciprocal graphs

A graph of the form \(y = \frac{1}{x}\) is known as a reciprocal graph and once drawn, looks like this:

An image of an example of a reciprocal graph, where y = 1 over x.
\(x\)−5−4−3−2−1012345
\(y = \frac{1}{x}\)−0.2−0.25−0.33−0.5–1No value10.50.330.250.2

Summary of graph shapes

Quadratic graph
An image of two graph sketches, illustrating what quadratic graphs look like. The graph on the left illustrates a quadratic graph where a is greater than 0, and the right illustrates a quadratic graph where a is less than 0.

\(y = ax^{2} + bx + c\)

Cubic graphs
An image of two graph sketches, illustrating what cubic graphs look like. The graph on the left illustrates a cubic graph where a is greater than 0, and the right illustrates a cubic graph where a is less than 0.

\(y = ax^{3} + bx^{2} + cx +d\)

Reciprocal
An image of two graph sketches, illustrating what reciprocal graphs look like. The graph on the left illustrates a reciprocal graph where a is greater than 0, and the right illustrates a reciprocal graph where a is less than 0.

\(y = \frac{a}{x}\)

Back to top

Question

Using a grid similar to the one, complete the table and use it to draw the graph of \(y = 2x^{2} + x – 6\) for \(–3 \leq x \leq 3\).

By drawing a straight line on the same grid, find solutions to the equation \(2x^{2} + x – 6 = –x + 2\)

A blank grid, with the x-axis scale ranging from –5 to 5, and the y-axis ranging from –18 to 18.
\(x\)–3–2–10123
\(y\)90–64

Question

Four graphs labelled A to D. Graph A is inverted-U shaped. B is N shaped. Graph C is U shaped. Graph D has two curves opposite to each other.

Match each of the graphs above with the equations below.

  1. \(y = 2x^{2}–3x + 7\)
  2. \(y = \frac{2}{x}\)
  3. \(y = 2x^{3}–10x + 7\)
  4. \(y = –2x^{2} + 7\)

Back to top

More on M7: Number

Find out more by working through a topic