0% found this document useful (0 votes)
46 views12 pages

Tutorial 1

The document provides an introduction to set theory, defining sets, subsets, and various operations such as union, intersection, and complementation. It explains the notation used for sets, including set-builder notation, and introduces concepts like the universal set and the empty set. Additionally, it discusses the power set and De Morgan's Laws for sets.

Uploaded by

shreyasvashi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views12 pages

Tutorial 1

The document provides an introduction to set theory, defining sets, subsets, and various operations such as union, intersection, and complementation. It explains the notation used for sets, including set-builder notation, and introduces concepts like the universal set and the empty set. Additionally, it discusses the power set and De Morgan's Laws for sets.

Uploaded by

shreyasvashi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MTL108

Preliminaries
Rahul Singh, IIT Delhi

Set Theory

10 hi h
We begin with a definition of a set and the basic notation we use to represent sets.

Definition 1. A set X is a collection of well-defined elements from a known universe.

T L e ng
The notation a ∈ X denotes that a is a member of a set X. We use the notation a ∈
that a is not a member of a set X.
Some standard and well-known sets:
/ X to denote
M D Si
• N: natural numbers

• Z: integers
l
8
I I T ul

• Q: rational numbers

• R: real numbers
h

In general, sets are denoted inside of curly braces {}. Let’s look at some examples of defining
sets. First, if possible, we could simply list all the elements in a set. Consider:
Ra

X = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22}.

This tells us that X is the set whose elements are all the even numbers from 2 up to 22 (inclusive).
As noted, sets are unordered objects, so we could equally well have written

X = {2, 10, 18, 4, 12, 20, 6, 14, 22, 8, 16},

and the set X would be no different. In addition, each element of the universe is either in a set or
not; its inclusion is binary. Hence, listing elements more than once also does not change the set. So,
for example, we could write

X = {2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22},

and the set X still is no different.


Two definitions:

Definition 2. The universe or universal set is a set containing all elements in the context; that is,
the set contains everything. It is usually denoted by Ω.

Definition 3. The empty set is a set containing no elements. It is usually denoted by ∅.

1
Now, suppose we wished to define a set Y containing all the even numbers from 2 up to 5274.
Obviously we would not like to list all these numbers! So we need a different way to describe Y .
One obvious approach is to write Y as

Y = {2, 4, 6, 8, . . . , 5274}.

In general, this is an acceptable description of Y , sometimes called an implied list. Also in general,
I would warn you to be careful with implied lists, as context always matters.
For example, in the above implied list, you expect your reader to make the assumption that the
. . . means to consider all even numbers up to 5274. However, perhaps what you really intended to
list is “all even numbers that are either powers of 2 or divisible by 3.” Or maybe what you are listing
is really “integers between 2 and 5274 that are not odd primes.” Certainly every number that is
written in this presentation of Y qualifies under either of these definitions, so it is of critical import

10 hi h
that your specific intention is clear from context here.
To avoid this kind of potential pitfall, we have yet another notation that can be useful to describe

T L e ng
sets, called set-builder notation. For set-builder notation, we describe a set in two parts: first, the
universe from which the numbers come, and second, the rules for belonging to the set. For example,
if we wanted to clarify that Y is all the positive even numbers up to 5274, we could write
M D Si
Y = {x ∈ N | x is even and x ≤ 5274}.

Here, we see that the first part of the notation, x ∈ N, describes where our numbers come from
(that is, the positive integers). The second part of our notation describes the rules for being a
l
8
I I T ul
member of Y : any member of Y must be even and no larger than 5274. The central bar in this
notation is sometimes written instead as a :, and is usually read as “such that,” so that speaking
this presentation, I would say “Y is the set of natural numbers x such that x is even and x is at
h

most 5274.”
Using set-builder notation, notice that the description to the right of the central bar is in fact
Ra

a proposition about x, that given a member of the range N can be true or false. In general, this is
how set-builder notation works. Given a proposition p(x), where x is a variable whose range is Ω,
we write
X = {x ∈ Ω | p(x)}
to denote the set of elements in the universe Ω for which p(x) is true. Using this type of notation,
we have no ambiguity about what elements are in a set, since for each x ∈ Ω we clearly either have
p(x) true or false.
Now, it is easy to see that:

• N = {1, 2, 3, . . .}

• Z = {. . . , −3, −2, −1, 0, 1, 2, 3, . . .}


 
p
• Q = x ∈ R | x = where p, q ∈ Z and q ̸= 0
q

1 Subset and superset


Definition 4. Let A and B be sets in universe Ω. We say A is a subset of B if x ∈ A then x ∈ B.
We write A ⊆ B to denote that A is a subset of B. If A is a subset of B, we call B a superset of A,
and write B ⊇ A to denote that B is a superset of A.

2
Let’s take Y , as above, to be the set

Y = {x ∈ N | x is even and x ≤ 5274}.

Now, suppose that we wanted to isolate only those members of Y that are divisible by 3. We could
create a new set Z, explicitly to be a subset of Y , as

Z = {x ∈ Y | x is divisible by 3}.

Here, we have used the set Y as the range to consider when constructing the set Z, so only members
of Y can be elements of Z. By definition, we thus have Z ⊆ Y .
Let’s consider an example of showing one set is a subset of another, following this definition.

10 hi h
Example 1. Let X = {x ∈ Z | x is even} and let Y = {x ∈ Z | x = 4k + 2 for some k ∈ Z}.
Then Y ⊆ X.

T L e ng
Proof. Per the definition of subset, we wish to show that x ∈ Y ⇒ x ∈ X. We work by
direct proof.
Suppose x ∈ Y , so that there exists k ∈ Z such that x = 4k + 2. Then x = 2(2k + 2), and
M D Si
hence x is even. By definition, then, x ∈ X. Therefore, x ∈ Y ⇒ x ∈ X, and thus Y ⊆ X. □

We note, moreover, that by definition, ∅ ⊆ X and X ⊆ Ω for every set X.


l
We note that the symbol ⊂ is sometimes used in place of ⊆ to indicate that equality is impossible.

8
I I T ul

As with < and ≤, the difference between the two symbols is that in the latter case we allow the two
things being compared to be the same, and in the former we force that they are different.
To dig into this a little further, let’s consider what it means for two sets to be equal, and how
h

we could prove they are equal if in fact they are. We start with a perhaps trivial definition, which
we can then use to think about proof techniques for showing set equalities.
Ra

Definition 5. Let A and B be sets in universe Ω. We say that A = B if A ⊆ B and B ⊆ A.

Example 2. Let
A = {x ∈ Z | x = 4k + 3 for some k ∈ Z},
and let
B = {x ∈ Z | x = 4k − 1 for some k ∈ Z}.
Then A = B.

Proof. We show double containment, as described above.


First, to show that A ⊆ B, let x ∈ A. Then there exists k ∈ Z such that x = 4k + 3. But
then x = 4k + 3 = 4(k + 1) − 1, and hence by definition x ∈ B. Therefore, A ⊆ B.
For the other containment, let x ∈ B. Then there exists k ∈ Z such that x = 4k − 1. But
then x = 4k − 1 = 4(k − 1) + 3, and hence by definition x ∈ A. Therefore, B ⊆ A. □

Finally, we note that in some cases, thinking about what the possible subsets of a given set might
look like can be interesting. We define this as follows:

Definition 6. Let X be a set. The power set of X, denoted by P(X) or 2X is the set whose elements
are all the possible subsets of X. That is to say, P(X) = {A | A ⊆ X}.

3
For example, if
X = {1, 2, 3, 4},
then we have

P(X) = {∅, {1}, {2}, {3}, {4}, {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4}, {1, 2, 3},

{1, 2, 4}, {1, 3, 4}, {2, 3, 4}, {1, 2, 3, 4}}.


That is to say, P(X) is the set of all possible sets we can make out of the elements of X. Notice
that, as we discussed above, since ∅ ⊆ X, we must have ∅ ∈ P(X), and likewise X ∈ P(X).

2 Set operations

10 hi h
Now that we have a sense of what sets look like, and how to think about subsets, let’s dive into the
kinds of operations we can do on sets.

set

T L e ng
Definition 7. Let A, B be sets. Define the intersection of A and B, denoted by A ∩ B, to be the

A ∩ B = {x | x ∈ A and x ∈ B}.
M D Si
If we think of A and B using set builder notation, as follows:

A = {x | p(x)}, B = {x | q(x)}, (1)


l
8
I I T ul

then we have
A ∩ B = {x | p(x) and q(x)}.
h

Likewise,

Definition 8. Let A, B be sets. Define the union of A and B, denoted by A ∪ B, to be the set
Ra

A ∪ B = {x |x ∈ A or x ∈ B}.

Indeed, if A and B are as in (1), then we have

A ∪ B = {x | p(x) or q(x)}.

To ensure that A ∩ B and A ∪ B are understood, see the Venn diagram and caption in Figure 1.
We shall occasionally use Venn diagrams to convey an understanding of sets and their relationships.
We easily obtain the following theorem:

Theorem 1. Let A, B, C be sets. Then

• A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C), and

• A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C).

Next, we define set operations known as complementation.

Definition 9. Let A be a set in the universe Ω. The complement of A is denoted by Ω \ A or Ac


and defined by Ac = {x ∈ Ω | x ∈
/ A}.

Indeed, if we allow the underlying universe to vary, we end up with a different understanding of
complement, known as the relative complement.

4

A B

10 hi h
T L e ng
Figure 1: Imagine that the rectangle describes the possible universe Ω. If A is
the red set, and B is the blue set, then the purplish set where the
M D Si
two overlap is A ∩ B. The set A ∪ B is all colored portions of the
diagram.

l
Definition 10. Let A, B be sets. The relative complement of B in A, denoted by A\B is the set

8
I I T ul

defined by
A\B = {x | x ∈ A and x ∈
/ B}.
h

That is to say, the relative complement of B in A is the set of elements from A that do not
appear in B. This is sometimes read as “set minus,” that is, A\B is read as “A set-minus B.” A
Ra

warning here: there is no rule that B must be contained in A to “subtract” B from A. We just take
out whatever elements of B are there, and ignore the rest. So A\B = A\(A ∩ B), since we only
concern ourselves with those members of B that are also members of A.
Since the operations of union, intersection, and complementation for sets have obvious connec-
tions to the operations of conjunction, disjunction, and negation for propositions, we immediately
obtain a version of De Morgan’s Laws for sets.
Theorem 2 (De Morgan’s Laws for Sets). Let A, B be sets in the universe Ω. Then
• (A ∪ B)c = Ac ∩ B c , and

• (A ∩ B)c = Ac ∪ B c .

Proof. To prove (A∪B)c = Ac ∩B c , we need to show that (A∪B)c ⊆ Ac ∩B c and Ac ∩B c ⊆ (A∪B)c .

Part 1: (A ∪ B)c ⊆ Ac ∩ B c Suppose x ∈ (A ∪ B)c . This means x ∈ / A ∪ B. By the definition


of union, x ∈ / A and x ∈ c
/ B. Thus, x ∈ A (since x ∈ c
/ A) and x ∈ B (since x ∈
/ B). Therefore,
x ∈ Ac ∩ B c . Hence, (A ∪ B)c ⊆ Ac ∩ B c .

Part 2: Ac ∩ B c ⊆ (A ∪ B)c Suppose x ∈ Ac ∩ B c . This means x ∈ Ac and x ∈ B c , so x ∈/ A and


x∈/ B. Since x is not in A or B, x ∈ / A ∪ B, implying x ∈ (A ∪ B) . Thus, A ∩ B ⊆ (A ∪ B)c .
c c c

Since both inclusions hold, we conclude (A ∪ B)c = Ac ∩ B c .


Next, to prove (A ∩ B)c = Ac ∪ B c , we show that (A ∩ B)c ⊆ Ac ∪ B c and Ac ∪ B c ⊆ (A ∩ B)c .

5
Part 1: (A ∩ B)c ⊆ Ac ∪ B c Suppose x ∈ (A ∩ B)c . This means x ∈ / A ∩ B. By the definition of
intersection, x ∈
/ A ∩ B implies x ∈ / B. Thus, x ∈ Ac or x ∈ B c , so x ∈ Ac ∪ B c . Therefore,
/ A or x ∈
(A ∩ B)c ⊆ Ac ∪ B c .

Part 2: Ac ∪ B c ⊆ (A ∩ B)c Suppose x ∈ Ac ∪ B c . This means x ∈ Ac or x ∈ B c , so x ∈ / A or


x∈/ B. If x ∈/ A or x ∈ / B, then x cannot be in both A and B, so x ∈ / A ∩ B. Thus, x ∈ (A ∩ B)c .
Hence, Ac ∪ B c ⊆ (A ∩ B)c . Since both inclusions hold, we conclude (A ∩ B)c = Ac ∪ B c . □
Now, it is often the case that we wish to intersect or union more than just one set. To do so, we
recursively define the following notation:
Given sets A1 , A2 , . . . , An in a universe Ω, define
k k k−1
!
[ [ [
Ai = ∅ if k < m; Ai = Ai ∪ Ak if k ≥ m, and

10 hi h
i=m i=m i=m

k k k−1
!

T L e ng
\ \ \
Ai = Ω if k < m; Ai = Ai ∩ Ak if k ≥ m.
i=m i=m i=m

This notation is similar to the recursive notation we defined for summations and products in the
M D Si
Induction notes. We note that under this definition, we can show the following:

Proposition 1. Let A1 , A2 , . . . , An be sets in a universe Ω. Then we have


n

[
l
Ai = {x ∈ Ω | ∃i with 1 ≤ i ≤ n, x ∈ Ai }, and

8
I I T ul

i=1
n
\
h

• Ai = {x ∈ Ω | ∀i with 1 ≤ i ≤ n, x ∈ Ai }.
i=1
Ra

Here, we will prove the first statement, and leave the second as an exercise.

n
[
Proof. Let A1 , A2 , . . . , An be sets in Ω. We prove that Ai = {x ∈ Ω | ∃i with 1 ≤ i ≤ n, x ∈ Ai }
i=1
by induction on n.
n
[
For the base case, when n = 1, we have that Ai = A1 . On the other hand, {x ∈ Ω | ∃i with 1 ≤ i ≤ 1, x ∈
i=1
Ai } = A1 , since the only value i can take is 1. Hence, the result holds in the case that n = 1.
[k
Now, let us suppose that for some k ≥ 1, it is true that Ai = {x ∈ Ω | ∃i with 1 ≤ i ≤ k, x ∈
i=1
Ai }. Consider the case of k + 1. We have
k+1
[ k
[
Ai = Ai ∪ Ak+1 (by definition)
i=1 i=1
= {x ∈ Ω | ∃i with 1 ≤ i ≤ k, x ∈ Ai } ∪ Ak+1 (by the inductive hypothesis)
= {x ∈ Ω | ∃i with 1 ≤ i ≤ k, x ∈ Ai or x ∈ Ak+1 } (by definition of union)
= {x ∈ Ω | ∃i with 1 ≤ i ≤ k + 1, x ∈ Ai } (since each x is in one of A1 , . . . , Ak or in Ak+1 ).

Hence, the result also holds for k + 1.

6
n
[
By induction, then, for any choice of n, we have that Ai = {x ∈ Ω | ∃i with 1 ≤ i ≤ n, x ∈ Ai }.
i=1

We can use this more general definition of a multiway union/intersection to develop a more
sophisticated set of De Morgan’s Laws for sets. The proof of this theorem is a homework exercise,
but as with the first version of De Morgan’s Laws, it can proven in multiple ways. Induction is an
option, as is using Proposition 1 and showing double containment to demonstrate set equality.

Theorem 3 (De Morgan’s Laws for Sets, v. 2). Let A1 , A2 , . . . , An be sets in the universe Ω. Then
n
!c n
[ \
• Ai = Aci , and
i=1 i=1

10 hi h
n
!c n
\ [
• Ai = Aci .

T L e ng
i=1 i=1

Our final operation on sets to define here is the Cartesian product. This operation is a little
different, as the output of a Cartesian product does not live in the same universe as the original sets.
M D Si
Definition 11. Let A, B be sets, from possibly different universes Ω1 and Ω2 . Define the Cartesian
product of A and B, denoted by A × B, as the set

A × B = {(a, b) | a ∈ A and b ∈ B}.


l
8
I I T ul

That is to say, the Cartesian product consists of all ordered pairs of elements, in which the first
element comes from A and the second element comes from B.
h

3 Cardinality
Ra

Definition 12. The cardinality of a set is a measure of the number of elements in the set. It is
denoted by |A| for a set A.

For finite sets, the cardinality is simply the count of elements. For infinite sets, cardinality is
determined by the existence of a bijection (one-to-one correspondence) with another set, such as the
natural numbers.

Example 3. For the set A = {1, 2, 3}, the cardinality is |A| = 3.

Definition 13. A set is finite if it contains a specific, countable number of elements (including
possibly zero elements).

The cardinality of a finite set is a non-negative integer.

Example 4. The set B = {a, b, c, d} is finite with cardinality |B| = 4. The empty set ∅ is
also finite with cardinality |∅| = 0.

Definition 14. A set is infinite if it is not finite, meaning it has an unbounded number of elements,
and no finite number can represent its cardinality.

7
Example 5. The set of natural numbers N = {1, 2, 3, . . . } is infinite because it has no upper
bound on the number of elements.

Definition 15. A set is countable if its elements can be put into a one-to-one correspondence with
the natural numbers N (i.e., it is either finite or has the same cardinality as N). Countably infinite
sets have cardinality denoted by ℵ0 (aleph-null).

Example 6. The set of integers Z = {. . . , −2, −1, 0, 1, 2, . . . } is countably infinite because it


can be listed as {0, 1, −1, 2, −2, . . . }, forming a bijection with N. Thus, |Z| = ℵ0 .

Definition 16. A set is uncountable if it is infinite and its elements cannot be put into a one-to-one
correspondence with the natural numbers. Its cardinality is strictly greater than ℵ0 .

10 hi h
Example 7. The set of real numbers R is uncountable. Cantor’s diagonal argument shows
that no bijection exists between N and R, and its cardinality is denoted 2ℵ0 , also known as

T L e ng
the continuum.

Theorem 4. The set of even numbers E = {2, 4, 6, . . . } is countable.


M D Si
Proof. To show that E is countable, we define a function f : N → E by f (n) = 2n. We prove that
f is a bijection.
First, we check injectivity. Suppose f (n) = f (m). Then:
l 2n = 2m =⇒ n = m.

8
I I T ul

Thus, f is injective.
Next, we check surjectivity. For any even number k ∈ E, there exists n ∈ N such that f (n) = k.
h

Since k is even, we can write k = 2n, so:


k
n= ,
Ra

2
which is a natural number because k is even. Thus, f (n) = 2n = k, and f is surjective.
Since f is both injective and surjective, it is a bijection. Therefore, |E| = |N|, and the set of even
numbers is countable. □
Theorem 5. The set of odd numbers O = {1, 3, 5, . . . } is countable.

Proof. To show that O is countable, we define a function g : N → O by g(n) = 2n − 1. We prove


that g is a bijection.
First, we check injectivity. Suppose g(n) = g(m). Then:
2n − 1 = 2m − 1 =⇒ 2n = 2m =⇒ n = m.
Thus, g is injective.
Next, we check surjectivity. For any odd number k ∈ O, we need n ∈ N such that g(n) = k. Set:
k+1
g(n) = 2n − 1 = k =⇒ 2n = k + 1 =⇒ n = .
2
k+1
Since k is odd, k + 1 is even, so 2 is a natural number. For example, if k = 3, then:
3+1
n= = 2, and g(2) = 2 · 2 − 1 = 3.
2
Thus, g is surjective.
Since g is both injective and surjective, it is a bijection. Therefore, |O| = |N|, and the set of odd
numbers is countable. □

8
Some counting rules
Theorem 6. Consider a compound experiment consisting of two sub-experiments, Experiment A and
Experiment B. Suppose that Experiment A has a possible outcomes, and for each of those outcomes
Experiment B has b possible outcomes. Then the compound experiment has ab possible outcomes.

Example 8. A Pizza Shop offers pizzas with 4 different types of crust and a choice of 15
toppings. How many different one-topping pizzas can be made at the shop?

Theorem 7 (Sampling with replacement). Consider n objects and making k choices from them, one
at a time with replacement (i.e., choosing a certain object does not preclude it from being chosen
again). Then there are nk possible outcomes.

10 hi h
Example 9. How many license plates can you make out of three letters followed by three
numerical digits?

T L e ng
Theorem 8 (Sampling without replacement). Consider n objects and making k choices from them,
one at a time without replacement (i.e., choosing a certain object precludes it from being chosen
again). Then there are n(n − 1) . . . (n − k + 1) possible outcomes, for k ≤ n (and 0 possibilities for
M D Si
k > n).

Example 10. How many license plates can you make out of three different letters followed
l
by three different numerical digits?

8
I I T ul

Example 11. (Permutations and factorials) A permutation of 1, 2, . . . , n is an arrangement


h

of them in some order, e.g., 3, 5, 1, 2, 4 is a permutation of 1, 2, 3, 4, 5, i.e., order matters.


For example, there are n! ways in which n people can line up for ice cream. (Recall that
Ra

n! = n(n − 1)(n − 2) . . . 1 for any positive integer n, and 0! = 1.)

Example 12. Consider a group of four people.


(a) How many ways are there to choose a two-person committee?
(b) How many ways are there to break the people into two teams of two?

Definition 17 (Binomial Coefficient). For any nonnegative integers k and n, the binomial coefficient
n

k , read as “n choose k”, is the number of subsets of size k for a set of size n. Precisely,
 
n n!
= .
k k!(n − k)!

Example 13. In a club with n people, there are n(n−1)(n−2) ways to choose a president, vice
n
president, and treasurer, and there are 3 ways to choose 3 positions without predetermined
titles.

Choosing vs. Arranging in Counting


In combinatorics, a crucial distinction is between choosing (combinations) and arranging (permuta-
tions).

9
Definition 18 (Choosing). Choosing k objects from n without regard to order is called a combina-
tion. The number of ways is  
n n!
= .
k k!(n − k)!
Definition 19 (Arranging). Arranging k objects selected from n in a specific order is called a
permutation. The number of ways is
n!
P (n, k) = .
(n − k)!
The key difference is that permutations treat order as important, while combinations do not.
Choosing (Combinations) Arranging (Permutations)

10 hi h
Order ignored Order matters
n n!
k ways add order P (n, k) = (n−k)! ways

T L e ng
M D Si
Example 14. (choosing): Selecting 3 students from a class of 10 to form a committee. The
set {A, B, C} is the same as {C, B, A}.
 
l 10
= 120.

8
I I T ul

3
h

Example 15. (arranging): Selecting 3 students from 10 to be president, vice-president, and


secretary. Now {A, B, C} arranged as (A, B, C) differs from (C, B, A).
Ra

P (10, 3) = 720.

Pascal’s Triangle and the Binomial Theorem


Pascal’s Triangle. The binomial coefficients nk can be arranged in Pascal’s Triangle. Each entry


is the sum of the two directly above it:


     
n n−1 n−1
= + , 1 ≤ k ≤ n − 1.
k k−1 k

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1

Binomial Theorem. For any integer n ≥ 0,


n  
n
X n
(x + y) = xn−k y k .
k
k=0

10
Example. Expand (x + y)4 :
         
4 4 4 4 3 4 2 2 4 3 4 4
(x + y) = x + x y+ x y + xy + y .
0 1 2 3 4

(x + y)4 = 1 · x4 + 4x3 y + 6x2 y 2 + 4xy 3 + 1 · y 4 .

Set theory related results:


Theorem 9. For any two sets A and B and universal set Ω. We have

1. 0 ≤ |A| ≤ |Ω|.

10 hi h
2. |A ∪ B| = |A| + |B| − |A ∩ B|.

T L e ng
3. |A| + |Ac | = |Ω|, Ac = Ω \ A.

4. If A ⊆ B then |A| ≤ |B|.


M D Si
Proof. Throughout we use the notation |S| for the (finite) number of elements of a set S.
(1) Nonnegativity and upper bound. By definition, the cardinality |A| is the number of elements
l
of A. The smallest possible number of elements is 0 (attained by the empty set ∅), so |A| ≥ 0. Since

8
I I T ul

every element of A is also an element of Ω, A cannot have more elements than Ω, hence |A| ≤ |Ω|.
Thus 0 ≤ |A| ≤ |Ω|.
(2) Inclusion–exclusion formula. Decompose the union A ∪ B into three disjoint regions:
h

A \ B, A ∩ B, B \ A.
Ra

Venn diagram and labeled regions.

A\B B\A
A∩B

A ∪ B partitioned into three disjoint regions

These three sets are pairwise disjoint and their union equals A ∪ B. Let

a := |A \ B|, c := |A ∩ B|, b := |B \ A|.

Then
|A| = |A \ B| + |A ∩ B| = a + c,
|B| = |B \ A| + |A ∩ B| = b + c,
and
|A ∪ B| = |A \ B| + |A ∩ B| + |B \ A| = a + c + b.

11
Adding the two expressions for |A| and |B| gives

|A| + |B| = (a + c) + (b + c) = a + b + 2c.

Comparing with |A ∪ B| = a + b + c we obtain

|A ∪ B| = |A| + |B| − |A ∩ B|.

(3) Complementary partition. By definition Ac = Ω \ A is the set of all elements of Ω that are
not in A. The sets A and Ac are disjoint and their union is the whole universe:

A ∩ Ac = ∅, A ∪ Ac = Ω.

Diagram for complement.

10 hi h

T L e ng A
M D Si
Ac
Disjoint union: Ω = A ∪ Ac
l
8
I I T ul

Hence
|Ω| = |A ∪ Ac | = |A| + |Ac |
because the union is a disjoint union. This proves |A| + |Ac | = |Ω|.
h

(4) Monotonicity: A ⊆ B =⇒ |A| ≤ |B|. Assume A ⊆ B. Then we can write B as the disjoint
Ra

union
B = A ∪ (B \ A),
where A and B \ A are disjoint. Taking cardinalities and using additivity over disjoint unions,

|B| = |A| + |B \ A|.

Since |B \ A| ≥ 0, it follows that |B| ≥ |A|, as required. □

12

You might also like