Composite Functions
Construction of composite functions
A composite function is what you get when you feed the output of one function directly into another. The notation means "apply first, then apply to the result." This order trips people up constantly, so pay close attention: the function closest to goes first.
To build a composite function algebraically:
- Start with the inner function and the outer function .
- Wherever you see in the formula for , replace it with the entire expression for .
- Simplify the result.
Example 1: If and , then:
Example 2: If and , then:
Notice that and are usually not the same thing. Using Example 2, . Different result. Order matters.
You can also evaluate composites graphically by tracing values through two graphs:
- Start at on the horizontal axis and read up to the graph of to find .
- Take that value and use it as the input on the horizontal axis for .
- Read up to the graph of to find .
This is useful for reading composite values off a graph when you don't have formulas.
Inverse Functions
)_evaluation_algebra_graphical_method%22-CNX_Precalc_Figure_01_04_002ab2.jpg)
Identification of one-to-one functions
Before a function can have an inverse, it must be one-to-one: every output comes from exactly one input. If two different inputs ever produce the same output, the function isn't one-to-one, and you can't reverse it unambiguously.
The quick visual check is the horizontal line test. Draw (or imagine) horizontal lines across the graph. If every horizontal line hits the graph at most once, the function is one-to-one.
- passes the horizontal line test, so it's one-to-one.
- fails because, for example, both and give the output 9.
Only one-to-one functions have inverses. When a function isn't one-to-one, you can sometimes restrict its domain to make it one-to-one (this is exactly what's done with when we restrict to ).
Determination of inverse functions
An inverse function reverses what the original function does. If , then . The notation does not mean ; it means the function that undoes .
Algebraic method for finding an inverse:
- Replace with : write .
- Swap and in the equation.
- Solve the new equation for .
- Replace with .
Example: Find the inverse of .
-
-
-
, so
-
You can verify by checking that and . This composition check is the definitive test for whether two functions are truly inverses.
Graphical method: The graph of is the reflection of the graph of across the line . Every point on the graph of becomes on the graph of .
)_evaluation_algebra_graphical_method%22-CNX_Precalc_Figure_01_04_0012.jpg)
Domain and range of inverse functions
The domain and range swap between a function and its inverse:
- The domain of equals the range of .
- The range of equals the domain of .
Example: has domain and range . Its inverse is , but only for (the domain of is restricted to match the range of ). Without that restriction, isn't one-to-one and wouldn't truly be an inverse.
Function Notation and Transformations
Function notation like gives you a compact way to name a function and communicate exactly what it does to an input. When you see , it means "plug 3 in for ."
This notation also makes it easy to describe transformations of graphs:
- Vertical shift: shifts the graph up by units (down if is negative).
- Horizontal shift: shifts the graph right by units (left if is negative).
- Vertical stretch/compression: stretches the graph vertically by a factor of (compresses if ).
- Reflection: reflects across the -axis; reflects across the -axis.
These transformations connect directly to composites and inverses. For instance, reflecting across the line is exactly how you graph .