Free worked question · Functions & graphs

Solving f(f(x)) = x for a Modulus Function

Paper
Paper 1
Forge difficulty
3 of 5
Target time
3 min 30 s
Topic
Functions & graphs

Let

f(x)=∣x−2∣+1.f(x)=|x-2|+1.

Which option describes exactly the real solutions of f(f(x))=xf(f(x))=x?

Choose an answer

Answer options
Worked solutionShow

Correct answer

C — 1≤x≤21\le x\le2

Key idea

The breakpoints of the composition occur where xx crosses 22 and where f(x)f(x) crosses 22.

Worked solution

If x≤1x\le1, then f(x)=3−x≥2f(x)=3-x\ge2, so

f(f(x))=2−x.f(f(x))=2-x.

The equation 2−x=x2-x=x gives x=1x=1.

If 1<x<21<x<2, then f(x)=3−xf(x)=3-x lies between 11 and 22. Hence

f(f(x))=∣1−x∣+1=x,f(f(x))=|1-x|+1=x,

so every xx in this interval works.

If 2≤x<32\le x<3, then f(x)=x−1f(x)=x-1 lies between 11 and 22, so f(f(x))=4−xf(f(x))=4-x. Equality with xx gives x=2x=2.

If x≥3x\ge3, then f(f(x))=x−2f(f(x))=x-2, which cannot equal xx.

Combining the cases gives the closed interval 1≤x≤21\le x\le2.

Check and common trap

Both endpoints work: f(f(1))=f(2)=1f(f(1))=f(2)=1 and f(f(2))=f(1)=2f(f(2))=f(1)=2.

Final answer

C — 1≤x≤21\le x\le2

Your next step

Practise more questions at this level

Free, no account needed

Take the timed diagnostic

20 Forge-original questions under exam timing, calibrated to the 2023 paper's difficulty profile. You get a score and a topic-by-topic breakdown at the end.

Start the free diagnostic

Free account

Save your progress

Create a free account for 41 free lessons and 4 methods in Learn, with progress kept on this device, and free sittings of released past papers.

Create a free account

Premium

Practise at the harder level

561 Forge originals calibrated for the harder computer-based papers sat since 2024, with worked solutions, unlimited mocks, all 104 lessons and 18 methods.

£49 for 12 months or £20 for 30 days. One payment, no automatic renewal.

See premium