Before you begin
- Function notation and transformations.
Learning objectives
- Compute compositions with their domain restrictions.
- Construct and verify inverse functions.
- Restrict a domain to obtain an invertible branch.
A machine first doubles a measurement and adds one, then takes its square root. We can describe the two steps separately as and . Their composition performs the steps in order, and the restrictions from the later step determine which earlier inputs can enter the whole process.
Composition follows the actual inputs
The composition has domain
In the machine example, accepts every real input but requires . Thus has domain .
Reversing the steps gives on . These compositions disagree in both formula and domain. Composition is generally not commutative.
For and , the composite excludes . Each component’s restriction has a precise place: must be evaluable, then its output must avoid the forbidden input 3 of .
One-to-one functions retain enough information to reverse
A function is one-to-one when distinct inputs have distinct outputs. Equivalently, implies . Its graph passes the horizontal-line test. If outputs are repeated, recovering an input from an output would require a choice.
The function is one-to-one on . Solving for gives . Relabeling the inverse input gives
The superscript denotes an inverse function here, not a reciprocal. The reciprocal of would be and would perform a different operation.
We verify both compositions: on the original domain, and on the original range. The inverse domain is the original range; its range is the original domain.
A domain restriction selects an inverse branch
The square function on all real numbers is not one-to-one: and share output 4. Restricting the domain to gives the inverse . Restricting it to instead gives inverse , with inverse domain still .
For on , the range is . Solving and using gives . The domain restriction selects the sign in the root calculation.
The graph of an inverse exchanges the two coordinates, reflecting the original graph in . If the original coordinates have different physical units, the inverse also exchanges their roles. A conversion from time to temperature becomes a calculation of time from an attained temperature.
Algebraic inverses require their exclusions
For with , solve
Hence the inverse is for . The excluded inverse input 2 is the output the original formula cannot attain: setting leads to .
These computations also show one-to-one behavior. Each allowed output gives exactly one allowed input. Checking the resulting input against completes the inversion; the equation would again require .
Exercises
- For and , calculate both compositions.
- Find the domain of .
- Invert on and check one composition.
- Invert restricted to .
- Explain why is not the same as for .
- Find the inverse and inverse domain of .
Worked solutions
- and , both on .
- The reciprocal must be defined and nonnegative. Since its numerator is positive, require .
- , and .
- Since , the inverse is for .
- The inverse is , while the reciprocal is on . One reverses the assignment; the other reciprocates its output.
- Solving gives . Thus , with .
Keep your place
Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.
Progress is not saved unless you choose to mark the lesson complete.
Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.