4.3 Functions
GCSE Maths Higher · OCR J560 · Chapter 4: Functions and sequences
What is in the full lesson (16 activities)
Every item below opens free in the course.
- Video: Algebra: formulae 9nth term formulae Example 2
- Video: Algebra: formulae 9nth term formulae Example 4
- Video: Functions Example 7
- Video: Functions Example 6
- Video: Functions Example 8
- Video: Functions Example 9
- Video: Functions Example 1
- Video: Functions Example 2
- Video: Functions Example 3
- Video: Functions Example 5
- Notes: Lesson notes: Functions
- Interactive lesson: Interactive lesson: Functions
- Practice questions: Practice questions (8 questions, 11 marks)
- Interactive lesson: Practice game: Functions
- Worksheet: Worksheet: Functions
- Answers: Answers and mark scheme of the Worksheet: Functions
A free OCR GCSE Maths Higher lesson (J560) from OBA School: function notation, composite functions fg(x) and inverse functions f−¹(x) (OCR J560: 6.05a). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with interactive activities, practice quizzes and printable worksheets, in our free online course.
What you will learn
- Use function notation such as f(x) = 3x − 5 to find outputs and solve for inputs
- Find composite functions such as fg(x) and gf(x), and evaluate them
- Find the inverse function f−¹(x) of a linear function
- Solve problems that combine composite and inverse functions
Key words
- Function: A rule that turns each input into exactly one output. f(x) is read "f of x".
- Input and output: f(4) means the output when the input is 4.
- Composite function: Two functions applied one after the other. fg(x) means do g first, then f.
- Inverse function: f−¹(x) undoes f: if f(2) = 7 then f−¹(7) = 2.
Function notation
A function is like a machine. f(x) = 3x − 5 means: take the input, multiply by 3, then subtract 5. Replace every x with the input.
Worked example: outputs and inputs
f(x) = 3x − 5. Work out (a) f(4) (b) f(−2) (c) the value of x for which f(x) = 16
(a) f(4) = 3 × 4 − 5 = 7 (b) f(−2) = 3 × (−2) − 5 = −11
(c) 3x − 5 = 16, so 3x = 21 and x = 7
Answer: (a) 7 (b) −11 (c) x = 7
Worked example: a quadratic function
g(x) = x² + 2x. Work out g(−3).
g(−3) = (−3)² + 2 × (−3) = 9 − 6 = 3
Answer: 3
Key fact: Use brackets when you substitute a negative number: (−3)² = 9, not −9.
Composite functions
In fg(x) the function nearest to x acts first. So fg(x) = f(g(x)): put x into g, then put the answer into f.
Worked example: evaluating and finding fg(x)
f(x) = 2x + 1 and g(x) = x². Find (a) fg(3) (b) gf(3) (c) fg(x) (d) gf(x)
(a) g(3) = 9, then f(9) = 19 (b) f(3) = 7, then g(7) = 49
(c) fg(x) = f(x²) = 2x² + 1 (d) gf(x) = g(2x + 1) = (2x + 1)²
Answer: 19, 49, 2x² + 1, (2x + 1)²
Key fact: fg(x) and gf(x) are usually different. Order matters.
Inverse functions
The inverse function reverses the machine: undo each operation, starting with the last one. With algebra: write y = f(x), rearrange to make x the subject, then swap x and y.
Worked example: finding an inverse
f(x) = (x + 4)/3. Find f−¹(x).
y = (x + 4)/3, so 3y = x + 4 and x = 3y − 4
Swap the letters: f−¹(x) = 3x − 4
Check: f(2) = 2 and f−¹(2) = 3 × 2 − 4 = 2 ✓
Answer: f−¹(x) = 3x − 4
Worked example: a decreasing function
h(x) = 5 − 2x. Find h−¹(x).
y = 5 − 2x, so 2x = 5 − y and x = (5 − y)/2
Answer: h−¹(x) = (5 − x)/2
Key fact: f−¹(x) does not mean 1/f(x). And ff−¹(x) = f−¹f(x) = x.
Solving problems with functions
Write the composite function as an expression, set it equal to the value given and solve.
Worked example: solve an equation
f(x) = x − 4 and g(x) = 2x². Solve gf(x) = 18.
gf(x) = 2(x − 4)² = 18, so (x − 4)² = 9
x − 4 = 3 or x − 4 = −3
Answer: x = 7 or x = 1
Worked example: finding an unknown
f(x) = 3x + k and f(5) = 11. Find k, then find f−¹(20).
15 + k = 11, so k = −4. f−¹(20): solve 3x − 4 = 20, 3x = 24
Answer: k = −4 and f−¹(20) = 8
Common mistakes
- Doing the functions in the wrong order: in fg(x), g is done first.
- Writing fg(x) as f(x) × g(x). It means f of g(x), not a product.
- Thinking f−¹(x) = 1/f(x). The −1 means "inverse", not "reciprocal".
- Reversing the operations but not their order: undo the last step first.
Revision questions
Try these, then check your answers below each one.
Question 1. f(x) = 5x - 2. Work out f(-3).
Answer: -17
Working: f(-3) = 5 × (-3) - 2 = -15 - 2 = -17.
Question 2. g(x) = x² + 4. Work out g(-5).
Answer: 29
Working: g(-5) = 25 + 4 = 29.
Question 3. f(x) = x + 2 and g(x) = x². Which expression is fg(x)? (Choose from: (x + 2)², x² + 2, x² + 2x, 2x².)
Answer: x² + 2
Working: fg(x) = f(x²) = x² + 2. ((x + 2)² is gf(x).)
Exam board focus: OCR GCSE Maths (J560)
Specification: in the OCR J560 specification this lesson covers 6.05a (functions). In the national GCSE subject content these are A7 (algebra).
Your exams: OCR Higher tier students sit three papers: J560/04 (calculator allowed), J560/05 (non-calculator) and J560/06 (calculator allowed). Each paper lasts 1 hour 30 minutes and is worth 100 marks. Questions on this topic can appear on any of the three papers, so practise it both with and without a calculator.
Foundation tier: the OCR Foundation course covers this topic too, in 4.3 Functions.
Studying with a different exam board? AQA: 18.3 Functions; Edexcel: 17.7 Functions.
Related lessons
- Previous lesson: 4.2 Finding the nth term
- Next lesson: 4.4 Special sequences
Continue in the full course
This lesson is section 4.3 (OGCMH0403) of our free OCR GCSE Maths Higher course (OCR J560: 6.05a). In the full course you get every video for this section, an animated interactive lesson, a practice interactivity, a self-marking practice quiz, a printable worksheet with a mark scheme, and your progress saved. Go to the full OCR GCSE Maths Higher course.
This lesson is part of the free GCSE Maths Higher course. You can also browse all our free GCSE courses.