MathJewels math guide · Compose functions and interpret composition

Function Pipelines, Composition, and Inverses

Track functions as an ordered input-output pipeline, then undo the pipeline by applying inverse functions in reverse order.

  • Grade 10
  • Grade 11
  • Grade 12
  • Functions and change

The big idea

Function composition describes an ordered pipeline. In \((f\circ g)(x)=f(g(x))\), the function \(g\) acts first because its output becomes the input of \(f\). An inverse function reverses a function on an appropriate domain. To undo a whole pipeline, begin with the last forward stage and apply inverses in reverse order. This is the same logic used to undo a sequence of physical actions.

Worked example

Let \(g(x)=x-4\) and \(f(x)=3x+2\). The forward pipeline is

\[ (f\circ g)(x)=f(x-4)=3(x-4)+2. \]

To recover \(x\) from an output \(y\), undo \(f\) first and \(g\) second. Since \(f^{-1}(y)=(y-2)/3\) and \(g^{-1}(x)=x+4\),

\[ x=g^{-1}(f^{-1}(y))=\frac{y-2}{3}+4. \]

The inverse order is reversed because \(f\) touched the forward signal last.

How children may show it

Learners may use input-output boxes, a horizontal arrow chain, nested function notation, a composition equation, or a two-row table matching each forward stage with its undoing stage. Ask the learner to label what type of quantity enters and leaves each box. That check often catches invalid compositions before any algebra begins.

Common mix-up

A learner may read composition left to right because the symbols appear in that order, or may apply inverse functions in the same order as the forward functions. Rather than giving a rule, use a concrete sequence: “Put on socks, then shoes. Which must come off first?” Then reconnect that reversal to the outermost function in nested notation.

Try it together

Create two simple invertible functions, such as “double” and “add 7.” Predict the forward composition in both orders and test one input. Next, start from each output and undo the steps. Write the inverse composition for each order, then verify by composing the forward and inverse pipelines and simplifying back to the original input.