Prove Surjectivity of g∘f: Homework Solution

  • Thread starter Thread starter nicksauce
  • Start date Start date
  • Tags Tags
    Proof Surjective
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 9K views
Messages
1,270
Reaction score
8

Homework Statement


Let [itex]f:X\rightarrow~Y[/itex] and [itex]g:Y\rightarrow~Z[/itex] be surjections. Show that [itex]g\circ~f[/itex] is surjective.


Homework Equations





The Attempt at a Solution


Proof:
Suppose f and g are surjections.
Then (1)[itex]\forall~y\in~Y \exists~x\in~X\textnormal{ st. }f(x)=y[/itex]
And (2) [itex]\forall~z\in~Z \exists~y\in~Y\textnormal{ st. }g(y)=z[/itex]

(1) guarantees that we can write any y as f(x) for some x, so placing this into (2) gives:
(3)[itex]\forall~z\in~Z \exists~x\in~X\textnormal{ st. }g(f(x))=g\circ~f=z[/itex]

And (3) shows that [itex]g\circ~f[/itex] is surjective.

Is my logic correct?
 
Physics news on Phys.org
nicksauce said:
Proof:
Suppose f and g are surjections.
Then (1)[itex]\forall~y\in~Y \exists~x\in~X\textnormal{ st. }f(x)=y[/itex]
And (2) [itex]\forall~z\in~Z \exists~y\in~Y\textnormal{ st. }g(y)=z[/itex]

(1) guarantees that we can write any y as f(x) for some x, so placing this into (2) gives:
(3)[itex]\forall~z\in~Z \exists~x\in~X\textnormal{ st. }g(f(x))=g\circ~f=z[/itex]

And (3) shows that [itex]g\circ~f[/itex] is surjective.

Is my logic correct?

Hi nicksauce! :smile:

(have an exists: ∃ and an in/episilon: ε :smile:)

Your logic is fine …

but it would be quicker and neater to start with (2) …

given z ε Z, ∃ y ε Y st g(y) = z, so ∃ x ε X st … :wink:
 
The proof is correct but, rather than saying "for all", better wording would be "if z is in Z, then, because g is surjective, there exist y in Y such that g(y)= z. Now, since f is surjective, there exist x in X such that f(x)= y (that specific y you got before). Then [itex]g\circ f(x)= g(f(x))= g(y)= z[/itex]. That is, you have proved "if z is in Z, then there exist x in X such that [itex]g\circ f(x)= z[/itex].