Prove Surjectivity of g∘f: Homework Solution

In summary, surjectivity is a mathematical term that refers to a function mapping every element in the output set to at least one element in the input set. Proving the surjectivity of g∘f is important in various fields of mathematics, and the steps to do so include showing the ranges of g and f, and using the composition of functions. A function can be both surjective and injective, known as a bijection. Real-life examples of surjective functions include a vending machine, a map, and a salesperson.
  • #1
nicksauce
Science Advisor
Homework Helper
1,271
7

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
  • #2
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:
 
  • #3
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].
 

What is the definition of surjectivity?

Surjectivity is a term used in mathematics to describe a function that maps every element in the output set to at least one element in the input set. In other words, every element in the output set has a corresponding element in the input set.

Why is it important to prove the surjectivity of g∘f?

Proving the surjectivity of g∘f is important because it ensures that every element in the output set of the composite function has a preimage in the input set. This is essential in many areas of mathematics, such as linear algebra and calculus, where functions are used to model relationships between variables.

What are the steps to prove the surjectivity of g∘f?

The steps to prove the surjectivity of g∘f are as follows:
1. Show that the range of g includes the entire codomain of g.
2. Show that the range of f includes the entire domain of g.
3. Use the composition of functions to show that the range of g∘f includes the entire codomain of g.

Can a function be both surjective and injective?

Yes, a function can be both surjective and injective. This type of function is called a bijection. It means that every element in the output set has a unique preimage in the input set, and every element in the input set has a unique image in the output set.

What are some real-life examples of surjective functions?

Some real-life examples of surjective functions are:
1. A vending machine that dispenses all possible combinations of snacks and drinks.
2. A map that shows all possible routes between two locations.
3. A salesperson who has sold to every potential customer in their territory.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
468
  • Calculus and Beyond Homework Help
Replies
2
Views
270
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
460
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
688
  • Calculus and Beyond Homework Help
Replies
3
Views
521
  • Calculus and Beyond Homework Help
Replies
8
Views
3K
  • Calculus and Beyond Homework Help
Replies
3
Views
997
Back
Top