Cardinality

Now we can define cardinality:

Cardinality

Let A be a set. If A is finite then card(A)=|A| is just the number of elements in A. Then:

  • card(N)=ℵ0 (here ℵ is called aleph, so this is aleph-null)
  • We know that since R is uncountable then card(R)=c where c is the continuum.
  • card(P(N))>card(N).
  • The set A has the same cardinality as B if f:A→B exists that is one-to-one and onto.
    For same cardinality sets we write A∼B.

An example is as follows. The function f(x)=xx2−1 takes the interval (−1,1)→R in a one-to-one correspondence, so (−1,1)∼R:

Proof
(injective) Instead suppose f(x1)=f(x2). We'll show x1=x2. Then:

x1x12−1=x2x22−1x1(x22−1)=x2(x12−1)x1x22+x2−x2x12−x1=0Solve for x2(x1)x22+(1−x12)x2+(−x1)1=0x12−1±(1−x12)2+4x122x1=x2x1=0⇒x2=0=x1x12−1±1−2x12+x14+4x122x1=x2x12−1±x14+2x12+12x1=x2x12−1±(x12+1)22x1=x2x12−1±|x12+1|2x1=x2

Two cases since |x12+1|≥0:

  1. (+):
x2=x12−1+x12+12x1=x1
  1. (−):
x2=x12−1−x12−12x1=−1x1

So just choose the (+) case! We are done.

(surjective): For scratch we are essentially trying to find f−1. So try to swap the x's with y's and solve for y:

f(y)=xyy2−1=xy=x(y2−1)y=xy2−x0=xy2−y−xy=1±1+4x22x

Pasted image 20241006004540.png

Which ± do we use? We want all x>0 to have y<0 and all x<0 to be y>0. The only choice we could do that is with −.

Thus let y∈R. Choose x∈(−1,1) where:

x={0y=01−1+4y22yy≠0

We claim that this is a good choice. Notice:

f(x)=f(1−1+4y22y)=1−1+4y22y(1−1+4y22y)2−1=1−1+4y22y⋅11−21+4y2+1+4y24y2−1=1−1+4y22y⋅11−21+4y2+1+4y2−4y24y2=1−1+4y22y⋅4y22(1−1+4y2)=y

Notice too that the non-trivial part of our cases for y≠0 never has the numerator equal 0, so then we are covered here.
☐