anonymity
- 162
- 0
Prove that if g\circf is surjective, then g must be surjective.
I know that one valid proof of this statement is acquired via the contrapositive, what I am not sure of is if the following proof is flawed (if it is, please say why):
Suppose z\inZ. Since g \circ f is surjective, there exists x\inX such that g\circ f(x) = z. Equivalently, for f(x) = y, we have that g(y) = z. Now for any z\inZ there exists y = f(x) such that z = g(y), and that g is surjective.
I know that one valid proof of this statement is acquired via the contrapositive, what I am not sure of is if the following proof is flawed (if it is, please say why):
Suppose z\inZ. Since g \circ f is surjective, there exists x\inX such that g\circ f(x) = z. Equivalently, for f(x) = y, we have that g(y) = z. Now for any z\inZ there exists y = f(x) such that z = g(y), and that g is surjective.