Functions Toolkit (AQA GCSE Further Maths): Revision Note

Exam code: 8365

Mark Curtis

Written by: Mark Curtis

Reviewed by: Dan Finlay

Updated on

Introduction to functions

What is a function?

  • A function is a combination of one or more mathematical operations that takes a set of numbers and changes them into another set of numbers

    • It may be thought of as a mathematical “machine”

    • For example, if the function (rule) is “double the number and add 1”, the two mathematical operations are "multiply by 2 (×2)" and "add 1 (+1)"  

      • Putting 3 in to the function would give 2 × 3 + 1 = 7

      • Putting -4 in would give 2 × (-4) + 1 = -7 

    • Putting x in would give 2x + 1

  • The number being put into the function is often called the input

  • The number coming out of the function is often called the output

What does a function look like?

  • A function f can be written as f(x) = … 

    • Other letters can be used. g, h and j are common but any letter can technically be used

      • Normally, a new letter will be used to define a new function in a question

  • For example, the function with the rule “triple the number and subtract 4” would be written

    • f(x) = 3x  4   

  • In such cases, x would be the input and f(x) would be the output

  • Sometimes functions don’t have names like f and are just written as y = …

    • eg. y = 3x  4

How does a function work?

  • A function has an input (x) and output (f(x) or  y)

  • Whatever goes in the bracket (instead of x)with f, replaces the x on the other side

    • This is the input

  • If the input is known, the output can be calculated

    • For example, given the function f(x) = 2x + 1

      • f(3) = 2 × 3 + 1=7

      • f(4) = 2 × (4) + 1 = 7

      • f(a) = 2a + 1

  • If the output is known, an equation can be formed and solved to find the input

    • For example, given the function f(x) = 2x + 1

      • If f(x) = 15, the equation 2x + 1 = 15 can be formed

      • Solving this equation gives an input of 7

Worked Example

A function is defined as f(x) = 3x2  2x + 1.

(a) Find f(7).

The input is x = 7, so substitute 7 into the expression everywhere you see an x.

f(7) = 3(7)2  2(7) + 1  

Calculate.

f(7) = 3(49)  14 + 1= 147  14 + 1  

f(7) = 134

(b) Find f(x + 3).

The input is x = x + 3 so substitute  x + 3 into the expression everywhere you see an x.

f(x + 3) = 3(x + 3)2  2(x + 3) + 1 

   Expand the brackets and simplify.

f(x + 3) = 3(x2 + 6x + 9)  2(x + 3) + 1= 3x2 + 18x + 27  2x  6 + 1= 3x2 + 16x + 22 

f(x + 3) =  3x2 + 16x + 22

A second function is defined g(x)= 3x  4.

(c) Find the value of x for which g(x)= 16.
  

Form an equation by setting the function equal to -16.

3x  4 = 16 

Solve the equation by first adding 4 to both sides, then dividing by 3. 

3x  4 = 163x = 12x = 123 

x = 4

Domain & range

  • Functions can be represented as graphs on x and y axes

    • The x-axis values are the inputs

    • The y-axis values are the outputs

  • To see what graph to plot, replace f(x) = ... with y = ...

DRE Notes fig1, downloadable IGCSE & GCSE Maths revision notes

What is the domain of a function?

  • The domain of a function is the set of all inputs that the function is allowed to take

  • Domains can be described in words

    • they must refer to x

    • you can use inequality signs if needed

    • you can exclude parts by saying "except" if needed

  • For f(x) = 2x + 3 

    • the domain "x > 0" means only positive values of x can be inputted 

    • the domain "2 < x < 5 except 4" means only values of x between 2 and 5, except 4, can be inputted

      • this includes non-integers, like x = π

    • the domain "all real values" means any x can be inputted

  • For f(x)=x2 you cannot square root a negative number

    • the domain is x ≥ 2 

      • this is from solving x - 2 ≥ 0

  • For f(x)=1x5 you cannot divide by zero

    • the domain is all real values of x except 5

      • this is from solving x - 5 = 0

What is the range of a function?

  • The range of a function is the set of all outputs that the function gives out

  • Ranges can be described in words

    • they must refer to f(x) 

      • not x or y

  • Ranges are based on domains

  • For f(x) = 3x + 2 with domain x > 0

    • the range is "f(x) > 2"

      • This is because if the inputs are all greater than 0, the outputs will all be greater than 2

    • This could be seen from a sketch of y = 3x + 2 in the region x > 0

How do I solve problems involving the domain and range?

  • You need to be able to deduce the range of a function from its expression and domain

  • To find the range of g(x) = 3x2 with the domain x ≥ 0...

    • ...sketch the graph for x ≥ 0 only (use a table-of-values if required)...

    DRE Notes fig5, downloadable IGCSE & GCSE Maths revision notes
    • ...read-off the range by seeing which values of y are possible

      • Possible y values are y ≥ 0

      • rewrite "y" as "f(x)" when giving ranges

      • the range is f(x) ≥ 0

Examiner Tips and Tricks

  • A graph / sketch of the function helps to “see” the domain on the x-axis and range on the y-axis

Worked Example

Two functions are given by

f(x)=3x+5              g(x)=9x

(a) If the domain of function f is 2<x4, find the range.

Sketch the graph of f(x) by substituting f(x) for yand sketching the linear graph y = 3x + 5.

The domain of the function is 2 < x  4 so only draw the graph between these points. 

Substitute x = 2 and x = 4 into the function to find the endpoints of the range. 

f(2) = 3(2) + 5 = 11f(4) = 3(4) + 5 = 17

5sMHl9UL_aqa-fm-domain-and-range-rn-diagram-we-1


The range is the y values that the graph goes from and to.

Use the domain to decide whether the range has a strict inequality (≤ or ≥) or a non-strict inequality (< or >). 
The domain is greater than 2 but less than or equal to 4 so the range is greater than 11, but less than or equal to 17.

When writing the range you must use the f(x) notation in the final answer.

11 < f(x)  17

(b) If the range of g is 4<g(x)6, find the domain. 

Sketch the graph of g(x) by substituting g(x) for yand sketching the linear graph y = 9  x.

The range of the function is 4 < g(x)  6 so substitute y = 4 and y = 6 into the function and solve to find the endpoints of the domain. 

For y = 4,

9  x = 4x = 5x = 5

For y = 6,

9  x = 6x = 3x = 3

aqa-fm-domain-and-range-rn-diagram-we-2


The domain is the x values that the graph goes from and to.

Use the given range to decide whether the range has a strict inequality (≤ or ≥) or a non-strict inequality (< or >). 
The range is greater than 4 but less than or equal to 6 so the domain is greater than or equal to 3, but less than 5. (Make sure you look at the coordinates to check which part of the domain goes with which part of the range).

Note that this would be difficult to see without sketching the graph, as the function decreases. 

3  x < 5

Piecewise functions

What is a piecewise function?

  • A piecewise function is a single function with different parts across different domains

  • The function f(x)={x249x 2x22<x55<x9 has three domains

    • the input 0.5 lies in 2x2, so f(0.5)=0.52=0.25

    • the input 3 lies in 2<x5 so f(3)=4

    • the input 8.5 lies in 5<x9, so f(8.5)=98.5=0.5

How do I sketch a piecewise function?

  • Think of the shape of each part

    • f(x) = mx + c is a straight line, f(x) = k is horizontal at height k, f(x) = x2 is quadratic etc

  • Plot the coordinates of the end-points to help

    • for the domain axb find the heights of the graph, f(a) and f(b)

  • Not all parts have to "join up"

    • there may be a jump (discontinuity)

  • For f(x)={x0x111.5x20otherwise

    • it's y = x from x = 0 to 1, then horizontal at y = 1 from x = 1.5 to 2, then 0 everywhere else

      1-3-1-ial-fig1-pdf-graph
    • Sketching helps see the range (all possible outputs on the y-axis), for this example it's 0f(x)1

  • A table of values can also be used

How do I find the equation of a piecewise function from a sketch?

  • Build an equation in the form f(x)={.........  a<xbb<xcc<xd

    • don't include a domain end-point twice (use ≤ with one part and < with another, in either order)

  • Horizontal sections have the form f(x) = k, where k is the height

  • Straight line sections can be thought of as a coordinate geometry problem

    • how do I find the equation of a straight line from (x1, y1) to (x2, y2)?

  • Quadratic sections have two different equation forms

    • f(x) = (x - a)2 + b is a positive quadratic (U-shape) with vertex (turning point) at (a, b)

      • the vertical line x = is the line of symmetry

    • f(x) = (x - a)(x - b) is a positive quadratic (U-shape) with x-intercepts x = a and x = b

Worked Example

Sketch the function f(x)={x+3(x1)(x3)3  3<x00<x44<x6

Consider each part of the function separately.

From x =3 to x = 0 the function is a linear graph, with a gradient of 1 and a y-intercept of 3. Find the endpoints of this part of the function.

At x =3,  y =3 + 3 = 0
At x = 0,   y =0 + 3 = 3

Plot the points (-3, 0) and (0, 3) and then draw a straight line between them. Check that its gradient is one. 

From x = 0 to x = 4 the function is a positive quadratic graph (u shape).

Find the endpoints of the quadratic graph by substituting x = 0 and x = 4 into the function and finding the corresponding y values.

At  x = 0,  y = (01)(03) = 3
At x = 4,   y = (41)(43) = 3

Find the x-intercepts of the quadratic graph by setting each bracket to 0 and solving.

Let (x1) = 0,  x = 1
Let (x  3) = 0,   x = 3

Plot the points (0, 3), (1, 0) (3, 0) and (4, 3) and draw a smooth u-shaped curve through them.

The final part of the function is a horizontal line from the coordinates (4, 3) to (6, 3).

ygQMUXOO_aqa-fm-piecewise-functions-rn-diagram-we-1

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Mark Curtis

Author: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.