How can we show that h is surjective?

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Surjective
In summary, we discussed the proof of the proposition that the union of two finite sets is a finite set. We showed that if $X$ and $Y$ are finite sets, then there exist bijections between $X$ and a natural number $n$ and between $Y$ and a natural number $m$. We then defined a function $h$ to map elements of $X \cup Y$ to the set $n+m$, and showed that $h$ is both injective and surjective, proving that $X \cup Y$ is also a finite set.
  • #1
evinda
Gold Member
MHB
3,836
0
Hello! (Wave)

I am looking at the proof of the following proposition:

The union of two finite sets is a finite set.Proof:

Let $X,Y$ finite sets. Then there are $n,m \in \omega$ such that $X \sim n$ and $Y \sim m$, i.e. there are $f: X \overset{\text{1-1 & surjective}}{\longrightarrow}n, g: Y \overset{\text{1-1 & surjective}}{\longrightarrow}m$.First case: $X \cap Y=\varnothing$

We define the fuction $h: X \cup Y \to n+m$

such that $h(x)=f(x)$ if $x \in X$, $h(y)=n+g(y)$ if $y \in Y$.

We will show that $h: X \cup Y \overset{\text{1-1}}{\rightarrow}n+m$.

Let $a,b \in X\cup Y$ with $h(a)=h(b)$.

  • if $a,b \in X$ then $h(a)=f(a)$ and $h(b)=f(b)$.
    So $f(a)=f(b) \rightarrow a=b$ since $f$ is injective.
    $$$$
  • if $a,b \in Y$ then $h(a)=n+g(a)$ and $h(b)=n+g(b)$.
    So $n+g(a)=n+g(b) \rightarrow g(a)=g(b) \rightarrow a=b$ since $g$ is injective.
    $$$$
  • if $a \in X, b \in Y$ then $h(a)=f(a)<n$ and $h(b)=n+g(b) \geq n$.
    So in this case it cannot hold $h(a)=h(b)$.
Now we will show that $h: X \cup Y \overset{\text{surjective}}{\longrightarrow} n+m$.We want to show that $\forall k \in n+m$ there is a $b \in X \cup Y$ such that $f(b)=k$.It suffices to show that $\forall k<n$ there is a $x \in X$ such that $h(x)=k$ and that $\forall n \leq k<n+m$ there is a $y \in Y$ such that $h(y)=k$.

$h(x)=k \Rightarrow f(x)=k$.

Since $f$ is surjective, it holds that $\forall k<n$ there is a $x \in X$ such that $f(x)=k$.

$h(y)=k \Rightarrow n+g(y)=k$We know that $g$ is surjective, but how can we use this knowing that we haven't defined the subtraction of natural numbers? :confused:
 
Physics news on Phys.org
  • #2


Hello!

Great work on the proof so far. To address your question about using the surjectivity of $g$, we can use the fact that $g$ is surjective to show that for any $k \in n+m$, there exists a $y \in Y$ such that $n+g(y)=k$. This is because for every $k \in n+m$, there exists an $m \in \omega$ such that $g(y)=m$ and therefore $n+g(y)=k$.

In other words, since $g$ is surjective, for every element $k$ in the range of $h$, there exists an element $y \in Y$ such that $h(y)=k$. This shows that $h$ is surjective, and therefore the union of two finite sets $X$ and $Y$ is also a finite set, since there exists a bijection between $X \cup Y$ and $n+m$.

Keep up the good work!
 

1. How do we define surjectivity in a mathematical function?

Surjectivity in a mathematical function means that for every element in the range of the function, there exists at least one element in the domain that maps to it. In simpler terms, every output of the function has a corresponding input.

2. What is the difference between a surjective and an injective function?

A surjective function is one that covers the entire range of its output, while an injective function is one that maps each input to a unique output. In other words, a surjective function can have multiple inputs that map to the same output, while an injective function cannot.

3. How can we prove that a function is surjective?

To prove that a function is surjective, we need to show that every element in the range of the function has at least one corresponding element in the domain. This can be done by either providing a specific mapping for each element in the range or by using the definition of surjectivity to show that the function covers the entire output range.

4. 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 and it means that every element in the range is mapped to by exactly one element in the domain.

5. Why is surjectivity important in mathematics?

Surjectivity is important in mathematics as it ensures that every element in the output range of a function has a corresponding input. This allows for the function to be reversed, or inverted, and also makes it possible to solve equations and find the input value for a given output.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
938
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
948
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
877
  • Set Theory, Logic, Probability, Statistics
Replies
27
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
750
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
Back
Top