Q.Let and be functions defined as , , and and . Find .
The composite function is defined only for inputs whose -image lies in the domain of . Here, .
Why this approach works
When you compose two functions, you're essentially applying one after the other: first , then . But there's a catch — the output of must be a valid input for . That means the range of (the set of all values actually produces) must be a subset of the domain of (the set of values can accept). If any lands outside 's domain, then is simply not defined for that .
Here, both functions are given explicitly as finite sets of ordered pairs, so we can compute for each in the domain of by direct substitution — but we must check each time that actually belongs to the domain of .
A common mistake is to assume is defined for all elements of 's domain. Always verify that every lies in the domain of before writing the composite.
Step-by-step computation
1. Identify the domains and ranges
- Domain of :
- Codomain of : (but the actual range is since )
- Domain of :
- Codomain of :
Notice that every value in the range of — namely — is indeed in the domain of . So will be defined for all .
2. Compute
. Now . So .
3. Compute
. Then . So .
4. Compute
. Then . So .
5. Compute
. Then . So .
6. Write the composite as a set of ordered pairs
The composite is the function from to given by:
Notice that is not one-to-one: both and map to , and both and map to . This is fine — composites can lose injectivity even if the individual functions are injective (though here itself is not injective either).
The composite function is .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.