Suppose the sets $\{1,...,n\}$ and $\{1,...,p\}$ are in bijection. Why is it true: $n=p$? Intuitively clear, but can't write a proof
NOTE please don't use cardinalities or anything advanced because this is very basic
thank you
Suppose the sets $\{1,...,n\}$ and $\{1,...,p\}$ are in bijection. Why is it true: $n=p$? Intuitively clear, but can't write a proof
NOTE please don't use cardinalities or anything advanced because this is very basic
thank you
The standard proof goes something like this.
Let's assume that the two sets are $\mathbb{N}_n$ and $\mathbb{N}_p$, as abbreviations.
Suppose there is a bijection $f: \mathbb{N}_n \to \mathbb{N}_p$.
Then $f$ is a surjection. Let $|\cdot|$ denote cardinality of a set. Since $f$ is a surjection, it follows that $|\mathbb{N}_p| = p\leq|\mathbb{N}_n| = n$, i.e., $n \geq p$.
Since $f$ is a bijection, it has an inverse which is also bijective, say $f^{-1}: \mathbb{N}_p \to \mathbb{N}_n$. Now apply the same theorem as above, and you're finished.
Suppose you have a bijective map $f $ from {1,2,3... p} to {1,2,3.... n}. Remove f (p) from {1,2,3....n} and remove p from {1,2,3... p}. You now have a set { 1,2,3... ,p-1} with p-1 elements and another subset of {1,2,3,.... n} with n-1 element. $f $ restricted to this to sets is a bijection.
Repeat $\min (p,n)$ times. You will now have the empty set and a set with |p-n| elements. $f $ will be a bijective map between them. If the set with |p-n| elements has any elements there will be corresponding elements in the empty set. There are not so the set with |p-n| elements has no elements.
So |p-n|=0. So p=n.