2.10 · CorePaper 1Paper 2Paper 3Paper 4

Graphs of functions

Builds on 2.2 Algebraic manipulation and 2.5 Equations25 min read

In a minute

A turns each xx into a yy. You draw its graph from a and learn to recognise its shape. Then you solve equations by reading where the graph crosses the xx-axis or another line. Extended adds cubic, power and exponential graphs.

You'll be able to

  • Complete a table of values and draw a straight line, a or a reciprocal graph.
  • Recognise each graph from its shape, and find a parabola's line of symmetry and lowest or highest point.
  • Solve equations from a graph, including and where a line meets a curve, and say what they mean.
  • Draw and recognise cubic, power and exponential graphs.
  • Solve an equation by drawing a suitable straight line on a curve.
  • Draw and use graphs for and decay problems.
Before you start2 quick questions on what this builds on
Check yourself
(x+1)(x−4)(x + 1)(x - 4).
Check yourself
Solve 4x+10=04x + 10 = 0.

Revise first: 2.2 Algebraic manipulation and 2.5 Equations

Tables of values and plotting

A is a rule that turns each input xx into one output yy, such as y=3x−2y = 3x - 2. Its graph shows every input with its output.

To draw the graph, make a . Choose some xx values, then use to work out yy for each one.

Each column gives a point (x,y)(x, y). Plot each point with a small cross, xx across and yy up.

Worked exampleComplete a table of values for y=3x−2y = 3x - 2 for x=−1,0,1,2,3x = -1, 0, 1, 2, 3.

Try it first, then reveal one step at a time.

  1. Put each xx into 3x−23x - 2. For x=−1x = -1: 3(−1)−2=−3−2=−53(-1) - 2 = -3 - 2 = -5.

Negative xx values need care. Put them in brackets, and square before you apply any minus sign.

Worked exampleComplete a table of values for y=−x2+4x+1y = -x^{2} + 4x + 1 for x=−1,0,1,2,3,4,5x = -1, 0, 1, 2, 3, 4, 5.

Try it first, then reveal one step at a time.

  1. For x=−1x = -1: −(−1)2+4(−1)+1-(-1)^{2} + 4(-1) + 1. Square first: (−1)2=1(-1)^{2} = 1, so this is −1−4+1=−4-1 - 4 + 1 = -4.

Join the points of a curve with one smooth freehand curve, not with a ruler. Only a straight-line graph uses a ruler.

Check yourself
For y=x2+3x−4y = x^{2} + 3x - 4, work out yy when x=−5x = -5.
Check yourself
For y=5−2xy = 5 - 2x, work out yy when x=−3x = -3.

Recognising the graphs

Four small graphs side by side. First, a straight line sloping up: y equals 2x plus 1. Second, a U-shaped parabola with its lowest point on the y-axis at minus 4: y equals x squared minus 4. Third, an upside-down U-shaped parabola with its highest point on the y-axis at 4: y equals 4 minus x squared. Fourth, the reciprocal graph y equals 4 over x: two separate curves, one in the top-right quarter and one in the bottom-left quarter, each getting closer to both axes without touching them. x y y = 2x + 1 x y y = x² − 4 x y y = 4 − x² x y y = 4/x
A line, two parabolas and a reciprocal graph.

y=mx+cy = mx + c is a : a straight line. It crosses the yy-axis at cc, and mm sets how steep it is.

y=x2+bx+cy = x^{2} + bx + c comes from a . Its graph is a : a U shape with a lowest point. With −x2-x^{2} it turns over into an upside-down U with a highest point.

A parabola is symmetrical about a vertical line through its lowest or highest point. If two xx values give the same yy, the line of symmetry is halfway between them.

Worked exampleA table of values for y=x2−5x+2y = x^{2} - 5x + 2 gives y=−4y = -4 at both x=2x = 2 and x=3x = 3. Find the line of symmetry and the lowest point of the graph.

Try it first, then reveal one step at a time.

  1. Equal yy values sit either side of the line of symmetry. Halfway between 22 and 33 is 2+32=2.5\frac{2 + 3}{2} = 2.5, so the line is x=2.5x = 2.5.

y=axy = \frac{a}{x}, with a≠0a \ne 0, is a graph. You can't divide by 00, so there is no point at x=0x = 0. The graph is two separate curves.

As xx moves away from 00, ax\frac{a}{x} gets closer to 00. So each curve gets closer and closer to the axes but never touches them.

Worked exampleComplete a table of values for y=−6xy = -\frac{6}{x} for x=−3,−2,−1,1,2,3x = -3, -2, -1, 1, 2, 3. Describe where the graph lies.

Try it first, then reveal one step at a time.

  1. For x=−3x = -3: −6−3=2-\frac{6}{-3} = 2. For x=−2x = -2: 33. For x=−1x = -1: 66.
Check yourself
Which describes the graph of y=7−x2y = 7 - x^{2}?
Check yourself
A table for a quadratic graph has y=9y = 9 at x=−4x = -4 and at x=1x = 1. What is the line of symmetry?

Solving equations with a graph

A of x2−2x−4=0x^{2} - 2x - 4 = 0 is a value of xx that makes it true. On the graph of y=x2−2x−4y = x^{2} - 2x - 4, y=0y = 0 there: the roots are where the curve crosses the xx-axis.

Grid from x equals minus 2 to 4 with the U-shaped curve y equals x squared minus 2x minus 4. Its lowest point is at (1, minus 5). The curve crosses the x-axis at about minus 1.2 and 3.2, marked with dots. A dashed horizontal line y equals 2 meets the curve at about minus 1.6 and 3.6, also marked with dots. x y −2 −1 1 2 3 4 −6 −4 −2 2 4 6 y = 2 y = x² − 2x − 4
Roots on the xx-axis, and where the curve meets the line y=2y = 2.
Worked exampleThe graph of y=x2−2x−4y = x^{2} - 2x - 4 is drawn for −2≤x≤4-2 \le x \le 4. Use it to solve x2−2x−4=0x^{2} - 2x - 4 = 0. Give your answers to 11 decimal place.

Try it first, then reveal one step at a time.

  1. The equation says y=0y = 0, so look at the xx-axis.

To solve x2−2x−4=kx^{2} - 2x - 4 = k for a number kk, draw the horizontal line y=ky = k. Read the xx values where it meets the curve.

Check yourself
Use the figure to solve x2−2x−4=2x^{2} - 2x - 4 = 2, to 11 decimal place.

Two graphs on the same grid meet where both equations are true. So the xx-coordinates of the crossing points solve 'one rule == the other rule'.

Worked exampleThe graphs of y=8xy = \frac{8}{x} and y=x+2y = x + 2 are drawn on the same grid for −6≤x≤6-6 \le x \le 6. Use them to solve 8x=x+2\frac{8}{x} = x + 2.

Try it first, then reveal one step at a time.

  1. Use a ruler for y=x+2y = x + 2. Two easy points on it are (0,2)(0, 2) and (2,4)(2, 4).
Check yourself
The line y=4y = 4 is drawn on the graph of y=x2+x−3y = x^{2} + x - 3. Which equation do the xx values of the crossing points solve?

In a real situation, read what a root means. Sometimes only one root makes sense.

Check yourself
A ball's height is hh metres after tt seconds, where h=12+4t−t2h = 12 + 4t - t^{2}. Its graph crosses the tt-axis at t=−2t = -2 and t=6t = 6. After how many seconds does the ball land?

Cubic and other power graphs Extended only

Extended uses graphs of y=axny = ax^{n} for n=−2,−1,−12,0,12,1,2,3n = -2, -1, -\frac{1}{2}, 0, \frac{1}{2}, 1, 2, 3, and sums of up to three of these. Recall x12=xx^{\frac{1}{2}} = \sqrt{x} and x−1=1xx^{-1} = \frac{1}{x}.

Four small graphs side by side. First, the cubic y equals x cubed: an S-shaped curve rising from bottom left, flattening through the origin, then rising to top right. Second, y equals 1 over x squared: two curves, both above the x-axis, one each side of the y-axis, rising steeply near the y-axis. Third, y equals the square root of x: starts at the origin and rises more and more slowly, only for x at least 0. Fourth, y equals 1 over the square root of x: only for x greater than 0, falling steeply near the y-axis and then levelling off towards the x-axis. x y y = x³ x y y = 1/x² x y y = √x x y y = 1/√x
Four more shapes to recognise.

A cubic, with x3x^{3}, is S-shaped. With +x3+x^{3} it ends high on the right; with −x3-x^{3} it ends low on the right.

y=ax2y = \frac{a}{x^{2}} never changes sign, since x2>0x^{2} > 0. x\sqrt{x} needs x≥0x \ge 0, and 1x\frac{1}{\sqrt{x}} needs x>0x > 0. y=ax0y = ax^{0} is the horizontal line y=ay = a.

For a sum such as y=x3−4x+2y = x^{3} - 4x + 2, work out each term separately in the table, then add. A negative power means no value at x=0x = 0.

Worked exampleComplete the table of values for y=x3−4x+2y = x^{3} - 4x + 2 at x=−3x = -3, x=−1x = -1 and x=2x = 2.

Try it first, then reveal one step at a time.

  1. For x=−3x = -3: (−3)3=−27(-3)^{3} = -27 and −4(−3)=12-4(-3) = 12, so y=−27+12+2=−13y = -27 + 12 + 2 = -13.
Check yourself
For y=2x+1xy = 2\sqrt{x} + \frac{1}{x}, work out yy when x=4x = 4.
Check yourself
Which describes the graph of y=5x2y = \frac{5}{x^{2}}?

To solve a new equation with a curve you have drawn, rearrange it so one side is the curve's rule. The other side is a straight line: draw it and read the crossings.

Worked exampleYou have drawn y=x3−4x+2y = x^{3} - 4x + 2 for −3≤x≤3-3 \le x \le 3. Use it, with a suitable straight line, to solve x3−6x+1=0x^{3} - 6x + 1 = 0. Give your answers to 11 decimal place.

Try it first, then reveal one step at a time.

  1. Make the left side x3−4x+2x^{3} - 4x + 2. Add 2x+12x + 1 to both sides: x3−6x+1+2x+1=2x+1x^{3} - 6x + 1 + 2x + 1 = 2x + 1.

If the equation has a fraction such as 3x\frac{3}{x}, you may need to multiply through by xx. Multiply every term on both sides, not just one.

Check yourself
Which line would you draw on the graph of y=x3−4x+2y = x^{3} - 4x + 2 to solve x3−5x−1=0x^{3} - 5x - 1 = 0?

Exponential graphs, growth and decay Extended only

In y=abx+cy = ab^{x} + c the xx is the power. For a whole number b>1b > 1, bxb^{x} grows faster and faster as xx increases.

b0=1b^{0} = 1, so the curve crosses the yy-axis at a+ca + c. As xx becomes very negative, bxb^{x} gets close to 00. So the curve gets closer to the line y=cy = c but never reaches it.

Grid from x equals minus 4 to 2 with the curve y equals 3 times 2 to the power x, minus 4. On the left the curve is almost flat, just above a dashed horizontal line y equals minus 4 that it never reaches. It crosses the y-axis at (0, minus 1), marked with a dot, then rises more and more steeply to the right. x y −4 −3 −2 −1 1 2 −4 −2 2 4 (0, −1) y = −4 y = 3 × 2ˣ − 4
y=3×2x−4y = 3 \times 2^{x} - 4 gets close to y=−4y = -4 on the left.
Worked exampleComplete a table of values for y=3×2x−4y = 3 \times 2^{x} - 4 for x=−2,−1,0,1,2,3x = -2, -1, 0, 1, 2, 3.

Try it first, then reveal one step at a time.

  1. For x=−2x = -2: 2−2=142^{-2} = \frac{1}{4}, so y=3×0.25−4=−3.25y = 3 \times 0.25 - 4 = -3.25.
Check yourself
Which horizontal line does the graph of y=2×3x−5y = 2 \times 3^{x} - 5 get closer to as xx becomes very negative?

Exponential growth multiplies an amount by the same number above 11 each step. multiplies by a number between 00 and 11.

For a growth or decay problem, make a table, plot the points and join them with a smooth curve. Then read values across or up from the graph.

Worked exampleA machine is worth $18 000\$18\,000 when new. Its value after tt years is V=18 000×0.8tV = 18\,000 \times 0.8^{t}. Draw the graph for 0≤t≤60 \le t \le 6 and use it to estimate when the value falls to $9000\$9000. Give your answer to 11 decimal place.

Try it first, then reveal one step at a time.

  1. Make a table, to the nearest $10\$10: t=0,1,2,3,4,5,6t = 0, 1, 2, 3, 4, 5, 6 gives V=18 000,14 400,11 520,9220,7370,5900,4720V = 18\,000, 14\,400, 11\,520, 9220, 7370, 5900, 4720.
Check yourself
A colony of 400400 cells doubles every hour, so N=400×2tN = 400 \times 2^{t} after tt hours. Using a graph, estimate when NN reaches 30003000. Give your answer to 11 decimal place.

Common mistakes

  • Squaring a negative wrongly. (−3)2=9(-3)^{2} = 9, and −x2-x^{2} at x=−3x = -3 is −(9)=−9-(9) = -9: square first, then apply the minus.
  • Losing a sign in a bracket. 2×(−4)=−82 \times (-4) = -8, not 88.
  • Joining points with a ruler, or drawing a flat bottom between two equal yy values. A parabola turns smoothly between them.
  • Joining the two curves of a reciprocal graph across the yy-axis. There is no point at x=0x = 0, so leave the gap.

Exam tips

  • “Draw the graph”: plot every point in the table accurately, then join them with a smooth curve (two separate pieces for a reciprocal graph). Use a ruler only for a straight line.
  • “Use your graph to solve”: draw the line you use on the grid, and give every solution in the range shown.
  • Asked for the lowest or highest point? Use the table's symmetry for xx, then read yy from your curve.

Key takeaways

Learn thisTable of values: put negative xx in brackets and square first. At x=−3x = -3, −x2=−9-x^{2} = -9.
Learn thisy=mx+cy = mx + c is a straight line (ruler). Join the points of a curve smoothly freehand, never with a ruler.
Learn this+x2+x^{2} gives a U with a lowest point, −x2-x^{2} an upside-down U. The line of symmetry is halfway between two equal yy values.
Learn thisy=axy = \frac{a}{x} (a≠0a \ne 0): two separate curves, no point at x=0x = 0, never touching the axes.
Learn thisRoots of …=0\ldots = 0: where the curve crosses or touches the xx-axis. For …=k\ldots = k, read where it meets y=ky = k.
Learn thisTwo graphs meet where both rules are equal: the xx-coordinates of the crossings solve one rule == the other.
Learn thisSuitable straight line: rearrange to curve's rule == a line, then draw that line.
Learn thisy=abx+cy = ab^{x} + c crosses the yy-axis at a+ca + c and gets close to y=cy = c on the left (for b>1b > 1).

Practise this

51 past-paper questions on 2.10 in the 0580 Extended bank, each with a mark scheme and a worked explanation.

Practise 2.10 →