Composite Functions
Learn how to combine two functions to create a new function using composition.
Definition
Try it now
Worked Examples
If and , find .
Understand the notation
→ First find , then apply
Evaluate the inner function
→
Substitute into outer function
→
Calculate final answer
→
Answer:
Common Mistakes
Confusing with
Why it's wrong: The circle notation means composition, not multiplication. , which substitutes into .
Correct: means apply first, then . Multiplication is a completely different operation.
Getting the order backwards
Why it's wrong: In , you might think comes first because it appears first.
Correct: Read inside out: means is applied first, then .
Assuming
Why it's wrong: Unlike multiplication, composition is NOT commutative in general.
Correct: Always check both orders. Usually .
Interactive Visual
Linear Function Explorer
Interactive Sandbox
Interactive Grapher
Try these examples:
y = 2x + 1
m=2, b=1
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
16 problemsIf and , what is ?
Why It Matters
- Modeling Complex Processes: A temperature conversion from Celsius to Fahrenheit, then to Kelvin, is a composition of two functions
- Computer Science: Nested function calls like `print(len(str(x)))` are composite functions
- Economics: Calculating total cost involves composing unit cost with quantity functions
- Calculus: The Chain Rule for derivatives is based on understanding composite functions
Real World Applications
Unit Conversion Chains
Converting between measurement units often requires composing multiple conversion functions.
Example:
To convert miles to meters: first convert miles to kilometers with , then kilometers to meters with . So meters.
A European car speedometer shows kilometers per hour. You need to convert to meters per second. Function converts km to m. Function converts per hour to per second.
If a car travels at 90 km/h, what is its speed in m/s?
Step 1: Write the mathematical expression
Calculate :
Computer Programming
Nested function calls in programming are composite functions.
Example:
In Python, `len(str(n))` counts the digits of a number. Here converts to string, and counts characters.
A program uses to add a bonus, and to double a score. The composed function first doubles, then adds bonus.
If a player's base score is 45, what is the final score after applying ?
Step 1: Write the mathematical expression
Calculate :
Key Takeaways
- 1A composite function applies first, then to the result
- 2Order matters: is usually NOT equal to
- 3To evaluate, work from the inside out: first compute the inner function
- 4Composition is different from multiplication:
Frequently Asked Questions
Glossary
- Composite function
- A function formed by applying one function to the result of another, written or
- Inner function
- In , the inner function is evaluated first
- Outer function
- In , the outer function is applied to the result of
- Function composition
- The operation of combining two functions where the output of one becomes the input of the other