Composition of Functions and Compatibility Conditions
For functions f: A to B and g: B to C, the composition g∘f is defined by (g∘f)(x) = g(f(x)) for x in A. The output of f must be suitable as an input for g.
Practice This ConceptLearn the concept
Student-friendly explanation
Composition means applying one function after another in the correct order. In g∘f, f acts first and g acts second. The order matters; in general, g∘f and f∘g are not the same. Composition is associative when the functions are compatible, but it is not generally commutative.
How to write this in exams
- 1
Start with the exact idea
For functions f: A to B and g: B to C, the composition g∘f is defined by (g∘f)(x) = g(f(x)) for x in A. The output of f must be suitable as an input for g.
- 2
Then show how to use it
1. Identify which composition is asked. 2. Start with the inner function on the right. 3. Substitute the full expression into the outer function. 4. Simplify carefully. 5. Check domain and codomain compatibility if functions are defined between sets rather than only by formulas.
- 3
Add one concrete example
If f(x) = x + 2 and g(x) = x^2, then (g∘f)(x) = g(x + 2) = (x + 2)^2, while (f∘g)(x) = f(x^2) = x^2 + 2. These are not equal in general.
- 4
Avoid this incomplete answer
Writing (g∘f)(x) = f(g(x)) because the symbols are read left to right instead of applying the rightmost function first.
Definition
Example
Rule to remember
Sequence to remember
Memory hook
Examples and method
Worked example
Method to apply
Diagram support
How CBSE asks it
Avoid common mistakes
Common confusion
Common wrong answer
Exam tip
Quick check
If f(x) = 2x - 1 and g(x) = x^2 + 3, find (g∘f)(x).
(g∘f)(x) = g(2x - 1) = (2x - 1)^2 + 3 = 4x^2 - 4x + 4.
Answer writing and exam use
1-mark answer
2-mark answer
3-mark answer
Practice this concept with focused MCQs
Open the concept quiz intro first, review the test details, and then start a focused MCQ set from this concept only. Instant score and answer review are live now.
Help improve this page
Found something confusing, incorrect, or missing?