GCSE · Maths · OCR · Spec J560
Functions
Put −2 and 2 into x² and both give 4. Fine. Put 4 into ±√x and you get 2 and −2. Not fine. Why?
Maths · Algebra
Finding an inverse function, then checking it
Step forward — the next line lights up, the rest dim back.
Write f(x) as y. The aim is to make x the subject.
Step 1 of 6
Write f(x) as y. The aim is to make x the subject.
Reflecting in y = x
View
Layers
Explore
Reflect every point in the dashed line y = x and swap its coordinates: (2, 4) becomes (4, 2) and (−2, 4) becomes (4, −2). The input 4 now has two outputs, so the reflection is not a function.
A sketch, not to scale. Switch the view, then tap the highlighted parts.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
A function sends every valid input to exactly one output, and that one rule decides what has an inverse.
What you need to know
- A function is a rule that gives exactly one output for every valid input.
- The domain is the set of inputs. The range is the set of outputs.
- If some inputs are invalid, restrict the domain: for 1/x, x can be any value except 0.
- One-to-one and many-to-one are both valid functions. One-to-many, like ±√x, is not.
Have a goA classmate says x → x² can't be a function because 3 and −3 both give 9. Fair?
No. Two inputs sharing one output is many-to-one, which is allowed.
The rule only forbids one input giving two outputs. It never demands a different output for every input.
- f(x) = 3x + 5 is shorthand. f names the function, and f(x) does not mean f multiplied by x.
- To evaluate, substitute. 2f(x) doubles the output, while f(4x) and f(x + 5) change the input first.
Have a goZoe says f(4x) and 4f(x) are basically the same. Try f(x) = 2x + 1 with x = 3. Is she right?
No. f(4x) = f(12) = 25, but 4f(x) = 4 × 7 = 28.
In f(4x) the 4 changes the input first. In 4f(x) the 4 multiplies the output.
- The inverse function f⁻¹(x) reverses f, sending outputs back to inputs. It does not mean 1/f(x).
Have a gof(x) = 2x, so f(5) = 10. Without finding a formula, what does f⁻¹(10) equal?
5
The inverse sends the output 10 back to the input 5. Reading f⁻¹(10) as 1 ÷ 10 is the tempting wrong turn.
- Find the inverse by making x the subject, then check it: if f sends a to b, f⁻¹ sends b to a.
- The graph of y = f⁻¹(x) reflects y = f(x) in y = x. x² needs a restricted domain, such as x ≥ 0, first.
- gf(x) means do f first, then g. fg(x) and gf(x) are not necessarily the same.
The big picture
A function sends every valid input to exactly one output. Its domain is the set of inputs and its range is the set of outputs. Function notation tells you the order of operations, in 2f(x), f(4x) and gf(x). An inverse function reverses the mapping and only exists when the reverse is also a function. Composite functions chain two or more functions with the inner one first.
Key points
Worked example
Problem
f(x) = x² + x and g(x) = x + 3. Write fg(x) as an expression in x and simplify it.
⚠ Watch out
Reading f⁻¹(x) as 1/f(x). For f(x) = 2x, the inverse function is f⁻¹(x) = x/2, not 1/(2x): f sends 3 to 6, and f⁻¹ has to send 6 back to 3.
Memory hook
Nearest the number goes first: in gf(x), f is nearest x, so f runs first. And f⁻¹ undoes f; it is not 1 ÷ f.
Check yourself
f(x) = 6x. Write down f⁻¹(x), then check it using f(2). Answer: f⁻¹(x) = x/6, and f(2) = 12 with f⁻¹(12) = 12/6 = 2.
Flashcards
(15)What is a function?
What are the domain and the range of a function?
How do you make a function like 1/x valid?
Which of one-to-one, many-to-one and one-to-many is NOT a valid function?
In f(x) = 3x + 5, what do f and x mean?
How do you read 2f(x), f(4x) and f(x + 5)?
Can f(4) + g(5) be combined into one expression first?
What does an inverse function do?
How are the domain and range of f and f⁻¹ linked?
How do you find an inverse function and check it?
How is the graph of y = f⁻¹(x) related to the graph of y = f(x)?
Why does f(x) = x² have no inverse function until its domain is restricted?
What does gf(x) mean, and is it always equal to fg(x)?
How do you work out fgh(4) or ff(2)?
How do you write a composite function algebraically?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Maths topics
- Approximate solutions using a graph
- Change the subject of a formula
- Collecting like terms
- Completing the square
- Factorising
- Formulate algebraic expressions
- Generate terms of a sequence
- Inequalities in one variable
- Inequalities in two variables
- Linear equations in one unknown
- Multiplying out brackets / expanding
- Recall and use standard formulae
How this lesson was checked. This OCR GCSE Maths (specification J560)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 13 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.