Inverse functions

IGCSE Additional Mathematics · Functions

When does an inverse exist?

Only when $f$ is one-one: every output comes from exactly one input. Graphically, every horizontal line meets the curve at most once.

Finding $f^{-1}$

  1. Write $y=f(x)$.
  2. Rearrange to make $x$ the subject.
  3. Swap the letters.

$y=\dfrac{x}{x+2} \Rightarrow y(x+2)=x \Rightarrow x(y-1)=-2y \Rightarrow x=\dfrac{2y}{1-y}$, so $f^{-1}(x)=\dfrac{2x}{1-x}$.

Two useful facts

Self-inverse functions

If $ff(x)=x$ then $f$ is its own inverse. Examples: $f(x)=\dfrac1x$ and $f(x)=k-x$.

Worked example: finding the inverse of a rational function

Given $f(x)=\dfrac{3x-1}{x+2}$ for $x\ne-2$. Find $f^{-1}(x)$ and state the value that must be excluded from its domain.

Solution

Step 1. Let $y=\dfrac{3x-1}{x+2}$ and cross-multiply: $y(x+2)=3x-1$, that is $xy+2y=3x-1$.

Step 2 — collect the $x$ terms on one side. $xy-3x=-1-2y$, so $x(y-3)=-(1+2y)$ and $x=\dfrac{-(1+2y)}{y-3}=\dfrac{1+2y}{3-y}$.

Step 3 — swap the variable. $f^{-1}(x)=\dfrac{1+2x}{3-x}$.

Step 4 — the domain. The denominator is $0$ when $x=3$, so $x=3$ must be excluded. This number $3$ is no accident: it is exactly the horizontal asymptote of $f$, that is, a value $f$ never takes, so it cannot be in the domain of the inverse function.

Common mistake

Trap: forgetting to change the sign when collecting $x$. At the step $xy-3x=-1-2y$, if you move only $3x$ and forget to change the sign of $1$, the result is completely wrong yet still ‘looks right’. Quick check: substitute a specific number into $f$, then substitute the result into $f^{-1}$; you must get back the original number.

Key takeaway

An inverse exists when the function is one-to-one · make $x$ the subject in terms of $y$ then rename the variable · the graph is symmetric about $y=x$ · the excluded value of $f^{-1}$ is the horizontal asymptote of $f$.

← Domain, range and composite functions · All IGCSE Additional Mathematics lessons · Practice IGCSE Additional Mathematics questions (free, instant scoring) · Completing the square and the discriminant →