Skip to content

Functions

Board Coverage

BoardPaperNotes
AQAPaper 1, 2Functions, composition, inverse, transformations
EdexcelP1, P2Similar; modulus in P1
OCR (A)Paper 1, 2Includes composite functions
CIE (9709)P1Functions, domain, range, inverse

1. Definitions

Definition. A function ff from a set AA (the domain) to a set BB (the codomain) is a Rule that assigns to each element aAa \in A exactly one element f(a)Bf(a) \in B. We write f:ABf: A \to B.

Definition. The range (or image) of ff is the set {f(a):aA}B\{f(a) : a \in A\} \subseteq B — the Set of all values actually attained.

Definition. The natural domain of a real-valued function defined by an algebraic expression is The largest subset of R\mathbb{R} for which the expression is defined. Common restrictions:

  • Denominators cannot be zero: x0x \neq 0 in 1x\frac{1}{x}.
  • Square roots require non-negative arguments: x0x \geq 0 in x\sqrt{x}.
  • Logarithms require positive arguments: x>0x > 0 in lnx\ln x.
Example Find the natural domain of $f(x) = \sqrt{x + 2} + \frac{1}{x - 1}$.

We need: x+20x + 2 \geq 0 (for the square root) AND x10x - 1 \neq 0 (for the denominator).

So x2x \geq -2 and x1x \neq 1.

Domain: [2,1)(1,)[-2, 1) \cup (1, \infty).


2. Composition of Functions

Definition. Given functions f:ABf: A \to B and g:BCg: B \to CThe composition gf:ACg \circ f: A \to C is defined by:

(gf)(x)=g(f(x))(g \circ f)(x) = g(f(x))

Theorem. Function composition is associative: (hg)f=h(gf)(h \circ g) \circ f = h \circ (g \circ f).

Theorem. Function composition is not commutative : fggff \circ g \neq g \circ f.

Example Given $f(x) = 2x + 1$ and $g(x) = x^2$Find $f \circ g$ and $g \circ f$.

(fg)(x)=f(g(x))=f(x2)=2x2+1(f \circ g)(x) = f(g(x)) = f(x^2) = 2x^2 + 1.

(gf)(x)=g(f(x))=g(2x+1)=(2x+1)2=4x2+4x+1(g \circ f)(x) = g(f(x)) = g(2x + 1) = (2x + 1)^2 = 4x^2 + 4x + 1.

fggff \circ g \neq g \circ f.

:::caution Warning Right to left: (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)). :::


3. Inverse Functions

Definition. A function f:ABf: A \to B is injective (one-to-one) if f(a1)=f(a2)    a1=a2f(a_1) = f(a_2) \implies a_1 = a_2 for all a1,a2Aa_1, a_2 \in A. Equivalently, distinct inputs give Distinct outputs.

Definition. A function f:ABf: A \to B is surjective (onto) if for every bBb \in BThere exists aAa \in A such that f(a)=bf(a) = b.

Definition. A function that is both injective and surjective is bijective.

Theorem. A function f:ABf: A \to B has an inverse function f1:BAf^{-1}: B \to A if and only if ff is Bijective.

Proof.

(\Rightarrow) If f1f^{-1} exists, then ff must be injective (otherwise f1f^{-1} would be Multiply-defined) and surjective (otherwise f1f^{-1} would be undefined for elements not in the Range).

(\Leftarrow) If ff is bijective, then for each bBb \in B there exists exactly one aAa \in A with f(a)=bf(a) = b. Define f1(b)=af^{-1}(b) = a. This is well-defined and satisfies f1(f(a))=af^{-1}(f(a)) = a and f(f1(b))=bf(f^{-1}(b)) = b. \blacksquare

Intuition. An inverse function “undoes” the original function. For this to work, the original Function must pair each input with a unique output (injectivity) and must cover every element of the Codomain (surjectivity).

3.1 Finding Inverse Functions

Method.

  1. Write y=f(x)y = f(x).
  2. Solve for xx in terms of yy.
  3. Replace yy with xx (and xx with yy) to get f1(x)f^{-1}(x).
  4. State the domain of f1f^{-1} (which equals the range of ff).
Example Find the inverse of $f(x) = \frac{2x + 3}{x - 1}$, $x \neq 1$.

y=2x+3x1y = \frac{2x + 3}{x - 1}

y(x1)=2x+3y(x - 1) = 2x + 3

yxy=2x+3yx - y = 2x + 3

yx2x=y+3yx - 2x = y + 3

x(y2)=y+3x(y - 2) = y + 3

x=y+3y2x = \frac{y + 3}{y - 2}

So f1(x)=x+3x2f^{-1}(x) = \frac{x + 3}{x - 2}With domain x2x \neq 2.

The range of ff is all real numbers except f(x)=2f(x) = 2: 2x+3x1=2    2x+3=2x2    3=2\frac{2x + 3}{x - 1} = 2 \implies 2x + 3 = 2x - 2 \implies 3 = -2Impossible. So the range is R{2}\mathbb{R} \setminus \{2\}Which equals the domain of f1f^{-1}. ✓

Theorem. The graph of y=f1(x)y = f^{-1}(x) is the reflection of y=f(x)y = f(x) in the line y=xy = x.

Proof. If (a,b)(a, b) lies on y=f(x)y = f(x)Then b=f(a)b = f(a)So a=f1(b)a = f^{-1}(b)Meaning (b,a)(b, a) lies On y=f1(x)y = f^{-1}(x). Swapping coordinates is reflection in y=xy = x. \blacksquare


4. The Modulus Function

Definition. The modulus (absolute value) function is defined by:

x={xifx0xifx<0|x| = \begin{cases} x & \mathrm{if } x \geq 0 \\ -x & \mathrm{if } x < 0 \end{cases}

Properties:

ab=aba+ba+b(Triangleinequality)a2=a2x=x2\begin{aligned} |ab| &= |a| \cdot |b| \\ |a + b| &\leq |a| + |b| \quad \mathrm{(Triangle inequality)} \\ |a|^2 &= a^2 \\ |x| &= \sqrt{x^2} \end{aligned}

Theorem (Triangle Inequality). a+ba+b|a + b| \leq |a| + |b| for all a,bRa, b \in \mathbb{R}.

Proof. We consider cases based on the signs of aa and bb.

Case 1: a,b0a, b \geq 0. Then a+b=a+b=a+b|a + b| = a + b = |a| + |b|. Equality holds.

Case 2: a,b0a, b \leq 0. Then a+b0a + b \leq 0So a+b=(a+b)=ab=a+b|a + b| = -(a + b) = -a - b = |a| + |b|. Equality Holds.

Case 3: a0a \geq 0, b0b \leq 0. If a+b0a + b \geq 0: a+b=a+ba+(b)=a+b|a + b| = a + b \leq a + (-b) = |a| + |b|. If a+b0a + b \leq 0: a+b=(a+b)=abab=a+b|a + b| = -(a + b) = -a - b \leq a - b = |a| + |b| (since a0a \geq 0 implies aaa \geq -aI.e., 2a02a \geq 0). \blacksquare

4.1 Solving Modulus Equations

To solve f(x)=g(x)|f(x)| = g(x):

  1. Case 1: f(x)0f(x) \geq 0So f(x)=g(x)f(x) = g(x).
  2. Case 2: f(x)<0f(x) < 0So f(x)=g(x)-f(x) = g(x).
  3. Check solutions against the case conditions.
Example Solve $|2x - 3| = x + 2$.

Case 1: 2x302x - 3 \geq 0I.e., x32x \geq \frac{3}{2}.

2x3=x+2    x=52x - 3 = x + 2 \implies x = 5. Check: 5325 \geq \frac{3}{2}

Case 2: 2x3<02x - 3 < 0I.e., x<32x < \frac{3}{2}.

(2x3)=x+2    2x+3=x+2    3x=1    x=13-(2x - 3) = x + 2 \implies -2x + 3 = x + 2 \implies -3x = -1 \implies x = \frac{1}{3}. Check: 13<32\frac{1}{3} < \frac{3}{2}

Solutions: x=13x = \frac{1}{3} and x=5x = 5.


5. Transformations of Graphs

5.1 Translations

Theorem. The graph of y=f(xa)y = f(x - a) is the graph of y=f(x)y = f(x) translated by aa units in the Positive xx-direction.

Proof. Let g(x)=f(xa)g(x) = f(x - a). The point (x0,y0)(x_0, y_0) lies on y=g(x)y = g(x) if and only if y0=g(x0)=f(x0a)y_0 = g(x_0) = f(x_0 - a). This means (x0a,y0)(x_0 - a, y_0) lies on y=f(x)y = f(x). So the point (x0,y0)(x_0, y_0) on gg corresponds to the point (x0a,y0)(x_0 - a, y_0) on ff — a shift right by aa. \blacksquare

Intuition. Replacing xx with xax - a means “to get the same output, I need to input aa more.” The graph shifts right to compensate.

Similarly, y=f(x)+by = f(x) + b translates up by bb.

5.2 Reflections

TransformationEffect
y=f(x)y = f(-x)Reflection in the yy-axis
y=f(x)y = -f(x)Reflection in the xx-axis

Proof for y=f(x)y = f(-x) as reflection in the yy-axis. If (x0,y0)(x_0, y_0) is on y=f(x)y = f(x)Then y0=f(x0)y_0 = f(x_0). The point (x0,y0)(-x_0, y_0) satisfies y0=f((x0))=f(x0)y_0 = f(-(-x_0)) = f(x_0)So it lies on y=f(x)y = f(-x). Reflecting (x0,y0)(x_0, y_0) in the yy-axis gives (x0,y0)(-x_0, y_0). \blacksquare

5.3 Stretches

TransformationEffect
y=f(ax)y = f(ax)Horizontal stretch, scale factor 1a\frac{1}{a}
y=af(x)y = af(x)Vertical stretch, scale factor aa

Proof for y=f(ax)y = f(ax) as horizontal stretch. If (x0,y0)(x_0, y_0) is on y=f(x)y = f(x)Then on y=f(ax)y = f(ax)The same yy-value occurs when ax=x0ax = x_0I.e., x=x0ax = \frac{x_0}{a}. So (x0a,y0)(\frac{x_0}{a}, y_0) is on the new graph — a horizontal stretch by factor 1a\frac{1}{a}. \blacksquare

:::caution Horizontal transformations are “backwards”: f(xa)f(x - a) shifts right (not left), and f(ax)f(ax) stretches by 1a\frac{1}{a} (not aa). This is the single most common error in this topic. :::

5.4 Combined Transformations

When multiple transformations are applied, the order matters. The convention is:

y=af(xp)+qy = af(x - p) + q

Represents: horizontal translation by pp (right), vertical stretch by factor aaVertical Translation by qq (up).

:::tip Tip (outside). The order inside-out matters. :::


6. Even and Odd Functions

Definition. A function ff is even if f(x)=f(x)f(-x) = f(x) for all xx in its domain. A function ff is odd if f(x)=f(x)f(-x) = -f(x) for all xx in its domain.

Theorem. The graph of an even function is symmetric about the yy-axis. The graph of an odd Function has rotational symmetry of order 2 about the origin.

Proof. For even ff: the point (x,f(x))=(x,f(x))(-x, f(-x)) = (-x, f(x)) is on the graph whenever (x,f(x))(x, f(x)) is. These two points are reflections of each other across the yy-axis. \blacksquare

For odd ff: the point (x,f(x))=(x,f(x))(-x, f(-x)) = (-x, -f(x)) is on the graph whenever (x,f(x))(x, f(x)) is. Rotating (x,f(x))(x, f(x)) by 180180^\circ about the origin gives (x,f(x))(-x, -f(x)). \blacksquare

Algebraic Properties.

OperationEven ×\times EvenOdd ×\times OddEven ×\times Odd
ResultEvenEvenOdd

Proof (for ff odd, gg odd     fg\implies fg even). (fg)(x)=f(x)g(x)=(f(x))(g(x))=f(x)g(x)=(fg)(x)(fg)(-x) = f(-x)g(-x) = (-f(x))(-g(x)) = f(x)g(x) = (fg)(x). \blacksquare

Proof (for ff even, gg odd     fg\implies fg odd). (fg)(x)=f(x)g(x)=f(x)(g(x))=f(x)g(x)=(fg)(x)(fg)(-x) = f(-x)g(-x) = f(x)(-g(x)) = -f(x)g(x) = -(fg)(x). \blacksquare

Theorem. The only function that is both even and odd is f(x)=0f(x) = 0 (the zero function on a Symmetric domain).

Proof. ff even: f(x)=f(x)f(-x) = f(x). ff odd: f(x)=f(x)f(-x) = -f(x). Therefore f(x)=f(x)f(x) = -f(x)So 2f(x)=02f(x) = 0Hence f(x)=0f(x) = 0 for all xx. \blacksquare

Example Classify $f(x) = x^3 - x$ and $g(x) = \cos(x^2)$.

f(x)=(x)3(x)=x3+x=(x3x)=f(x)f(-x) = (-x)^3 - (-x) = -x^3 + x = -(x^3 - x) = -f(x). So ff is odd.

g(x)=cos((x)2)=cos(x2)=g(x)g(-x) = \cos((-x)^2) = \cos(x^2) = g(x). So gg is even.


7. Composite Function Domain and Range

Theorem. The domain of gfg \circ f is {xdom(f):f(x)dom(g)}\{x \in \mathrm{dom}(f) : f(x) \in \mathrm{dom}(g)\}.

Proof. For (gf)(x)=g(f(x))(g \circ f)(x) = g(f(x)) to be defined, we need xdom(f)x \in \mathrm{dom}(f) (so f(x)f(x) Exists) AND f(x)dom(g)f(x) \in \mathrm{dom}(g) (so gg can accept f(x)f(x) as input). \blacksquare

The range of gfg \circ f is the image under gg of the set {f(x):xdom(gf)}\{f(x) : x \in \mathrm{dom}(g \circ f)\}Which is a subset of the range of gg.

Example Given $f(x) = x^2$ with domain $\mathbb{R}$ and $g(x) = \sqrt{x}$ with domain $[0, \infty)$Find the domain and range of $g \circ f$.

Domain: We need xRx \in \mathbb{R} (always true) and f(x)=x2[0,)f(x) = x^2 \in [0, \infty) (always true). So dom(gf)=R\mathrm{dom}(g \circ f) = \mathbb{R}.

Range: g(f(x))=x2=xg(f(x)) = \sqrt{x^2} = |x|. The range of x|x| over R\mathbb{R} is [0,)[0, \infty).

Example Given $f(x) = \frac{1}{x - 1}$ with domain $\mathbb{R} \setminus \{1\}$ and $g(x) = \ln x$ with domain $(0, \infty)$Find the domain of $g \circ f$.

We need 1x1>0\frac{1}{x-1} > 0So x1>0x - 1 > 0Giving x>1x > 1.

dom(gf)=(1,)\mathrm{dom}(g \circ f) = (1, \infty).


8. Self-Inverse Functions

Definition. A function ff is self-inverse if f1=ff^{-1} = fI.e., f(f(x))=xf(f(x)) = x for all xx In the domain of ff.

Theorem. If ff is self-inverse, then ff is bijective and f=f1f = f^{-1}.

Proof. If f(f(x))=xf(f(x)) = x for all xxThen ff has an inverse (namely ff itself), so ff is Bijective. And by definition of inverse, f1=ff^{-1} = f. \blacksquare

Common self-inverse functions:

  • f(x)=axf(x) = \frac{a}{x} (reciprocal, x0x \neq 0): f(f(x))=a/(a/x)=xf(f(x)) = a/(a/x) = x. ✓
  • f(x)=axf(x) = a - x (reflection): f(f(x))=a(ax)=xf(f(x)) = a - (a - x) = x. ✓
  • f(x)=ax+bcxaf(x) = \frac{ax + b}{cx - a} (general fractional linear, c0c \neq 0): verify f(f(x))=xf(f(x)) = x.

Proof for f(x)=(ax+b)/(cxa)f(x) = (ax+b)/(cx-a). Let f(x)=ax+bcxaf(x) = \frac{ax+b}{cx-a}. Then:

f(f(x))=LBaax+bcxa+bRB◆◆LBcax+bcxaaRB=LBa(ax+b)+b(cxa)cxaRB◆◆LBc(ax+b)a(cxa)cxaRB=a2x+ab+bcxabacx+bcacx+a2=(a2+bc)xa2+bc=xf(f(x)) = \frac◆LB◆a \cdot \frac{ax+b}{cx-a} + b◆RB◆◆LB◆c \cdot \frac{ax+b}{cx-a} - a◆RB◆ = \frac◆LB◆\frac{a(ax+b) + b(cx-a)}{cx-a}◆RB◆◆LB◆\frac{c(ax+b) - a(cx-a)}{cx-a}◆RB◆ = \frac{a^2 x + ab + bcx - ab}{acx + bc - acx + a^2} = \frac{(a^2 + bc)x}{a^2 + bc} = x

\blacksquare (provided a2+bc0a^2 + bc \neq 0).


9. Modulus Inequalities with Functions

To solve inequalities involving the modulus function:

Type 1: f(x)<g(x)|f(x)| \lt g(x) where g(x)>0g(x) > 0.

This is equivalent to the compound inequality g(x)<f(x)<g(x)-g(x) \lt f(x) \lt g(x).

Proof. f(x)<g(x)    g(x)<f(x)<g(x)|f(x)| \lt g(x) \iff -g(x) \lt f(x) \lt g(x) follows directly from the definition of Modulus. \blacksquare

Type 2: f(x)>g(x)|f(x)| \gt g(x).

This is equivalent to: f(x)>g(x)f(x) > g(x) OR f(x)<g(x)f(x) < -g(x).

Example Solve $|x^2 - 3x| \lt 4$.

This gives 4<x23x<4-4 \lt x^2 - 3x \lt 4I.e., two separate inequalities:

x23x4<0    (x4)(x+1)<0    1<x<4x^2 - 3x - 4 \lt 0 \implies (x-4)(x+1) \lt 0 \implies -1 \lt x \lt 4.

x23x+4>0x^2 - 3x + 4 \gt 0: discriminant Δ=916=7<0\Delta = 9 - 16 = -7 \lt 0And the coefficient of x2x^2 is Positive, so this is always true.

Solution: 1<x<4-1 \lt x \lt 4.

Example Solve $|2x - 1| \geq x + 2$.

Case 1: 2x102x - 1 \geq 0 (i.e., x1/2x \geq 1/2): 2x1x+2    x32x - 1 \geq x + 2 \implies x \geq 3. Combined with x1/2x \geq 1/2: x3x \geq 3.

Case 2: 2x1<02x - 1 < 0 (i.e., x<1/2x < 1/2): (2x1)x+2    2x+1x+2    13x    x1/3-(2x-1) \geq x + 2 \implies -2x + 1 \geq x + 2 \implies -1 \geq 3x \implies x \leq -1/3. Combined With x<1/2x < 1/2: x1/3x \leq -1/3.

Solution: x1/3x \leq -1/3 or x3x \geq 3I.e., x(,1/3][3,)x \in (-\infty, -1/3] \cup [3, \infty).


10. Transformation Order — Why It Matters

When multiple transformations are applied to y=f(x)y = f(x)The order matters because horizontal and Vertical transformations interact differently.

Rule. For y=af(bx+c)+dy = af(bx + c) + d:

  1. Apply horizontal transformations first: the argument is bx+cbx + cWhich is a horizontal stretch by factor 1/b1/b then a horizontal shift of c/b-c/b.
  2. Apply vertical transformations second: vertical stretch by a|a|Reflection if a<0a < 0Then vertical shift dd.

:::caution Common Pitfall The horizontal shift in f(bx+c)f(bx + c) is c/b-c/bNOT c-c. The stretch “absorbs” part of the shift. This is the single most common error in transformation problems. :::

Example Describe the transformations mapping $y = x^2$ to $y = 3(2x - 4)^2 + 5$.

Reading from inside out:

  1. x2(2x)2x^2 \to (2x)^2: horizontal stretch, factor 1/21/2.
  2. (2x)2(2x4)2=[2(x2)]2=4(x2)2(2x)^2 \to (2x - 4)^2 = [2(x - 2)]^2 = 4(x-2)^2: horizontal shift right by 2.
  3. 4(x2)234(x2)2=12(x2)24(x-2)^2 \to 3 \cdot 4(x-2)^2 = 12(x-2)^2: vertical stretch, factor 3.
  4. 12(x2)212(x2)2+512(x-2)^2 \to 12(x-2)^2 + 5: vertical shift up by 5.

Note: the horizontal shift is 2 (not 4), because 2x4=2(x2)2x - 4 = 2(x - 2).


11. Problem Set

Problem 1. Given f(x)=1x3+2f(x) = \frac{1}{x - 3} + 2Find the domain, range, and inverse function.

Solution Domain: $x \neq 3$I.e., $\mathbb{R} \setminus \{3\}$.

Range: As x \to 3^+$$f(x) \to +\infty; as x \to 3^-$$f(x) \to -\infty. As x±x \to \pm\infty f(x)2f(x) \to 2. So f(x)2f(x) \neq 2.

Range: R{2}\mathbb{R} \setminus \{2\}.

Inverse: y=1x3+2    y2=1x3    x3=1y2    x=1y2+3y = \frac{1}{x - 3} + 2 \implies y - 2 = \frac{1}{x - 3} \implies x - 3 = \frac{1}{y - 2} \implies x = \frac{1}{y - 2} + 3.

f1(x)=1x2+3f^{-1}(x) = \frac{1}{x - 2} + 3Domain x2x \neq 2.

If you get this wrong, revise: [Inverse functions](#3-inverse-functions)

Problem 2. Given f(x)=x24x+9f(x) = x^2 - 4x + 9 for x2x \geq 2Find f1(x)f^{-1}(x).

Solution Completing the square: $f(x) = (x - 2)^2 + 5$.

For x \geq 2$$f is injective (strictly increasing).

y=(x2)2+5    (x2)2=y5    x2=y5y = (x - 2)^2 + 5 \implies (x - 2)^2 = y - 5 \implies x - 2 = \sqrt{y - 5}

(taking the positive root since x2x \geq 2).

x=y5+2x = \sqrt{y - 5} + 2

f1(x)=x5+2f^{-1}(x) = \sqrt{x - 5} + 2Domain x5x \geq 5.

If you get this wrong, revise: [Inverse functions](#3-inverse-functions)

Problem 3. Solve 3x+1=2x+5|3x + 1| = 2x + 5.

Solution Case 1: $3x + 1 \geq 0$I.e., $x \geq -\frac{1}{3}$.

3x+1=2x+5    x=43x + 1 = 2x + 5 \implies x = 4. Check: 4134 \geq -\frac{1}{3}

Case 2: 3x+1<03x + 1 < 0I.e., x<13x < -\frac{1}{3}.

(3x+1)=2x+5    3x1=2x+5    5x=6    x=65-(3x + 1) = 2x + 5 \implies -3x - 1 = 2x + 5 \implies -5x = 6 \implies x = -\frac{6}{5}.

Check: 65<13-\frac{6}{5} < -\frac{1}{3}

Solutions: x=65x = -\frac{6}{5} and x=4x = 4.

If you get this wrong, revise: [Modulus equations](#41-solving-modulus-equations)

Problem 4. Given f(x)=2x1f(x) = 2x - 1 and g(x)=x2+3g(x) = x^2 + 3Find (gf)(x)(g \circ f)(x) and solve (gf)(x)=12(g \circ f)(x) = 12.

Solution $(g \circ f)(x) = g(f(x)) = g(2x - 1) = (2x - 1)^2 + 3 = 4x^2 - 4x + 4$.

4x24x+4=12    4x24x8=0    x2x2=0    (x2)(x+1)=04x^2 - 4x + 4 = 12 \implies 4x^2 - 4x - 8 = 0 \implies x^2 - x - 2 = 0 \implies (x - 2)(x + 1) = 0.

x=2x = 2 or x=1x = -1.

If you get this wrong, revise: [Composition](#2-composition-of-functions)

Problem 5. The graph of y=f(x)y = f(x) passes through (0,1)(0, 1) and (3,2)(3, -2). State the coordinates Of the corresponding points on: (a) y=f(x+2)y = f(x + 2) (b) y=f(x)y = -f(x) (c) y=f(2x)y = f(2x) (d) y=3f(x)1y = 3f(x) - 1

Solution (a) $y = f(x + 2)$: shift left by 2. Points: $(-2, 1)$ and $(1, -2)$.

(b) y=f(x)y = -f(x): reflect in xx-axis. Points: (0,1)(0, -1) and (3,2)(3, 2).

(c) y=f(2x)y = f(2x): horizontal stretch factor 12\frac{1}{2}. Points: (0,1)(0, 1) and (32,2)\left(\frac{3}{2}, -2\right).

(d) y=3f(x)1y = 3f(x) - 1: vertical stretch factor 3, then shift down 1. Points: (0,2)(0, 2) and (3,7)(3, -7).

If you get this wrong, revise: [Transformations](#5-transformations-of-graphs)

Problem 6. The function ff is defined by f(x)=x33x+1f(x) = x^3 - 3x + 1. Show that ff is not injective On R\mathbb{R}And find the largest interval containing x=0x = 0 on which ff is injective.

Solution $f'(x) = 3x^2 - 3 = 3(x - 1)(x + 1)$.

f(x)=0f'(x) = 0 at x=±1x = \pm 1. f(x)<0f'(x) < 0 for 1<x<1-1 < x < 1 (decreasing), and f(x)>0f'(x) > 0 for x<1x < -1 Or x>1x > 1 (increasing).

Since ff is decreasing on (1,1)(-1, 1) and increasing on (,1)(-\infty, -1) and (1,)(1, \infty)It is not Injective on all of R\mathbb{R}. For example, f(2)=8+6+1=1f(-2) = -8 + 6 + 1 = -1 and f(0)=1f(0) = 1 and f(1)=1f(1) = -1. So f(2)=f(1)=1f(-2) = f(1) = -1 with 21-2 \neq 1.

The largest interval containing 00 on which ff is strictly monotonic (hence injective) is [1,1][-1, 1].

If you get this wrong, revise: [Injectivity](#3-inverse-functions) and [Differentiation](./10-differentiation.md)

Problem 7. Solve the inequality x3>2x+1|x - 3| > |2x + 1|.

Solution Square both sides (both sides are non-negative): (x3)2>(2x+1)2X26x+9>4x2+4x+13x210x+8>03x2+10x8<0\begin{aligned} (x - 3)^2 &> (2x + 1)^2 \\ X^2 - 6x + 9 &> 4x^2 + 4x + 1 \\ -3x^2 - 10x + 8 &> 0 \\ 3x^2 + 10x - 8 &< 0 \end{aligned}

(3x2)(x+4)<0(3x - 2)(x + 4) < 0

4<x<23-4 < x < \frac{2}{3}

If you get this wrong, revise: [Modulus function](#4-the-modulus-function)

Problem 8. Given f(x)=e2xf(x) = e^{2x} and g(x)=ln(x+1)g(x) = \ln(x + 1)Find f^{-1}$$g^{-1}And the Domain of fgf \circ g.

Solution $f^{-1}(x)$: $y = e^{2x} \implies \ln y = 2x \implies x = \frac◆LB◆\ln y◆RB◆◆LB◆2◆RB◆$.

f1(x)=12lnxf^{-1}(x) = \frac{1}{2}\ln xDomain x>0x > 0.

g1(x)g^{-1}(x): y=ln(x+1)    x+1=ey    x=ey1y = \ln(x + 1) \implies x + 1 = e^y \implies x = e^y - 1.

g1(x)=ex1g^{-1}(x) = e^x - 1Domain all R\mathbb{R}.

(fg)(x)=f(g(x))=f(ln(x+1))=e2ln(x+1)=(x+1)2(f \circ g)(x) = f(g(x)) = f(\ln(x + 1)) = e^{2\ln(x+1)} = (x + 1)^2.

Domain of fgf \circ g: we need x+1>0x + 1 > 0 (for gg), so x>1x > -1.

If you get this wrong, revise: [Composition](#2-composition-of-functions) and [Inverse functions](#3-inverse-functions)

Problem 9. Sketch the graph of y=x24y = |x^2 - 4|Showing the coordinates of all points where the Graph meets the axes.

Solution $y = |x^2 - 4| = |(x - 2)(x + 2)|$.

When x240x^2 - 4 \geq 0 (i.e., x2x \leq -2 or x2x \geq 2): y=x24y = x^2 - 4 (parabola opening up).

When x24<0x^2 - 4 < 0 (i.e., 2<x<2-2 < x < 2): y=(x24)=4x2y = -(x^2 - 4) = 4 - x^2 (parabola opening down).

yy-intercept: x=0    y=4x = 0 \implies y = 4. Point: (0,4)(0, 4).

xx-intercepts: x24=0    x=±2x^2 - 4 = 0 \implies x = \pm 2. Points: (2,0)(-2, 0) and (2,0)(2, 0).

The graph is the standard parabola y=x24y = x^2 - 4 with the part between x=2x = -2 and x=2x = 2 Reflected above the xx-axis.

If you get this wrong, revise: [Modulus function](#4-the-modulus-function) and [Transformations](#5-transformations-of-graphs)

Problem 10. Prove that f:[0,)[0,)f: [0, \infty) \to [0, \infty) defined by f(x)=x2+4xf(x) = x^2 + 4x is Bijective, and find f1f^{-1}.

Solution **Injective:** $f(x) = x^2 + 4x = (x+2)^2 - 4$. For $x \geq 0$$x + 2 > 0$So $(x+2)^2$ is strictly increasing, hence $f$ is strictly increasing, hence injective.

Surjective: For any y0y \geq 0: x2+4xy=0x^2 + 4x - y = 0. By the quadratic formula: x=LB4+16+4yRB◆◆LB2RB=2+4+yx = \frac◆LB◆-4 + \sqrt{16 + 4y}◆RB◆◆LB◆2◆RB◆ = -2 + \sqrt{4 + y}. Since y0y \geq 0: 4+y2\sqrt{4 + y} \geq 2So x0x \geq 0. Thus every y0y \geq 0 has a preimage.

Inverse: y=x2+4x    x2+4xy=0    x=LB4+16+4yRB◆◆LB2RBy = x^2 + 4x \implies x^2 + 4x - y = 0 \implies x = \frac◆LB◆-4 + \sqrt{16 + 4y}◆RB◆◆LB◆2◆RB◆ (taking the positive root since x0x \geq 0).

f1(x)=2+4+x=x+42f^{-1}(x) = -2 + \sqrt{4 + x} = \sqrt{x + 4} - 2Domain x0x \geq 0.

If you get this wrong, revise: [Inverse functions](#3-inverse-functions)

Problem 11. Classify each function as even, odd, or neither: (a) f(x)=x4x2f(x) = x^4 - x^2 (b) g(x)=x3+xg(x) = x^3 + x (c) h(x)=x+1h(x) = x + 1 (d) k(x)=xk(x) = |x|

Solution (a) $f(-x) = (-x)^4 - (-x)^2 = x^4 - x^2 = f(x)$. **Even.**

(b) g(x)=(x)3+(x)=x3x=(x3+x)=g(x)g(-x) = (-x)^3 + (-x) = -x^3 - x = -(x^3 + x) = -g(x). Odd.

(c) h(x)=x+1h(x)h(-x) = -x + 1 \neq h(x) and h(x)h(x)h(-x) \neq -h(x). Neither.

(d) k(x)=x=x=k(x)k(-x) = |-x| = |x| = k(x). Even.

If you get this wrong, revise: [Even and odd functions](#6-even-and-odd-functions)

Problem 12. Given f(x)=2x+3f(x) = 2x + 3 with domain R\mathbb{R} and g(x)=x1g(x) = \sqrt{x - 1} with domain [1,)[1, \infty)Find the domain of fgf \circ g and gfg \circ f.

Solution $f \circ g$: domain is $\{x \geq 1 : g(x) \in \mathbb{R}\} = [1, \infty)$ (since $f$ accepts all reals).

gfg \circ f: domain is {xR:f(x)1}={x:2x+31}={x:x1}=[1,)\{x \in \mathbb{R} : f(x) \geq 1\} = \{x : 2x + 3 \geq 1\} = \{x : x \geq -1\} = [-1, \infty).

If you get this wrong, revise: [Composite function domain](#7-composite-function-domain-and-range)

Problem 13. Verify that f(x)=3x+2x3f(x) = \frac{3x + 2}{x - 3} is self-inverse.

Solution $$f(f(x)) = \frac◆LB◆3 \cdot \frac{3x+2}{x-3} + 2◆RB◆◆LB◆\frac{3x+2}{x-3} - 3◆RB◆ = \frac◆LB◆\frac{3(3x+2) + 2(x-3)}{x-3}◆RB◆◆LB◆\frac{3x+2 - 3(x-3)}{x-3}◆RB◆ = \frac{9x + 6 + 2x - 6}{3x + 2 - 3x + 9} = \frac{11x}{11} = x$$

Since f(f(x)) = x$$f is self-inverse. ✓

If you get this wrong, revise: [Self-inverse functions](#8-self-inverse-functions)

Problem 14. Solve the inequality x25x+6x2|x^2 - 5x + 6| \geq |x - 2|.

Solution Factor: $x^2 - 5x + 6 = (x-2)(x-3)$. So $|(x-2)(x-3)| \geq |x-2|$.

If x=2x = 2: both sides are 00So equality holds. x=2x = 2 is a solution.

If x2x \neq 2: divide both sides by x2>0|x-2| > 0:

x31|x - 3| \geq 1

This gives x31x - 3 \geq 1 or x31x - 3 \leq -1I.e., x4x \geq 4 or x2x \leq 2.

Combined with x2x \neq 2: x2x \leq 2 or x4x \geq 4.

Solution: x(,2][4,)x \in (-\infty, 2] \cup [4, \infty).

If you get this wrong, revise: [Modulus inequalities](#9-modulus-inequalities-with-functions)

Problem 15. The graph of y=f(x)y = f(x) passes through (1,3)(1, 3) and (2,5)(-2, 5). State the coordinates Of the corresponding points on the graph of y=2f(3x1)+4y = 2f(3x - 1) + 4.

Solution A point $(x_0, y_0)$ on $y = f(x)$ corresponds to a point on the new graph where $f(3x - 1) = y_0$I.e., $3x - 1 = x_0$So $x = (x_0 + 1)/3$. The new $y$-value is $2y_0 + 4$.

For (1,3)(1, 3): new point is (1+13,2×3+4)=(23,10)\left(\frac{1+1}{3}, 2 \times 3 + 4\right) = \left(\frac{2}{3}, 10\right).

For (2,5)(-2, 5): new point is (2+13,2×5+4)=(13,14)\left(\frac{-2+1}{3}, 2 \times 5 + 4\right) = \left(-\frac{1}{3}, 14\right).

If you get this wrong, revise: [Transformation order](#10-transformation-order--why-it-matters)

:::tip Tip Ready to test your understanding of Functions? The contains the hardest questions within the A-Level specification for this topic, each with a full worked solution.

Unit tests probe edge cases and common misconceptions. Integration tests combine Functions with other pure mathematics topics to test synthesis under exam conditions.

See for instructions on self-marking and building a personal test matrix. :::

Common Pitfalls

  1. Forgetting the +c+c constant of integration in indefinite integrals, or misusing boundary conditions in definite integrals.

  2. Losing marks by not showing sufficient working — always write out each step, especially in proof questions.

  3. Confusing the domain and range of functions, or not considering restrictions (e.g., denominator cannot be zero).

  4. Forgetting to check that solutions satisfy the original equation (especially with squaring both sides or dividing by variables).

Summary

The key principles covered in this topic are linked in the sub-pages above. Focus on understanding the definitions, applying the formulas or frameworks, and evaluating strengths and limitations of each approach.

Worked Examples

Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above.