| Type of mapping | Meaning | Example | Function? |
|---|---|---|---|
| One-one | Each output comes from exactly one input | $y = 2x + 1$, $y = x^3$ | Yes |
| Many-one | Some outputs come from more than one input | $y = x^2$ ($2$ and $-2$ both give $4$) | Yes |
| One-many | Some inputs have more than one output | $y = \pm\sqrt{x}$ | No |
| Many-many | Both of the above | $x^2 + y^2 = 4$ | No |
Find the range of $\mathrm{f}(x) = x^2 - 4x + 1$, $x \in \mathbb{R}$.
Find the range of $\mathrm{g}(x) = 2x + 1$, $-1 \leqslant x \leqslant 3$, and of $\mathrm{h}(x) = x^2$, $-1 \leqslant x \leqslant 3$.
State the largest possible domain, and the corresponding range, of (a) $\mathrm{p}(x) = \dfrac{1}{x - 2}$ (b) $\mathrm{q}(x) = \sqrt{x + 3}$.
$\mathrm{f}(x) = x^2$ and $\mathrm{g}(x) = 3x - 1$, both with domain $\mathbb{R}$. Find $\mathrm{fg}(x)$ and $\mathrm{gf}(x)$, and show that $\mathrm{fg}(x) = \mathrm{gf}(x)$ has no real solutions.
$\mathrm{f}(x) = \sqrt{x - 1}$, $x \geqslant 1$, and $\mathrm{g}(x) = x^2 + 1$, $x \in \mathbb{R}$. Explain why $\mathrm{fg}$ exists, simplify $\mathrm{fg}(x)$ and state its range.
- Write $y = \mathrm{f}(x)$.
- Rearrange to make $x$ the subject.
- Swap the letters: $\mathrm{f}^{-1}(x) = \ldots$, and state its domain (the range of $\mathrm{f}$).
$\mathrm{f}(x) = \dfrac{2x + 3}{x - 1}$, $x \neq 1$. Find $\mathrm{f}^{-1}(x)$ and state its domain.
$\mathrm{f}(x) = x^2 - 4x + 1$, $x \geqslant 2$. Find $\mathrm{f}^{-1}(x)$, stating its domain and range.
$\mathrm{f}(x) = x^2 - 2$, $x \geqslant 0$. Find $\mathrm{f}^{-1}(x)$ and the point where $y = \mathrm{f}(x)$ meets $y = \mathrm{f}^{-1}(x)$.
Function
Every input has exactly one output.
One-one
Passes the horizontal line test.
Range
Sketch over the domain; check turning points.
$\mathrm{fg}(x)$
$\mathrm{f}(\mathrm{g}(x))$: do $\mathrm{g}$ first.
$\mathrm{fg}$ exists
Range of $\mathrm{g}$ $\subseteq$ domain of $\mathrm{f}$.
Inverse exists
Only if $\mathrm{f}$ is one-one.
Finding $\mathrm{f}^{-1}$
$y = \mathrm{f}(x)$, make $x$ the subject, swap.
Swap
Domain of $\mathrm{f}^{-1}$ = range of $\mathrm{f}$.
Graph
Reflect in $y = x$.
Classify each mapping (from $\mathbb{R}$) as one-one, many-one, or not a function: (a) $y = x^3$ (b) $y = x^4$ (c) $y^2 = x$.
โถ Show solution
(a) One-one: each output comes from one input.
(b) Many-one: e.g. $x = 1$ and $x = -1$ both give $1$.
(c) Not a function: $x = 4$ gives $y = 2$ and $y = -2$ (one-many); and negative $x$ give no output at all.
Find the range of $\mathrm{f}(x) = 3 - 2x$, $-2 \leqslant x \leqslant 4$.
โถ Show solution
$\mathrm{f}$ is decreasing: $\mathrm{f}(-2) = 7$ and $\mathrm{f}(4) = -5$.
Range: $-5 \leqslant \mathrm{f}(x) \leqslant 7$.
Find the range of $\mathrm{f}(x) = x^2 + 6x + 5$, $x \in \mathbb{R}$.
โถ Show solution
$\mathrm{f}(x) = (x + 3)^2 - 4$, minimum $-4$ at $x = -3$.
Range: $\mathrm{f}(x) \geqslant -4$.
$\mathrm{f}(x) = 2x - 1$ and $\mathrm{g}(x) = x^2 + 3$, $x \in \mathbb{R}$. Find (a) $\mathrm{fg}(2)$ (b) $\mathrm{gf}(x)$ (c) the values of $x$ for which $\mathrm{gf}(x) = 7$.
โถ Show solution
(a) $\mathrm{g}(2) = 7$, so $\mathrm{fg}(2) = \mathrm{f}(7) = 13$.
(b) $\mathrm{gf}(x) = (2x - 1)^2 + 3 = 4x^2 - 4x + 4$.
(c) $4x^2 - 4x + 4 = 7 \Rightarrow 4x^2 - 4x - 3 = 0 \Rightarrow (2x - 3)(2x + 1) = 0$, so $x = \tfrac32$ or $x = -\tfrac12$.
Find $\mathrm{f}^{-1}(x)$ for $\mathrm{f}(x) = \dfrac{3x - 2}{5}$, $x \in \mathbb{R}$.
โถ Show solution
$y = \dfrac{3x - 2}{5} \Rightarrow 5y = 3x - 2 \Rightarrow x = \dfrac{5y + 2}{3}$
$\mathrm{f}^{-1}(x) = \dfrac{5x + 2}{3}$, $x \in \mathbb{R}$.
$\mathrm{f}(x) = \dfrac{4}{x - 3}$, $x \neq 3$. Find $\mathrm{f}^{-1}(x)$ and state its domain and range.
โถ Show solution
$y = \dfrac{4}{x - 3} \Rightarrow x - 3 = \dfrac{4}{y} \Rightarrow x = 3 + \dfrac{4}{y}$
$\mathrm{f}^{-1}(x) = 3 + \dfrac{4}{x}$.
The range of $\mathrm{f}$ is all reals except $0$, so the domain of $\mathrm{f}^{-1}$ is $x \neq 0$, and its range is $\mathrm{f}^{-1}(x) \neq 3$.
Explain why $\mathrm{f}(x) = x^2 - 4$, $x \in \mathbb{R}$, has no inverse. Find the smallest value of $k$ for which $\mathrm{g}(x) = x^2 - 4$, $x \geqslant k$, has an inverse, and find $\mathrm{g}^{-1}(x)$ for that $k$.
โถ Show solution
$\mathrm{f}$ is many-one: e.g. $\mathrm{f}(2) = \mathrm{f}(-2) = 0$. Only one-one functions have inverses.
The vertex is at $x = 0$; the function is one-one on $x \geqslant 0$, and on no larger interval of the form $x \geqslant k$. So $k = 0$.
Range of $\mathrm{g}$: $\mathrm{g}(x) \geqslant -4$. $\;y = x^2 - 4 \Rightarrow x = \sqrt{y + 4}$.
$\mathrm{g}^{-1}(x) = \sqrt{x + 4}$, $x \geqslant -4$.
$\mathrm{f}(x) = x^2 - 6x + 10$, $x \geqslant 3$. (a) State the range of $\mathrm{f}$. (b) Find $\mathrm{f}^{-1}(x)$. (c) Solve $\mathrm{f}(x) = \mathrm{f}^{-1}(x)$.
โถ Show solution
(a) $\mathrm{f}(x) = (x - 3)^2 + 1$, so $\mathrm{f}(x) \geqslant 1$.
(b) $x - 3 = \sqrt{y - 1}$ (positive root since $x \geqslant 3$), so $\mathrm{f}^{-1}(x) = 3 + \sqrt{x - 1}$, $x \geqslant 1$.
(c) $\mathrm{f}$ is increasing on its domain, so the graphs meet on $y = x$: $x^2 - 6x + 10 = x \Rightarrow x^2 - 7x + 10 = 0 \Rightarrow (x - 2)(x - 5) = 0$.
$x \geqslant 3$, so $x = 5$. Check: $\mathrm{f}(5) = 25 - 30 + 10 = 5$ โ and $\mathrm{f}^{-1}(5) = 3 + 2 = 5$ โ.
$\mathrm{f}(x) = \dfrac{x + 3}{x - 1}$, $x \neq 1$. Show that $\mathrm{ff}(x) = x$, and hence write down $\mathrm{f}^{-1}(x)$.
โถ Show solution
$\mathrm{ff}(x) = \dfrac{\dfrac{x+3}{x-1} + 3}{\dfrac{x+3}{x-1} - 1}$. Multiply top and bottom by $(x - 1)$:
$= \dfrac{(x + 3) + 3(x - 1)}{(x + 3) - (x - 1)} = \dfrac{4x}{4} = x$ โ
Since applying $\mathrm{f}$ twice returns $x$, $\mathrm{f}$ undoes itself: $\mathrm{f}^{-1}(x) = \dfrac{x + 3}{x - 1}$, $x \neq 1$.
The function $\mathrm{f}(C) = 1.8C + 32$ converts a temperature in degrees Celsius to degrees Fahrenheit, and $\mathrm{g}(C) = C + 273.15$ converts Celsius to kelvin.
(a) Find $\mathrm{f}^{-1}$ and explain what it does. (b) Find a single function that converts kelvin directly to Fahrenheit, writing it as a composite of $\mathrm{f}$ and $\mathrm{g}^{-1}$. (c) Find the temperature that has the same numerical value in Celsius and Fahrenheit. (d) Temperatures in kelvin cannot be negative. State the corresponding restriction on the domain of $\mathrm{f}$, and the range of $\mathrm{f}$ on this domain.
โถ Show solution
(a) $F = 1.8C + 32 \Rightarrow C = \dfrac{F - 32}{1.8}$, so $\mathrm{f}^{-1}(F) = \dfrac{F - 32}{1.8}$. It converts Fahrenheit back to Celsius.
(b) $\mathrm{g}^{-1}(K) = K - 273.15$ converts kelvin to Celsius; then apply $\mathrm{f}$.
$\mathrm{fg}^{-1}(K) = 1.8(K - 273.15) + 32 = 1.8K - 491.67 + 32 = 1.8K - 459.67$.
(c) $\mathrm{f}(C) = C$: $1.8C + 32 = C \Rightarrow 0.8C = -32 \Rightarrow C = -40$. So $-40\,^\circ$C $= -40\,^\circ$F.
(d) $K \geqslant 0 \Rightarrow C + 273.15 \geqslant 0 \Rightarrow C \geqslant -273.15$.
$\mathrm{f}$ is increasing, so its range is $\mathrm{f}(C) \geqslant 1.8(-273.15) + 32 = -459.67$.