Sublevo
ISC 2027
All chaptersMaths · Unit 1

Relations and Functions

4 articles20 formulas20 ways the board asks it
MATFunctions

Composition of Functions

The composition g∘fg \circ f feeds the output of ff into gg, giving (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)). It is examined to test order-sensitivity (composition is generally not commutative), to build the single-step function behind chained real-world processes (discount then GST), and as the engine for verifying inverses.

InteractiveThis topic has a hand-built visualisation (composition-flow-diagram.html). It is not wired into the app yet.

The key skills are evaluating compositions, respecting the domain/range matching, and using composition to confirm f−1f^{-1}.

Definition of composition
(g∘f)(x)=g(f(x))(g \circ f)(x) = g\big(f(x)\big)
Apply ff first, then gg; needs range of f⊆f \subseteq domain of gg.
Not commutative
f∘g≠g∘f(in general)f \circ g \ne g \circ f \quad (\text{in general})
e.g. f(x)=2x+3, g(x)=x2+1f(x)=2x+3,\ g(x)=x^2+1 give (f∘g)(x)=2x2+5(f\circ g)(x)=2x^2+5 but (g∘f)(x)=(2x+3)2+1(g\circ f)(x)=(2x+3)^2+1.
Associative
(f∘g)∘h=f∘(g∘h)(f \circ g) \circ h = f \circ (g \circ h)
Composition is always associative when the domains/ranges match up.
Inverse of a composition
(g∘f)−1=f−1∘g−1(g \circ f)^{-1} = f^{-1} \circ g^{-1}
The order REVERSES; valid when ff and gg are bijections.
Identity under composition
f∘IA=f=IB∘ff \circ I_A = f = I_B \circ f
For f:A→Bf:A\to B, IA,IBI_A,I_B are the identity functions on A,BA,B with I(x)=xI(x)=x; they leave ff unchanged.
  • Read g∘fg \circ f right-to-left: ff acts first, then gg acts on that result.
  • (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x) are usually different functions; always compute the requested order and do not assume equality.
  • To verify g=f−1g = f^{-1}, show BOTH (f∘g)(x)=x(f \circ g)(x)=x and (g∘f)(x)=x(g \circ f)(x)=x; one direction is not enough.
  • For chained processes, model each step as a function and compose: a 20%20\% discount f(p)=0.8pf(p)=0.8p followed by 18%18\% GST g(c)=1.18cg(c)=1.18c give (g∘f)(p)=0.944 p(g \circ f)(p)=0.944\,p, so a list price of 20002000 gives Rs 1888\text{Rs }1888.
  • The inverse of a composition reverses the order: (g∘f)−1=f−1∘g−1(g \circ f)^{-1}=f^{-1} \circ g^{-1}.
  • Composition requires the range of the inner function to fit inside the domain of the outer function, or the composition is undefined.
  • If ff and gg are both bijections, then g∘fg \circ f is also a bijection (hence invertible).
Where the marks go
  • Applying the functions in the wrong order — students often compute f(g(x))f(g(x)) when g∘fg \circ f (i.e. g(f(x))g(f(x))) was asked.
  • Assuming f∘g=g∘ff \circ g = g \circ f; verify with the actual rules, since composition is generally non-commutative.
  • Writing (g∘f)−1=g−1∘f−1(g \circ f)^{-1} = g^{-1} \circ f^{-1} instead of the correct reversed order f−1∘g−1f^{-1} \circ g^{-1}.
  • Checking only (f∘g)(x)=x(f \circ g)(x)=x when proving an inverse and forgetting the second identity (g∘f)(x)=x(g \circ f)(x)=x.
How the board asks it
  • Numericalthe definition of composition
    If f(x)=2x+3f(x) = 2x + 3 and g(x)=x2−1g(x) = x^2 - 1, find (g∘f)(x)(g \circ f)(x) and (f∘g)(x)(f \circ g)(x), and hence evaluate (g∘f)(2)(g \circ f)(2).
  • Give reasonscomposition is not commutative
    Let f(x)=x+1f(x) = x + 1 and g(x)=2xg(x) = 2x. Show that f∘g≠g∘ff \circ g \neq g \circ f, and state, with reasons, whether composition of functions is commutative in general.
  • Derive / provecomposition as the engine for verifying inverses
    If f:R→Rf : \mathbb{R} \to \mathbb{R} is defined by f(x)=3x+45f(x) = \dfrac{3x + 4}{5} and g(x)=5x−43g(x) = \dfrac{5x - 4}{3}, show that (f∘g)(x)=(g∘f)(x)=x(f \circ g)(x) = (g \circ f)(x) = x, and hence prove that g=f−1g = f^{-1}.
  • Applicationchained processes such as discount then GST
    A shop offers a 20%20\% discount on the list price, after which 18%18\% GST is charged. Modelling each step as a function, write the single composite function for the final price and hence find the amount payable on an item listed at ₹2500\text{₹}2500.
  • Numericalthe inverse of a composition reverses order
    If f(x)=x3f(x) = x^3 and g(x)=x+2g(x) = x + 2 are bijections on R\mathbb{R}, find (g∘f)−1(x)(g \circ f)^{-1}(x) and verify your answer using the rule (g∘f)−1=f−1∘g−1(g \circ f)^{-1} = f^{-1} \circ g^{-1}.
  • Multiple choicedomain and range matching
    If f(x)=xf(x) = \sqrt{x} with x≥0x \geq 0 and g(x)=x−4g(x) = x - 4, then (f∘g)(x)(f \circ g)(x) is defined only when: (a) x≥0x \geq 0 (b) x≥4x \geq 4 (c) x≤4x \leq 4 (d) all x∈Rx \in \mathbb{R}.

Practise this topic

Written for Sublevo. Question text quoted anywhere in these notes is the Council’s and carries its year and paper; the board’s own diagrams are not reproduced.