GGCSE Revision Hub

6.05a Functions

OCR Mathematics J560Topic 6 — AlgebraFoundation & Higher

Algebra is the language that lets you write down a rule and then use it. It is also the largest content area in this course, with 22 sections, and it is the part students most often say they find abstract - so the aim here is to make every rule feel like a piece of arithmetic you already know how to do.

What you need to know

Expressions as functions

A function takes an input and gives exactly one output. The expression y = 2x + 3 can be read as a machine: the input x is multiplied by 2 and then 3 is added, and the result is y. A rule like y = x² is also a function, because every input gives exactly one output.

y = 2x + 3

Domain and range

The domain is the set of inputs the function will accept, and the range is the set of outputs it can produce. For y = 2x + 3 with x from 0 to 5, the domain is 0 ≤ x ≤ 5 and the range is 3 ≤ y ≤ 13.

Inverse functions

The inverse function undoes the original: it takes the output and returns the input. For y = 2x + 3, swap x and y to get x = 2y + 3, then rearrange to get y = (x - 3)/2. Every function has an inverse on its range, and an inverse always undoes the original in both directions.

y = (x − 3)/2

Composite functions

A composite function applies one function to the output of another. If f(x) = 2x + 3 and g(x) = x², then f(g(x)) = 2x² + 3, because you square the input first and then apply f. The order matters: g(f(x)) = (2x + 3)².

f(g(x)) = 2x² + 3

Flashcards

Exam questions

Written in the style of OCR Mathematics, with a mark scheme for each one. No question here is a real past paper question.

mcq1 mark

Which of these is a function?

  • y² = x + 1
  • y = x² + 1
  • y = 1/x
  • x = y²

Mark scheme: Mark 1: for the answer y = x² + 1, because every input x gives exactly one output y.

Tip: A function gives one output for every input.

short2 marks

For the function y = 2x + 3, state what happens when the input is 4.

Mark scheme: Mark 1: the input is multiplied by 2 and then 3 is added. Mark 2: 2 x 4 + 3 = 11, so the output is 11.

Tip: Substitute the input for x.

short4 marksHigher only

Find the inverse of the function y = 2x + 3, showing your working.

Mark scheme: Mark 1: swap x and y to get x = 2y + 3. Mark 2: subtract 3 from both sides, so x - 3 = 2y. Mark 3: divide both sides by 2, so (x - 3)/2 = y. Mark 4: the inverse is y = (x - 3)/2.

Tip: Swap x and y, then rearrange for y.

short5 marksHigher only

Given that f(x) = 2x + 3 and g(x) = x², find f(g(x)) and g(f(x)), and explain why they are different.

Mark scheme: Mark 1: f(g(x)) means apply g first, so g(x) = x², and then f gives 2(x²) + 3 = 2x² + 3. Mark 2: g(f(x)) means apply f first, so f(x) = 2x + 3, and then g gives (2x + 3)². Mark 3: the two are different because the order in which the functions are applied changes the result. Mark 4: 2x² + 3 is not the same as (2x + 3)² = 4x² + 12x + 9. Mark 5: the order of a composite function matters.

Tip: The right-hand function acts first.

Other sections in this topic

Practise these questions

Answer them in the interactive view and they get marked against the same mark scheme, one mark at a time, with the reason for each mark.

Open the interactive topic →