Algebra · Higher

Functions and graphs

A function is a rule with an input and an output, and its graph is a picture of every input and output at once. Learn to use f(x), to join and undo functions, to recognise the main graphs, to read answers from them and to move them around, and then run it backwards: from an equation to its graph, and from a graph back to its equation.

Where you will use this: the power lost in a cable, the time for pumps to fill a tank, the best size for a fenced plot, and how fast a van loses value.

Reading f(x) and graphs

f(x) is read “f of x”. It means the output when the input is x. It does not mean f times x.

f(3) means: put 3 in for x. Work out the answer.

The graph of y = f(x) plots every input along the x-axis and its output up the y-axis.

Where a graph crosses the x-axis, y = 0. Where it crosses the y-axis, x = 0.

Warm-up: what do you already know?

Quick warm-up. No marks. A wrong answer shows you where to look.

Skip to the lesson

Work out 3x² − 5 when x = −2.

  1. Replace every x with −2.
  2. Square first: (−2)² is a positive number. Then multiply by 3 and take away 5.
  • That looks like squaring 3 × (−2) as a whole. Only the x is squared.
  • That looks like squaring −2 to get −4. A negative times a negative is positive: (−2)² = 4.

(−2)² = 4, so 3 × 4 = 12 and 12 − 5 = 7.

Quick recap of earlier topics (skip if you are happy)

Solve x² − 5x + 6 = 0. Type your answer like 1 or 4.

  1. Two numbers that multiply to 6 and add to −5.
  2. Write it as (x − _)(x − _) = 0, then each bracket can be zero.
  • That looks like keeping the signs from the brackets. (x − 2) = 0 gives x = +2.
  • These multiply to 6 but do not add to 5. Check the middle term.

(x − 2)(x − 3) = 0, so x = 2 or x = 3. Check: 2² − 10 + 6 = 0. ✓

The line y = 2x − 3 crosses the y-axis. What is the y-coordinate where it crosses?

  1. On the y-axis, what is x?
  2. Put that x into the equation.
  • That looks like losing the minus sign. The line crosses below the origin.
  • That is the gradient. Put x = 0 in and see what is left.

On the y-axis x = 0, so y = 2 × 0 − 3 = −3.

Solve x² = 49. Give both answers, like 2 or −2.

  1. What number squared makes 49?
  2. There is a negative one as well.
  • That is only one of the two answers. (−7)² is also 49.
  • That looks like halving 49. Squaring is multiplying a number by itself.

7 × 7 = 49 and (−7) × (−7) = 49, so x = 7 or x = −7.

1. Function notation

A Function is a rule that turns each input into one output. We give it a name, often f, and write f(x) = 2x + 3 for the rule “double the input, then add 3”.

f(4) means “use 4 as the input”. You put in 4 for x: f(4) = 2 × 4 + 3 = 11. The bracket holds the input, so f(4) is an output, a number.

To go the other way, f(x) = 15 means “the output is 15, so what was the input?” That is an equation: 2x + 3 = 15, so x = 6.

Key idea: f(a) means put a in for x. f(x) = b means the output is b, so solve to find x. If the rule has x² in it, there may be two inputs.

Worked example

f(x) = 3x − 2. Work out f(5) and f(−2), and find x when f(x) = 10.

  1. f(5) = 3 × 5 − 2 = 15 − 2 = 13.
  2. f(−2) = 3 × (−2) − 2 = −6 − 2 = −8.
  3. 3x − 2 = 10, so 3x = 12 and x = 4. Check: f(4) = 12 − 2 = 10. ✓

Now you finish it

g(x) = x² + 1. Work out g(3) and g(−3), and find x when g(x) = 26.

  1. g(3) = 3² + 1 = ___.
  2. g(−3) = (−3)² + 1 = ___.
  3. x² + 1 = 26, so x² = ___ and x = ___ or ___.
Check my answer

g(3) = 9 + 1 = 10 and g(−3) = 9 + 1 = 10. x² = 25, so x = 5 or x = −5.

Check your knowledge: function notation

f(x) = 5x − 3. Work out f(4).

  1. f(4) means: put x = 4 into the rule.
  2. Multiply by 5 first, then take away 3.
  • That looks like 5 + 4 − 3. The rule multiplies x by 5.
  • That is 5 × 4. The rule also takes away 3.

f(4) = 5 × 4 − 3 = 20 − 3 = 17.

f(x) = x² + 2. Work out f(−3).

  1. Put x = −3 into the rule, in brackets.
  2. (−3)² first. A negative squared is positive.
  • That looks like squaring −3 to get −9. (−3)² = 9.
  • That puts a minus on the whole answer. Only the −3 is squared: (−3)² = 9, and 9 + 2 = 11 is positive.

f(−3) = (−3)² + 2 = 9 + 2 = 11.

f(x) = 2x + 7. Find the value of x for which f(x) = 15.

  1. f(x) = 15 means 2x + 7 = 15.
  2. Take 7 from both sides, then divide by 2.
  • That looks like adding 7 to 15 and then halving. To undo + 7, take 7 away from both sides.
  • That looks like adding 7 to 15 instead of taking it away. To undo + 7, take 7 away from both sides.

2x + 7 = 15, so 2x = 8 and x = 4. Check: f(4) = 2 × 4 + 7 = 15. ✓

f(x) = 4x. What does f(3) mean?

  • Put 3 in for x, so f(3) = 4 × 3 = 12
  • Multiply f by 3
  • Add 4 and 3 to get 7
  • It is the value of x when f(x) = 3, which is a different question
  1. The bracket holds the input.
  2. Replace x in the rule with the number in the bracket.

f(3) means “put 3 into the rule”: f(3) = 4 × 3 = 12.

g(x) = x² − 4. Find the values of x for which g(x) = 45. Type your answer like 2 or −2.

  1. Write g(x) = 45 as x² − 4 = 45.
  2. Add 4 to both sides, then take the square root. Remember there are two square roots, one positive and one negative.
  • That is only one answer. x² = 49 has a negative root too.
  • That takes 4 from 45 instead of adding it, then takes the square root. Add 4 to both sides instead.

x² − 4 = 45, so x² = 49 and x = 7 or x = −7. Check: 49 − 4 = 45. ✓

A plumber charges C(h) = 55h + 30 pounds for a job of h hours. Work out C(3), in pounds.

  1. C(3) means 3 hours.
  2. Multiply 55 by 3, then add 30.
  • That looks like 55 + 30. The rate of £55 is charged for each of the 3 hours.
  • That is only the hours part. Add the £30 fixed fee too.

C(3) = 55 × 3 + 30 = 165 + 30 = 195. The job costs £195.

2. Joining and undoing functions

A Composite function joins two functions: the output of one becomes the input of the next. fg(x) means f(g(x)). Do g first, then f. The function nearest x goes first.

Order matters. With f(x) = 2x + 1 and g(x) = x², fg(x) = 2x² + 1, but gf(x) = (2x + 1)². These are different.

The Inverse function f−1(x) undoes f. For example, if f(x) = 3x − 5 then f(3) = 4, so f−1(4) = 3. To find it, write down the steps of f and undo them in the reverse order: f(x) = 3x − 5 multiplies by 3 and then takes away 5, so f−1 adds 5 and then divides by 3: f−1(x) = (x + 5)/3.

The −1 here is not a power. It does not mean 1/f(x).

Key idea: in fg(x), do g first. For the inverse, reverse the steps and use the opposite operations. Check with f(f−1(x)) = x.

Worked example

f(x) = 2x + 3 and g(x) = x − 1. Find fg(x), gf(x) and f−1(x).

  1. fg(x) = f(x − 1) = 2(x − 1) + 3 = 2x + 1.
  2. gf(x) = g(2x + 3) = 2x + 3 − 1 = 2x + 2.
  3. f doubles then adds 3, so f−1 takes away 3 then halves: f−1(x) = (x − 3)/2.

Now you finish it

f(x) = 4x − 1. Find f−1(x).

  1. f multiplies by 4, then takes away ___.
  2. The inverse adds ___, then divides by ___.
  3. f−1(x) = ( ___ ) / ___.
Check my answer

f−1(x) = (x + 1)/4. Check: f(3) = 11 and f−1(11) = 12/4 = 3. ✓

Check your knowledge: composite and inverse functions

f(x) = x + 4 and g(x) = 3x. Work out fg(2).

  1. fg(2) means f(g(2)): do g first.
  2. Work out g(2), then put the result into f.
  • That is gf(2): you did f first. In fg the function nearest the 2 goes first, which is g.
  • That is only g(2). Now put 6 into f.

g(2) = 3 × 2 = 6. Then f(6) = 6 + 4 = 10. So fg(2) = 10.

f(x) = x + 4 and g(x) = 3x. Work out gf(2).

  1. gf(2) means g(f(2)): do f first.
  2. Work out f(2), then put the result into g.
  • That is fg(2): you did g first. In gf the function nearest the 2 goes first, which is f.
  • That is only f(2). Now put 6 into g.

f(2) = 2 + 4 = 6. Then g(6) = 3 × 6 = 18. So gf(2) = 18.

f(x) = 2x − 1 and g(x) = x². Write fg(x) in its simplest form. Type it like 3x^2 + 1.

  1. fg(x) = f(g(x)). What is g(x)?
  2. Put that expression in place of x in the rule for f.
  • That is gf(x): you squared the 2x − 1. In fg you do g first, then double and take away 1.
  • That is f(x) on its own. Replace its x with x².

g(x) = x². Put it into f: f(x²) = 2 × x² − 1 = 2x² − 1.

f(x) = 5x + 2. Work out f−1(17).

  1. f−1(17) is the input that gives 17.
  2. Solve 5x + 2 = 17.
  • That is f(17), putting 17 in as the input. The inverse asks which input gives 17.
  • That adds 2 instead of taking it away. Take 2 away first, then divide by 5.

5x + 2 = 17, so 5x = 15 and x = 3. Check: f(3) = 5 × 3 + 2 = 17. ✓

f(x) = 3x + 4. Find f−1(x). Type it like (x + 2)/5.

  1. f multiplies by 3, then adds 4. Undo the steps in the reverse order.
  2. The inverse takes away 4, then divides by 3. Use brackets for the subtraction.
  • That adds 4. To undo +4 you take 4 away.
  • That divides only the x by 3. The whole of x − 4 is divided by 3, so it needs brackets.
  • That looks like swapping 3 and 4. f multiplies by 3 and adds 4.

Let y = 3x + 4. Then y − 4 = 3x, so x = (y − 4) ÷ 3. The inverse is f−1(x) = (x − 4)/3. Check: f(f−1(x)) = 3 × (x − 4)/3 + 4 = x. ✓

f(x) = x + 1 and g(x) = 2x. Which statement is correct?

  • fg(x) = 2x + 1 and gf(x) = 2x + 2
  • fg(x) = gf(x), because both use the same two functions
  • fg(x) = 2x + 2 and gf(x) = 2x + 1
  • fg(x) = 3x, because 1 + 2 = 3 and you multiply by x
  1. In fg(x) you do g first, then f. In gf(x) you do f first, then g.
  2. Write out each one: f(g(x)) = f(2x), and g(f(x)) = g(x + 1).

fg(x) = f(2x) = 2x + 1. gf(x) = g(x + 1) = 2(x + 1) = 2x + 2. They are different, so the order matters.

3. Quadratic graphs

The graph of a Quadratic, such as y = x² − 4x + 3, is a smooth curve called a Parabola. If the x² term is positive the parabola is U-shaped. If it is negative the parabola is upside down.

To draw it, fill in a table of values and plot the points.

Table of values for y = x² − 4x + 3
x−1012345
y830−1038
The graph of y = x squared minus 4x plus 3A U-shaped curve on a grid. It crosses the x-axis at x equals 1 and x equals 3, crosses the y-axis at 3, and has its lowest point at (2, minus 1). A dashed vertical line at x equals 2 runs through the lowest point. The curve is the same shape on both sides of that line.−112345−4−3−2−1123456780xyx = 2(1, 0)(3, 0)(0, 3)(2, −1)
The graph of y = x² − 4x + 3, with its roots, y-intercept, line of symmetry and turning point.

Four things to read from the graph:

  • The roots are where the graph crosses the x-axis (y = 0). Here x = 1 and x = 3, from (x − 1)(x − 3) = 0.
  • The y-intercept is where the graph crosses the y-axis (x = 0). Its value is the number on its own in the equation: 3.
  • The line of symmetry is halfway between the roots (when the graph crosses the x-axis twice): x = 2. The curve is a mirror image on each side.
  • The Turning point is on the line of symmetry. Put x = 2 into the equation: y = 4 − 8 + 3 = −1. So it is (2, −1), the lowest point.

Key idea: when the graph crosses the x-axis twice, the turning point is halfway between the roots. Find the roots by factorising, take the middle x, then put it into the equation to find y.

Worked example

For y = x² − 2x − 3, find the roots, the y-intercept and the turning point.

  1. Factorise: (x − 3)(x + 1) = 0, so the roots are x = 3 and x = −1.
  2. The y-intercept is the number on its own: −3.
  3. Halfway between −1 and 3 is x = 1. y = 1 − 2 − 3 = −4. The turning point is (1, −4).

Now you finish it

For y = x² − 6x + 5, find the roots, the y-intercept and the turning point.

  1. Factorise: (x − ___)(x − ___) = 0. The roots are ___ and ___.
  2. The y-intercept is ___.
  3. Halfway between the roots is x = ___. y = ___. The turning point is (___, ___).
Check my answer

(x − 1)(x − 5) = 0, so the roots are 1 and 5. The y-intercept is 5. The line of symmetry is x = 3 and y = 9 − 18 + 5 = −4, so the turning point is (3, −4).

Check your knowledge: quadratic graphs

A table of values is made for y = x² − 4x + 3. Work out y when x = −1.

  1. Put x = −1 into the equation, in brackets.
  2. (−1)² is 1, and −4 × (−1) is positive.
  • That looks like losing the plus on −4 × (−1). A negative times a negative is positive, so it is +4.
  • That takes (−1)² as −1. Squaring a negative number gives a positive: (−1)² = 1.

y = (−1)² − 4 × (−1) + 3 = 1 + 4 + 3 = 8.

The graph shows y = x² − 6x + 5. Read off the roots (where it crosses the x-axis). Type them like 2 or 7.

A U-shaped curveA U-shaped curve on a grid from minus 1 to 7 across and minus 5 to 10 up. It crosses the x-axis twice and the y-axis once, and has a lowest point below the x-axis.−11234567−5−4−3−2−1123456789100xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 6x + 5. It crosses the x-axis at x = 1 and x = 5 and the y-axis at 5. Its lowest point is (3, −4). It passes through (0, 5), (6, 5) and (−0.74, 10) on the left of the grid.

  1. Where y = 0, the curve is on the x-axis.
  2. Look at the grid carefully: each square across is 1.
  • That is the y-intercept, where it crosses the y-axis. Roots are on the x-axis.
  • That is where the turning point is, halfway between the roots. Read where it crosses the x-axis.

The curve crosses the x-axis at x = 1 and x = 5. Check: 1 − 6 + 5 = 0 and 25 − 30 + 5 = 0. ✓

The same graph shows y = x² − 6x + 5. What is the equation of its line of symmetry? The line is x = a number. Type the number, like 4 for the line x = 4.

A U-shaped curveA U-shaped curve on a grid from minus 1 to 7 across and minus 5 to 10 up. It crosses the x-axis twice and the y-axis once, and has a lowest point below the x-axis.−11234567−5−4−3−2−1123456789100xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 6x + 5. It crosses the x-axis at x = 1 and x = 5 and the y-axis at 5. Its lowest point is (3, −4), and the curve is the same shape on both sides of the vertical line x = 3.

  1. The roots are 1 and 5. The line of symmetry is halfway between them.
  2. Find the number halfway between 1 and 5.
  • That is a root. The line of symmetry goes through the turning point, halfway between the two roots.
  • That is the y-coordinate of the turning point. The line of symmetry is x = a number across.

Halfway between 1 and 5 is (1 + 5) ÷ 2 = 3, so the line of symmetry is x = 3.

Find the turning point of y = x² − 8x + 12. Type it like (2, 5).

  1. Factorise to find the roots. The turning point is halfway between them.
  2. Put that x-value back into the equation to find y.
  • That finds the right x but gives y as 0. Put x = 4 into the equation to find y.
  • That leaves out the −8x term: 16 + 12 = 28. Put x = 4 into all three terms.

x² − 8x + 12 = (x − 2)(x − 6), so the roots are 2 and 6. Halfway is x = 4. y = 16 − 32 + 12 = −4. The turning point is (4, −4).

Which equation matches this graph?

A curve to match to an equationA curve drawn on a grid. A text version of the picture follows, in case you cannot see it.−4−3−2−11234−3−2−1123456789100xy

Text version of the picture, for people who cannot see it (it may give away the answer): An upside-down U-shaped curve. Its highest point is (0, 9), on the y-axis. It crosses the x-axis at x = −3 and x = 3. It continues down to about (−3.5, −3) on the left and (3.5, −3) on the right.

  • y = 9 − x²
  • y = x² − 9
  • y = x² + 9
  • y = 9 − 2x²
  1. Is the curve U-shaped or upside down? What does the sign of x² tell you?
  2. Read where it crosses the y-axis, then test one root.

The curve is upside down, so x² is negative. It crosses the y-axis at 9 and the x-axis at ±3. For y = 9 − x²: x = 0 gives 9 and x = 3 gives 0. ✓

A ball is thrown up. Its height h, in metres, after t seconds is h = 20t − 5t². It lands when h = 0, which is at t = 4 seconds. Use the symmetry of the curve to find the greatest height, in metres.

  1. The path is a symmetrical curve. It starts at t = 0 and ends at t = 4.
  2. The highest point is halfway through the flight. Put that t into the formula.
  • That is the time it takes to reach the top. The question asks for the height.
  • That is 20 × 2, with the −5t² part left out.

Halfway between t = 0 and t = 4 is t = 2. h = 20 × 2 − 5 × 4 = 40 − 20 = 20. The greatest height is 20 m.

4. Three more graphs to know

You need to recognise the shape of each of these from its equation.

The cubic y = x³

A Cubic graph is an S-shape. It goes down on the left, passes through the origin and goes up on the right. Odd powers keep the sign: (−2)³ = −8.

The graph of y = x cubedA smooth S-shaped curve on a grid. It passes through (minus 2, minus 8), (minus 1, minus 1), the origin, (1, 1) and (2, 8), all marked with dots. It rises from bottom left to top right and flattens for a moment at the origin.−3−2−1123−9−6−33690xyy = x³(−2, −8)(1, 1)(2, 8)

The reciprocal y = 1/x

The Reciprocal graph comes in two pieces. When x is far from 0, y is close to 0. When x is close to 0, y is far from 0. The graph never touches either axis: the axes are its asymptotes. You cannot work out 1/0, so there is no point at x = 0.

The graph of y = 1 over xA grid with a curve in two separate pieces: one in the top right through (1, 1) and (2, 0.5), and one in the bottom left through (minus 1, minus 1) and (minus 2, minus 0.5). Both pieces get closer to the axes but never touch them.−4−3−2−11234−4−3−2−112340xyy = 1/x(2, 0.5)(−2, −0.5)

The exponential y = kx

An Exponential graph has the letter x in the power. For y = 2x, each step of 1 to the right doubles y. It always crosses the y-axis at (0, 1), because any number to the power 0 is 1, and it is always above the x-axis. When k is bigger than 1 it grows, getting steeper. When k is between 0 and 1 it falls instead.

The graph of y = 2 to the power xA smooth curve on a grid through (0, 1), (1, 2), (2, 4) and (3, 8). It stays above the x-axis everywhere, getting very close to it on the left, and climbs more and more steeply to the right.−3−2−11234−1123456789100xyy = 2x(0, 1)(1, 2)(2, 4)(3, 8)

Key idea: cubic: S-shape through the origin. Reciprocal: two pieces, never touching the axes. Exponential: always above the x-axis, through (0, 1), getting steeper.

Worked example

Which of y = x³, y = 1/x and y = 2x has a graph that goes through (0, 1)?

  1. y = x³: when x = 0, y = 0. It goes through the origin, not (0, 1).
  2. y = 1/x: x = 0 gives 1/0, which cannot be worked out. It does not meet the y-axis at all.
  3. y = 2x: when x = 0, y = 20 = 1. So it is the exponential.

Now you finish it

Work out y for y = 2x when x = 4, and for y = 1/x when x = 5.

  1. 24 = 2 × 2 × 2 × 2 = ___.
  2. 1/5 = ___ as a decimal.
Check my answer

24 = 16 and 1/5 = 0.2.

Check your knowledge: other graphs

Which equation could give this curve?

A curve to match to an equationA curve drawn on a grid. A text version of the picture follows, in case you cannot see it.−3−2−1123−9−6−33690xy

Text version of the picture, for people who cannot see it (it may give away the answer): One smooth S-shaped curve through the origin. It passes through the marked points (−2, −8), (−1, −1), (1, 1) and (2, 8). It goes below the x-axis on the left and above it on the right.

  • y = x³
  • y = 1/x
  • y = 2^x
  • y = x² + 1
  1. Look at the left and right ends. Do they go the same way, or opposite ways?
  2. It passes through the origin and goes below the x-axis on the left.

The curve goes down on the left and up on the right, through the origin: it is a cubic, y = x³. Check (2, 8): 2³ = 8. ✓

Which equation could give this curve?

A curve to match to an equationA curve drawn on a grid. A text version of the picture follows, in case you cannot see it.−4−3−2−11234−4−3−2−112340xy

Text version of the picture, for people who cannot see it (it may give away the answer): A curve in two separate pieces. One piece is in the top right, from about (0.25, 4) down to (4, 0.25). The other piece is in the bottom left, from about (−4, −0.25) down to (−0.25, −4). Each piece gets closer and closer to both axes without touching them.

  • y = 1/x
  • y = x³
  • y = 2^x
  • y = x² + 1
  1. How many separate pieces does the curve have?
  2. It never touches either axis. What is 1/x when x = 0?

Two pieces that get close to both axes without touching them: this is the reciprocal graph y = 1/x. You cannot divide by 0, so there is no point on the y-axis.

Which equation could give this curve?

A curve to match to an equationA curve drawn on a grid. A text version of the picture follows, in case you cannot see it.−3−2−11234−1123456789100xy

Text version of the picture, for people who cannot see it (it may give away the answer): One smooth curve that stays above the x-axis. It is very close to the x-axis on the left, about 0.1 high at x = −3. It passes through the marked points (0, 1), (1, 2), (2, 4) and (3, 8) and climbs more and more steeply to the right.

  • y = 2^x
  • y = x³
  • y = 1/x
  • y = 2x + 1
  1. The curve is above the x-axis everywhere. Which graph stays above it?
  2. It crosses the y-axis at 1. What is 20?

The curve stays above the x-axis, crosses the y-axis at 1 and climbs faster and faster: this is an exponential graph, y = 2^x. Check: 20 = 1. ✓

Find y when x = −3 on the graph of y = x³.

  1. x³ means x × x × x.
  2. (−3) × (−3) is 9. Then multiply by −3 again.
  • That loses the minus sign. A negative times a negative times a negative is negative.
  • That looks like multiplying only two of the −3s. x³ has three of them.

(−3) × (−3) × (−3) = 9 × (−3) = −27.

Find y when x = 0.25 on the graph of y = 1/x.

  1. y = 1/x means 1 ÷ x.
  2. How many quarters are there in 1?
  • That is x itself. y is 1 divided by x.
  • That is 0.25 × 0.25. y = 1/x means divide 1 by 0.25.

1 ÷ 0.25 = 4. (There are 4 quarters in 1.)

Find y when x = −2 on the graph of y = 2^x. Give your answer as a fraction or a decimal.

  1. A negative power means one over the positive power.
  2. 2−2 = 1 ÷ 22.
  • A power is not the same as multiplying: 2−2 is not 2 × (−2). It is 1 ÷ 2².
  • That is 2². A negative power takes the reciprocal, so you divide 1 by it.

2−2 = 1 ÷ 2² = 1 over 4 = 0.25. This matches the graph: just above the x-axis on the left.

Find y when x = 5 on the graph of y = 2^x.

  1. 25 means 2 multiplied by itself 5 times.
  2. Keep doubling: 2, 4, 8, ...
  • That is 2 × 5. 25 means 2 × 2 × 2 × 2 × 2.
  • That is 5². The 5 is the power here, not the base.

25 = 2 × 2 × 2 × 2 × 2 = 32.

5. Reading solutions from a graph

The graph of y = x² − 4x + 3 gives answers to many equations. To Solve x² − 4x + 3 = a number, draw a horizontal line at that height and read the x-values where it meets the curve.

Solving by drawing a line acrossThe U-shaped curve from before with a dashed horizontal line at y equals 3. The line meets the curve at two points, (0, 3) on the left and (4, 3) on the right.−112345−2−1123456780xyy = 3(0, 3)(4, 3)
  • x² − 4x + 3 = 0: use the x-axis (y = 0). x = 1 or 3.
  • x² − 4x + 3 = 3: use the line y = 3. x = 0 or 4.
  • x² − 4x + 3 = −1: the line y = −1 only touches the lowest point. x = 2 only.
  • x² − 4x + 3 = −2: the line y = −2 misses the curve. No solutions.

Key idea: solving f(x) = a means finding where the line y = a meets the curve. The answers are the x-values of those points. A line can meet a parabola twice, once or never.

Worked example

Use the graph to solve x² − 4x + 3 = 3.

  1. Draw the horizontal line y = 3.
  2. It meets the curve at (0, 3) and (4, 3).
  3. Read the x-values: x = 0 or x = 4. Check: 16 − 16 + 3 = 3. ✓

Now you finish it

Use the graph to solve x² − 4x + 3 = 8.

  1. Draw the horizontal line y = ___.
  2. Read where it meets the curve on the left and on the right.
  3. x = ___ or x = ___.
Check my answer

The line y = 8 meets the curve at x = −1 and x = 5. Check: 1 + 4 + 3 = 8 and 25 − 20 + 3 = 8. ✓

A straight line can cut the curve too. The solutions of x² − 4x + 3 = x − 1 are the x-values where the curve and the line y = x − 1 meet.

Check your knowledge: reading solutions

The graph shows y = x² − 4x + 3. Use it to solve x² − 4x + 3 = 0. Type your answer like 2 or 5.

A U-shaped curve with y from minus 2 to 8A U-shaped curve on a grid from minus 1 to 5 across and minus 2 to 8 up. Its lowest point is below the x-axis. It crosses the y-axis above the origin.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 on a grid from x = −1 to 5. It crosses the x-axis at x = 1 and x = 3 and the y-axis at 3. Its lowest point is (2, −1). It passes through (−1, 8), (0, 3), (4, 3) and (5, 8).

  1. The equation says y = 0. Where is the curve at y = 0?
  2. Read the x-values where the curve crosses the x-axis.
  • That is one of two answers. The curve crosses the x-axis twice.
  • That looks like reading the y-intercept (3) or a turning-point value. Roots are where the curve meets the x-axis.

At y = 0 the curve crosses the x-axis at x = 1 and x = 3. Check: 1 − 4 + 3 = 0 and 9 − 12 + 3 = 0. ✓

Use the same graph to solve x² − 4x + 3 = 3. Type your answer like 2 or 5.

A U-shaped curve with y from minus 2 to 8A U-shaped curve on a grid from minus 1 to 5 across and minus 2 to 8 up. Its lowest point is below the x-axis. It crosses the y-axis above the origin.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 on a grid from x = −1 to 5. It crosses the x-axis at x = 1 and x = 3 and the y-axis at 3. Its lowest point is (2, −1). It passes through (−1, 8), (0, 3), (4, 3) and (5, 8).

  1. Draw a straight line across the graph at y = 3.
  2. Read the x-values where that line meets the curve.
  • That is the number on the right-hand side, but the answers are x-values where the line y = 3 meets the curve.
  • That is only one of two meeting points. The curve is symmetrical about x = 2.

The line y = 3 meets the curve at x = 0 and x = 4. Check: 0 − 0 + 3 = 3 and 16 − 16 + 3 = 3. ✓

Use the same graph to solve x² − 4x + 3 = −1.

A U-shaped curve with y from minus 2 to 8A U-shaped curve on a grid from minus 1 to 5 across and minus 2 to 8 up. Its lowest point is below the x-axis. It crosses the y-axis above the origin.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 on a grid from x = −1 to 5. It crosses the x-axis at x = 1 and x = 3 and the y-axis at 3. Its lowest point is (2, −1). It passes through (−1, 8), (0, 3), (4, 3) and (5, 8).

  1. Draw a line across at y = −1.
  2. Where does it touch the curve? How many times?
  • That is the y-value you were given. The answer is the x-value where the line meets the curve.
  • Those are where y = 0. You need the line y = −1.

The line y = −1 only touches the lowest point of the curve, at x = 2. There is one solution. Check: 4 − 8 + 3 = −1. ✓

Use the same graph. How many solutions does x² − 4x + 3 = −2 have?

A U-shaped curve with y from minus 2 to 8A U-shaped curve on a grid from minus 1 to 5 across and minus 2 to 8 up. Its lowest point is below the x-axis. It crosses the y-axis above the origin.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 on a grid from x = −1 to 5. It crosses the x-axis at x = 1 and x = 3 and the y-axis at 3. Its lowest point is (2, −1). It passes through (−1, 8), (0, 3), (4, 3) and (5, 8).

  1. Draw a line across at y = −2.
  2. Does the curve ever get down to that level?
  • That would be right if the line crossed the curve twice. Is the lowest point of the curve above or below −2?
  • That would be right if the line touched the lowest point, but the lowest point is at y = −1.

The lowest point of the curve is at y = −1, which is above y = −2. The line y = −2 never meets the curve, so there are 0 solutions.

Use the same graph to solve x² − 4x + 3 = 8. Type your answer like 2 or 5.

A U-shaped curve with y from minus 2 to 8A U-shaped curve on a grid from minus 1 to 5 across and minus 2 to 8 up. Its lowest point is below the x-axis. It crosses the y-axis above the origin.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 on a grid from x = −1 to 5. It crosses the x-axis at x = 1 and x = 3 and the y-axis at 3. Its lowest point is (2, −1). It passes through (−1, 8), (0, 3), (4, 3) and (5, 8).

  1. Draw a line across at y = 8, the top of the grid.
  2. Read the x-values where it meets the curve on each side.
  • That is one of two answers. The curve is symmetrical.
  • Those are where y = 0. You need y = 8.

The line y = 8 meets the curve at x = −1 and x = 5. Check: 1 + 4 + 3 = 8 and 25 − 20 + 3 = 8. ✓

The graph shows y = x² − 4x + 3 and the straight line y = x − 1. The two meet at two points. Write the x-coordinates of the points, like 2 or 5.

A curve and a straight line that cross twiceA U-shaped curve and a dashed straight line sloping up to the right on one grid. They cross at two points, one on the x-axis and one higher up on the right.−112345−2−1123456780xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve for y = x² − 4x + 3 with lowest point (2, −1), crossing the x-axis at x = 1 and x = 3, and a dashed straight line y = x − 1 sloping up to the right. They meet at the two marked points (1, 0) and (4, 3).

  1. Where they meet, both equations give the same y.
  2. Look at where the dashed line crosses the curve. One point is on the x-axis.
  • Those are the y-values. The question asks for the x-coordinates.
  • That is one of the two. The line meets the curve again further up.

They meet at (1, 0) and (4, 3), so the x-coordinates are 1 and 4. Check: the line gives 1 − 1 = 0 and 4 − 1 = 3, and the curve gives 1 − 4 + 3 = 0 and 16 − 16 + 3 = 3. ✓

6. Moving graphs around Higher

You can change a graph without drawing it again. Take f(x) = x² − 4x + 3, whose lowest point is (2, −1). Each change below moves or flips the whole graph. Following one point, such as the lowest point, shows what it does. In every picture the dashed curve is y = f(x).

y = f(x) + a: up or down

Adding a number outside the brackets changes every y-value. f(x) + 2 moves the graph up 2.

The graph moved up by 2Two U-shaped curves of the same shape. The dashed one has its lowest point at (2, minus 1). The solid one is the same curve 2 units higher, with its lowest point at (2, 1).−112345−2−1123456789100xy
Dashed: y = f(x), turning point (2, −1). Solid: y = f(x) + 2, turning point (2, 1).

y = f(x + a): left or right

Adding a number inside the brackets changes x, and it moves the graph the opposite way to how it looks. f(x + 1) moves the graph left 1. f(x − 1) would move it right 1. The roots of f(x + 1) are 1 and 3 each shifted 1 left: 0 and 2.

The graph moved left by 1Two U-shaped curves of the same shape. The dashed one has its lowest point at (2, minus 1). The solid one is the same curve 1 unit to the left, with its lowest point at (1, minus 1).−2−112345−2−1123456780xy
Dashed: y = f(x), turning point (2, −1). Solid: y = f(x + 1), turning point (1, −1).

y = −f(x): flip over the x-axis

Every y-value changes sign, so the graph is flipped upside down.

The graph flipped over the x-axisA dashed U-shaped curve with its lowest point at (2, minus 1), and a solid upside-down U-shaped curve with its highest point at (2, 1). Each is the mirror image of the other in the x-axis.−112345−9−8−7−6−5−4−3−2−11230xy
Dashed: y = f(x), turning point (2, −1). Solid: y = −f(x), turning point (2, 1).

y = f(−x): flip over the y-axis

Every x-value changes sign, so the graph is reflected in the y-axis.

The graph flipped over the y-axisA dashed U-shaped curve with its lowest point at (2, minus 1), and a solid U-shaped curve with its lowest point at (minus 2, minus 1). Each is the mirror image of the other in the y-axis.−5−4−3−2−112−2−1123456780xy
Dashed: y = f(x), turning point (2, −1). Solid: y = f(−x), turning point (−2, −1).

Key idea: outside the brackets changes y and does what it says (+ means up). Inside the brackets changes x and does the opposite (+ means left). A minus outside flips over the x-axis. A minus inside flips over the y-axis.

Worked example

f(x) has a lowest point at (2, −1). Find the lowest point of y = f(x − 3) + 4.

  1. f(x − 3): inside the brackets, so x changes the opposite way. Move right 3: x = 2 + 3 = 5.
  2. + 4 outside the brackets: move up 4: y = −1 + 4 = 3.
  3. The lowest point is (5, 3).

Now you finish it

f(x) has a lowest point at (2, −1). Find the lowest point of y = f(x + 2) − 3.

  1. f(x + 2) moves the graph ___ units to the ___. The new x is ___.
  2. − 3 outside moves it ___. The new y is ___.
  3. The lowest point is (___, ___).
Check my answer

f(x + 2) moves the graph 2 left, so x = 0. The − 3 moves it down 3, so y = −4. The lowest point is (0, −4).

Check your knowledge: moving graphs

The graph of y = f(x) has its lowest point at (2, −1). Write the coordinates of the lowest point of y = f(x) + 5. Type it like (3, 1).

  1. + 5 outside the brackets changes y.
  2. Every point moves up by 5.
  • That looks like adding 5 to x. A change outside the bracket moves the graph up or down.
  • Adding 5 moves the graph up, not down.

+ 5 outside the brackets moves every point up by 5. The x-coordinate stays 2 and y becomes −1 + 5 = 4: (2, 4).

The graph of y = f(x) has its lowest point at (2, −1). Write the coordinates of the lowest point of y = f(x − 3). Type it like (3, 1).

  1. The − 3 is inside the brackets, so it changes x.
  2. Inside the brackets the change works the opposite way to how it looks.
  • That moves the graph 3 left. f(x − 3) moves it 3 to the right: it is the opposite way to how it looks.
  • That moves the graph down. A change inside the brackets moves it sideways.

f(x − 3) moves the graph 3 to the right. The y-coordinate stays −1 and x becomes 2 + 3 = 5: (5, −1).

The graph of y = f(x) has its lowest point at (2, −1). Write the coordinates of the lowest point of y = f(−x). Type it like (3, 1).

  1. f(−x) reflects the graph in the y-axis.
  2. Only the x-coordinates change sign.
  • That is the reflection in the x-axis, y = −f(x). f(−x) reflects in the y-axis.
  • That changes both signs. Reflecting in the y-axis changes only the x-coordinate.

f(−x) is the reflection of y = f(x) in the y-axis. x changes sign and y stays the same: (−2, −1).

The graph of y = f(x) has its lowest point at (2, −1). Write the coordinates of the turning point of y = −f(x). Type it like (3, 1).

  1. −f(x) reflects the graph in the x-axis.
  2. Only the y-coordinates change sign.
  • That is the reflection in the y-axis. −f(x) flips the graph over the x-axis.
  • That changes both signs. Only y changes sign for a reflection in the x-axis.

−f(x) reflects the graph in the x-axis. y changes sign and x stays the same: (2, 1). It is now the highest point, because the curve is upside down.

Which describes how the graph of y = f(x + 2) compares with the graph of y = f(x)?

  • 2 units to the left
  • 2 units to the right
  • 2 units up
  • 2 units to the left and 2 units up, because both the x and y change
  1. The +2 is inside the brackets, so it changes x.
  2. Test it: for f(x + 2) to equal the old f(5), what x do you need?

To get the same input as before, x + 2 must equal the old x, so x is 2 smaller. The graph moves 2 units to the left.

f(x) = x² − 4x + 3 has roots 1 and 3. Find the roots of y = f(x + 1). Type them like 2 or 5.

  1. f(x + 1) = 0 when x + 1 is a root of f.
  2. x + 1 = 1 or x + 1 = 3. Solve each.
  • That moves the graph 1 right. f(x + 1) moves it 1 to the left, so subtract 1.
  • Those are the roots of f(x). The new graph has moved.

f(x + 1) = 0 when x + 1 = 1 or x + 1 = 3, so x = 0 or x = 2. The graph has moved 1 to the left. Check: f(0 + 1) = f(1) = 0 and f(2 + 1) = f(3) = 0. ✓

The dashed curve is y = f(x). The solid curve is a copy moved 1 square sideways. Which is the equation of the solid curve?

A graph and a moved copyA dashed U-shaped curve and a solid U-shaped curve of the same shape. The solid one is a copy shifted sideways. The dashed curve is labelled y = f(x).−2−112345−2−1123456780xy
Dashed: y = f(x). Solid: a moved copy.

Text version of the picture, for people who cannot see it (it may give away the answer): Two U-shaped curves of the same shape. The dashed curve y = f(x) has its lowest point at (2, −1) and crosses the x-axis at x = 1 and x = 3. The solid curve has its lowest point at (1, −1) and crosses the x-axis at x = 0 and x = 2, so it is the dashed curve moved 1 square to the left.

  • y = f(x + 1)
  • y = f(x − 1)
  • y = f(x) + 1
  • y = −f(x) + 1, because it is a mirror image of the dashed curve
  1. Which way has it moved: left or right?
  2. Inside-the-bracket changes move the graph the opposite way to the sign.

The solid curve is the dashed curve moved 1 to the left. Moving left by 1 is y = f(x + 1).

Flip it: from the equation to the graph, and back

So far you have started with an equation and found features of the graph. Now run it backwards: you know the features, and you write the equation.

Forwards

Forwards: an equation to a curveA U-shaped curve crossing the horizontal axis at two points, 1 and 3.13y = x² − 4x + 3equation to curve

y = x² − 4x + 3

Factorise: roots 1 and 3. y-intercept 3. Turning point (2, −1). Draw the curve.

Backwards

Backwards: crossing points to an equationA U-shaped curve crossing the horizontal axis at 1 and 3, with a question mark for its equation.13y = ?roots to equation

A curve crossing the x-axis at 1 and 3

Roots 1 and 3 give y = (x − 1)(x − 3). Multiply out: y = x² − 4x + 3.

The same idea works for other graphs. If y = kx passes through (3, 8), then k3 = 8, so k = 2. If y = a/x passes through (4, 3), then 3 = a/4, so a = 12. Put one point into the equation and solve for the missing number.

Key idea: a root at x = p means a bracket (x − p). The roots have the opposite sign to the numbers in the brackets. Check your equation against the y-intercept.

Worked example

A parabola y = ax² + bx + c crosses the x-axis at 1 and 5 and the y-axis at (0, 10). Find its equation.

  1. Roots 1 and 5, so y = a(x − 1)(x − 5).
  2. At x = 0, y = 10: a × (−1) × (−5) = 5a = 10, so a = 2.
  3. y = 2(x − 1)(x − 5) = 2x² − 12x + 10. Check: 2 × 1 − 12 + 10 = 0. ✓

Now you finish it

A parabola crosses the x-axis at −2 and 3 and the y-axis at (0, −12). Find its equation as y = a(x + 2)(x − 3).

  1. At x = 0: a × 2 × (−3) = ___ a = −12.
  2. So a = ___.
  3. y = ___ (x + 2)(x − 3).
Check my answer

−6a = −12, so a = 2. The equation is y = 2(x + 2)(x − 3) = 2x² − 2x − 12.

Check your knowledge: running it backwards

A parabola y = x² + bx + c crosses the x-axis at 2 and 5. Write its equation in the form y = x² + bx + c, with numbers in place of b and c. Type it like y = x^2 + 3x − 4.

  1. Roots 2 and 5 mean the brackets are (x − 2) and (x − 5).
  2. Multiply out (x − 2)(x − 5).
  • That looks like the wrong sign on the middle term. (x − 2)(x − 5) has −2x and −5x.
  • Right equation, but the question asks for the expanded form x² + bx + c.

y = (x − 2)(x − 5) = x² − 5x − 2x + 10 = x² − 7x + 10. Check: at x = 0, y = 10, and 2 × 5 = 10. ✓

The graph is y = x² + bx + c. The marked points are on the x-axis and y-axis. Write its equation. Type it like y = x^2 + 3x − 4.

A U-shaped curve with three marked pointsA U-shaped curve on a grid. Three points are marked on it: two where it crosses the x-axis and one where it crosses the y-axis, below the origin.−3−2−112345−5−4−3−2−11234560xy

Text version of the picture, for people who cannot see it (it may give away the answer): A U-shaped curve with three marked points: (−1, 0) and (3, 0) on the x-axis, and (0, −3) on the y-axis. Its lowest point is (1, −4).

  1. Read the two roots from the x-axis. Then write the brackets.
  2. Multiply the brackets out. Check the y-intercept against the graph.
  • That looks like the wrong sign on the middle term. Roots −1 and 3 give (x + 1)(x − 3).
  • The graph crosses the y-axis below the origin, so c is negative.

The roots are −1 and 3, so y = (x + 1)(x − 3) = x² − 3x + x − 3 = x² − 2x − 3. Check the y-intercept: x = 0 gives −3, which matches the graph. ✓

A parabola y = x² + bx + c has its lowest point at (3, −4) and passes through (0, 5). It can be written y = (x − 3)² − 4. Multiply out to write it as y = x² + bx + c. Type it like y = x^2 + 3x − 4.

  1. (x − 3)² means (x − 3)(x − 3).
  2. Expand, then take away 4.
  • That looks like the wrong sign. (x − 3)(x − 3) gives −3x − 3x = −6x.
  • That is only (x − 3)². You also need to take away 4.

(x − 3)² = x² − 6x + 9. Take away 4: x² − 6x + 5. Check (0, 5): y = 5. ✓

The graph of y = kx passes through the point (3, 8). Find the value of k.

  1. Put x = 3 and y = 8 into the equation.
  2. What number multiplied by itself three times makes 8?
  • That is the y-value. Find the number that, cubed, gives 8.
  • That is 8 ÷ 2. k3 = 8 means k × k × k = 8.

k3 = 8, so k = 2 (since 2 × 2 × 2 = 8). The graph is y = 2x.

A reciprocal graph has the equation y = a/x and passes through (4, 3). Find a.

  1. Put x = 4 and y = 3 into y = a/x.
  2. To undo ÷ 4, multiply both sides by 4.
  • That is 3 ÷ 4. The rule is y = a ÷ x, so a = y × x.
  • That is 4 + 3. The rule needs a to be divided by x.

3 = a ÷ 4, so a = 3 × 4 = 12. Check: 12 ÷ 4 = 3. ✓

Which equation has a graph that crosses the x-axis at 1 and −4?

  • y = (x − 1)(x + 4)
  • y = (x + 1)(x − 4)
  • y = (x + 1)(x + 4)
  • y = x² + 5x + 4, because 1 + 4 = 5 and 1 × 4 = 4
  1. If a root is 1, which bracket is zero when x = 1?
  2. Roots have the opposite sign to the number inside the bracket.

x = 1 makes (x − 1) = 0 and x = −4 makes (x + 4) = 0. So y = (x − 1)(x + 4).

Which of these points is on the graph of y = x² − 4x + 3?

  • (5, 8)
  • (4, 5)
  • (3, −1)
  • (−1, 0), because the curve crosses the x-axis there
  1. To test a point, put its x-value into the equation.
  2. Does the result equal the y-value of the point?

At x = 5: 25 − 20 + 3 = 8, so (5, 8) is on the graph. The others fail: x = 4 gives 3, x = 3 gives 0 and x = −1 gives 8.

Spot the mistake

Finding an error in someone else’s working helps you learn. For each one, decide what went wrong.

Sam says: f(x) = x² − 1, so f(−2) = −4 − 1 = −5. What went wrong?

  • (−2)² = 4, not −4, so the answer is 3
  • Nothing is wrong, since squaring a negative number gives a negative number
  • He should have worked out f(2) because the function has a minus sign
  1. Work out (−2)² carefully.
  2. A negative number multiplied by a negative number is positive.

(−2)² = (−2) × (−2) = 4, so f(−2) = 4 − 1 = 3.

Mia says: the graph of y = f(x + 3) is the graph of y = f(x) moved 3 units to the right. What went wrong?

  • f(x + 3) moves the graph 3 to the LEFT
  • Nothing is wrong. A plus sign means a move to the right.
  • It moves the graph 3 up, because plus means up
  1. Pick a point: for f(x + 3) to be f(5), what must x be?
  2. Inside the brackets the change works the opposite way to the sign.

f(x + 3) uses the old function at a value 3 bigger, so each point on the old graph is reached 3 sooner. The graph moves 3 units to the left.

Jo says: the graph of y = 1/x crosses the y-axis at (0, 1). What went wrong?

  • You cannot divide by 0, so the graph never meets the y-axis
  • Nothing is wrong. Any number divided by itself gives 1, so x = 0 gives y = 1.
  • It crosses at (0, 0) because it passes through the origin and touches both axes
  1. What would you get if you put x = 0 into y = 1/x?
  2. Is it possible to divide by 0?

1 ÷ 0 has no value, so there is no point on the graph with x = 0. The curve gets closer and closer to the y-axis but never touches it.

Kit says: f(x) = x + 1 and g(x) = 2x, so he works out f(3) = 4 first, then g(4) = 8, and says fg(3) = 8. What went wrong?

  • fg(x) means do g first, then f
  • Nothing is wrong. fg(x) means do f first, then g, reading left to right.
  • fg(x) means multiply f by g
  1. In fg(3) which function is closest to the 3?
  2. Do the function closest to the number first.

fg(3) = f(g(3)). g(3) = 6, then f(6) = 7. Kit did f first, which gives gf(3) = 8.

Check your knowledge: mixed review

Mixed up on purpose, like a real paper. Work out which idea fits.

f(x) = 3x² − x. Work out f(2).

  1. Put x = 2 into the rule.
  2. Square the 2 first, multiply by 3, then take away 2.
  • That takes away 4 instead of 2. The rule takes away x, not x².
  • That looks like squaring 3 × 2 = 6, giving 36. Only x is squared.

f(2) = 3 × 2² − 2 = 3 × 4 − 2 = 12 − 2 = 10.

Find the turning point of y = x² − 10x + 16. Type it like (2, 5).

  1. Factorise to find the roots, then go halfway between them.
  2. Put that x into the equation to get y.
  • You have the right x. Put x = 5 into the equation to find y.
  • The roots are 2 and 8, so halfway is +5.

x² − 10x + 16 = (x − 2)(x − 8), so the roots are 2 and 8 and the line of symmetry is x = 5. y = 25 − 50 + 16 = −9. The turning point is (5, −9).

f(x) = 2x − 5. Find x when f(x) = −9.

  1. Write 2x − 5 = −9.
  2. Add 5 to both sides, then divide by 2.
  • That looks like taking 5 from −9. To undo − 5 you add 5 to both sides.
  • Check the sign. 2x = −4, so x is negative.

2x − 5 = −9, so 2x = −4 and x = −2. Check: f(−2) = −4 − 5 = −9. ✓

Find y when x = 4 on the graph of y = 3x.

  1. 34 means 3 multiplied by itself 4 times.
  2. 3, 9, 27, ...
  • That is 3 × 4. 34 means 3 × 3 × 3 × 3.
  • That is 43. The base is 3 and the power is 4.

34 = 3 × 3 × 3 × 3 = 81.

f(x) = x − 2 and g(x) = x². Work out fg(5).

  1. fg(5) = f(g(5)). Work out g(5) first.
  2. Put your answer into f.
  • That is gf(5): you did f first. In fg, do g first.
  • That is only g(5). Now put it into f.

g(5) = 25. Then f(25) = 25 − 2 = 23.

f(x) = x² − 4x + 3. Use the idea that the graph of y = f(x) − 5 is the graph of y = f(x) moved down 5 units. What is the y-intercept of y = f(x) − 5?

  1. What is the y-intercept of y = f(x)? That is f(0).
  2. Moving down 5 takes 5 from every y-value.
  • That is the y-intercept of f(x). The new graph is 5 lower.
  • That adds 5. A move down subtracts.

f(0) = 3, so the original graph crosses the y-axis at 3. Moving down 5 gives 3 − 5 = −2.

Solve x² + 2x − 8 = 0. Type your answer like 1 or 4.

  1. Two numbers that multiply to −8 and add to 2.
  2. Write (x + _)(x − _) = 0.
  • The roots are the opposite sign to the numbers in the brackets: (x + 4) = 0 gives x = −4.
  • Those multiply to −8 but add to 7, not 2.

(x + 4)(x − 2) = 0, so x = −4 or x = 2. Check: 16 − 8 − 8 = 0 and 4 + 4 − 8 = 0. ✓

Check your knowledge: on the job

Real jobs from the building trades: electrics, plumbing and carpentry. Prices are typical, so check them with your own supplier.

The power lost as heat in a cable is P = 2.5I² watts, where I is the current in amps. Work out P, in watts, when I = 4.

  1. Put I = 4 into the formula.
  2. Square first, then multiply by 2.5.
  • That is 2.5 × 4. The current is squared first: 4² = 16.
  • That is (2.5 × 4)². Only I is squared.

P = 2.5 × 4² = 2.5 × 16 = 40. The cable loses 40 watts.

[2 marks] The same cable loses P = 2.5I² watts. It loses 250 watts. Find the current, in amps. (The current is positive.)

  1. Write 2.5I² = 250.
  2. Divide by 2.5, then square root.
  • That is I². Take the square root to find I.
  • That looks like multiplying 250 by 2.5. To undo × 2.5, divide.

2.5I² = 250, so I² = 100 and I = 10 amps (positive).

  • M1 for 2.5I² = 250 or I² = 100
  • A1 for 10

A tank is filled by n identical pumps. The time to fill it, in minutes, is t = 120/n. Work out the time when n = 5.

  1. Put n = 5 into the formula.
  2. Divide 120 by 5.
  • That multiplies 120 by 5. The formula divides.
  • That adds 120 and 5. The formula divides.

t = 120 ÷ 5 = 24 minutes.

The same tank is filled by n pumps in t = 120/n minutes. How many pumps are needed to fill it in 10 minutes?

  1. Write 10 = 120/n.
  2. To undo the division by n, multiply both sides by n, then divide by 10.
  • That is 120 × 10. Multiply both sides by n first, then divide by 10.
  • That is 10 ÷ 120. Rearrange 10 = 120/n for n.

10 = 120 ÷ n, so 10n = 120 and n = 12. Check: 120 ÷ 12 = 10 minutes. ✓

[3 marks] A carpenter has 40 m of fencing to go all the way round a rectangular plot. If the width is x metres, the length is 20 − x metres and the area is A = x(20 − x) square metres. The area is 0 at x = 0 and x = 20. Use the symmetry of the curve to find the greatest area, in square metres.

  1. The curve of A against x is symmetrical. It is 0 at x = 0 and at x = 20.
  2. The greatest value is halfway between those two. Put that x into the formula.
  • That is the width that gives the greatest area. The question asks for the area.
  • That is a root, where the area is 0. Find the halfway point and use it in the formula.

Halfway between 0 and 20 is x = 10. A = 10 × (20 − 10) = 10 × 10 = 100. The greatest area is 100 m², a 10 m by 10 m square.

  • M1 for roots of x(20 − x) = 0 at x = 0 and x = 20 (or the symmetry idea)
  • M1 for x = 10
  • A1 for 100

[2 marks] A new van is worth £18,000 and loses value so that after t years it is worth V = 18000 × 0.8t pounds. Work out its value after 2 years. Type it like 4200.

  1. Put t = 2 into the formula.
  2. Work out 0.8² first.
  • That is the value after 1 year. After 2 years you multiply by 0.8 twice.
  • That looks like multiplying by 1.6. 0.82 = 0.64.

0.8² = 0.64, so V = 18000 × 0.64 = 11520. The van is worth £11,520.

  • M1 for 18000 × 0.8²
  • A1 for 11520

Exam style

Use these like a real paper. The marks tell you how much to write. A calculator is fine here.

Not sure what a question word means? Question words explained.

Write your working on paper, then type the answer.

  • f(x) = 2x + 1
  • g(x) = x² − 3

[4 marks] Solve gf(x) = 13. Type your answers like 3 or −1.5.

  1. gf(x) means g(f(x)): put 2x + 1 into g.
  2. Set the result equal to 13, add 3, then square root.
  3. Remember the square root gives a positive and a negative.
  • That is only one of the two answers. A square root can be positive or negative.
  • That looks like fg(x) instead of gf(x): you did g first. gf means do f first.

gf(x) = g(2x + 1) = (2x + 1)² − 3. Set it equal to 13: (2x + 1)² = 16. So 2x + 1 = 4 or 2x + 1 = −4, giving x = 1.5 or x = −2.5. Check x = 1.5: f = 4, g(4) = 16 − 3 = 13. ✓

  • M1 for gf(x) = (2x + 1)² − 3
  • M1 for (2x + 1)² = 16
  • M1 for 2x + 1 = 4 or 2x + 1 = −4
  • A1 for 1.5 and −2.5
  • f(x) = 2x − 5
  • g(x) = x + 4

[3 marks] Find the value of x for which f−1(x) = g(x).

  1. First find f−1(x): undo the steps of f in reverse order.
  2. Write f−1(x) = g(x) as an equation in x.
  3. Multiply both sides by 2 to clear the fraction.
  • That is the number added to undo f. Set (x + 5)/2 equal to x + 4 and solve for x.
  • Check the sign: x + 5 = 2x + 8 gives x = −3.

f−1(x) = (x + 5)/2. Set (x + 5)/2 = x + 4. Then x + 5 = 2x + 8, so x = −3. Check: f−1(−3) = 2/2 = 1 and g(−3) = 1. ✓

  • M1 for f−1(x) = (x + 5)/2
  • M1 for (x + 5)/2 = x + 4
  • A1 for −3

[3 marks] The curve y = x² − 6x + 8 has a lowest point. Work out the y-coordinate of the lowest point.

  1. Factorise to find where it crosses the x-axis.
  2. The lowest point is halfway between the roots.
  3. Put that x into the equation to find y.
  • That is the x-coordinate of the lowest point. The question asks for y.
  • That is where the curve crosses the y-axis, not the lowest point.

x² − 6x + 8 = (x − 2)(x − 4), so the roots are 2 and 4. The lowest point is at x = 3. y = 9 − 18 + 8 = −1.

  • M1 for roots x = 2 and x = 4
  • M1 for x = 3 (halfway)
  • A1 for −1

[3 marks] The graph of y = f(x) has its lowest point at (3, −5). Write the coordinates of the lowest point of y = f(x − 4) + 3. Type them like (2, 5).

  1. The − 4 inside the brackets changes x. The + 3 outside changes y.
  2. Inside the brackets, a minus moves the graph to the right.
  3. Move the point right by 4 and up by 3.
  • That moves the graph left by 4. f(x − 4) moves it 4 to the right.
  • The +3 moves the graph up, so y goes up by 3, not down.

f(x − 4) moves the graph 4 to the right, so the x-coordinate is 3 + 4 = 7. The + 3 moves it up, so the y-coordinate is −5 + 3 = −2. The lowest point is (7, −2).

  • M1 for x-coordinate 3 + 4 = 7
  • M1 for y-coordinate −5 + 3 = −2
  • A1 for (7, −2)

[3 marks] Show that the graphs of y = x² − 4x + 3 and y = x − 1 meet at the points where x = 1 and x = 4.

  1. Where the graphs meet, the two y-values are equal.
  2. Set the right-hand sides equal and collect everything on one side.
  3. Factorise the quadratic.

The graphs meet where x² − 4x + 3 = x − 1. Rearrange: x² − 5x + 4 = 0. Factorise: (x − 1)(x − 4) = 0. So x = 1 or x = 4, as required. (The points are (1, 0) and (4, 3).)

  • M1 for x² − 4x + 3 = x − 1 rearranged to x² − 5x + 4 = 0
  • M1 for factorising to (x − 1)(x − 4) = 0
  • C1 for x = 1 and x = 4, and stating the graphs meet there

Why it works

  • A function is a machine. f(x) is the output for the input x. The graph collects every input and output as a point (x, f(x)).
  • Order matters in a composite. fg means “g first” because f is applied to what g gives out. Putting your shoes on and then your socks is not the same as socks and then shoes.
  • An inverse runs the machine backwards. It does the opposite steps in the opposite order. That is why f−1(f(x)) = x.
  • A parabola is symmetrical. The two roots are the same distance either side of the line of symmetry, so the turning point is halfway between them.
  • Solving by graph means finding where two graphs meet. The line y = a is every point with height a. Where it meets the curve, f(x) = a.
  • Inside the brackets, the movement is the opposite way. For f(x + 1) to give the same output as f(x), x must be 1 smaller, so the graph shifts left.

Common traps

  • Treating f(x) as f times x.
  • Doing f first in fg(x). The function next to x goes first.
  • Squaring a negative input without brackets and getting a negative answer.
  • Finding f−1(x) by changing signs but keeping the order of the steps.
  • Giving only one solution for x² = k, or reading the y-value instead of the x-value off a graph.
  • Moving f(x + a) to the right. Inside the brackets it moves left.
  • Drawing y = 1/x so that it touches or crosses an axis. It never does: the axes are its asymptotes.
  • Reading 2x as 2 × x.

Going further

f(x) = ax + 3, where a is a positive number. Given that f(f(x)) = 4x + 9, find a.

  1. Put ax + 3 into f. What do you get?
  2. The x terms must match, and so must the numbers on their own.
  3. Compare the number multiplying x on both sides.
  • That is the number multiplying x on the right. The x term on the left is a × a, or a², so a² = 4.
  • The question says a is positive.

f(f(x)) = a(ax + 3) + 3 = a²x + 3a + 3. Match 4x + 9: a² = 4 so a = 2 (positive). Check the numbers on their own: 3 × 2 + 3 = 9. ✓

A parabola y = x² + bx + c passes through (0, 5) and (6, 5). Use symmetry to find b.

  1. Two points with the same y are the same distance either side of the line of symmetry.
  2. Where is the line of symmetry, halfway between x = 0 and x = 6?
  3. The line of symmetry of y = x² + bx + c is x = −b ÷ 2.
  • Check the sign: −b ÷ 2 = 3 gives b = −6.
  • That is the x-coordinate of the line of symmetry. Use −b ÷ 2 = 3.

Both points have y = 5, so the line of symmetry is halfway: x = 3. For y = x² + bx + c, the line of symmetry is x = −b ÷ 2. So −b ÷ 2 = 3 and b = −6. Check (6, 5): 36 − 36 + 5 = 5. ✓

Higher The graph of y = x² − 6x + 5 is reflected in the y-axis. Write the equation of the new graph in the form y = x² + bx + c. Type it like y = x^2 + 3x − 4.

  1. Reflecting in the y-axis changes y = f(x) into y = f(−x).
  2. Replace every x in x² − 6x + 5 with (−x).
  3. Simplify (−x)² and −6 × (−x).
  • That is the reflection in the x-axis, −f(x). Reflecting in the y-axis replaces x with −x.
  • That is the original. The reflection is f(−x).

Replace x with −x: (−x)² − 6(−x) + 5 = x² + 6x + 5. Check: the original roots 1 and 5 become −1 and −5, and (x + 1)(x + 5) = x² + 6x + 5. ✓

I can…

Come back in a week and tick again, without looking.

Back to the pyramid Glossary

What next?

Next in the 12-week route: Sine and cosine rules See all the routes