MAT137 Week 3
MAT137 Week 3
MAT137 Week 3
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
3 − δ Limit Definition
The standard limit is as follows:
lim f (x) = L
x→a
This seems like a reasonable requirement, and is the intuition behind limit.
How can we translate this sentence into mathematical language?
To keep things simple, let’s say the target is L = f (a), and we want to
get f (x) to be close to L. It would be great if f (x) hit exactly L, however,
that is too high of a requirement. Instead, we create an error range around
L. We require f (x) to hit inside this error range. We call the radius of this
error range to be .
After picking this error range, we need to control the values of x we pick.
If x is far from a, we shouldn’t expect f (x) to be in the error range.
For any > 0 as the error radius, there will exist δ > 0 as the control
radius, such that for all x inside the control radius (which is |x − a| < δ),
we can guarantee that f (x) is in the error range (which is |f (x) − f (a)| < ).
In symbols:
lim f (x) = L
x→a
∀ > 0, ∃δ > 0, if 0 < |x − a| < δ ⇒ then |f (x) − L| <
Remember that the value a is a fixed point given to us from the start, and x
is a variable value that can change inside the control range.
So:
|x − a| < δ ⇔ a − δ < x < a + δ |f (x) − L| < ⇔ L − < f (x) < L +
0 < |x − a| is just a detail: for limits, we do not consider the possibility of x = a.
Using a similar idea, we can say the limit at infinity is done by controlling
x to be very large. So instead of concentrating x inside a control range with
radius δ, we concentrate x ”at infinity”, by requiring x > N , where N is
chosen to be large.
lim f (x) = L
x→∞
∀ > 0, ∃N, if x > N ⇒ then |f (x) − L| <
What about limit at a does not exist?
It means no matter what value of L (for all L), lim f (x) 6= L.
x→a
Negating the statement would interchange ∀ and ∃, negating the implication
would mean there is a counter-example to the implication, namely, there
is an x in the control range δ, with f (x) outside the error range .
∀L, ∃ > 0, ∀δ > 0, ∃ x , with 0 < |x − a| < δ and |f (x) − L| ≥
One type of limit not existing is f (x) going to infinity. In this case, we do
have a goal for the values of f (x), which is to be very large (larger than a
large number M ), as long as x is concentrated closed enough to the point a.
lim f (x) = +∞
x→a