MAT137 Week 2
MAT137 Week 2
MAT137 Week 2
1 Set Notation
Elements and Sets
Typically, we use lowercase letters such as x, y to denote elements (things).
We use uppercase letters such as A, B to denote sets (a bag of things).
Set Compliment
Ac stands for the set complement of A.
It contains ’everything’ except for the things in A.
Set Containment
We use the symbol ⊂ or ⊆ to denote contained in.
For example, A ⊂ B means set A is contained in set B.
This means every element x in A, x is also in B.
Then we arrive at the property of transitivity for set containment:
If A ⊂ B and B ⊂ C, Then A ⊂ C
If we interpret set A, B, C as bags, then the statement basically says:
If bag A is inside bag B, but bag B is inside bag C,
then bag A must be inside bag C.
Set Equality
Two sets are equal only when A ⊂ B and B ⊂ A.
2 Proof Techniques
Instantiation
Want to prove a statement P is true for many things (everything in set S).
Example statement:
∀x ∈ S, P is true. (where S is a set, ∀ means for every)
2. Use the properties to prove P is true for this specific x you picked.
Contradiction
Want to prove a statement P is true.
Instead of proving P directly:
1. Suppose P is false.
3. Conclude P is true.
Implication
Want to prove the statement: If A is true, then B is true. ( A ⇒ B )
1. Suppose A is true.
3. Conclude A ⇒ B is true.
Equivalent
Want to prove: A if and only if B. ( A ⇐⇒ B)
1. Prove ( A ⇒ B ) is true.
2. Prove ( B ⇒ A ) is true.
3. Conclude A ⇐⇒ B is true.
Existence
Want to prove something exist, which makes the statement P to be true.
Example statement:
∃x ∈ S, P is true. (where S is a set, ∃ means there exists at least 1)
Set Containment
Want to prove a set S1 is contained inside S2 : S1 ⊂ S2 .
Method 1: Instantiation.
3. Conclude S1 ⊂ S2 .
1. Suppose S1 6⊂ S2 .
2. Immediately conclude ∃x ∈ S1 , x 6∈ S2 .
4. Conclude S1 ⊂ S2 .
Set Equality
Want to prove 2 sets are equal: S1 = S2 .
1. Prove S1 ⊂ S2 .
2. Prove S2 ⊂ S1 .
3. Conclude S1 = S2 .
Negation
Want to prove a statement Q is not true.
Proof By Cases
Split into cases, and prove the statement in both (all) cases.
Type 1: Want to prove the statement: (P or Q) is true.
1. Consider the following two cases.
Case 1: P is true. Case 2: P is false.
(We need prove (P or Q) is true in both cases.)
2. In case 1: In case 2:
Conclude (P or Q) is true. Use the new assumption P is false,
prove Q is true.
Conclude (P or Q) is true.
3. Conclude (P or Q) is true in both cases.
Important Note:
Alternatively, we can do the reverse, and split into the following 2 cases:
Case 1: Q is true. Case 2: Q is false.
Sometimes P and Q are very different statements, and only one of the
above 2 case splits can lead to a proof.
Question 1
Prove the following statements are Equivalent:
1. A ∪ B = B
2. A ⊂ B
3. A ∩ B = A
4. B c ⊂ Ac
Strategy:
To prove several statements are equivalent,
we typically prove a loop of implications.
In this case, let’s try to prove 1 ⇒ 2, 2 ⇒ 3, 3 ⇒ 4, 4 ⇒ 1.
In general, we can take any order of number we like.
Suppose .
Since x ∈ A, .
Since A ∪ B = B, .
Thus x ∈ .
Thus 1 ⇒ 2 is true.
Suppose .
First, we prove: A ∩ B ⊂ A.
Let x ∈ be chosen randomly.
The statement we need to prove changes to: x ∈ .
Next, we prove A ⊂ A ∩ B.
Let x ∈ be chosen randomly.
The statement we need to prove changes to: x ∈ A ∩ B.
By the definition of intersection, we need to prove: x ∈ and x ∈ .
Thus A ∩ B = A.
Thus 2 ⇒ 3 is true.
Suppose .
Suppose x ∈ .
Using the first assumption, we have x ∈ .
Using the definition of intersection, we have x ∈ and x ∈ .
Thus we conclude x 6∈ .
Thus 3 ⇒ 4 is true.
Suppose .
First, we prove A ∪ B ⊂ B.
Let x ∈ A ∪ B be chosen randomly.
The statement we need to prove changes to: x ∈ .
Next, we prove B ⊂ A ∪ B.
Let x ∈ be chosen randomly.
The statement we need to prove changes to: x ∈ A ∪ B .
Thus A ∪ B = B.
Thus 4 ⇒ 1 is true.
Question 2
Use induction to prove the following statements P (n) to be true for all n ∈ N:
n
X n(n + 1)
1. P (n) : k = 1 + 2 + 3 + ... + n =
k=1
2
n
X n(n + 1)(2n + 1)
2. P (n) : k 2 = 12 + 22 + 32 + ... + n2 =
k=1
6
n
X n2 (n + 1)2
3. P (n) : k 3 = 13 + 23 + 33 + ... + n3 =
k=1
4