Week 1 Discussion Notes
Table of Contents
Symbols
Definition
- ∀= "for all" or "for any" or "for every"
- ∃= "there exists"
- ∈= "is in" or "is an element of"
- ⟹= "implies"
- ⊆= "subset"
- ⊊= "proper subset"
These will be your best friends in this class, so get used to using them all the time.
Remark.
A weird thing is that a lot of mathematicians use "⊂" and "⊆" to mean the same thing, even though everyone uses "<" and "≤" mean different things.
Set Theory
Common Sets
Here are some very common sets that we'll be using throughout the class:
- ∅= "empty set"
- N={1,2,3,…}= "natural numbers" (in our textbook, natural numbers start at 1, but that might not be the case in other books)
- Z={…,−2,−1,0,1,2,…}= "integers"
- 2Z={2n∣n∈Z}= "even integers"
- Q= "rational numbers"
- R= "real numbers"
We will be covering the construction of these sets (especially Q and R) in great detail a little later in the class, but these are the sets that you "know" already.
Remark.
∅ is a subset of every set. The idea goes like this: if ∅ were not a subset of A, then there exists x∈∅ such that x∈/A. But ∅ has no elements, so ∅⊆A. This is an example of a vacuous truth.
Set Operations
Definition
Let A,B be sets. Then
- The union of A and B is A∪B={x∣x∈A or x∈B}.
- The intersection of A and B is A∩B={x∣x∈A and x∈B}.
- The complement of A is Ac={x∣x∈/A}.
Let's understand these one-by-one:
- Taking the union of A and B just means dumping everything in A and everything in B into one bigger set.
- The intersection of A and B means everything that's in both sets.
- The complement of A is everything that's outside of A (i.e., everything that's not an element of A).
Now that we have some basic set operations, it's natural to ask what happens when we mix them together:
Proposition (De Morgan's laws)
Let A,B be sets. Then
- (A∪B)c=Ac∩Bc
- (A∩B)c=Ac∪Bc
Proof.
(i): If x∈A∪B, then x is in at least one of A or B. The negation of "at least one" is "none," so x∈/A∪B if and only if x∈/A and x∈/B, which means
(A∪B)c={x∣x∈/A and x∈/B}=Ac∩Bc.
Here's the picture:
(ii): The idea is the same: if x∈A∩B, then x is in both A and B. The negation of "both" is "at most one," so x∈/A∩B if and only if x∈/A or x∈/B. This means
(A∩B)c={x∣x∈/A or x∈/B}=Ac∪Bc.
□
Exercise 1.
Draw a picture for (A∩B)c.
Definition
Let A,B be sets. Then
- The power set of A is P(A)={B∣B⊆A}.
- The cartesian product of A and B is A×B={(a,b)∣a∈A and x∈B}.
Like before, here's a less mathy way of looking at these sets:
- The power set of A is the set of subsets of A, so it's a set of sets.
- The cartesian product of A and B just means you pick one element of A and one element of B and put them in a pair.
Example 1.
If A={0,1,2}, then
P(A)={∅,{0},{1},{2},{0,1},{0,2},{1,2},{0,1,2}}.
Example 2.
If A={∅,1}, then
P(A)={∅,{∅},{1},{∅,1}}.
Notice that A={1} and that ∅ is both a subset of A and an element of A.
Example 3.
R×R={(x,y)∣x∈R and y∈R}. This is the 2D plane, and we also write it as R2.
Counterexamples
It's good to know a lot of counterexamples to prevent you from writing down things that are wrong. A lot of times, something is "intuitively true," but turns out to be false. For example, when I took Calc AB in high school, I wrote something like this:
Since f is continuous, it is differentiable somewhere.
I now know how wrong I was, but as a beginner, this made sense to me since it was true for every example I could think of. The issue was that I wasn't exposed to enough counterexamples. This statement is false because there are functions which are continuous everywhere, but differentiable nowhere.
Examples
Example 4.
True or false: If f is continuous at x0, then it's continuous on an interval containing x0.
Solution.
This one is false. For example,
f(x)={x0if x∈Q,otherwise.
The graph looks something like this:
At any point x=0 you're going to "jump" between the lines y=0 and y=x, so you're discontinuous if x=0. However, if you follow both lines to x=0, they both converge to 0, which is why f is continuous at x=0.
Example 5.
True or false: If fn is continuous and converges to the 0 function, then ∫01fn(x)dx converges to 0 also.
Solution.
This is false. See this Desmos graph.
To see why fn converges to 0, you can slide x0 to be any number in [0,1]. You'll see that if n is large enough, then the spike won't include x=x0. But no matter what n is, my example always has ∫01fn(x)dx=1, so the integrals can't converge to 0.
Example 6.
True or false: If f is continuous, then the image of (a,b) is still an interval. (An interval is anything of the form (c,d),[c,d),(c,d], or [c,d].)
Solution.
This is true because of the intermediate value theorem (it's a bit technical to explain in detail, though, but we'll revisit this in the future). This is also related to something called connectedness, which is covered in MATH 131B.
The main takeaway from these examples is that there is bad intuition and good intuition. Knowing counterexamples helps you get rid of the bad intuition, which helps you avoid making mistakes.