Notation reminder
• A function is written f : D → R meaning “\(f\) maps every element of the domain \(D\) to a unique element of the range \(R\)”.
• The rule is often given as an expression in the independent variable \(x\): y = f(x).
• When a specific formula is supplied, the domain and range must be determined from that formula.
A **function** assigns to each element \(x\) in a set called the domain a unique element \(y\) in a set called the range.
Typical notation:
\(f:D\to R\) – emphasises the mapping.
\(y=f(x)\) – the dependent variable.
\(f(x)=\text{expression in }x\) – defines the rule.
2. Determining Domain and Range
For an algebraic expression the domain consists of all real numbers that do **not** violate any of the following restrictions.
Once the domain \(D\) is known, the range \(R\) is obtained by analysing the behaviour of \(f(x)\) on \(D\). For IGCSE the usual tools are:
Algebraic manipulation (e.g. completing the square for quadratics).
Limits for asymptotic behaviour (A‑Level).
First‑derivative test for monotonicity (A‑Level).
3. One‑to‑One (Injective) Functions & Inverses
Injective definition: \(f\) is one‑to‑one if \(f(x_1)=f(x_2)\) implies \(x_1=x_2\). Only such functions possess an inverse on the whole domain.
Horizontal‑line test: a horizontal line must intersect the graph at most once. (See Figure 1.)
Graphical relationship: the graph of the inverse \(f^{-1}\) is the reflection of the graph of \(f\) in the line \(y=x\). (Figure 2 illustrates the mirror image.)
Figure 1 – Horizontal‑line test (passes for \(y=x^{3}\), fails for \(y=x^{2}\)).Figure 2 – Inverse obtained by reflecting the graph in the line \(y=x\).
Algebraic method for finding an inverse
Write the relation as \(y = f(x)\).
Interchange the symbols \(x\) and \(y\): \(x = f(y)\).
Solve the resulting equation for \(y\); the solution is \(f^{-1}(x)\).
Examples
Linear function \(f(x)=3x-4\)
\[
\begin{aligned}
y &= 3x-4 \\
x &= 3y-4 \;\Longrightarrow\; y = \frac{x+4}{3}
\end{aligned}
\qquad\Rightarrow\qquad f^{-1}(x)=\frac{x+4}{3}
\]
Quadratic with restricted domain \(f(x)=x^{2}\) (originally not injective)
Restrict to \(x\ge0\) (or \(x\le0\)).
Inverse: \(y = \sqrt{x}\) (or \(-\sqrt{x}\)).
Inverse trigonometric example \(y=\sin^{-1}x\)
Domain: \(-1\le x\le 1\).
Range (principal values): \(-\dfrac{\pi}{2}\le y\le\dfrac{\pi}{2}\).
4. Composite Functions
Given two functions \(f\) and \(g\), the composite \((f\circ g)\) is defined by
\[
(f\circ g)(x)=f\bigl(g(x)\bigr).
\]
Domain of a composite – take all \(x\) in the domain of \(g\) for which \(g(x)\) lies in the domain of \(f\).
Worked composition with domain checking
\[
f(x)=\sqrt{x}, \qquad g(x)=\frac{1}{x-1}.
\]
Domain of \(g\): \(xeq1\). (Denominator cannot be zero.)
Range of \(g\): all real numbers except \(0\) (since \(\frac{1}{x-1}=0\) has no solution).
For \(f\bigl(g(x)\bigr)\) we need \(g(x)\ge0\). Solve \(\frac{1}{x-1}\ge0\):
Hence \(\displaystyle (f\circ g)(x)=\sqrt{\frac{1}{x-1}}\) with domain \((1,\infty)\).
Note that in general \(f\circ geq g\circ f\); the reverse composition would be \((g\circ f)(x)=\dfrac{1}{\sqrt{x}-1}\) with a different domain.
5. Function Transformations (Shifts, Stretches & Reflections)
Transformations allow us to obtain the graph of a new function from a known “parent’’ graph.
Transformation
Resulting expression
Effect on the graph
Horizontal shift by \(a\)
\(y=f(x-a)\)
Right if \(a>0\); left if \(a<0\).
Vertical shift by \(b\)
\(y=f(x)+b\)
Up if \(b>0\); down if \(b<0\).
Horizontal stretch/compression by factor \(keq0\)
\(y=f(kx)\)
\(|k|>1\) → compression; \(0<|k|<1\) → stretch.
Vertical stretch/compression by factor \(aeq0\)
\(y=a\,f(x)\)
\(|a|>1\) → stretch; \(0<|a|<1\) → compression; negative \(a\) also reflects in the \(x\)-axis.
Reflection in the \(y\)-axis
\(y=f(-x)\)
Mirror about the \(y\)-axis.
Reflection in the \(x\)-axis
\(y=-f(x)\)
Mirror about the \(x\)-axis.
Worked example – Transforming \(y=x^{2}\)
Apply the following operations in order:
Shift three units left → \(y=(x+3)^{2}\).
Shift two units up → \(y=(x+3)^{2}+2\).
Vertical stretch by factor 2 → \(y=2\bigl[(x+3)^{2}+2\bigr]\).
Reflection in the \(x\)-axis → \(\displaystyle y=-2\bigl[(x+3)^{2}+2\bigr]\).
Final equation: \(\displaystyle y=-2\bigl[(x+3)^{2}+2\bigr]\).
Vertex: \((-3,\,-4)\); the parabola opens downwards and is twice as steep as the parent curve.
6. Systematic Checklist for Sketching a Graph
Domain & Range – list all restrictions (denominators, radicands, logs, trig arguments).
Intercepts
\(x\)-intercepts: solve \(f(x)=0\).
\(y\)-intercept: evaluate \(f(0)\) (if 0 lies in the domain).
Symmetry
Even: \(f(-x)=f(x)\) → symmetry about the \(y\)-axis.
Odd: \(f(-x)=-f(x)\) → symmetry about the origin.
Asymptotes
Vertical: values that make the function blow up (typically denominator = 0).
First derivative
\[
f'(x)=\frac{(x^{2}-1)-x(2x)}{(x^{2}-1)^{2}}
=\frac{-x^{2}-1}{(x^{2}-1)^{2}}<0\quad\forall x\in D.
\]
Hence the function is decreasing on each interval of its domain.
Second derivative
\[
f''(x)=\frac{2x(x^{2}+3)}{(x^{2}-1)^{3}}.
\]
Sign changes at \(x=0\); therefore an inflection point at \((0,0)\).
Additional points for the sketch
\[
\begin{aligned}
f(-2)&=\frac{-2}{3}\approx-0.67,\\
f(-0.5)&=\frac{-0.5}{-0.75}\approx0.67,\\
f(0.5)&=\frac{0.5}{-0.75}\approx-0.67,\\
f(2)&=\frac{2}{3}\approx0.67.
\end{aligned}
\]
Connecting these points with the asymptotes gives the characteristic “S‑shaped’’ curve that lies in the four separate intervals \((-\infty,-1),\;(-1,0),\;(0,1),\;(1,\infty)\).
10. Exam‑style Tips & Links to Assessment
Read the question carefully – the syllabus often asks for domain, range, intercepts, asymptotes and a sketch. Use the checklist in section 6.
When an inverse is required, first check the function is one‑to‑one (horizontal‑line test). If not, state the required domain restriction.
For composite‑function questions, always write down the domain of the inner function and then test whether the outer function is defined for those outputs.
Mark clearly any algebraic steps used to find a domain or an inverse – examiners award marks for method as well as final answer.
Past papers (Cambridge 9709) contain several “sketch the graph’’ questions; practising them with the systematic checklist will improve speed and accuracy.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources,
past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.