Reminder: fill out Week 1 survey by tonight
A2 - details TBA later today.
How can a sentence be a statement (i.e., definitely true or definitely false) without us knowing which?
Example: The Collatz Conjecture
Start with a positive integer \(x\). Repeat the following:
- if \(x\) is even, divide it by 2 (\(x \leftarrow x / 2\))
- if \(x\) is odd, multiply \(x\) by 3 and add 1 (\(x \leftarrow 3x + 1\))
Given any initial positive integer \(x\), after iterating this a finite number of times, \(x\) becomes 1.
This is a statement (it’s either true or not). But nobody has figured out which!
See also whiteboard notes
Example: If \(x = y\), then \(x^2 = y^2\).
Notice: this does not commute.
Notice: If false, then anything! This gets weird sometimes.
\(P\) : If I am healthy, then I will come to class.
Suppose you are sick; then the statement “If I am healthy, then I will come to class” is true whether or not you come to class.
Mental model suggestions:
Do Exercises Part B
Equivalent ways of writing “if \(P\) then \(Q\)”:
Definition/aside: “If \(Q\) then \(P\)” is the converse of “If \(P\) then \(Q\)”.
Do Exercises Part C
Biconditional - “if and only if”: \(P \Leftrightarrow Q\) means \(P \Rightarrow Q\) and \(Q \Rightarrow P\) are both true.
Do exercises Part D