Skip to main content
WalesMathsSyllabus dot point

How do we handle the modulus function, composite and inverse functions, and split a rational expression into partial fractions?

The modulus function and its graphs and equations, composite and inverse functions, and resolving rational expressions into partial fractions.

A focused answer to WJEC A2 Unit 3 algebra and functions, covering the modulus function and its graphs and equations, composite and inverse functions, and resolving rational expressions into partial fractions.

Generated by Claude Opus 4.813 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

WJEC wants you to work with the modulus function x|x| (its graph, and solving modulus equations and inequalities), composite functions fg(x)fg(x) and inverse functions f1(x)f^{-1}(x) (including domains, ranges and the reflection in y=xy = x), and to resolve a rational expression into partial fractions. Partial fractions in particular are a gateway skill for integration later in this unit.

The answer

The modulus function

The modulus (or absolute value) x|x| equals xx when x0x \ge 0 and x-x when x<0x < 0, so it is never negative.

To solve f(x)=k|f(x)| = k (with k>0k > 0), solve f(x)=kf(x) = k and f(x)=kf(x) = -k. For inequalities, x<k|x| < k means k<x<k-k < x < k, while x>k|x| > k means x<kx < -k or x>kx > k. A reliable alternative for modulus equations is to square both sides (since both are non-negative), turning 2x1=x+3|2x - 1| = |x + 3| into (2x1)2=(x+3)2(2x-1)^2 = (x+3)^2, then solving the resulting quadratic; this avoids missing a case.

Composite functions

A composite function applies one function then another. The notation fg(x)fg(x) means "do gg first, then ff": fg(x)=f(g(x))fg(x) = f(g(x)).

Inverse functions

The inverse f1f^{-1} undoes ff, so f1(f(x))=xf^{-1}(f(x)) = x. It exists only if ff is one-to-one (each output comes from exactly one input).

To find an inverse: write y=f(x)y = f(x), swap xx and yy, and solve for yy. The domain of f1f^{-1} is the range of ff, and the graph of f1f^{-1} is the reflection of ff in the line y=xy = x.

Partial fractions

A proper rational expression (degree of numerator below degree of denominator) splits into a sum with one fraction per factor of the denominator.

Examples in context

Example 1. A modulus inequality. Solve 2x3<5|2x - 3| < 5. This gives 5<2x3<5-5 < 2x - 3 < 5, so 2<2x<8-2 < 2x < 8 and 1<x<4-1 < x < 4. The single modulus inequality unfolds into a double inequality bounding xx.

Example 2. Composite with a restriction. If f(x)=xf(x) = \sqrt{x} and g(x)=x4g(x) = x - 4, then fg(x)=x4fg(x) = \sqrt{x - 4}, which is defined only for x4x \ge 4 because the square root needs a non-negative input. The domain of the composite is set by the inner function feeding a valid value into the outer one.

Try this

Q1. Solve x2=6|x - 2| = 6. [2 marks]

  • Cue. x2=6x - 2 = 6 or x2=6x - 2 = -6, so x=8x = 8 or x=4x = -4.

Q2. Given f(x)=x2f(x) = x^2 and g(x)=x+1g(x) = x + 1, find fg(x)fg(x). [2 marks]

  • Cue. Apply gg first: fg(x)=(x+1)2fg(x) = (x + 1)^2.

Q3. Find the inverse of f(x)=1x2f(x) = \dfrac{1}{x - 2}, x2x \neq 2. [3 marks]

  • Cue. y=1x2y = \dfrac{1}{x-2}, swap and solve: x=1y2x = \dfrac{1}{y-2}, so y=1x+2y = \dfrac{1}{x} + 2, giving f1(x)=1x+2f^{-1}(x) = \dfrac{1}{x} + 2.

Exam-style practice questions

Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WJEC A2 style5 marksExpress 5x1(x1)(x+2)\dfrac{5x - 1}{(x - 1)(x + 2)} in partial fractions.
Show worked answer →

Write the fraction as a sum of fractions with the linear factors as denominators, then find the unknown constants.

Let 5x1(x1)(x+2)=Ax1+Bx+2\dfrac{5x - 1}{(x-1)(x+2)} = \dfrac{A}{x-1} + \dfrac{B}{x+2}.

Multiply through by (x1)(x+2)(x-1)(x+2): 5x1=A(x+2)+B(x1)5x - 1 = A(x+2) + B(x-1).

Substitute x=1x = 1: 5(1)1=A(3)5(1) - 1 = A(3), so 4=3A4 = 3A and A=43A = \dfrac{4}{3}.

Substitute x=2x = -2: 5(2)1=B(3)5(-2) - 1 = B(-3), so 11=3B-11 = -3B and B=113B = \dfrac{11}{3}.

Therefore 5x1(x1)(x+2)=43(x1)+113(x+2)\dfrac{5x-1}{(x-1)(x+2)} = \dfrac{4}{3(x-1)} + \dfrac{11}{3(x+2)}.

Markers reward the correct partial-fraction form, clearing the denominators, and the substitution method to find AA and BB. These appear again when integrating rational functions.

WJEC A2 style4 marksThe function ff is defined by f(x)=3x2f(x) = 3x - 2. Find the inverse function f1(x)f^{-1}(x) and state the relationship between the graphs of ff and f1f^{-1}.
Show worked answer →

Set y=f(x)y = f(x), swap the roles of xx and yy, and solve for yy.

Let y=3x2y = 3x - 2. Swap: x=3y2x = 3y - 2.

Solve for yy: x+2=3yx + 2 = 3y, so y=x+23y = \dfrac{x + 2}{3}.

Thus f1(x)=x+23f^{-1}(x) = \dfrac{x + 2}{3}.

The graph of f1f^{-1} is the reflection of the graph of ff in the line y=xy = x.

Markers reward swapping xx and yy (or an equivalent rearrangement), solving for the inverse, and stating the reflection in y=xy = x. A function must be one-to-one for the inverse to exist, which is worth noting.

Related dot points

Sources & how we know this