Skip to content

7.4 Arithmetic of Cardinals

Cardinal addition, multiplication, exponentiation, finite and infinite cardinal arithmetic, and basic comparison laws.

Cardinal arithmetic studies how the sizes of sets behave under natural set theoretic operations. Addition corresponds to disjoint union, multiplication corresponds to Cartesian product, and exponentiation corresponds to sets of functions. For finite sets these operations agree with ordinary arithmetic, but for infinite sets they have behavior that is at first surprising and later becomes one of the central tools of set theory.

Cardinal Numbers

A cardinal number is a measure of the size of a set. Two sets have the same cardinality when there exists a bijection between them. In informal notation, the cardinality of a set AA is written:

A |A|

Thus:

A=B |A|=|B|

means that there exists a bijection:

f:AB f:A\to B

The notation does not require that AA and BB have the same elements. It only requires that their elements can be paired exactly, with no element omitted and no element repeated.

For example:

N={0,2,4,6,} |\mathbb{N}|=|\{0,2,4,6,\dots\}|

because the map:

n2n n\mapsto 2n

is a bijection from N\mathbb{N} to the set of even natural numbers.

Definition 7.72 (Cardinal Addition)

Let AA and BB be sets. To define the sum of their cardinalities, first replace them by disjoint copies:

A×{0} A\times\{0\}

and:

B×{1} B\times\{1\}

The cardinal sum is defined by:

A+B=(A×{0})(B×{1}) |A|+|B|=|(A\times\{0\})\cup(B\times\{1\})|

The use of disjoint copies is important because AA and BB may overlap. Cardinal addition counts the elements of AA and the elements of BB as separate contributions, even if the original sets have common elements.

When AA and BB are already disjoint, this agrees with:

A+B=AB |A|+|B|=|A\cup B|

Example 7.73

Let:

A={a,b} A=\{a,b\}

and:

B={b,c,d} B=\{b,c,d\}

The ordinary union is:

AB={a,b,c,d} A\cup B=\{a,b,c,d\}

which has 44 elements. But cardinal addition should count AA and BB separately, so:

A+B=2+3=5 |A|+|B|=2+3=5

Using disjoint copies gives:

(A×{0})(B×{1})={(a,0),(b,0),(b,1),(c,1),(d,1)} (A\times\{0\})\cup(B\times\{1\}) = \{(a,0),(b,0),(b,1),(c,1),(d,1)\}

This set has 55 elements, as desired.

Definition 7.74 (Cardinal Multiplication)

Let AA and BB be sets. The product of their cardinalities is defined by:

AB=A×B |A|\cdot |B|=|A\times B|

Thus cardinal multiplication measures the size of the Cartesian product.

An element of A×BA\times B is an ordered pair:

(a,b) (a,b)

where:

aA a\in A

and:

bB b\in B

Example 7.75

Let:

A={1,2} A=\{1,2\}

and:

B={x,y,z} B=\{x,y,z\}

Then:

A×B={(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)} A\times B = \{(1,x),(1,y),(1,z),(2,x),(2,y),(2,z)\}

Thus:

A×B=6 |A\times B|=6

and:

AB=23=6 |A|\cdot |B|=2\cdot 3=6

Definition 7.76 (Cardinal Exponentiation)

Let AA and BB be sets. The cardinal exponent:

BA |B|^{|A|}

is defined as the cardinality of the set of all functions from AA to BB:

BA=BA |B|^{|A|}=|B^A|

where:

BA={f:f:AB} B^A=\{f:f:A\to B\}

The notation is chosen because, when AA and BB are finite, the number of functions from AA to BB is:

BA |B|^{|A|}

For each element of AA, one must choose one output in BB, and these choices are independent.

Example 7.77

Let:

A={1,2,3} A=\{1,2,3\}

and:

B={0,1} B=\{0,1\}

A function:

f:AB f:A\to B

chooses either 00 or 11 for each of the three elements of AA. Therefore there are:

23=8 2^3=8

such functions.

Thus:

BA=8 |B^A|=8

Lemma 7.78 (Well Definedness of Cardinal Addition)

If:

A=A |A|=|A'|

and:

B=B |B|=|B'|

then:

A+B=A+B |A|+|B|=|A'|+|B'|

Proof

Assume:

A=A |A|=|A'|

and:

B=B |B|=|B'|

Then there exist bijections:

f:AA f:A\to A'

and:

g:BB g:B\to B'

Define:

h:(A×{0})(B×{1})(A×{0})(B×{1}) h:(A\times\{0\})\cup(B\times\{1\})\to(A'\times\{0\})\cup(B'\times\{1\})

by:

h(a,0)=(f(a),0) h(a,0)=(f(a),0)

and:

h(b,1)=(g(b),1) h(b,1)=(g(b),1)

This function is well defined because the two parts of the domain are disjoint. It is injective because ff and gg are injective, and because elements tagged with 00 cannot map to elements tagged with 11. It is surjective because ff and gg are surjective. Hence hh is a bijection, and therefore:

A+B=A+B |A|+|B|=|A'|+|B'|

Lemma 7.79 (Well Definedness of Cardinal Multiplication)

If:

A=A |A|=|A'|

and:

B=B |B|=|B'|

then:

AB=AB |A|\cdot |B|=|A'|\cdot |B'|

Proof

Let:

f:AA f:A\to A'

and:

g:BB g:B\to B'

be bijections. Define:

h:A×BA×B h:A\times B\to A'\times B'

by:

h(a,b)=(f(a),g(b)) h(a,b)=(f(a),g(b))

If:

h(a,b)=h(a1,b1) h(a,b)=h(a_1,b_1)

then:

(f(a),g(b))=(f(a1),g(b1)) (f(a),g(b))=(f(a_1),g(b_1))

so:

f(a)=f(a1) f(a)=f(a_1)

and:

g(b)=g(b1) g(b)=g(b_1)

Since ff and gg are injective:

a=a1 a=a_1

and:

b=b1 b=b_1

Thus hh is injective.

To prove surjectivity, let:

(a,b)A×B (a',b')\in A'\times B'

Since ff and gg are surjective, there exist:

aA a\in A

and:

bB b\in B

such that:

f(a)=a f(a)=a'

and:

g(b)=b g(b)=b'

Then:

h(a,b)=(a,b) h(a,b)=(a',b')

Therefore hh is bijective, and:

A×B=A×B |A\times B|=|A'\times B'|

Lemma 7.80 (Well Definedness of Cardinal Exponentiation)

If:

A=A |A|=|A'|

and:

B=B |B|=|B'|

then:

BA=BA |B|^{|A|}=|B'|^{|A'|}

Proof

Let:

u:AA u:A'\to A

and:

v:BB v:B\to B'

be bijections. We construct a bijection:

Φ:BA(B)A \Phi:B^A\to (B')^{A'}

For a function:

f:AB f:A\to B

define:

Φ(f):AB \Phi(f):A'\to B'

by:

Φ(f)(a)=v(f(u(a))) \Phi(f)(a')=v(f(u(a')))

This means that an input aAa'\in A' is first moved to AA by uu, then evaluated by ff, and then moved to BB' by vv.

Since uu and vv are bijections, this construction is reversible. The inverse sends a function:

F:AB F:A'\to B'

to the function:

AB A\to B

defined by:

av1(F(u1(a))) a\mapsto v^{-1}(F(u^{-1}(a)))

Thus Φ\Phi is a bijection, so the cardinality of the function set depends only on the cardinalities of the domain and codomain.

Basic Laws of Cardinal Addition

Cardinal addition satisfies the familiar commutative and associative laws.

Lemma 7.81 (Commutativity of Cardinal Addition)

For all sets AA and BB:

A+B=B+A |A|+|B|=|B|+|A|

Proof

By definition:

A+B=(A×{0})(B×{1}) |A|+|B|=|(A\times\{0\})\cup(B\times\{1\})|

and:

B+A=(B×{0})(A×{1}) |B|+|A|=|(B\times\{0\})\cup(A\times\{1\})|

Define a function from the first disjoint union to the second by:

(a,0)(a,1) (a,0)\mapsto(a,1)

for aAa\in A, and:

(b,1)(b,0) (b,1)\mapsto(b,0)

for bBb\in B.

This map simply switches the tags. It is clearly injective and surjective, so it is a bijection. Therefore:

A+B=B+A |A|+|B|=|B|+|A|

Lemma 7.82 (Associativity of Cardinal Addition)

For all sets AA, BB, and CC:

(A+B)+C=A+(B+C) (|A|+|B|)+|C|=|A|+(|B|+|C|)

Proof

Both sides count the size of a disjoint union of three copies:

A,B,C A,\quad B,\quad C

More explicitly, both sides are represented by a set in bijection with:

(A×{0})(B×{1})(C×{2}) (A\times\{0\})\cup(B\times\{1\})\cup(C\times\{2\})

The difference between the two expressions is only the placement of parentheses in the construction, not the final tagged collection of elements. The evident reassociation map is a bijection, so the cardinalities are equal.

Basic Laws of Cardinal Multiplication

Cardinal multiplication also satisfies familiar commutative and associative laws.

Lemma 7.83 (Commutativity of Cardinal Multiplication)

For all sets AA and BB:

AB=BA |A|\cdot |B|=|B|\cdot |A|

Proof

By definition:

AB=A×B |A|\cdot |B|=|A\times B|

and:

BA=B×A |B|\cdot |A|=|B\times A|

The map:

A×BB×A A\times B\to B\times A

defined by:

(a,b)(b,a) (a,b)\mapsto(b,a)

is a bijection. Its inverse is itself. Therefore:

A×B=B×A |A\times B|=|B\times A|

and hence:

AB=BA |A|\cdot |B|=|B|\cdot |A|

Lemma 7.84 (Associativity of Cardinal Multiplication)

For all sets AA, BB, and CC:

(AB)C=A(BC) (|A|\cdot |B|)\cdot |C|=|A|\cdot(|B|\cdot |C|)

Proof

The left side is represented by:

(A×B)×C (A\times B)\times C

and the right side is represented by:

A×(B×C) A\times(B\times C)

Define:

((a,b),c)(a,(b,c)) ((a,b),c)\mapsto(a,(b,c))

This map is a bijection, with inverse:

(a,(b,c))((a,b),c) (a,(b,c))\mapsto((a,b),c)

Therefore the two Cartesian products have the same cardinality.

Lemma 7.85 (Distributive Law)

For all sets AA, BB, and CC:

A(B+C)=AB+AC |A|\cdot(|B|+|C|)=|A|\cdot|B|+|A|\cdot|C|

Proof

The left side is represented by:

A×((B×{0})(C×{1})) A\times((B\times\{0\})\cup(C\times\{1\}))

An element of this set is either of the form:

(a,(b,0)) (a,(b,0))

with aAa\in A and bBb\in B, or of the form:

(a,(c,1)) (a,(c,1))

with aAa\in A and cCc\in C.

The right side is represented by the disjoint union:

(A×B)×{0}(A×C)×{1} (A\times B)\times\{0\} \cup (A\times C)\times\{1\}

Define a map by:

(a,(b,0))((a,b),0) (a,(b,0))\mapsto((a,b),0)

and:

(a,(c,1))((a,c),1) (a,(c,1))\mapsto((a,c),1)

This map is a bijection, and therefore the cardinalities are equal.

Zero and One

The cardinal 00 is the cardinality of the empty set:

0= 0=|\varnothing|

The cardinal 11 is the cardinality of any singleton:

1={} 1=|\{*\}|

These cardinals behave as expected.

Lemma 7.86 (Zero and One Laws)

For every set AA:

A+0=A |A|+0=|A| A0=0 |A|\cdot 0=0 A1=A |A|\cdot 1=|A|

Proof

For addition, the disjoint union of AA with an empty set is naturally in bijection with AA, so:

A+0=A |A|+0=|A|

For multiplication by 00, we have:

A×= A\times\varnothing=\varnothing

because there is no ordered pair whose second coordinate lies in the empty set. Hence:

A0=0 |A|\cdot 0=0

For multiplication by 11, let {}\{*\} be a singleton. The map:

A×{}A A\times\{*\}\to A

defined by:

(a,)a (a,*)\mapsto a

is a bijection. Hence:

A1=A |A|\cdot 1=|A|

Cardinal Exponent Laws

Cardinal exponentiation satisfies laws corresponding to the usual laws of exponents, because functions into products and functions out of disjoint unions can be described componentwise.

Lemma 7.87 (Product in the Base)

For all sets AA, BB, and CC:

(BC)A=BACA (|B|\cdot |C|)^{|A|}=|B|^{|A|}\cdot |C|^{|A|}

Proof

The left side is the cardinality of:

(B×C)A (B\times C)^A

whose elements are functions:

f:AB×C f:A\to B\times C

Each such function is equivalent to a pair of functions:

fB:AB f_B:A\to B

and:

fC:AC f_C:A\to C

defined by:

fB(a)=π1(f(a)) f_B(a)=\pi_1(f(a))

and:

fC(a)=π2(f(a)) f_C(a)=\pi_2(f(a))

Conversely, any pair of functions:

g:AB g:A\to B

and:

h:AC h:A\to C

defines a function:

a(g(a),h(a)) a\mapsto(g(a),h(a))

from AA to B×CB\times C.

These constructions are inverse to each other, so:

(B×C)A (B\times C)^A

is in bijection with:

BA×CA B^A\times C^A

Therefore:

(BC)A=BACA (|B|\cdot |C|)^{|A|}=|B|^{|A|}\cdot |C|^{|A|}

Lemma 7.88 (Sum in the Exponent)

For all sets AA, BB, and CC:

CA+B=CACB |C|^{|A|+|B|}=|C|^{|A|}\cdot |C|^{|B|}

Proof

The left side is represented by functions:

(A×{0})(B×{1})C (A\times\{0\})\cup(B\times\{1\})\to C

A function on this disjoint union is the same thing as a pair of functions:

AC A\to C

and:

BC B\to C

The first function is obtained by restricting to A×{0}A\times\{0\}, and the second is obtained by restricting to B×{1}B\times\{1\}. Conversely, any two such functions combine uniquely into one function on the disjoint union.

Thus:

C(A×{0})(B×{1}) C^{(A\times\{0\})\cup(B\times\{1\})}

is in bijection with:

CA×CB C^A\times C^B

and therefore:

CA+B=CACB |C|^{|A|+|B|}=|C|^{|A|}\cdot |C|^{|B|}

Lemma 7.89 (Product in the Exponent)

For all sets AA, BB, and CC:

(CB)A=CAB (|C|^{|B|})^{|A|}=|C|^{|A|\cdot |B|}

Proof

The left side is represented by functions:

ACB A\to C^B

Such a function assigns to each aAa\in A a function:

BC B\to C

Equivalently, it assigns to each pair (a,b)A×B(a,b)\in A\times B an element of CC. Thus it is the same thing as a function:

A×BC A\times B\to C

The bijection is given by:

FF^ F\mapsto \widehat{F}

where:

F^(a,b)=F(a)(b) \widehat{F}(a,b)=F(a)(b)

Conversely, a function:

h:A×BC h:A\times B\to C

defines:

Fh:ACB F_h:A\to C^B

by:

Fh(a)(b)=h(a,b) F_h(a)(b)=h(a,b)

These constructions are inverse to each other. Hence:

(CB)A (C^B)^A

is in bijection with:

CA×B C^{A\times B}

and the cardinal identity follows.

Finite Cardinal Arithmetic

For finite sets, cardinal arithmetic agrees with ordinary arithmetic on natural numbers.

Lemma 7.90 (Finite Addition and Multiplication)

If:

A=m |A|=m

and:

B=n |B|=n

where m,nNm,n\in\mathbb{N}, then:

A+B=m+n |A|+|B|=m+n

and:

AB=mn |A|\cdot|B|=mn

Proof

Since:

A=m |A|=m

there is a bijection:

[m]A [m]\to A

and since:

B=n |B|=n

there is a bijection:

[n]B [n]\to B

By well definedness of cardinal addition and multiplication, it is enough to compute the cardinalities using [m][m] and [n][n].

The disjoint union of [m][m] and [n][n] has m+nm+n elements, and the product:

[m]×[n] [m]\times[n]

has mnmn elements. Therefore the corresponding cardinal sum and product agree with ordinary finite arithmetic.

Infinite Cardinal Arithmetic

Infinite cardinals behave differently from finite cardinals. The first important fact is that adding or multiplying a countably infinite set by itself does not increase its cardinality.

Lemma 7.91

The following cardinal equalities hold:

N+N=N |\mathbb{N}|+|\mathbb{N}|=|\mathbb{N}|

and:

NN=N |\mathbb{N}|\cdot|\mathbb{N}|=|\mathbb{N}|

Proof

For addition, the disjoint union:

(N×{0})(N×{1}) (\mathbb{N}\times\{0\})\cup(\mathbb{N}\times\{1\})

is in bijection with N\mathbb{N} by the map:

(n,0)2n (n,0)\mapsto 2n

and:

(n,1)2n+1 (n,1)\mapsto 2n+1

This lists the first copy of N\mathbb{N} using even numbers and the second copy using odd numbers.

For multiplication, the set:

N×N \mathbb{N}\times\mathbb{N}

is countable, as proved by listing pairs by increasing value of the sum of their coordinates:

m+n m+n

Since there is also an injection:

NN×N \mathbb{N}\to\mathbb{N}\times\mathbb{N}

given by:

n(n,0) n\mapsto(n,0)

we obtain:

N×N=N |\mathbb{N}\times\mathbb{N}|=|\mathbb{N}|

Thus:

NN=N |\mathbb{N}|\cdot|\mathbb{N}|=|\mathbb{N}|

Countable Sums

A countable sum of countable sets is countable. This is the cardinal arithmetic form of the countable union theorem.

Lemma 7.92

Let:

A0,A1,A2, A_0,A_1,A_2,\dots

be countable sets. Then:

nN(An×{n})N \left|\bigcup_{n\in\mathbb{N}}(A_n\times\{n\})\right| \leq |\mathbb{N}|

provided each AnA_n is countable.

Proof

Since each AnA_n is countable, for each nn there exists a surjection:

fn:NAn f_n:\mathbb{N}\to A_n

Define:

F:N×NnN(An×{n}) F:\mathbb{N}\times\mathbb{N}\to \bigcup_{n\in\mathbb{N}}(A_n\times\{n\})

by:

F(n,m)=(fn(m),n) F(n,m)=(f_n(m),n)

This map is surjective because every element of the tagged union has the form:

(a,n) (a,n)

with:

aAn a\in A_n

and since fnf_n is surjective, there exists mm such that:

fn(m)=a f_n(m)=a

Therefore:

F(n,m)=(a,n) F(n,m)=(a,n)

Since N×N\mathbb{N}\times\mathbb{N} is countable, the tagged union is countable.

Cardinal Exponentiation and Power Sets

The most important exponentiation identity connects power sets with functions into a two element set.

Lemma 7.93 (Power Set as a Function Set)

For every set AA:

P(A)=2A |\mathcal{P}(A)|=2^{|A|}

where:

2={0,1} 2=|\{0,1\}|

Proof

We construct a bijection between:

P(A) \mathcal{P}(A)

and:

{0,1}A \{0,1\}^A

Given a subset:

XA X\subseteq A

define its characteristic function:

χX:A{0,1} \chi_X:A\to\{0,1\}

by:

χX(a)={1if aX0if aX \chi_X(a)= \begin{cases} 1 & \text{if } a\in X \\ 0 & \text{if } a\notin X \end{cases}

This assigns to each subset a function.

Conversely, given a function:

f:A{0,1} f:A\to\{0,1\}

define a subset:

Xf={aA:f(a)=1} X_f=\{a\in A:f(a)=1\}

These two constructions are inverse to each other. Starting from a subset XX, forming χX\chi_X, and then taking the elements mapped to 11 returns XX. Starting from a function ff, forming XfX_f, and then taking its characteristic function returns ff.

Therefore:

P(A) \mathcal{P}(A)

is in bijection with:

{0,1}A \{0,1\}^A

and so:

P(A)=2A |\mathcal{P}(A)|=2^{|A|}

Theorem 7.94 (Cantor Theorem in Cardinal Form)

For every set AA:

A<P(A) |A|<|\mathcal{P}(A)|

Equivalently:

A<2A |A|<2^{|A|}

Proof

There is an injection:

AP(A) A\to\mathcal{P}(A)

given by:

a{a} a\mapsto\{a\}

so:

AP(A) |A|\leq|\mathcal{P}(A)|

It remains to show that there is no bijection from AA to P(A)\mathcal{P}(A). In fact, there is no surjection:

f:AP(A) f:A\to\mathcal{P}(A)

Suppose, for contradiction, that such a surjection exists. Define:

D={aA:af(a)} D=\{a\in A:a\notin f(a)\}

Then:

DA D\subseteq A

so:

DP(A) D\in\mathcal{P}(A)

Since ff is surjective, there exists dAd\in A such that:

f(d)=D f(d)=D

Now:

dD d\in D

if and only if:

df(d) d\notin f(d)

Since:

f(d)=D f(d)=D

this becomes:

dDif and only ifdD d\in D \quad \text{if and only if} \quad d\notin D

This is impossible. Hence no surjection AP(A)A\to\mathcal{P}(A) exists, and therefore:

A<P(A) |A|<|\mathcal{P}(A)|

The Continuum

The cardinality of the real numbers is called the cardinality of the continuum. It is commonly denoted:

c \mathfrak{c}

One has:

c=R \mathfrak{c}=|\mathbb{R}|

A fundamental fact is:

R=P(N) |\mathbb{R}|=|\mathcal{P}(\mathbb{N})|

and hence:

c=2N \mathfrak{c}=2^{|\mathbb{N}|}

Lemma 7.95

The set of all infinite binary sequences has cardinality:

2N 2^{|\mathbb{N}|}

Proof

An infinite binary sequence is a function:

s:N{0,1} s:\mathbb{N}\to\{0,1\}

Therefore the set of all infinite binary sequences is:

{0,1}N \{0,1\}^{\mathbb{N}}

By definition of cardinal exponentiation, its cardinality is:

2N 2^{|\mathbb{N}|}

By Lemma 7.93, this is also:

P(N) |\mathcal{P}(\mathbb{N})|

because each binary sequence is the characteristic function of a subset of N\mathbb{N}.

Cardinal Arithmetic for Infinite Cardinals

For infinite cardinals, addition and multiplication often collapse. The exact theorem requires the axiom of choice in full generality, but the countable examples already show the main pattern.

Theorem 7.96 (Basic Infinite Cardinal Arithmetic, With Choice)

Let κ\kappa be an infinite cardinal. Then:

κ+κ=κ \kappa+\kappa=\kappa

and:

κκ=κ \kappa\cdot\kappa=\kappa

More generally, if κ\kappa and λ\lambda are cardinals with at least one infinite and both nonzero, then:

κ+λ=κλ=max(κ,λ) \kappa+\lambda=\kappa\cdot\lambda=\max(\kappa,\lambda)

assuming the cardinals are comparable.

Proof

We give the idea. The theorem rests on the fact that an infinite set can be put in bijection with two disjoint copies of itself and also with its square, provided the usual comparison principles for cardinals are available.

For N\mathbb{N}, this was proved explicitly by even and odd coding for addition and by listing pairs for multiplication.

For a general infinite cardinal κ\kappa, one uses a well ordering of a set of size κ\kappa and constructs injections both ways between the relevant disjoint unions or products and the original set. The Cantor Schroeder Bernstein theorem then gives the required bijections.

The full proof depends on the general theory of well orderings and cardinal comparison, which uses the axiom of choice in its standard form.

Strict Growth by Exponentiation

Although addition and multiplication may collapse for infinite cardinals, exponentiation does not collapse in the same way. Cantor theorem shows that the power set operation always produces a strictly larger cardinal.

For every cardinal κ\kappa:

κ<2κ \kappa<2^\kappa

This gives an infinite hierarchy:

N<2N<22N<222N< |\mathbb{N}|<2^{|\mathbb{N}|}<2^{2^{|\mathbb{N}|}}<2^{2^{2^{|\mathbb{N}|}}}<\cdots

Each step is strictly larger than the previous one.

Example 7.97

Let:

0=N \aleph_0=|\mathbb{N}|

Then:

0+0=0 \aleph_0+\aleph_0=\aleph_0

and:

00=0 \aleph_0\cdot\aleph_0=\aleph_0

but:

20>0 2^{\aleph_0}>\aleph_0

The cardinal:

20 2^{\aleph_0}

is the cardinality of:

P(N) \mathcal{P}(\mathbb{N})

and also the cardinality of:

R \mathbb{R}

Thus countable infinity is stable under addition and multiplication by itself, but the set of all subsets of a countable set is uncountable.