We have defined a set \(A\) to be finite when we can count its elements by matching them bijectively with the elements of some counting set \(\natnumlt{m}\text{.}\) And in this case, by defining \(\card{A} = m\text{,}\) we are declaring that \(A\) has the same “size” as \(\natnumlt{m}\text{.}\)
Expanding on this idea, we can think of every bijection as using the elements of one set to “count” the elements of another.
same size
sets \(A\) and \(B\) for which there exists a bijection \(A \to B\)
Fact12.3.1.Symmetry of size.
If \(B\) has the same size as \(A\text{,}\) then \(A\) has the same size as \(B\text{.}\)
Assume \(\card{A} = \card{B} = m\text{.}\) Then by definition there exist bijections \(\funcdef{f}{\natnumlt{m}}{A}\) and \(\funcdef{g}{\natnumlt{m}}{B}\text{.}\) Now \(g \circ \inv{f}\) is a bijection \(A \to B\text{,}\) so \(A\) and \(B\) have the same size according to the technical definition.
Assume same size, show equal cardinality.
Assume \(A\) and \(B\) have the same size. Then by definition there exists a bijection \(\funcdef{f}{A}{B}\text{.}\) Now, we have also assumed that \(A\) is finite, so there exists a bijection \(\funcdef{g}{\natnumlt{m}}{A}\text{,}\) where \(m = \card{A}\text{.}\) Then \(\funcdef{f \circ g}{\natnumlt{m}}{B}\) is a bijection that demonstrates \(\card{B} = m\) as well.
Warning12.3.4.
Your intuition may fail you when considering “sizes” of infinite sets. In particular, it is possible to have \(\card{A} = \card{B} = \infty\text{,}\) where \(A\) and \(B\)do not have the same size.
Example12.3.5.Sets of integers and natural numbers have the same size.
Even though \(\N \subsetneqq \Z\text{,}\)\(\N\) and \(\Z\) have the same size! The following defines a bijection \(\funcdef{f}{\N}{\Z}\text{.}\)
\(n\)
\(0\)
\(1\)
\(2\)
\(3\)
\(4\)
\(\cdots\)
\(f(n)\)
\(0\)
\(-1\)
\(1\)
\(-2\)
\(2\)
\(\cdots\)
This bijection can be expressed by the formula
\begin{equation*}
f(n) =
\begin{cases}
\frac{m}{2}, \amp m \text{ even}, \\
-\frac{m+1}{2}, \amp m \text{ odd}.
\end{cases}
\end{equation*}
Example12.3.6.Sets of real numbers and natural numbers do not have the same size.
In Chapter 13, we will see that even though \(\card{\N} = \card{\R} = \infty\text{,}\) the sets \(\N\) and \(\R\)do not have the same size!
Example12.3.7.Intervals of real numbers of different lengths have the same size.
Recall from first-year calculus that for \(a,b \in \R\) with \(a \lt b\text{,}\) we define the open interval from \(a\) to \(b\) to be the set of all real numbers strictly between \(a\) and \(b\text{:}\)
It turns out that, even though they may have different lengths, the interval \((a,b)\) and the unit interval \((0,1)\) have the same size! (That is, they somehow contain the same “number” of numbers.)
Construct a bijection \((0,1)\to(a,b)\) in two steps.
The map
\begin{align*}
f \colon (0,1) \amp \to (0,b-a), \\
x \amp \mapsto (b-a)x,
\end{align*}
is a bijection. (Check!)
The map
\begin{align*}
g \colon (0,b-a) \amp \to (a,b), \\
x \amp \mapsto x+a,
\end{align*}
is a bijection. (Check!)
Then \(\funcdef{g\circ f}{(0,1)}{(a,b)}\) is a bijection.
Example12.3.10.A punctured circle has the same size as \(\R\).
Here, \(S\) is a circle in the plane with radius \(\frac{1}{2}\) and centre \((0,\frac{1}{2})\text{,}\) and \(\hat{S}\) is the circle \(S\) “punctured” at the “north pole”.
We claim that \(\hat{S}\) has the same size as \(\R\text{.}\) Construct a bijection \(\hat{S}\to\R\) in two steps.
Let \(X\) represent the \(x\)-axis in the plane, i.e.
\begin{equation*}
X = \setdef{(x,0)}{x \in \R} \subseteq \R^2 \text{.}
\end{equation*}
Let \(\funcdef{f}{\hat{S}}{X}\) be defined as follows: for \((x,y)\in \hat{S}\text{,}\) let \(f(x,y)\) be the \(x\)-intercept of the line through points \((0,1),(x,y)\text{.}\)
Then \(f\) is a bijection. (Check!)
We also have a bijection \(\funcdef{g}{X}{\R}\) by \(g(x,0) = x\text{.}\)
Therefore, the composition \(\funcdef{g\circ f}{\hat{S}}{\R}\) is a bijection.
Example12.3.12.Every interval of real numbers has the same size as the entire set of real numbers.
Example 12.3.7 and Example 12.3.10 can be combined to demonstrate that every finite-length interval \((a,b)\) of real numbers has the same size as the entire set \(\R\) of real numbers. See Exercise 12.6.6.