- 1,270
- 7
Homework Statement
Let f:X\rightarrow~Y and g:Y\rightarrow~Z be surjections. Show that g\circ~f is surjective.
Homework Equations
The Attempt at a Solution
Proof:
Suppose f and g are surjections.
Then (1)\forall~y\in~Y \exists~x\in~X\textnormal{ st. }f(x)=y
And (2) \forall~z\in~Z \exists~y\in~Y\textnormal{ st. }g(y)=z
(1) guarantees that we can write any y as f(x) for some x, so placing this into (2) gives:
(3)\forall~z\in~Z \exists~x\in~X\textnormal{ st. }g(f(x))=g\circ~f=z
And (3) shows that g\circ~f is surjective.
Is my logic correct?