✓ Official Syllabus VerifiedStandards & Rigor ↗
9

Functions

📌 0580 Topic 2 (Extended) — Functions E  ·  Function notation  ·  Domain & range  ·  Composite functions  ·  Inverse functions

Function notation, composite and inverse functions form a core Extended-tier topic.

▲ Reference — Functions
f(x) gives the output for an input x . The composite \( fg(x)=f(g(x)) \) is applied inside-out; the inverse \( f^{-1} \) reverses \( f \).
● Deep Conceptual Intuition — Functions

Domain Restrictions, Invertibility & Asymptotic Behavior: An algebraic or transcendental function \(f: D \to R\) possesses an inverse \(f^{-1}: R \to D\) if and only if \(f\) is strictly one-to-one (bijective) on \(D\), guaranteeing that \(\text{dom}(f^{-1}) = \text{ran}(f)\) and \(\text{ran}(f^{-1}) = \text{dom}(f)\). For logarithmic and radical equations, every algebraic step that squares both sides or combines logs (\(\log_b u + \log_b v = \log_b(uv)\)) can enlarge the solution set, requiring a final domain check against the original equation.

Parabola \(f(x) = (x - 4)^{2} - 5\) with vertex at \((4, -5)\) and symmetry reference line \(y = x\).
⊙ Explorer · Composite Functions \(fg(x)\) vs. \(gf(x)\) & Inverse Evaluator
interactive
\(f(g(1))\) where \(g(x) = x^{2} - 1\)fg(1) = 0.25
\(g(f(1))\) (Order Matters!)gf(1) = 2.12
Inverse Value \(f^{-1}(4)\)\(f^{-1}(4) = 2.00\)

Compare \(f(x) = mx + c\), \(g(x) = 0.5x^{2} - 1\), and their composition \(fg(x) = f(g(x))\) to see graphically why \(fg(x) \ne gf(x)\).

Notation
\( f(x) \)
Composite
\( fg(x) \)
Inverse
\( f^{-1}(x) \)
Domain
valid inputs
◆ Why It Works — First-Principles Derivation (Functions)

Why Completing the Square & Log-Linearization Work: Any quadratic \(f(x) = ax^2 + bx + c\) (\(a \ne 0\)) can be rewritten by factoring \(a\) from the first two terms and adding/subtracting \((b/2a)^2\):

\[ ax^2 + bx + c = a\!\left(x + \frac{b}{2a}\right)^2 + \left(c - \frac{b^2}{4a}\right) \]

Because \(\left(x + \frac{b}{2a}\right)^2 \ge 0\) for all \(x \in \mathbb{R}\), the extreme value \(k = c - \frac{b^2}{4a}\) is attained uniquely at the axis of symmetry \(x = -\frac{b}{2a}\), restricting the range to \([k, \infty)\) (if \(a > 0\)) and making \(f\) invertible on \(x \ge -\frac{b}{2a}\). Similarly, applying \(\ln\) to power laws \(y = ax^n\) yields \(\ln y = n\ln x + \ln a\), transforming a nonlinear curve into a straight line of gradient \(n\).

Worked example 9.A
Problem. If \( f(x)=2x+3 \), find \( f^{-1}(x) \).
▸ Show step-by-step solution
\[ f^{-1}(x)=\frac{x-3}{2}. \]
Worked example 9.B — Composite and inverse
Problem. Given \(f(x)=2x+3\) and \(g(x)=x^{2}\), find (a) \(fg(3)\), (b) \(f^{-1}(x)\).
▸ Show step-by-step solution

(a) \(fg(3)=f(9)=2(9)+3=21\).

(b) Let \(y=2x+3\). Swap and solve: \(x=\dfrac{y-3}{2}\). So \(f^{-1}(x)=\dfrac{x-3}{2}\).

Worked Example \(C\) — Functions (Hard Application)
Problem. Solve the simultaneous equations \( x+y=7, x-y=3 \).
▸ Show step-by-step solution

Applying Algebra & Graphs principles, Add: \(2x=10\Rightarrow x=5, y=2\). Therefore, the exact result is \(x=5,y=2\).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Functions)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Expanding \(\ln(x + y)\) as \(\ln x + \ln y\)Confuses the product law \(\ln(xy) = \ln x + \ln y\) with a non-existent sum rule.Only factor products, quotients, and powers inside logarithms: \(\ln(xy) = \ln x + \ln y\).
Keeping both roots of \(\sqrt{2x+6} = x - 4\) without checking \(x - 4 \ge 0\)Squaring both sides loses the sign of \(x - {r}\), introducing roots where \(\sqrt{\cdot} = -\text{number}\).Enforce the range condition \(x \ge 4\) before or after squaring.
Restricting domain of \(f(x) = (x-3)^2 + 1\) to \(x \ge 0\) for invertibilityThe vertex is at \(x = 3\), so \(f(2) = f(4) = 2\) fails the horizontal line test on \(x \ge 0\).Restrict the domain at the vertex axis of symmetry: \(x \ge 3\) (or \(x \le 3\)).
▲ Exam Pacing & Verification Strategy — Functions

Fast Exam Check (Cambridge IGCSE Mathematics (0580 Extended)): To verify an inverse function \(f^{-1}(x)\) in 5 seconds, pick a simple input \(x_0\), compute \(y_0 = f(x_0)\), and check that \(f^{-1}(y_0) = x_0\). Also verify that the graph of \(y = f^{-1}(x)\) reflects \(y = f(x)\) across \(y = x\).

\(h(x)=\dfrac{3x-1}{2}\). Find \(h^{-1}(4)\).
💡 Hint 1 of 3
Start with: \(y=\dfrac{3x-1}{2}\).
💡 Hint 2 of 3
Apply the next algebraic step: \(2y=3x-1\). Use the simplified form: \(x=\dfrac{2y+1}{3}\).
💡 Hint 3 of 3
So \(h^{-1}(x)=\dfrac{2x+1}{3}\) and \(h^{-1}(4) = \dfrac{9}{3}\).
\(y=\dfrac{3x-1}{2}\Rightarrow2y=3x-1\Rightarrow x=\dfrac{2y+1}{3}\). So \(h^{-1}(x)=\dfrac{2x+1}{3}\) and \(h^{-1}(4)=\dfrac{9}{3}=3\).
Linear function \(f(x) = 2x + 3\) with gradient 2 and y-intercept \((0, 3)\).
⚠️ Cambridge 0580 Traps — Function Notation & Inverses

Inverse vs. Reciprocal: \(f^{-1}(x)\) denotes the inverse function, NOT the reciprocal \(\frac{1}{f(x)}\). For example, if \(f(x) = 3x - 1\), \(f^{-1}(x) = \frac{x+1}{3}\), NOT \(\frac{1}{3x-1}\).

Composite Function Order: The notation \(fg(x)\) means \(f(g(x))\) — evaluate \(g(x)\) first, then substitute that result into \(f\). Applying them in reverse order \(gf(x)\) yields a completely different function.

Self-Inverse Functions: The graph of \(f^{-1}(x)\) is the reflection of \(y = f(x)\) in the line \(y = x\). Reciprocal functions \(f(x) = \frac{k}{x}\) are self-inverse: \(f^{-1}(x) = f(x)\).

Worked example 9.C — Solving an equation with composite functions
Problem. Given \(f(x) = 3x - 2\) and \(g(x) = \frac{10}{x+1}\), solve \(fg(x) = 4\).
▸ Show step-by-step solution

Step 1: Express \(fg(x)\):

\[fg(x) = f\left(\frac{10}{x+1}\right) = 3\left(\frac{10}{x+1}\right) - 2 = \frac{30}{x+1} - 2\]

Step 2: Set equal to 4 and solve:

\[\frac{30}{x+1} - 2 = 4 \implies \frac{30}{x+1} = 6 \implies 30 = 6(x+1) \implies x+1 = 5 \implies x = 4\]
If \(f(x) = 4x - 3\) and \(g(x) = x^2 + 1\), find (a) \(gf(2)\) and (b) an expression for \(g^{-1}(x)\) for \(x \ge 1\).
💡 Hint 1 of 3
(a) Inner function first: \(f(2) = 4(2) - 3\).
💡 Hint 2 of 3
Then \(g(5) = 5^2 + 1 = 26\). (b) Inverse of \(g\): Let \(y = x^2 + 1 \implies x^2 = y - 1 \implies x = \sqrt{y - 1}\).
💡 Hint 3 of 3
Thus \(g^{-1}(x) = \sqrt{x - 1}\) for \(x \ge 1\).

(a) Inner function first: \(f(2) = 4(2) - 3 = 5\). Then \(g(5) = 5^2 + 1 = 26\).

(b) Inverse of \(g\): Let \(y = x^2 + 1 \implies x^2 = y - 1 \implies x = \sqrt{y - 1}\). Thus \(g^{-1}(x) = \sqrt{x - 1}\) for \(x \ge 1\).

[Practice 3 · Easy] The function \( \mathrm{f} \) is defined by \( \mathrm{f}(x) = 2x^2 - 3x + 1 \). Find the value of \( \mathrm{f}(-3) \).
💡 Hint 1 of 3
To find \( \mathrm{f}(-3) \), substitute \( x = -3 \) into the function definition: \(\mathrm{f}(-3) = 2(-3)^2 - 3(-3) + 1\).
💡 Hint 2 of 3
Substitute and simplify: \(\mathrm{f}(-3) = 2(9) - (-9) + 1\).
💡 Hint 3 of 3
Compute the final value from: \(18 + 9 + 1\).
To find \( \mathrm{f}(-3) \), substitute \( x = -3 \) into the function definition: \[ \begin{aligned} \mathrm{f}(-3) &= 2(-3)^2 - 3(-3) + 1 \\ &= 2(9) - (-9) + 1 \\ &= 18 + 9 + 1 \\ &= 28 \end{aligned} \]
[Practice 4 · Medium] A quadratic function is defined by \( f(x) = x^2 - 6x + 5 \) for \( x \in \mathbb{R} \). A horizontal line \( y = k \) passes through either the vertex of the parabola \( y = f(x) \) or its \( y \)-intercept. Find the possible values of \( k \).
💡 Hint 1 of 3
Completing the square for \( f(x) = x^2 - 6x + 5 \) gives: \(f(x) = (x - 3)^2 - 4,\).
💡 Hint 2 of 3
So the vertex is at \( (3, -4) \), giving \( k = -4 \).
💡 Hint 3 of 3
Setting \(x = 0\) gives the \(y\)-intercept \(f(0) = 5\), giving \(k\).
Completing the square for \( f(x) = x^2 - 6x + 5 \) gives: \[ f(x) = (x - 3)^2 - 4, \] so the vertex is at \( (3, -4) \), giving \( k = -4 \). Setting \( x = 0 \) gives the \( y \)-intercept \( f(0) = 5 \), giving \( k = 5 \). Thus \( k = -4 \text{ or } k = 5 \).
[Practice 5 · Hard] Find the \( n \)th term of the sequence \( -15, -6, 3, 12, \ldots \)
💡 Hint 1 of 3
Common difference \( =9 \).
💡 Hint 2 of 3
Rewrite and simplify to obtain: \(n\)th term \(= 9n - 24\).
💡 Hint 3 of 3
Evaluate and simplify \(= 9n - 24\) carefully (checking signs and units) to obtain the final answer.
Common difference \( =9 \). \( n \)th term \( = 9n - 24 \).
● Master Atlas of the 9 Main Parent Functions & Universal Transformation Law

Every algebraic and elementary transcendental model is built by transforming one of the nine core parent functions via \(g(x) = a\,f(x - h) + k\), where \(|a|\) scales vertically (reflecting across the \(x\)-axis if \(a < 0\)), \(h\) shifts horizontally, and \(k\) shifts vertically:

FamilyTransformed Form \(g(x)\)DomainRange (\(a > 0\))Key Geometric Feature
Constant\(f(x) = c\)\((-\infty, \infty)\)\(\{c\}\)Horizontal line, slope \(0\)
Linear\(a(x - h) + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Constant slope \(m = a\), pivot \((h, k)\)
Quadratic\(a(x - h)^2 + k\)\((-\infty, \infty)\)\([k, \infty)\)Parabola vertex \((h, k)\), axis \(x = h\)
Cubic\(a(x - h)^3 + k\)\((-\infty, \infty)\)\((-\infty, \infty)\)Inflection center \((h, k)\), S-curve
Absolute Value\(a|x - h| + k\)\((-\infty, \infty)\)\([k, \infty)\)V-corner vertex \((h, k)\), slopes \(\pm a\)
Radical\(a\sqrt{x - h} + k\)\([h, \infty)\)\([k, \infty)\)Endpoint \((h, k)\), half-parabola
Rational\(\dfrac{a}{x - h} + k\)\(x \neq h\)\(y \neq k\)Vertical asymptote \(x = h\), horizontal \(y = k\)
Exponential\(a \cdot 2^{x - h} + k\)\((-\infty, \infty)\)\((k, \infty)\)Horizontal asymptote \(y = k\), anchor \((h, a+k)\)
Logarithmic\(a\ln(x - h) + k\)\((h, \infty)\)\((-\infty, \infty)\)Vertical asymptote \(x = h\), anchor \((h+1, k)\)
⊙ Explorer · Rational Hyperbola, Asymptotes & Parent Functions Lab
interactive
Active Equationf(x) = 1/x
Domain(−∞, 0) ∪ (0, ∞)
Range(−∞, 0) ∪ (0, ∞)
Vertex / AsymptotesVA: x = 0 · HA: y = 0
Interceptsy-int: none · x-int: none

Starts on the rational reciprocal family \(f(x) = \dfrac{a}{x - h} + k\) with vertical asymptote \(x = h\) and horizontal asymptote \(y = k\). Drag \((h, k)\) to move the asymptote crosshairs live.

Functions — 8-Mark Structured Problem

8 pts Calculator Active
For Functions, consider the linear-rate relationship \(f(x) = 2x + 4\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 4x + 4\).
  1. (a)2 pts
    Find the initial value \(f(0)\) and the slope \(f'(x)\).
    Scoring Guideline & Justification
    • [M1] Evaluates f(0) and reads gradient coefficient (1 pt)
    • [A1] Obtains f(0) = 4 and slope = 2 (1 pt)
  2. (b)3 pts
    Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
    Scoring Guideline & Justification
    • [M1] Finds axis of symmetry x = 2 (2 pt)
    • [A1] Evaluates minimum k = 0 (1 pt)
  3. (c)3 pts
    Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 4\).
    Scoring Guideline & Justification
    • [M1] Applies (g(4) - g(0)) / 4 (2 pt)
    • [A1] Simplifies to 0 (1 pt)
Complete Worked Solution
(a) \(f(0)=4\), gradient \(2\). (b) Completing the square gives \(g(x)=(x-2)^2+0\), minimum \(0\) at \(x=2\). (c) Average rate \(= (x_1+x_2-4) = 0\).
📝 Chapter Quiz