Equivalence between an injection and a surjection

Click For Summary

Homework Help Overview

The problem involves proving the equivalence between the existence of an injection from set A to set B and the existence of a surjection from set B to set A. Participants are exploring the definitions and implications of injections and surjections within the context of set theory.

Discussion Character

  • Conceptual clarification, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the implications of defining a surjection and how it relates to constructing an injective function. There are attempts to clarify misunderstandings regarding the definitions of injections and surjections, particularly in specific examples with sets A and B.

Discussion Status

Some participants have provided guidance on the reasoning behind the implications of the proof, while others are questioning their understanding of surjections and injections. There is an ongoing exploration of different interpretations and examples, with some participants affirming the correctness of certain reasoning.

Contextual Notes

There are instances where participants express confusion about the definitions and implications of injections and surjections, indicating a need for clarity in understanding these concepts. Additionally, some posts suggest that certain examples may not align with the original problem statement.

mtayab1994
Messages
584
Reaction score
0

Homework Statement



Let A and B be two sets.

Homework Equations



Prove that there exists a injection from A to B if and only if there exists a surjection from B to A

The Attempt at a Solution



I did one implication which is we suppose that f: B→A is a surjection.
Then by definition of a surjection: \forall a\in A,\exists b\in B/f(b)=a
Then for each a in A we consider the nonempty set f^{-1}(a)
and I let an arbitrary b in f^{-1}(a) and then I defined the function:

g: A→B so we get g(a)=b for our choice of b in f^{-1}(a) and this is injective, because f was a function that we established earlier so if we take b1 in f^{-1}(a_{1})
and b2 in f^{-1}(a_{2}) then it's simple to see that b1≠b2, but if they were equal then by definition:

a1=f(b1)=f(b2)=a2. So therefore g is injective. Is this correct so far?
 
Physics news on Phys.org
mtayab1994 said:

Homework Statement



Let A and B be two sets.

Homework Equations



Prove that there exists a injection from A to B if and only if there exists a surjection from B to A

Supose A = {1,2,3}, B = {1,2,3,4,5}. Then f(n) = n for n = 1,2,3 is an injection form A to B. But there is no surjection from B to A.

[Edit, added later]: You can safely ignore this post as noted below.
 
Last edited:
LCKurtz said:
Supose A = {1,2,3}, B = {1,2,3,4,5}. Then f(n) = n for n = 1,2,3 is an injection form A to B. But there is no surjection from B to A.
Really? :confused:

Maybe I'm misunderstanding. Let ##g:B\to A, x\mapsto\left\{\begin{matrix} 1 & \text{if } x\in\{1,4,5\} \\ 2 & \text{if } x=2 \\ 3 & \text{if } x=3\end{matrix}\right.##. Isn't this a surjection? Its image is clearly equal to its codomain, right?
 
LCKurtz said:
Supose A = {1,2,3}, B = {1,2,3,4,5}. Then f(n) = n for n = 1,2,3 is an injection form A to B. But there is no surjection from B to A.

Take f: B \to A with f(x) = x for x \in \{1, 2, 3\} and f(4) and f(5) arbitrary. Then f is a surjection (for every a \in A there exists at least one b \in B such that f(b) = a.

What does not exist is an injection from B to A.
 
Mandelbroth said:
Really? :confused:

Maybe I'm misunderstanding. Let ##g:B\to A, x\mapsto\left\{\begin{matrix} 1 & \text{if } x\in\{1,4,5\} \\ 2 & \text{if } x=2 \\ 3 & \text{if } x=3\end{matrix}\right.##. Isn't this a surjection? Its image is clearly equal to its codomain, right?

Yes. Sorry, I was thinking bijection when I was reading surjection. :redface:
 
So the first implication of the proof is fine right?
 
mtayab1994 said:
So the first implication of the proof is fine right?

Yes, I think your reasoning is OK.
 
mtayab1994 said:

Homework Statement



Let A and B be two sets.

Homework Equations



Prove that there exists a injection from A to B if and only if there exists a surjection from B to A

The Attempt at a Solution



I did one implication which is we suppose that f: B→A is a surjection.
Then by definition of a surjection: \forall a\in A,\exists b\in B/f(b)=a
Then for each a in A we consider the nonempty set f^{-1}(a)
and I let an arbitrary b in f^{-1}(a) and then I defined the function:

g: A→B so we get g(a)=b for our choice of b in f^{-1}(a)

At this point you could note that if g(a) \in f^{-1}(\{a\}) then by definition f(g(a)) = a, and the proof that g is injective is then straightforward.

and this is injective,
because f was a function that we established earlier so if we take b1 in f^{-1}(a_{1})
and b2 in f^{-1}(a_{2}) then it's simple to see that b1≠b2, but if they were equal then by definition:

a1=f(b1)=f(b2)=a2. So therefore g is injective. Is this correct so far?

This is correct.

A point of notation: f^{-1}(\{a\}) \subset B is the pre-image of the singleton subset \{a\} \subset A, which is well-defined even if f is not a bijection. This must be distinguished from f^{-1}(a) \in B, which is the image of a \in A under the inverse of f, which is not well-defined unless f is a bijection.
 
pasmith said:
At this point you could note that if g(a) \in f^{-1}(\{a\}) then by definition f(g(a)) = a, and the proof that g is injective is then straightforward.



This is correct.

A point of notation: f^{-1}(\{a\}) \subset B is the pre-image of the singleton subset \{a\} \subset A, which is well-defined even if f is not a bijection. This must be distinguished from f^{-1}(a) \in B, which is the image of a \in A under the inverse of f, which is not well-defined unless f is a bijection.

Thank you every much for the information I really appreciate it .
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
3
Views
2K
Replies
3
Views
1K