Functions and Graphs

Pure Mathematics

Functions and graphs form one of the most heavily tested topics in H2 Mathematics (9758), underpinning everything from differentiation to integration and complex numbers. A firm grasp of domain and range, the conditions for inverses and composites to exist, and the rules for graph transformations will save marks across the entire paper.

What you need to know

Worked example 1 — Finding an inverse function and its domain

Problem. The function ff is defined by f(x)=2x+3f(x) = 2x + 3, x∈Rx \in \mathbb{R}, x≥0x \geq 0. Find f−1(x)f^{-1}(x) and state its domain.

Solution.

ff is one-one on x≥0x \geq 0 (it is strictly increasing), so f−1f^{-1} exists.

Let y=2x+3y = 2x + 3 and solve for xx:

y−3=2x  ⟹  x=y−32.y - 3 = 2x \implies x = \frac{y-3}{2}.

Therefore

f−1(x)=x−32.f^{-1}(x) = \frac{x-3}{2}.

The domain of f−1f^{-1} equals the range of ff. Since x≥0x \geq 0, we have f(x)=2x+3≥3f(x) = 2x + 3 \geq 3, so the range of ff is [3,∞)[3, \infty).

Domain of f−1f^{-1}: x≥3x \geq 3.

Worked example 2 — Composite functions

Problem. Functions gg and hh are defined by g(x)=x2+1g(x) = x^2 + 1, x∈Rx \in \mathbb{R}, and h(x)=ln⁡xh(x) = \ln x, x>0x > 0. Determine whether hghg exists, and if so find hg(x)hg(x) and state its range.

Solution.

For hghg to exist we need Rg⊆DhR_g \subseteq D_h.

Since [1,∞)⊆(0,∞)[1, \infty) \subseteq (0, \infty), the composite hghg exists.

hg(x)=h(g(x))=ln⁡(x2+1).hg(x) = h(g(x)) = \ln(x^2 + 1).

For the range: x2+1≥1x^2 + 1 \geq 1, so ln⁡(x2+1)≥ln⁡1=0\ln(x^2 + 1) \geq \ln 1 = 0. As ∣x∣→∞|x| \to \infty, ln⁡(x2+1)→∞\ln(x^2+1) \to \infty. The value ln⁡1=0\ln 1 = 0 is attained at x=0x = 0.

Range of hghg: [0,∞)[0, \infty).

Worked example 3 — Modulus graph transformation

Problem. The diagram below is not required; describe how to sketch y=∣f(x)∣y = |f(x)| and y=f(∣x∣)y = f(|x|) given f(x)=x−2f(x) = x - 2.

Solution.

First sketch y=x−2y = x - 2, a straight line with gradient 1 crossing the xx-axis at x=2x = 2.

y=∣x−2∣y = |x - 2|: The portion of the line where y<0y < 0 (i.e. x<2x < 2) is reflected upward in the xx-axis. The result is a V-shape with vertex at (2,0)(2, 0), with gradient −1-1 for x<2x < 2 and gradient 11 for x>2x > 2.

y=f(∣x∣)=∣x∣−2y = f(|x|) = |x| - 2: Replace xx with ∣x∣|x|. Keep the graph for x≥0x \geq 0 unchanged (a line with gradient 1 from (0,−2)(0,-2) upward), then reflect it in the yy-axis for x<0x < 0. The result is a V-shape with vertex at (0,−2)(0, -2), crossing the xx-axis at x=±2x = \pm 2.

Common mistakes

Ask MathChat about Functions and Graphs →