If g∘f Is Bijective, Is f Injective and g Surjective?
At a glance
- 1. Set the function types
Write f:A→B and g:B→C, so g∘f maps A to C.
- 2. Prove f is injective
Equal f-values give equal composite values; injectivity of the composite then makes the inputs equal.
- 3. Prove g is surjective
For each output in C, surjectivity of the composite supplies an input whose f-value maps to it under g.
- 4. Check what does not follow
The result does not require f to be surjective or g to be injective.
Suppose and , so the composition is defined. If is bijective, then is injective and is surjective. The two conclusions follow directly from the injectivity and surjectivity parts of bijectivity.
The function types matter: the codomain of must fit the domain of , and the composite is considered as a map into . In particular, saying the composite is bijective means it is onto all of , not merely onto its image.
Why f is injective
A function is injective if equal outputs can only come from equal inputs. Take any and suppose
Applying to both sides gives
or equivalently,
Because is injective, this equality implies . That is exactly the definition of injectivity for .
Another way to see the idea is that if sent two distinct inputs to the same element of , no later function could separate them again. Their composite outputs would also be equal, contradicting the composite’s injectivity.
Why g is surjective
A function is surjective if every element of is the output of at least one element of . Choose any . Since is surjective onto , there is some such that
By the definition of composition, this says . The value belongs to , so we have found an element of that maps to . Since this works for every , is surjective.
A finite example
Let
Define and by
and
Then the composite sends to and to . It is a bijection from to . Here, is injective but not surjective, because is not an output of . Also, is surjective but not injective, because both and map to . This illustrates exactly what the theorem guarantees—and what it does not.
What the theorem does not say
The composite being bijective does not imply that is surjective or that is injective. The finite example above is a counterexample to both extra claims.
The reverse implication also fails: knowing only that is injective and is surjective does not ensure that is bijective. For example, let , , and , with , , and . The function is injective and is surjective, but the composite never reaches , so it is not bijective.
Common mistakes
- Reversing the roles: For , the conclusion is that the first function is injective and the second function is surjective. The order follows from tracing inputs through the composition.
- Claiming both functions are bijective: The composite can be bijective even when misses elements of and sends multiple elements of to the same value.
- Ignoring the codomain: Surjectivity depends on the stated codomain. The proof that is onto uses the fact that the composite is onto .
- Using the wrong composition: The result is about , which means apply first and then . The function types and conclusions must be checked against that order.
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.