Composition of Functions
Functions can be combined algebraically or through composition to build new, more complex functions. These operations show up constantly in pre-calc and calculus, so getting comfortable with them now pays off. This section covers algebraic combinations, how to compose functions, how to find their domains, and how to decompose them into parts.

Combining Functions Algebraically
You can combine two functions at each input value using the standard arithmetic operations:
- Sum:
- Difference:
- Product:
- Quotient: , defined only where
Each of these works "point-wise," meaning you evaluate both functions at the same and then combine the results. For the quotient, you must exclude any -values where from the domain.
Construction of Composite Functions
Composition is different from the arithmetic combinations above. Instead of combining two outputs, you feed one function's output into the other function as its input.
The notation means : evaluate first, then plug that result into .
Here's the process:
- Start with your input .
- Evaluate the inner function .
- Take that output and use it as the input for the outer function .
- The final result is .
Order matters. Composition is not commutative, so and are generally not the same.
For example, let and :
Those are clearly different functions, which is why you always need to pay attention to which function is inner and which is outer.

Values of Composite Functions
To evaluate a composite function at a specific number, work from the inside out:
- Plug the given -value into the inner function .
- Take that numerical result and plug it into the outer function .
Example: Suppose and . Find .
-
Evaluate the inner function:
-
Plug into the outer function:
-
So
This extends to chains of three or more functions. For , you evaluate first, then , then . Always work from the innermost function outward.
Domain of Composite Functions
Finding the domain of requires two conditions to be satisfied simultaneously:
- must be in the domain of (so is defined).
- must be in the domain of (so is defined).
The domain of the composite is the set of all -values that satisfy both conditions.
Example: Let and .
- The domain of is all real numbers (no restrictions on a polynomial).
- The domain of requires its input to be , so you need .
- Solve , which factors as . This gives or .
So the domain of is .

Components of Composite Functions
Sometimes you're given a composite function and need to break it apart into its inner and outer pieces. This is called decomposition, and it's a skill you'll use frequently in calculus.
To decompose, look for a "nested" structure: something inside something else.
Example: Decompose .
- The outer operation is the square root, so .
- The expression inside the square root is , so .
Check: . โ
Decomposition isn't always unique. For instance, could be decomposed as and , but you could also choose and . The most natural split is usually the one that identifies the simplest outer and inner functions.
Function Notation and Relationships
- Function notation like names the output of function when the input is . The letter names the rule; the parentheses hold the input.
- Substitution is the core mechanic behind composition. Wherever you see in the outer function's formula, you replace it with the entire expression for the inner function. This is why writing as and then substituting for "stuff" can help keep things organized.
- Understanding this input-output chain is what makes composition click: every function transforms its input, and composition just stacks those transformations.