Week 1 Discussion Notes

Table of Contents

Symbols

Definition
  • =\forall\: = "for all" or "for any" or "for every"
  • =\exists\: = "there exists"
  • =\in\: = "is in" or "is an element of"
  •     =\implies\: = "implies"
  • =\subseteq\: = "subset"
  • =\subsetneq\: = "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 "\subset" and "\subseteq" to mean the same thing, even though everyone uses "<<" and "\leq" mean different things.

Set Theory

Common Sets

Here are some very common sets that we'll be using throughout the class:

  • =\emptyset\: = "empty set"
  • N={1,2,3,}=\N = \set{1, 2, 3, \ldots} = "natural numbers" (in our textbook, natural numbers start at 11, but that might not be the case in other books)
  • Z={,2,1,0,1,2,}=\Z = \set{\ldots, -2, -1, 0, 1, 2, \ldots} = "integers"
  • 2Z={2nnZ}=2\Z = \set{2n \mid n \in \Z} = "even integers"
  • Q=\Q = "rational numbers"
  • R=\R = "real numbers"

We will be covering the construction of these sets (especially Q\Q and R\R) in great detail a little later in the class, but these are the sets that you "know" already.

Remark.

\emptyset is a subset of every set. The idea goes like this: if \emptyset were not a subset of AA, then there exists xx \in \emptyset such that xAx \notin A. But \emptyset has no elements, so A\emptyset \subseteq A. This is an example of a vacuous truth.

Set Operations

Definition

Let A,BA, B be sets. Then

  1. The union of AA and BB is AB={xxA or xB}A \cup B = \set{x \mid x \in A \text{ or } x \in B}.
  2. The intersection of AA and BB is AB={xxA and xB}A \cap B = \set{x \mid x \in A \text{ and } x \in B}.
  3. The complement of AA is Ac={xxA}A^\comp = \set{x \mid x \notin A}.

Let's understand these one-by-one:

  1. Taking the union of AA and BB just means dumping everything in AA and everything in BB into one bigger set.
  2. The intersection of AA and BB means everything that's in both sets.
  3. The complement of AA is everything that's outside of AA (i.e., everything that's not an element of AA).

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,BA, B be sets. Then

  1. (AB)c=AcBc\p{A \cup B}^\comp = A^\comp \cap B^\comp
  2. (AB)c=AcBc\p{A \cap B}^\comp = A^\comp \cup B^\comp
Proof.

(i): If xABx \in A \cup B, then xx is in at least one of AA or BB. The negation of "at least one" is "none," so xABx \notin A \cup B if and only if xAx \notin A and xBx \notin B, which means

(AB)c={xxA and xB}=AcBc.\p{A \cup B}^\comp = \set{x \mid x \notin A \text{ and } x \notin B} = A^\comp \cap B^\comp.

Here's the picture:

(ii): The idea is the same: if xABx \in A \cap B, then xx is in both AA and BB. The negation of "both" is "at most one," so xABx \notin A \cap B if and only if xAx \notin A or xBx \notin B. This means

(AB)c={xxA or xB}=AcBc.\p{A \cap B}^\comp = \set{x \mid x \notin A \text{ or } x \notin B} = A^\comp \cup B^\comp.

\square

Exercise 1.

Draw a picture for (AB)c\p{A \cap B}^\comp.

Definition

Let A,BA, B be sets. Then

  1. The power set of AA is P(A)={BBA}\pow\p{A} = \set{B \mid B \subseteq A}.
  2. The cartesian product of AA and BB is A×B={(a,b)aA and xB}A \times B = \set{\p{a, b} \mid a \in A \text{ and } x \in B}.

Like before, here's a less mathy way of looking at these sets:

  1. The power set of AA is the set of subsets of AA, so it's a set of sets.
  2. The cartesian product of AA and BB just means you pick one element of AA and one element of BB and put them in a pair.
Example 1.

If A={0,1,2}A = \set{0, 1, 2}, then

P(A)={,{0},{1},{2},{0,1},{0,2},{1,2},{0,1,2}}.\pow\p{A} = \set{\emptyset, \set{0}, \set{1}, \set{2}, \set{0, 1}, \set{0, 2}, \set{1, 2}, \set{0, 1, 2}}.
Example 2.

If A={,1}A = \set{\emptyset, 1}, then

P(A)={,{},{1},{,1}}.\pow\p{A} = \set{\emptyset, \set{\emptyset}, \set{1}, \set{\emptyset, 1}}.

Notice that A{1}A \neq \set{1} and that \emptyset is both a subset of AA and an element of AA.

Example 3.

R×R={(x,y)xR and yR}\R \times \R = \set{\p{x, y} \mid x \in \R \text{ and } y \in \R}. This is the 2D plane, and we also write it as R2\R^2.

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 ff 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 ff is continuous at x0x_0, then it's continuous on an interval containing x0x_0.

Solution.

This one is false. For example,

f(x)={xif xQ,0otherwise.f\p{x} = \begin{cases} x & \text{if } x \in \Q, \\ 0 & \text{otherwise}. \end{cases}

The graph looks something like this:

At any point x0x \neq 0 you're going to "jump" between the lines y=0y = 0 and y=xy = x, so you're discontinuous if x0x \neq 0. However, if you follow both lines to x=0x = 0, they both converge to 00, which is why ff is continuous at x=0x = 0.

Example 5.

True or false: If fnf_n is continuous and converges to the 00 function, then 01fn(x)dx\int_0^1 f_n\p{x} \,\diff{x} converges to 00 also.

Solution.

This is false. See this Desmos graph.

To see why fnf_n converges to 00, you can slide x0x_0 to be any number in [0,1]\br{0, 1}. You'll see that if nn is large enough, then the spike won't include x=x0x = x_0. But no matter what nn is, my example always has 01fn(x)dx=1\int_0^1 f_n\p{x} \,\diff{x} = 1, so the integrals can't converge to 00.

Example 6.

True or false: If ff is continuous, then the image of (a,b)\p{a, b} is still an interval. (An interval is anything of the form (c,d),[c,d),(c,d]\p{c, d}, \pco{c, d}, \poc{c, d}, or [c,d]\br{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.