Properties of Composition
Check the order and domain of a composition.
The bigger question: What does a function tell us—and what can it hide?
On this page
Idea
Compositions can be regrouped without changing the order of evaluation, but generally cannot be reordered. Domain compatibility remains necessary at every stage.
Visual guide
x → x² → √(x²)
Method
Both sides mean . With the identity function , on the appropriate domain.
Worked example
For and , , while . At , the outputs are and . Thus associativity does not imply commutativity. An inverse is special: composing it with the original function returns the identity on the corresponding set.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Compare (x+1)² with x²+1.
Hint 2 · Take the next step
One counterexample is enough to disprove equality of functions.
Show the reasoning
Answer: No: at x=1 they give 4 and 2.
f(g(1))=4, whereas g(f(1))=2; order matters.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Common mistake
Canceling from requires injectivity. It is not a general algebraic cancellation rule.
Check your understanding
For , , , compute .
Show answer
.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.