Section 3.3 – One-to-one correspondences and the Cardinality of a Set¶
Cardinality¶
definition: The cardinality of set $A$, denoted $|A|$, is the number of elements in set $A$.
Example
One-to-one Correspondences¶
definition: A function $f: A \mapsto B$ that is a bijection is also a one-to-one correspondence. We say $\exists$ a one-to-one correspondence between $A$ and $B$.
Fact¶
Claim¶
Proof¶
Consider $f: (0,1) \mapsto (2,5)$, where,
(one-to-one) Supposed $f(x_1) = f(x_2)$,
(onto) Let $y \in (2,5)$, if $f(x) = y$,
Example
Let $2 \mathbb Z = { ...,-4,-2,0,2,4,... }$, show $|\mathbb Z| = |2 \mathbb Z|$.
Solution
Define $f: \mathbb Z \mapsto \mathbb 2Z$, where,
which is a bijection (easy to prove).
Countability¶
definition: A set $A$ is countably infinite if,
So if I can line up a value in a with a value in the countable numbers (natural numbers) it's countably infinite.
- $A$ is countable if it is countably infinite or finite.
- If $A$ is not countable it is uncountable.
Note¶
Sometimes $|\mathbb N$ is denoted $\aleph_0$ ("Aleph naught").
Proposition¶
A set $A$ is countable if and only if $\exists$ a bijection $f: A \mapsto \mathbb N$ (i.e. you can list the elements of $A$).
Proposition¶
$\mathbb Z$ is countable. We can show a correspondence,
This is a sufficient correspondence. However we can show a more mathy correspondence,
Fact¶
A subset of a countable set is also countable.
Proposition¶
A set $A$ is countable if there exists a bijection $f: A \mapsto B$ where $B$ is any countable set.
Fact¶
$\mathbb N \times \mathbb N$ is countable! Lets make a table!
$~$ | $0$ | $1$ | $2$ | $...$ |
---|---|---|---|---|
$0$ | $(0,0)$ | $(0,1)$ | $(0,2)$ | $...$ |
$1$ | $(1,0)$ | $(1,1)$ | $(1,2)$ | $...$ |
$2$ | $(2,0)$ | $(2,1)$ | $(2,2)$ | $...$ |
$...$ | $...$ | $...$ | $...$ | $...$ |
Using diagonal sweeping we get,
Fact¶
$\mathbb Q$ is countable.
$~$ | $0$ | $1$ | $-1$ | $2$ | $-2$ | $...$ |
---|---|---|---|---|---|---|
$1$ | $\frac{0}{1}$ | $\frac{1}{1}$ | $\frac{-1}{1}$ | $\frac{2}{1}$ | $\frac{-2}{1}$ | $...$ |
$2$ | $\frac{0}{2}$ | $\frac{1}{2}$ | $\frac{-1}{2}$ | $\frac{2}{2}$ | $\frac{-2}{2}$ | $...$ |
$...$ | $...$ | $...$ | $...$ | $...$ |
Using diagonal sweeping we get,
Fact¶
The union of countably infinite sets is countable, e.g.,
Countability Summary¶
A set $A$ is countable if,
- It's finite,
- It's the union of countable sets,
- It's a subset of a countable set,
- There exists bijection $f: A \mapsto \mathbb N$,
- We can list the elements of $A$.
Recall¶
A set is countable if it is not countable.
Fact¶
The open interval $(0,1)$ is uncountable.
Proof¶
Proof Idea: Let's use a proof by contradiction by trying to list the elements between zero and one. Then we'll show that no matter how we list the elements we always miss something.
Suppose to the contrary $(0,1)$ is countable, and we can list its elements,
where any $d_{ij} \in {0,1,2,...,8,9 }$ and $d_{ij}$ is the $j$^th digit of the $i$^th number.
Lets construct a new element $x$ on the interval $(0,1)$ and show that $x$ is not in the list. Since $x \in (0,1)$,
where $x_i = { 0,1,2,...,9 }$. Now let,
New we'll compare $x$ to our list,
Since $x$ is not in our list, the list does not count all elements and is therefore not countable.
Note¶
This technique is called Cantor Diagonalization.
Fact¶
A set $A$ is uncountable if it has an uncountable subset. So the real numbers $\mathbb R$ are uncountable since $(0,1) \subset \mathbb R$.
Example
Is $[0,1]$ countable?
Solution
So $[0,1]$ is uncountable.
Fact¶
The irrational numbers $\mathbb I$ are uncountable.
Proof¶
Consider
Suppose to the contrary that $\mathbb I$ is countable. Since $\mathbb Q$ is countable this would make $\mathbb R$ countable. $\mathbb R$ is not countable therefore $\mathbb I$ must be uncountable.
Cantor's Continuum Hypothesis¶
There is no set $A$ such that,
where $\aleph_0 = |\mathbb N|$.
- In 1940 Godel showed that we cannot prove the continuum hypothesis to be false.
- In 1963 Cohen showed that we cannot prove the continuum hypothesis to be true.