Revision › GCSE Maths › Algebra

Functions

GCSE Maths · Algebra. Explained 3 ways - start with the one that suits you.

Functions Start here

Here’s how to work with function machines step by step.

Key words

function
A rule that assigns one output value to each input.
input
The variable you start with, usually called x.
output
The result after applying the function rule.
inverse function
Reverses a function, swapping its inputs and outputs.

How to do it

  1. Write the machine’s rule as y = f(x).
  2. Substitute the input into the rule to find an output.
  3. Set the output equal to the given value and solve for x to find the input.
  4. Check that every arithmetic operation is performed correctly.

Watch out for

  • Confusing the output with the input when reversing a machine.
  • Adding numbers instead of multiplying or dividing during reverse steps.
  • Forgetting that the inverse operation must undo the original operation.

Remember: The rule for this machine is y = 4x - 3. To find an input from an output, rearrange to x = (y+3)/4.

Functions Core

A function gives an output for every input. Understanding how to write a function, find its inverse and form composites is essential.

Key words

f(x)
output expressed as a function of the input x

How to do it

  1. Recognise a rule that assigns an output to each input; write it as \(y=f(x)=\dots\).
  2. To find the inverse, swap the roles of the variables: replace \(y\) by \(x\) and \(x\) by \(y\), then solve for the new \(y\).
  3. Rename the solved variable back to \(x\); this gives \(f^{-1}(x)=\dots\).
  4. For a composite, write \((fg)(x)=g(f(x))\); substitute the whole expression of \(f(x)\) into \(g\).
  5. Always check that you are using the correct order and that each part’s domain is respected.

Watch out for

  • Many pupils write \(f^{-1}(x)\) without actually interchanging variables and solving; they forget to isolate the new output.
  • Some mix up the order of composition, using \(fg(x)=f(g(x))\) instead of \(g(f(x))\); remember that the right‑most function is applied first.
  • A common mistake is treating the equation \(x+3=3x\) as a simple step, not recognising it changes the input; this can cause swapping 3 and 5 incorrectly or outputting "3" instead of the correct value.

Remember: When finding an inverse, you undo what the function does: division becomes multiplication, subtraction becomes addition, etc.

Functions Stretch

A function maps each input to exactly one output. When we write a rule such as f(x)=5x+3, the whole expression is the function f; its rule takes x (independent variable) to y (dependent). For any value of x that makes sense in the rule, f(x) gives the corresponding output.

Key words

inverse
the function that reverses the input-output relationship – if f(a)=b then f⁻¹(b)=a.
composite
applying one function after another; (f∘g)(x) = f(g(x)).

How to do it

  1. Find any equations linking the unknown constants from the given conditions, for example by substituting known inputs into g or using a value that appears in both functions.
  2. If an inverse is required, solve y=f(x) for x to get f⁻¹(y). A linear rule gives f⁻¹(x)=\(\frac{x-constant}{coefficient}\).
  3. Replace the output of one function with the input expression of the other – this is the composite step, but here we usually equate an inverse result to a value produced by g.
  4. Collect terms to form algebraic equations in the unknown constants and solve them normally.

Watch out for

  • Confusing the order of operations when building f(x); for example treating x+3 as 3x or mis‑applying distributive laws.
  • Thinking that in an inverse we simply swap numbers without ensuring the operation is correctly inverted; e.g. assuming f⁻¹(33) means 5×33-3 instead of (33-3)/5.
  • Using 1/f(x) for the inverse, which is division not swapping input and output.

Remember: When you see an expression like f(g(x)), remember it means ‘first apply g, then f’; don’t mistake it for multiplication or other operations.

✏️ Try 3 quick questions

  1. Let the function \(f\) be defined by \(y = 2x + 3\). What is \(f(4)\)?

  2. Let \(f(x)=2x+5\). Find the value of \(x\) such that \(f(x)=23\).

  3. For the function \(f(x)=5x-9\), find \(f^{-1}(21)\).

Practise it with real exam questions

4 Triangles has quick questions on functions, real GCSE past-paper questions with their mark schemes, and a revision plan that picks what to work on next.

Try the quick questions

📝 Worksheets and a knowledge organiser to print

Questions on this topic for a lesson, homework or revision - a quick "do now", misconception questions, small steps that change one thing at a time, and practice, with answers on the last page.

Easy Medium Hard 📄 Knowledge organiser

🔤 Key words to know

Function
A function is a mathematical relationship that uniquely maps values of one set to the values of another set.
Equation
An equation is used to show 2 expressions that are equal to each other.
Domain
The domain of a function is the set of values that the mapping is performed on.
Range
The range of a function is the set of values mapped to by the function and the stated domain.
Transformation
A transformation is a process that may change the size, orientation or position of a shape or graph.
Frequency
The frequency is the number of times an event occurs; or the number of individuals (people, animals etc.) with some specific property.
Mean
The (arithmetic) mean for a set of numerical data is the sum of the values divided by the number of values. It is a measure of central tendency representing the average of the values.
Median
The median is the central (middle) piece of data when the data are in numerical order. It is a measure of central tendency representing the average of the values.
Mode
The mode is the most frequent value. It is a measure of central tendency representing the average of the values.
Inverse function
An inverse function reverses the mapping of the original function.

Many definitions from Oak National Academy (Open Government Licence).

When it's usually taught: Year 9 - Calculator functionality; Year 11 (Higher) - Functions and proof; Year 11 (Higher) - Transformations of graphs.

💼 Where it could take you

Jobs where people use this every day - whichever way you go after school.

Straight from school or an apprenticeship

With college or an advanced apprenticeship

With a degree

Each job opens its National Careers Service profile: what it pays, the hours, and how to get in.

📺 Watch a lesson on this

Each is a maths lesson by Oak National Academy licensed under Open Government Licence (OGL). Lessons open on Oak National Academy's site.

More on Algebra