Understanding Composite Functions: Rules, Methods, and Examples
A composite function applies one function to the output of another, written as . To evaluate a composition, apply the inner function first, then use its result as the input for the outer function. Because the order of operations changes the result, composing with usually produces a different answer than composing with .
What is a composite function?
A composition of functions occurs when the output of one function becomes the input for a second function. Rather than evaluating two separate equations independently, a composite function links them into a single continuous process.
Understanding how to link functions in algebra is like working with a multi-step factory machine. An initial value enters the first machine (the inner function), which produces a result. That result immediately drops into the second machine (the outer function), which processes it to produce the final answer.

Read f composed with g
To write a composite function, mathematicians use a specific function notation. The symbol for composition is a small open circle ().
When you see , it means the function is placed inside the function . This relationship can also be written with nested brackets as .
Both notations mean exactly the same thing. They are read aloud as " composed with " or " of of ." Always identify the function closest to the variable as the inner function, which must be evaluated first.
Evaluate a composition
When you need to find the numerical value of a composite function, always work from the inside out.
- Substitute the given number into the inner function.
- Calculate the intermediate result.
- Substitute that result into the outer function to find the final answer.
Always evaluate the inner function first, then pass its output to the outer function.
Write a composite rule
Instead of finding a single number, you may need to write an algebraic rule for the combined function. To do this, substitute the entire expression of the inner function into the outer function wherever its variable appears.
The order of composition completely changes the resulting formula. Composing into is rarely the same as composing into .

Check domains in a composition
Finding the domain and range of a composite function requires checking restrictions at two different stages.
First, the input value must be valid for the inner function. If an -value causes a division by zero or a negative square root in the inner function, it is excluded immediately.
Second, the output of the inner function must be a valid input for the outer function. The final domain of consists only of values that survive both checks.
Worked examples
Let's apply these steps to evaluate and simplify composite functions.
Example 1: Numerical evaluation of a composite function
Question: Let and . Find the value of .
Method:
- Identify the inner function, which is .
- Substitute into to get .
- Use this result as the input for the outer function, .
- Substitute into to get .
Answer: .
Check: The algebraic rule is . Substituting gives . The results match.
Example 2: Writing an algebraic expression for composition
Question: If and , what is the rule for ?
Method:
- Identify the inner function, .
- Identify the outer function, .
- Substitute the entire expression for into every in .
- .
Answer: .
Check: Test a random value like . Using the separate functions: , then . Using the composite rule: . The results match perfectly.
Example 3: Checking domain restrictions
Question: Let and . What is the domain of ?
Method:
- Check the inner function, . There are no domain restrictions here.
- Form the composite rule: .
- Check the outer function's restriction. The denominator cannot be zero.
- Set the denominator to zero to find the excluded value: , so .
Answer: The domain is all real numbers except .
Check: Pick . The inner function gives . The outer function becomes , which is mathematically undefined. This confirms must be excluded.
Common mistakes
A frequent error is confusing the composition symbol () with the multiplication symbol ( or ). The expression means substitution, not multiplication. Do not multiply by .
Another common mistake is evaluating the outer function first. If you are asked for , calculating and plugging that result into will give the wrong answer. Always calculate from the inside out.
Frequently asked questions
Can you compose a function with itself?
Yes, you can substitute a function into itself. This is written as or . For example, if , then .
Does function composition relate to inverse functions?
Yes, composing a function with its inverse undoes the original operation. If two types of functions are exact inverses of each other, then both and will equal . This is the standard test to prove two equations are inverse functions.
Practice questions

The mapping diagram shows how an initial input passes through function and then function . Which expression correctly represents the final output of ?
Let and . What is the value of ?
Let and . What is the rule for the composite function ?
Let and . What is the domain of ?

Using the given graphs of and , what is the value of ?
