Place the cursor over the image to start the animation.
Place the cursor over the image to start the animation.
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 15 |
16 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 1A | 1B | 1C | 1D | 1E | 1F | 31 |
32 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 2A | 2B | 2C | 2D | 2E | 2F | 47 |
48 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 3A | 3B | 3C | 3D | 3E | 3F | 63 |
64 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 4A | 4B | 4C | 4D | 4E | 4F | 79 |
80 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 5A | 5B | 5C | 5D | 5E | 5F | 95 |
96 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 6A | 6B | 6C | 6D | 6E | 6F | 111 |
112 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 7A | 7B | 7C | 7D | 7E | 7F | 127 |
128 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 8A | 8B | 8C | 8D | 8E | 8F | 143 |
144 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 9A | 9B | 9C | 9D | 9E | 9F | 159 |
160 | A0 | A1 | A2 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | AA | AB | AC | AD | AE | AF | 175 |
176 | B0 | B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | BA | BB | BC | BD | BE | BF | 191 |
192 | C0 | C1 | C2 | C3 | C4 | C5 | C6 | C7 | C8 | C9 | CA | CB | CC | CD | CE | CF | 207 |
208 | D0 | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | DA | DB | DC | DD | DE | DF | 223 |
224 | E0 | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | E9 | EA | EB | EC | ED | EE | EF | 239 |
240 | F0 | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | FA | FB | FC | FD | FE | FF | 255 |
240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 |
Place the cursor over the image to start the animation.
(A1) There exists $\color{#008800}{M} \in \mathbb{R}$ such that for all $n\in \mathbb{N}$ we have $\bbox[#CCFFCC]{s_n \leq \color{#007700}{M}}.$
(A2) For all $n\in \mathbb{N}$ we have $\bbox[#CCFFCC]{s_n \leq s_{n+1}}.$
Then:There exists $\color{#AA0000}{L} \in \mathbb{R}$ such that for every $\epsilon \gt 0$ there exists $\color{#AA0000}{N}(\epsilon) \in \mathbb{R}$ such that for all $n\in \mathbb{N}$ we have that $n \gt \color{#AA0000}{N}(\epsilon)$ implies $\bigl| s_n - \color{#990000}{L} \bigr| \lt \epsilon.$
Place the cursor over the image to start the animation.
Sequence name |
Sequence formula | Comment |
---|---|---|
Seq. A | $a_n = n, \ n\in \mathbb{N}_0$ | This is the identity sequence; the value is equal to the index. bounded below, not bounded above, increasing |
Seq. B | $b_1 = 2,\ \displaystyle b_{n+1} = \frac{b_n}{2} + \frac{1}{b_n}, \ n \in \mathbb{N}$ | recursively defined, decreasing, converges to $\sqrt{2}$ |
Seq. C | $c_0 = 1,\ \displaystyle c_{n} = n \, c_{n-1}, \ n \in \mathbb{N}$ | recursively defined, increasing,
bounded below, not bounded above, the common notation is $c_n = n!$ $n!$ is called the factorial of a positive integer $n$ |
Seq. D | $d_0 = 1,\ \displaystyle d_{n} = d_{n-1} + \frac{1}{n!}, \ n \in \mathbb{N}$ | recursively defined, increasing, converges to $e$ a sequence like this is called an infinite series |
Seq. E | $\displaystyle e_{n} = \left(1 + \frac{1}{n}\right)^n, \ n \in \mathbb{N}$ | defined by a closed form expression of $n$, increasing, converges to $e$ |
Seq. F | $\displaystyle f_{n} = \left\lfloor \frac{1}{2} + \sqrt{2 n} \right\rfloor, \ n \in \mathbb{N}$ | defined by a closed form expression of $n$, non-decreasing, bounded below, not-bounded above |
Seq. G | $\displaystyle \begin{array}{l} g_1 = 1, \\ g_2 = 2, \end{array} \ g_{n} = g_{n-g_{n-1}} + 1 , \ n \in \{3,4,5, \ldots \}$ | recursively defined, non-decreasing, bonded below, not bounded above, see some interesting Google Sheet formulas here |
Seq. H | $\displaystyle h_0 = 1, \ h_{n} = \frac{1}{2} \, h_{n-1} , \ n \in \mathbb{N}$ | recursively defined, decreasing, converges to $0,$ this is the sequence of powers of $1/2$ |
Seq. I | $\displaystyle i_0 = 1, \ i_{n} = i_{n-1} + \left(\frac{1}{2}\right)^n , \ n \in \mathbb{N}$ | recursively defined, increasing, converges to $2$, this is a geometric (infinite) series |
Seq. J | $\displaystyle j_0 = 1, \ j_{n} = \frac{5}{7} \, j_{n-1} , \ n \in \mathbb{N}$ | recursively defined, decreasing, converges to $0$ this is the sequence of powers of $5/7$ |
Seq. K | $\displaystyle k_0 = 1, \ k_{n} = k_{n-1} + \left(\frac{5}{7}\right)^n , \ n \in \mathbb{N}$ | recursively defined, increasing, converges to $7/2$, this is a geometric (infinite) series |
Seq. L | $\displaystyle l_0 = 1, \ l_{n} = \left(-\frac{1}{2}\right) \, l_{n-1} , \ n \in \mathbb{N}$ | recursively defined, converges to $0$ this is the sequence of powers of $-1/2$ |
Seq. M | $\displaystyle m_0 = 1, \ m_{n} = m_{n-1} + (-1)^n \left(\frac{1}{2}\right)^n , \ n \in \mathbb{N}$ | recursively defined, neither non-decreasing, nor non-increasing, converges to $2/3$, this is a geometric (infinite) series |
This equality follows from the nature of the unit circle, sometimes also called the trigonometric circle. On the trigonometric circle entire real line is wrapped around the unit circle in such a way that each interval $[a, a+2\pi)$ when wrapped around the unit circle covers the unit circle completely, starting from the point $A = \bigl(\cos(a),\sin(a)\bigr).$ In fact the mapping \[ t \mapsto T = \bigl(\cos(t),\sin(t)\bigr), \quad \text{with} \quad t \in [a, a+2\pi), \] is a bijection between the interval $[a, a+2\pi)$ and the points on the unit circle. By the definitions of $\cos$ and $\sin,$ the above bijection preserves the length. This means that if $a \leq t \lt v \lt a + 2\pi$ and $T = \bigl(\cos(t),\sin(t)\bigr),$ $V = \bigl(\cos(v),\sin(v)\bigr),$ then the length of the arc $\stackrel{\LARGE\frown}{TV}$ which starts at $T$ and follows the unit circle counterclockwise towards $V$ equals $v - t.$
Assume that $x \lt c.$ Since $|x-c| \lt \pi,$ we have $x \lt c \lt x+\pi.$ Applying the reasoning from the previous paragraph to the points $T = X$ and $V = C,$ we conclude that \[ \operatorname{length}\bigl(\stackrel{\LARGE\frown}{XC}\bigr) = c - x = |x-c|. \] Since $|x-c| \lt \pi,$ the arc $\stackrel{\LARGE\frown}{XC}$ is the shorter of the arcs with the endpoints $X$ and $C.$ Analogous proof holds when $c \lt x.$ Hence, if $|x-c| \lt \pi,$ then we have \[ \operatorname{length}\bigl(\stackrel{\LARGE\frown}{XC}\bigr) = |x - c|. \]
There is another proof of the inequality \[ \forall\mkern+0.5mu x \in \mathbb{R} \quad \forall\mkern+0.5mu c \in \mathbb{R} \quad \text{we have} \quad \bigl| \sin(x) - \sin(c) \bigr| \leq | x - c |. \] which might appear to be simpler. It is based on a sum-to-product trigonometric identity.
Let $c \in \mathbb{R}$ and $x \in \mathbb{R}$ be arbitrary. Recall the trigonometric identity (see sum-to-product identities on the amazing Wikipedia page of Trigonometric identities) \[ \sin(x) - \sin(c) = 2 \cos\left(\frac{x+c}{2}\right)\sin\left(\frac{x-c}{2}\right) \] Also recall that we proved that $|\sin(u)| \leq |u|$ for all $u \in \mathbb{R}.$ (The proof of this inequality we used the trigonometric circle. The geometry of the unit circle seems to be unavoidable in this setting.)
From the facts listed in the preceding paragraph we get \[ \bigl| \sin(x) - \sin(c) \bigr| = 2 \left| \cos\left(\frac{x+c}{2}\right) \right| \left| \sin\left(\frac{x-c}{2}\right) \right| \leq 2 \left| \sin\left(\frac{x-c}{2}\right) \right| \leq 2 \frac{|x-c|}{2}= |x-c|. \]
Using the BBB principle we can rewrite the inequalities \[ \forall\mkern+0.5mu x \in \mathbb{R} \quad \forall\mkern+0.5mu c \in \mathbb{R} \quad \text{we have} \quad \bigl| \sin(x) - \sin(c) \bigr| \leq | x - c | \] and \[ \forall\mkern+0.5mu x \in \mathbb{R} \quad \forall\mkern+0.5mu c \in \mathbb{R} \quad \text{we have} \quad \bigl| \cos(x) - \cos(c) \bigr| \leq | x - c | \] in a manner which is more convenient for graphing.
The BBB principle is: for all real numbers $u$ and $v$ and all nonnegative real numbers $w$ we have \[ |u - v| \leq w \quad \Leftrightarrow \quad v - w \leq u \leq v + w. \] Applying the preceding equivalence to $\bigl| \cos(x) - \cos(c) \bigr| \leq | x - c |$ we obtain \[ \forall\mkern+0.5mu x \in \mathbb{R} \quad \forall\mkern+0.5mu c \in \mathbb{R} \quad \text{we have} \quad \cos(c) - | x - c | \leq \cos(x) \leq \cos(c) + | x - c |. \] The last inequalityies can be beautifully illustrated with an animation
Place the cursor over the image to start the animation.
Place the cursor over the image to start the animation.
Here I will use the notation $\mathbb{R}_+$ for the set of all positive real numbers, that is $\mathbb{R}_+ = (0,+\infty)$. In this item we will prove that the function $f:\mathbb{R}_+ \to \mathbb{R}$ defined by \[ f(x) = \frac{1}{x}, \quad x \in \mathbb{R}_+ \] is continuous on $\mathbb{R}_+.$ First we state the BIN: \[ \forall\mkern+0.5mu c\in \mathbb{R}_+ \quad \forall\mkern+0.5mu x \geq \frac{c}{2} \quad \text{we have} \quad \left| \frac{1}{x} - \frac{1}{c} \right| \leq \frac{2}{c^2} | x - c |. \] Proof of the BIN. Assume $c \gt 0$ and $x \geq c/2.$ Then we have \[ \left| \frac{1}{x} - \frac{1}{c} \right| = \frac{|x-c|}{xc} \leq \frac{| x - c |}{(c/2)c} = \frac{2}{c^2} | x - c |. \] For the first equality we use algebra, the properties of the absolute value function and the fact that $xc \gt 0.$ For the inequality we use the Pizza-Party Principle and the fact that $x \geq c/2$ and the last equality is algebra.
As always, a BIN is essential to proving that the function $f$ is continuous on $\mathbb{R}_+.$
Next we observe the following equivalence: \[ \forall\mkern+0.5mu c\in \mathbb{R}_+ \quad \forall\mkern+0.5mu x\in \mathbb{R}_+ \quad \text{we have} \quad \frac{2}{c^2} | x - c | \lt \epsilon \quad \Leftrightarrow \quad |x-c| \lt \frac{\epsilon c^2}{2}. \] Using the BIN and the preceding equivalence we can prove the following implication \[ \forall\mkern+0.5mu c \in \mathbb{R}_+ \quad \forall\mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu x \in \mathbb{R}_+ \quad \text{we have} \quad |x-a| \lt \min\left\{ \frac{\epsilon c^2}{2}, \frac{c}{2} \right\} \quad \Rightarrow \quad \left| \frac{1}{x} - \frac{1}{c} \right| \lt \epsilon, \] that is we can set \[ \forall\mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu c \in \mathbb{R}_+ \quad \delta(\epsilon,c) = \min\left\{ \frac{\epsilon c^2}{2}, \frac{c}{2} \right\} \] in the definition of continuity. I expect that you can prove the last implication. If not, please let me know where you encounter problems. The preceding implication proves that the function $x\mapsto 1/x$ is continuous on $\mathbb{R}_+.$
To summarize: In this proof we proved that the function $x\mapsto 1/x$ defined for all $x \in \mathbb{R}_+$ is continuous on its domain. In this proof the essential step was that we defined \[ \forall\mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu c \in \mathbb{R}_+ \quad \delta(\epsilon,c) = \min\left\{ \frac{\epsilon c^2}{2}, \frac{c}{2} \right\} \] and with this $\delta(\epsilon,c)$ we proved the key implication in the definition of continuity.
Place the cursor over the image to start the animation.
In this item we will prove that the function $f:[0,+\infty) \to \mathbb{R}$ defined by \[ f(x) = \sqrt{x}, \quad x \in [0,+\infty) \] is continuous on $[0,+\infty).$ We need to prove \begin{align*} \forall\mkern+0.5mu c \geq 0 \quad \forall \mkern+0.5mu \epsilon \gt 0 \quad \exists\mkern+0.5mu \delta(\epsilon,c) \gt 0 \quad \text{such that} \quad \forall\mkern+0.5mu x & \geq 0 \quad \text{we have} \\ & |x-c| \lt \delta(\epsilon,c) \quad \Rightarrow \quad \bigl| \sqrt{x} - \sqrt{c} \bigr| \lt \epsilon. \end{align*}
In the above displayed statement we need to consider all nonnegative real numbers $c.$ One way to deal with this is to consider two cases.
Case 1. $c=0$. Here we need to prove \begin{equation*} \forall \mkern+0.5mu \epsilon \gt 0 \quad \exists\mkern+0.5mu \delta(\epsilon,0) \gt 0 \quad \text{such that} \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad |x| \lt \delta(\epsilon,0) \quad \Rightarrow \quad \bigl| \sqrt{x}\bigr| \lt \epsilon. \end{equation*} Since $x\geq 0$ and $\sqrt{x} \geq 0$ the preceding statement can be simplified to \begin{equation*} \forall \mkern+0.5mu \epsilon \gt 0 \quad \exists\mkern+0.5mu \delta(\epsilon,0) \gt 0 \quad \text{such that} \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad x \lt \delta(\epsilon,0) \quad \Rightarrow \quad \sqrt{x} \lt \epsilon. \end{equation*} Since the following equivalence is true \begin{equation*} \forall \mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad x \lt \epsilon^2 \quad \Leftrightarrow \quad \sqrt{x} \lt \epsilon, \end{equation*} for every $\epsilon \gt 0$ we can set $\delta(\epsilon,0) = \epsilon^2 \gt 0$ and the following implication is true \begin{equation*} \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad x \lt \epsilon^2 \quad \Rightarrow \quad \sqrt{x} \lt \epsilon. \end{equation*}
Case 2. $c \gt 0$. In class, I explained how I derived the BIN. Here I just state the BIN: \[ \forall\mkern+0.5mu c \gt 0 \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad \bigl| \sqrt{x} - \sqrt{c} \bigr| \leq \frac{1}{\sqrt{c}} | x - c |. \] Proof of the BIN. Assume $c \gt 0$ and $x \geq 0.$ Then we have \[ \bigl| \sqrt{x} - \sqrt{c} \bigr| = \left| \frac{\bigl(\sqrt{x} - \sqrt{c}\bigr)\bigl(\sqrt{x} + \sqrt{c}\bigr)}{\sqrt{x} + \sqrt{c}} \right| = \frac{| x - c |}{\sqrt{x} + \sqrt{c}} \leq \frac{1}{\sqrt{c}} | x - c |. \] For the first equality we use algebra, for the second equality we use algebra, $\sqrt{x} \geq 0,$ $\sqrt{c} \gt 0$ and the properties of the absolute value function and for the inequality we use the Pizza-Party Principle.
As always with limits, a BIN is essential to proving that the function is continuous.
Next we observe the following equivalence: \[ \forall\mkern+0.5mu c \gt 0 \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad \frac{1}{\sqrt{c}} | x - c | \lt \epsilon \quad \Leftrightarrow \quad |x-c| \lt \epsilon \sqrt{c}. \] Using the BIN and the preceding equivalence we can prove the following implication \[ \forall\mkern+0.5mu c \gt 0 \quad \forall\mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu x \geq 0 \quad \text{we have} \quad |x-a| \lt \epsilon \sqrt{c} \quad \Rightarrow \quad \bigl| \sqrt{x} - \sqrt{c} \bigr| \lt \epsilon. \] That is, we can set $\delta(\epsilon,c) = \epsilon \sqrt{c}.$ I expect that you can prove the last implication. If not, please let me know where you encounter problems. The preceding implication proves that the function $\sqrt{x}$ is continuous on $(0,+\infty).$
Together Case 1 and Case 2 prove that the function $\sqrt{x}$ is continuous on $[0,+\infty).$
To summarize: In this proof we proved that the function $x\mapsto \sqrt{x}$ defined for all $x \in [0,+\infty)$ is continuous on its domain. In this proof the essential step was that we defined \[ \forall\mkern+0.5mu \epsilon \gt 0 \quad \forall\mkern+0.5mu c \geq 0 \quad \delta(\epsilon,c) = \begin{cases} \epsilon^2 & \quad \text{if} \quad c = 0, \\[5pt] \epsilon \sqrt{c} & \quad \text{if} \quad c \gt 0, \end{cases} \] and with this $\delta(\epsilon,c)$ we proved the key implication in the definition of continuity.
Place the cursor over the image to start the animation.
We also discussed Problem 2(b) on Assignment 1. In this problem I ask you to prove the inequality \[ \forall\mkern+1.2mu x \in \mathbb{R} \quad \forall\mkern+1.2mu y \in \mathbb{R} \qquad \frac{|x+y|}{1+|x+y|} \leq \frac{|x|}{1+|x|} + \frac{|y|}{1+|y|}. \] It turned out that a proof of this inequality uses "brute force." First we use the following equivalence: For all $a \geq 0,$ $b \geq 0,$ $c \geq 0,$ and $\alpha \gt 0,$ $\beta \gt 0,$ $\gamma \gt 0,$ the following equivalence holds: \[ \frac{a}{\alpha} \leq \frac{b}{\beta} + \frac{c}{\gamma} \quad \Leftrightarrow \quad a \beta \gamma \leq b \alpha \gamma + c \alpha \beta. \] It turns out that with the appropriate values for $a, b, c$ and $\alpha, \beta, \gamma,$ the right-hand inequality is not difficult to prove in our case.
However, I it is always a good idea to support our claims graphically in Wolfram Mathematica. First I reformulated the given inequality as an equivalent inequality which is easier to support by a graph: \[ \forall\mkern+1.2mu x \in \mathbb{R} \quad \forall\mkern+1.2mu y \in \mathbb{R} \qquad \frac{|x|}{1+|x|} + \frac{|y|}{1+|y|} - \frac{|x+y|}{1+|x+y|} \geq 0. \] So, to get a visual support that the preceding inequality is valid I plotted the two-variable function \[ (x,y) \mapsto \frac{|x|}{1+|x|} + \frac{|y|}{1+|y|} - \frac{|x+y|}{1+|x+y|} \quad \text{where} \quad x, y \in [-3,3]. \] I wanted to see that the graph of this function is above the $xy-$plane. I am sharing this to let you know that our work with inequalities can be supported (but not proved) by using technology. As before, the graph reminds me of an even simpler version of the Sydney Opera House.
Five levels of understanding of the above definition:
After today's class, I discussed with a student constructing negations of statements with quantifiers. I don't want you to learn negation rules and apply them; I want you to internalize the thinking process, look critically at statements and gain confidence in your reasoning. Can you internalize this reasoning to such an extent that you do not make a mistake? It might help if you find a real-life example that is similar to the mathematical statement and then negate the real-life statement.
For example:
Let $P$ dente a set of people and let $C$ denote the set of different kinds of cookies. For example \[ C = \bigl\{ \text{Chocolate Chip}, \text{Shortbread}, \text{Macaroon}, \text{Biscotti}, \text{Oatmeal Raisin}, \text{Gingerbread}, \ldots \bigr\} \]
Consider the following sixteen statements:
$p(X)$ is:"$X$ is colored yellow"
Visualization of a neagation
$p(X)$ is:"$X$ is colored yellow" $q(X)$ is:"$X$ is hatched by thin grey lines with slope $1$"
As in the preceding item $U$ denotes the pictured rectangle. Now we introduce four sets of points: the sets $A$ and $B$ and their complements $A^c$ and $B^c$: \begin{alignat*}{2} A & = \bigl\{ X \in U : \ p(X) \ \bigr\}, & \quad \quad & B & = & \bigl\{ X \in U : \ q(X) \ \bigr\}, \\ A^c & = \bigl\{ X \in U : \ \neg p(X) \ \bigr\}, & & B^c & = & \bigl\{ X \in U : \ \neg q(X) \ \bigr\}. \end{alignat*} In plain English the set $A$ is the set of all points colored yellow and the set $A^c$ is the set of all points which are not colored yellow, the set $B$ is the set of all points which are hatched by thin grey lines with slope $1$ and $B^c$ is the set of all points which are not hatched by thin grey lines with slope $1.$
Now we look at the set of all points which are in the set $A$ and are in the set $B$. Such set is called the intersection of $A$ and $B.$ The notation for the intersection is $A\cap B.$ Formaly the intersection of $A$ and $B$ is defined by the following formula \begin{equation*} A\cap B = \bigl\{ x \in U \ : \ X \in A \wedge X \in B \bigr\} = \bigl\{ x \in U \ : \ p(X) \wedge q(X) \bigr\}. \end{equation*} Recall that $\wedge$ denotes the conjuction of the propositions $p(X)$ and $q(X).$ In the picture below the set of points in $A\cap B$ is marked by the teal colored border.
Now we ask for a description of all the points that are NOT in the intersection $A\cap B.$ Looking at the picture below we can see that if a point is not colored yellow, then it certainly is NOT in $A\cap B,$ or if a point is not hatched by thin grey lines with slope $1$, then it certainly is NOT in $A\cap B.$ Therefore \begin{equation*} (A\cap B)^c = \bigl\{ x \in U \ : \ \bigl(\neg p(X)\bigr) \vee \bigl( \neg q(X) \bigr) \bigr\}. \end{equation*}
With the notation of the set union which is introduced in the next item we can write \begin{equation*} (A\cap B)^c = \bigl\{ x \in U \ : \ \bigl(\neg p(X)\bigr) \vee \bigl( \neg q(X) \bigr) \bigr\} = \bigl\{ x \in U \ : \ x \in A^c \vee x \in B^c \bigr\} = A^c \cup B^c. \end{equation*} The formula \begin{equation*} (A\cap B)^c = A^c \cup B^c \end{equation*} is called De Morgan's law for set intersection.
Visualization of a conjunction
$p(X)$ is:"$X$ is colored yellow" $q(X)$ is:"$X$ is hatched by thin grey lines with slope $1$"
As in the preceding item $U$ denotes the pictured rectangle. Now we introduce four sets of points: the sets $A$ and $B$ and their complements $A^c$ and $B^c$: \begin{alignat*}{2} A & = \bigl\{ X \in U : \ p(X) \ \bigr\}, & \quad \quad & B & = & \bigl\{ X \in U : \ q(X) \ \bigr\}, \\ A^c & = \bigl\{ X \in U : \ \neg p(X) \ \bigr\}, & & B^c & = & \bigl\{ X \in U : \ \neg q(X) \ \bigr\}. \end{alignat*} In plain English the set $A$ is the set of all points colored yellow and the set $A^c$ is the set of all points which are not colored yellow, the set $B$ is the set of all points which are hatched by thin grey lines with slope $1$ and $B^c$ is the set of all points which are not hatched by thin grey lines with slope $1.$
Now we look at the set of all points that are in the set $A$ OR are in the set $B$. Such set is called the union of $A$ and $B.$ The notation for the union is $A\cup B.$ Formaly the union of $A$ and $B$ is defined by the following formula \begin{equation*} A\cap B = \bigl\{ x \in U \ : \ X \in A \vee X \in B \bigr\} = \bigl\{ x \in U \ : \ p(X) \vee q(X) \bigr\}. \end{equation*} Recall that $\vee$ denotes the disjunction of the propositions $p(X)$ and $q(X).$ In the picture below the set of points in $A\cap B$ is marked by the teal colored border.
Now we ask for a description of all the points that are NOT in the intersection $A\cup B.$ Looking at the picture below we can see that for a point not to be in $A\cup B$ (that is to be outside of the teal border) that point is not colored yellow AND that point is not hatched by thin grey lines with slope $1$. Therefore \begin{equation*} (A\cup B)^c = \bigl\{ x \in U \ : \ \bigl(\neg p(X)\bigr) \wedge \bigl( \neg q(X) \bigr) \bigr\}. \end{equation*}
With the notation of the set intersection which is introduced in the preceding item we can write \begin{equation*} (A\cup B)^c = \bigl\{ x \in U \ : \ \bigl(\neg p(X)\bigr) \wedge \bigl( \neg q(X) \bigr) \bigr\} = \bigl\{ x \in U \ : \ x \in A^c \wedge x \in B^c \bigr\} = A^c \cap B^c. \end{equation*} The formula \begin{equation*} (A\cup B)^c = A^c \cap B^c \end{equation*} is called De Morgan's law for set union.
Visualization of a disjunction
$p(X)$ is:"$X$ is colored yellow" $q(X)$ is:"$X$ is hatched by thin grey lines with slope $1$"
As in the preceding items, $U$ denotes the pictured rectangle. Now we introduce four sets of points: the sets $A$ and $B$ and their complements $A^c$ and $B^c$: \begin{alignat*}{2} A & = \bigl\{ X \in U : \ p(X) \ \bigr\}, & \quad \quad & B & = & \bigl\{ X \in U : \ q(X) \ \bigr\}, \\ A^c & = \bigl\{ X \in U : \ \neg p(X) \ \bigr\}, & & B^c & = & \bigl\{ X \in U : \ \neg q(X) \ \bigr\}. \end{alignat*} In plain English the set $A$ is the set of all points colored yellow and the set $A^c$ is the set of all points which are not colored yellow, the set $B$ is the set of all points which are hatched by thin grey lines with slope $1$ and the set $B^c$ is the set of all points which are not hatched by thin grey lines with slope $1.$
Visualization of an implication
Each point which is colored yellow is also hatched by thin grey lines with slope $1.$
Each point which is not hatched by thin grey lines with slope $1$ is also not colored yellow.
I would argue that the equivalence of the above two statements is built into way how we think. The above two statements can be expressed as implications:
For all points $X \in U$ the following implication is true
If $X$ is colored yellow, then $X$ is hatched by thin grey lines with slope $1$. Or, briefly, $p(X) \Rightarrow q(X)$
For all points $X \in U$ the following implication is true
If $X$ is not hatched by thin grey lines with slope $1$, then $X$ is not colored yellow. Or, briefly, $\bigl( \neg q(X) \bigr) \Rightarrow \bigl( \neg p(X) \bigr)$
The above two implications are contrapositives of each other. This is my argument that the equivalence of a proposition and its contrapositive is a part of the nature how we think. However, when we define the implication by its truth table, we can prove the equivalence using truth tables.
Now we look at the sets that we defined above. In the picture above, each element of the set $A$ is element of the set $B.$ We say that $A$ is a subset of $B.$ Formally, a set $A$ is said to be a subset of a set $B$ if the following implication holds: $\bigl(x\in A\bigr) \Rightarrow \bigl(x\in B\bigr).$ The notation is $A\subseteq B.$
The implication $\bigl(x\in A\bigr) \Rightarrow \bigl(x\in B\bigr)$ is equivalent to $\neg\bigl(x\in B\bigr) \Rightarrow \neg\bigl(x\in A\bigr).$ Since $\neg\bigl(x\in B\bigr)$ is equivalent to $x\in B^c$ and $\neg\bigl(x\in A\bigr)$ is equivalent to $x\in A^c.$ Therefore the implication $\bigl(x\in A\bigr) \Rightarrow \bigl(x\in B\bigr)$ is equivalent to the implication $\bigl(x\in B^c\bigr) \Rightarrow \bigl(x\in A^c\bigr).$ By the definition of a subset we proved the following equivalence \begin{equation*} A\subseteq B \quad \Leftrightarrow \quad B^c \subseteq A^c. \end{equation*}
Visualization of a partial contrapositive
Grid 1 | Grid 2 | Grid 3 | Grid 4 |
---|---|---|---|