Composition and Inverse Functions
Two machines use the same pair of rules but apply them in opposite orders. Why can they give different outputs? We will track inputs through a composition, find its domain, and construct an inverse that reverses a rule.
- Composition and inverse: Composition feeds one function’s output into another. An inverse reverses a one-to-one function on its range.
Core ideas
Composition
In , apply first and check that its output is allowed by . If and , the composition requires .
Inverse functions
An inverse reverses inputs and outputs. Solving for gives .
Restricting a domain
The square function sends and to . Restricting its domain to leaves one input for each output and gives the inverse .
Essential example
Let and . Applying first subtracts two before taking the square root:
Applying first takes the root before subtracting two:
At , the first rule gives and the second gives . At , only the second composition is defined. Order affects both the values and the domain.
| Composition | First rule | Condition on |
|---|---|---|
| Subtract two | ||
| Take the square root |
Undo one operation at a time
For , the forward rule triples the input and subtracts four. The inverse adds four and divides by three. Thus . Verify both orders:
The notation denotes the inverse function. The reciprocal instead takes the reciprocal of each nonzero output.
Choose a one-to-one branch
The square function on the whole real line has no inverse function because one output can come from two inputs. Restrict to and the inverse is . Restrict to and the inverse is . Reflecting a chosen branch across swaps the coordinates. The domain of the inverse is the range of the chosen branch.
Read the domain of a repeated composition
Let and consider . The inner rule excludes . The outer rule also excludes inputs equal to , so require . Solving gives the additional excluded input . At , the inner output is and the outer output is . Tracking one stage at a time prevents a restriction from getting lost when the composed formula is simplified.
Keep and continue
Keep the distinction between reversing a function and listing solutions of an equation. Next, solve quadratic equations whose solutions require complex numbers.
Previous: Absolute-Value and Piecewise Functions