Advanced Function Composition and Inverse Functions Notes
The Concept of Function Composition
- Function composition is the process of "smashing" two operations together. It is a mathematical process where the output of one function becomes the input of another.
- We are primarily concerned with the transition from the initial input value to the final output value of the chain. This relationship defines the composition function.
- The order of operations is critical. Changing the order in which functions are applied often results in entirely different outputs, meaning function composition is generally not commutative.
Evaluating Composition Functions Numerically
- Example 1: and
- Evaluation of :
- Step 1: Input into . Calculation: .
- Step 2: Take the output and input it into . Calculation: .
- Result: .
- Evaluation of :
- Step 1: Input into . Calculation: .
- Step 2: Input into . Calculation: .
- Result: .
- Evaluation of :
- Step 1: Input into . Calculation: .
- Step 2: Input into . Calculation: .
- Result: .
- Comparative Observations:
- while . This demonstrates that switching the order of functions ( of vs of ) produces different answers almost all the time.
- Evaluation of :
Constructing the Algebraic Composition Function
Instead of performing a two-stage numerical calculation, we can build a single function that represents the entire composition.
Algorithm for Construction:
- Start with the outer function.
- Replace the variable in the outer function with sets of parentheses.
- Insert the expression for the inner function inside those parentheses.
- Simplify the resulting algebraic expression.
Continuing Example 1 (, ):
- Building :
- Outer function is .
- Insert : .
- Simplify: .
- Verification: (Matches previous calculation).
- Building :
- Outer function is .
- Insert : .
- Simplify: Distribute multiplication: .
- Note the difference: is not the same as .
- Building :
Terminology and Notation of Composition
- Functions are identified by specific notation to determine the correct order:
- is written or . This is often nicknamed the "fog" function.
- is written or . This is nicknamed the "gof" function.
- Self-Composition: A function can be composed with itself, such as . This is an iterative process, not a squaring process. For example, if , then .
Interpreting Composition in Context
Composition allows us to bridge two related rates or data sets.
Example: Exercise and Calories
- provides the number of calories burned when doing sit-ups.
- provides the number of sit-ups doable in minutes.
- means calculating the number of sit-ups done in minutes, then calculating the calories burned for that quantity of sit-ups. Effectively, the composition relates calories burned () directly to time ().
Example: Driving and Fuel
- is miles driven in hours.
- is gallons of gas used in driving miles.
- The composition is meaningful because the output of (miles) matches the required input for (miles). This calculates gallons of gas per hours of driving.
- The composition is questionable because the input for expects time, but it would receive the output of (gallons of gas).
Evaluating Compositions from Graphs
- To evaluate from a graph:
- Locate the specified value on the horizontal axis of the graph.
- Move vertically to the curve and then horizontally to the axis to find the output value.
- Take that output value and use it as the value on the graph.
- Repeat the process on the second graph to find the final answer.
- Specific Case: If , then to find , you look for the point on the graph where the input is . If the point on that curve is , the final result is .
Domain Restrictions for Composite Functions
Finding the domain of a composition involves addressing two distinct problems:
- Direct Restrictions of the Inner Function: Any value of that causes the inner function to be undefined (e.g., division by zero, square root of a negative) is automatically restricted from the composition.
- Output Conflicts: Any value of that results in an output from which is restricted in the outer function . Essentially, the output of the first stage cannot be the "problem child" for the second stage.
- Algebraic Process for Domain Restrictions:
- Identify restrictions for (e.g., ).
- Identify restrictions for (e.g., ).
- Set the inner function equal to the restriction of the outer function () and solve for . These $x$ values are also excluded from the domain.
Algebraic Methods for Squaring Binomials
When simplifying compositions, students often encounter squared binomials (e.g., ). Three methods for solving these are:
- Identity/Pattern Recognition: .
- Example: .
- FOIL (First, Outside, Inside, Last):
- .
- Area Model (Box Method):
- Create a grid with components of the binomial on the sides. Multiply each intersecting square () and add them together.
Introduction to Inverse Functions
- Definition: An inverse function reverses the operation of the original function. If a function takes to , the inverse takes back to .
- One-to-One (1:1) Property: Only functions that are one-to-one have inverses. A function is one-to-one if for every output there is a unique input.
- Horizontal Line Test: To check if a function is one-to-one, draw a horizontal line through the graph. If it crosses the graph more than once, the function is not one-to-one and does not have a unique inverse.
- Example: is not one-to-one because a horizontal line crosses it twice (e.g., at and ).
Properties and Verification of Inverses
- Ordered Pairs: If is on the graph of , then is on the graph of .
- Graphical Reflection: The graph of an inverse function is a reflection of the original function's graph across the diagonal line .
- Domain and Range: The domain of is the range of , and the range of is the domain of .
- Algebraic Verification: Two functions are inverses of each other if and only if their composition results in : and .
Procedures for Finding Inverse Functions
To find the inverse of a function (e.g., ) algebraically:
- Notation Swap: Replace with .
- Variable Swap: Literally swap the roles of and ( becomes , and becomes ).
- Isolation: Solve the new equation for using algebraic operations (PEMDAS in reverse).
- Final Form: Replace the final isolated with the notation .
- Application - Temperature Conversion:
- Celsius from Fahrenheit: .
- To find Fahrenheit from Celsius, find the inverse function: .
- Example: .