Math Lecture Notes Set Theory
Math Lecture Notes Set Theory
Evelina Erlacher
3 Sets
5 Techniques of proof
8 Shifting graphs
14 Monotonic sequences
15 Bounded sequences
16 Convergent sequences
17 Accumulation points
21 Compact sets
3 Sets
3 Sets
Definition
an explanation of the mathematical meaning of a word.
True statements
Theorem: a very important true statement.
Proposition: a less important but nonetheless interesting true statement.
Lemma: a true statement used in proving other true statements.
Corollary: a true statement of interest that is a simple deduction from a
theorem or proposition.
Proof
the explanation of why a statement is true.
Axiom
a basic assumption about a mathematical situation. Axioms can be
considered facts that do not need to be proved. Also, defining properties
in definitions are sometimes called axioms.
Theorem 1.7
Let n and m be integers. Then
n and m are odd ⇔ nm is odd.
Theorem 1.8
√
The number 2 is irrational.
Theorem 1.9
There are infinitely many prime numbers.
3 Sets
1 + 2 + 3 + 4 + 5 + . . . + 99 + 100.
denotes the sum that results when we substitute successive integers for i,
starting with i = p and ending with i = q.
Read: ‘the sum from i = p to i = q of ai ’.
The symbol i is called the index of summation.
The integer p is called the lower limit, the integer q is called the
upper limit of summation.
Example 2.2
P100
i=1 i = 1 + 2 + 3 + 4 + 5 + . . . + 99 + 100.
1
P2 k −1 + a + a x + a x 2 .
k=−1 ak x = a−1 x
2
0 1 2
Pn−1
i=5 iMi = 5M5 + 6M6 + 7M7 + . . . + (n − 1)Mn−1 .
3
5 If the upper amd lower limitsPof summation are the same, then the
5
‘sum’ reduces to one term: j=5 aj = a5 .
6 If the upper limit is less than the lower limit, then there are no terms
at
P1all, so the usual convention is that the ‘sum’ reduces to zero:
n=5 an = 0.
Evelina Erlacher Think Maths! 16 / 288
Sums and products
Analogously, we define
Definition 2.3 (Product symbol)
Let p and q be integers with q ≥ p. Then
q
Y
ai = ap · ap+1 · . . . · aq
i=p
denotes the product that results when we substitute successive integers for
i, starting with i = p and ending with i = q.
Read: ‘the product from i = p to i = q of ai ’.
Example 2.4
Q3
i=1 (x − xi ) = (x − x1 )(x − x2 )(x − x3 ).
1
Theorem 2.5
The summation notation has the following properties:
n
X n
X n
X n
X n
X
(ai + bi ) = ai + bi , cai = c ai .
i=1 i=1 i=1 i=1 i=1
Proof.
The proof is left as an exercise.
Example 2.6
n
X n
X n
X
(ai − 2bi + c) = ai − 2 bi + nc.
i=1 i=1 i=1
Evelina Erlacher Think Maths! 18 / 288
Sums and products
Adding the numbers in each row first, then adding these sums, we obtain
Xn Xn n
X Xm X n
a1j + a2j + . . . + amj = aij .
j=1 j=1 j=1 i=1 j=1
Adding the numbers in each column first, then adding these sums, we
obtain !
Xm Xm m
X Xn Xm
ai1 + ai2 + . . . + ain = aij .
i=1 i=1 i=1 j=1 i=1
In both cases, we have calculated the sum of all the numbers in the array.
For this reason, we have
X n
m X n X
X m
aij = aij .
i=1 j=1 j=1 i=1
Note: The summation limits for i and j are independent of each other.
Example 2.7
X 4
3 X 3
X
(i + 2j) = (i + 2) + (i + 4) + (i + 6) + (i + 8)
i=1 j=1 i=1
3
X
= (4i + 20) = 24 + 28 + 32 = 84.
i=1
Adding the numbers in each column first, then adding these sums, we
obtain
m
X m
X Xm m
X Xm Xm
ai1 + ai2 + ai3 + . . . + aim = aij .
i=1 i=2 i=3 i=m j=1 i=j
In both cases, we have calculated the sum of all the numbers in the array.
For this reason, we have
m X
X i m X
X m
aij = aij
i=1 j=1 j=1 i=j
Note: The summation limits for i and j are dependent on each other.
Example 2.8
3 X
X i 1
X 2
X 3
X
ij = 1j + 2j + 3j
i=1 j=1 j=1 j=1 j=1
= (1 · 1) + (2 · 1 + 2 · 2) + (3 · 1 + 3 · 2 + 3 · 3)
= 25.
3 Sets
Important sets:
Natural numbers N = {1, 2, 3, 4, 5, 6, 7, . . .}.
Integers Z = {. . . , −3, −2, −1, 0, 1, 2, 3, . . .}.
Rational numbers Q = { qp | p ∈ Z, q ∈ N}.
Real numbers R: all decimal numbers (including those with infinite
many decimal places 6= 0).
The set of real numbers that are not rational are called irrational
numbers.
The set with no elements is called the empty set and it is denoted
by {} or ∅.
Example 3.2
1 [a, b] := {x ∈ R | a ≤ x ≤ b} . . . closed interval from a to b
2 (a, b) := {x ∈ R | a < x < b} . . . open interval from a to b
3 (a, ∞) := {x ∈ R | a < x} and [a, ∞) := {x ∈ R | a ≤ x}
4 (−∞, b) := {x ∈ R | x < b} and (−∞, b] := {x ∈ R | x ≤ b}
5 R+ := {x ∈ R | x > 0} . . . positive real numbers
6 R−
0 := {x ∈ R | x ≤ 0} . . . non-positive real numbers
7 Zodd := {x ∈ Z | x odd} . . . odd integers
8 Neven := {x ∈ N | x even} . . . even natural numbers
9 Sets can contain other sets as elements:
If A = {1, {2, 3}}, then 1 ∈ A and {2, 3} ∈ A, but 2 ∈
/ A, 3 ∈
/ A,
{2} ∈/ A and {3} ∈ / A.
10 The set {∅} contains one element, namely the empty set.
Evelina Erlacher Think Maths! 26 / 288
Sets
Example 3.4
1 The set {1, 2, 3} has cardinality 3.
2 The set {1, {2, 3}} has cardinality 2.
3 |∅| = 0.
4 |{∅}| = 1.
Example 3.6
1 Let A = {1, 2, ♣, {2, 3}, ♠, ♥} and B = {1, {2, 3}, ♠}.
Then B is a proper subset of A, i.e. B ( A.
2 The set N is a subset of N but not a proper subset.
3 For any set A, we have ∅ ⊆ A.
4 The order of elements does not matter:
{1, {♥, ♠}, 2, 3} = {{♠, ♥}, 2, 3, 1}.
5 The sets {1, {2}} and {1, 2} are not equal: {1, {2}} =
6 {1, 2}.
6 The set {7} is not a subset of A = {3, 4, {7}}, but an element of A.
Hence: {7} 6⊆ A and {7} ∈ A.
Do not confuse ‘∈’ and ‘⊆’ !
7 N ( Z ( Q ( R.
Example 3.8
If A = {1, 2, 3}, then
P(A) = {∅, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}
Example 3.12
1 The intersection of {1, 2, 3, 4} and {3, 4, 5, 6} is {3, 4}.
2 The intersection of {x ∈ R | x ≤ 5} and {x ∈ Z | x ≤ 7} is
{x ∈ Z | x ≤ 5}.
3 The intersection of {−2, −3, −4} and N is ∅.
Notation: Intersection of sets Ai with i ∈ I :
\
Ai := {x | x ∈ Ai for all i ∈ I }.
i∈I
Union A ∪ B of A and B: A B
Intersection A ∩ B of A and B: A B
Example 3.16
1 Let A = {♥, 1} and B = {1, 2, 3}. Then A × B has six elements:
A × B = {(♥, 1), (♥, 2), (♥, 3), (1, 1), (1, 2), (1, 3)}.
2 The set R × R is denoted by R2 , the set R × R × R is denoted by R3
etc. For n ∈ N the set Rn consists of all n-tuples (x1 , x2 , . . . , xn−1 , xn )
where x1 , x2 , . . . , xn−1 and xn are real numbers.
3 The set A = {(x, y ) ∈ R2 | x 2 + 4y 2 ≤ 4} contains all points of the
plane that lie on or inside the ellipse with length of the major axis 2
and length of the minor axis 1.
y
1 A
x
-2 2
-1
Evelina Erlacher Think Maths! 36 / 288