Salam Academy
Algebra and functions · Subtopic 15 of 16

Graphs of a Function and its Inverse

Why the graph of f−1f^{-1} is the reflection of ff in the line y=xy=x, how points, intercepts and asymptotes swap over, and where a function meets its own inverse.

Cambridge 9709 Paper 1Edexcel YMA01 WMA13Edexcel 9MA0 Paper 1Edexcel 9MA0 Paper 2≈ 30 minRevision 6 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Sketch y=f−1(x)y=f^{-1}(x) by reflecting y=f(x)y=f(x) in the line y=xy=x.
  • Swap the coordinates of key points, intercepts and asymptotes.
  • Find where the graphs of ff and f−1f^{-1} meet.
  • Recognise self-inverse functions from their symmetry.
Pause and think

Warm-up: f(2)=7f(2)=7. What is f−1(7)f^{-1}(7)? Which point is on y=f(x)y=f(x), and which is on y=f−1(x)y=f^{-1}(x)?

Section 2 of 14

Core idea

Start hereA mirror on the diagonal

If f(2)=5f(2)=5, then f−1(5)=2f^{-1}(5)=2. So the point (2,5)(2,5) is on y=f(x)y=f(x) and the point (5,2)(5,2) is on y=f−1(x)y=f^{-1}(x): the coordinates are swapped. Swapping xx and yy for every point is exactly what a mirror placed along the line y=xy=x does. So you can draw an inverse without any algebra: just reflect.

The big idea

The graph of y=f−1(x)y=f^{-1}(x) is the reflection of y=f(x)y=f(x) in the line y=xy=x. Where ff and f−1f^{-1} meet (if at all) is usually on y=xy=x, so solving f(x)=xf(x)=x finds those points.

1. Why reflection swaps coordinates

A point and its reflection
−2246812345670xyon fon f⁻¹
The joining line always crosses y=xy=x at right angles, halfway between the two points.
Reflecting (a,b)(a,b) in y=xy=x gives (b,a)(b,a)
  1. midpoint of (a,b),(b,a)=(a+b2,a+b2)\text{midpoint of }(a,b),(b,a)=\left(\tfrac{a+b}2,\tfrac{a+b}2\right)
    Its coordinates are equal, so it lies on y=xy=x.
  2. gradient=a−bb−a=−1\text{gradient}=\frac{a-b}{b-a}=-1
    The segment joining them has gradient −1-1.
  3. (−1)×1=−1(-1)\times1=-1
    y=xy=x has gradient 11: the segment is perpendicular to it.
y=xy=x is the perpendicular bisector of the segment, so (b,a)(b,a) is the mirror image of (a,b)(a,b).

2. Sketching an inverse

f(x) = x²/4 + 1 (x ≥ 0) and its inverse
−2246812345670xyy = f(x)y = f⁻¹(x)y = x(4, 5)(5, 4)meet on y = x
(4,5)(4,5) on ff becomes (5,4)(5,4) on f−1f^{-1}. The dashed segment joining them crosses y=xy=x at right angles: that is what a reflection looks like.
Worked examplef(x)=14x2+1f(x)=\tfrac14x^2+1, x≥0x\ge0

Sketch ff and f−1f^{-1} on the same axes; find f−1f^{-1} and any intersection.

Goal
Graphs, formula and meeting point.
Strategy
Reflect; for the meeting point solve f(x)=xf(x)=x.
  1. ff starts at (0,1)(0,1); f−1f^{-1} starts at (1,0)(1,0) (swap).

  2. y=14x2+1⇒x2=4(y−1)⇒f−1(x)=2x−1, x≥1y=\tfrac14x^2+1\Rightarrow x^2=4(y-1)\Rightarrow f^{-1}(x)=2\sqrt{x-1},\ x\ge1
    Positive root since x≥0x\ge0.
  3. 14x2+1=x⇒x2−4x+4=0⇒(x−2)2=0\tfrac14x^2+1=x\Rightarrow x^2-4x+4=0\Rightarrow(x-2)^2=0
    Meeting on y=xy=x.
Answerf−1(x)=2x−1f^{-1}(x)=2\sqrt{x-1}; the graphs touch at (2,2)(2,2).
✓ Checkf(2)=1+1=2f(2)=1+1=2 and f−1(2)=21=2f^{-1}(2)=2\sqrt1=2 ✓.
Edge caseUse equal scales The reflection only looks right if both axes use the same scale; otherwise y=xy=x isn't at 45∘45^\circ.
Pause and think

ff passes through (0,3)(0,3) and (4,7)(4,7). Name two points on f−1f^{-1}.

Summary

  • f−1f^{-1} is ff reflected in y=xy=x.
  • Points swap: (a,b)→(b,a)(a,b)\to(b,a).
  • Solve f(x)=xf(x)=x for meeting points on y=xy=x.
Key words
Reflection in y = x
Swaps x- and y-coordinates.
Every point swaps over
Loading the interactive graph…
Try this
  1. Drag pp. The point on ff and the point on f−1f^{-1} always have their coordinates swapped.
  2. The two points are mirror images in y=xy=x. Fold the screen along that line in your head: the curves land on each other.
  • A yy-intercept (0,c)(0,c) of ff becomes an xx-intercept (c,0)(c,0) of f−1f^{-1}, and the other way round.
  • A horizontal asymptote y=ky=k of ff becomes a vertical asymptote x=kx=k of f−1f^{-1}.
  • The domain and range swap, so a curve that starts at (2,1)(2,1) has an inverse that starts at (1,2)(1,2).
HistoryGraphs are younger than you might think. Drawing equations as curves on two axes became standard after René Descartes published La Géométrie in 1637. Before that, algebra and geometry were separate subjects. Reflecting a graph in y=xy=x is a purely Cartesian idea: it simply swaps the two coordinates.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.