The Core Idea: Composition of Functions
Function composition is the process of combining two functions by applying one function to the result of another. Conceptually, it is a sequential process where the output of an "inner" function becomes the input for an "outer" function. This creates a new, composite function. The notation for the composition of a function with a function is , where is the inner function and is the outer function.
A critical aspect of function composition is understanding the domain of the resulting function. The domain of the composite function is restricted by two conditions: first, any input `x$ must be valid for the inner function ; second, the output of the inner function, , must be a valid input for the outer function . This concept of combining functions applies across all representations, including analytical formulas, tables of values, and graphs. The reverse process, called decomposition, involves identifying the inner and outer functions that make up a given composite function.
Key Formulas & Rules
The primary rule in this topic governs the definition and domain of a composite function.
Composition Notation
The composition of an outer function with an inner function is denoted in two main ways:
Both notations mean "g of f of x" and describe the same process: first evaluate , then use that result as the input for .
The Rule for the Domain of a Composite Function
The domain of the composite function is the set of all real numbers that satisfy two conditions simultaneously:
must be in the domain of the inner function, .
The output of the inner function, , must be in the domain of the outer function, .
This can be expressed more formally as:
The domain of is .
Understanding The Domain of Composite Functions
The most nuanced part of function composition is correctly determining the domain of the resulting function. It is not enough to simply find the formula for the composite function and then determine its domain. The domain is constrained before any simplification occurs.
Think of the process as a two-stage assembly line. The input `x$ first goes into Machine .
Condition 1: Machine must be able to accept the input `x$. If is not in the domain of , the process fails immediately.
Condition 2: Machine produces an output, . This output is then sent to Machine . Machine must be able to accept as its input. If the output is not in the domain of , the process fails at this second stage.
Therefore, for the entire composite machine to work, both conditions must be met. The set of all initial inputs that successfully pass through both stages constitutes the domain of the composite function. Ignoring the first condition is a common error. For example, if and , the composite function is . The domain of the final expression appears to be all real numbers. However, the inner function is only defined for . This initial restriction carries through, so the domain of is .
Core Concepts & Rules
Definition of Composition: The composition of function with function creates a new function defined by .
Order of Operations: To evaluate , you must evaluate the inner function first. The resulting output value is then used as the input value for the outer function .
Domain Restriction Rule: The domain of consists of all -values in the domain of for which is in the domain of .
Multiple Representations: Function composition can be performed regardless of how the functions are represented (e.g., formulas, tables, or graphs).
Decomposition: Any function can be expressed as a composition of two functions, and , such that . This process is called decomposition.
Non-Uniqueness of Decomposition: There can be multiple, valid ways to decompose a single function. For example, could be decomposed as and , or as and .
Step-by-Step Example 1: Composition and Domain from Formulas
Let and . Find the composite function and determine its domain.
Part A: Find the formula for
Step 1: Write out the structure of the composition.
Step 2: Substitute the entire expression for the inner function into the outer function .
Step 3: Apply the rule of the outer function to the input u = \frac{1}{x-4}.
Step 4: (Optional, but good practice) Simplify the expression by finding a common denominator inside the square root.
Part B: Find the domain of
We follow the two-condition rule for the domain.
Step 1: Determine the domain of the inner function, .
The denominator cannot be zero, so .
The domain of is . In interval notation, this is .
Step 2: Determine the domain of the outer function, .
The expression inside the square root must be non-negative, so .
The domain of is . In interval notation, this is .
Step 3: Apply the second condition: the output of the inner function, , must be in the domain of the outer function .
We need .
To solve this inequality, we subtract 1 and find a common denominator.
The critical points are (where the numerator is zero) and (where the denominator is zero). We test intervals:
If , let : . No.
If , let : . Yes.
So, this condition requires .
Step 4: Find the intersection of the conditions from Step 1 and Step 3.
Condition from Step 1:
Condition from Step 3:
The intersection of these two sets is .
The domain of is . Notice this is the same domain we would find by analyzing the final simplified form .
Step-by-Step Example 2: Composition from Mixed Representations
A function is defined by the table below. A function is defined by the graph.
Table for :
| -2 | 3 |
| -1 | 0 |
| 0 | 1 |
| 1 | -1 |
| 2 | -2 |
Graph for :
(A graph showing the function )