Lecture 4, DSCI 220, 2026W1
Connect operator \(\rightarrow\) to a logically equivalent expression using only and, or, and not.
| \(p\) | \(q\) | \(p\rightarrow q\) | \(\underline{\hspace{3em}}\) |
|---|---|---|---|
| F | F | T | |
| F | T | T | |
| T | F | F | |
| T | T | T |
Note: \(p \rightarrow q \equiv\) _______.
\(p \rightarrow q\) Corresponds to “if \(p\) then \(q\)”
We’re not promising causation, only a truth condition.
\(p \rightarrow q\) is False only when \(p\) is True and \(q\) is False.
Gives us mechanism for reasoning!
Is this operator commutative?
TrueEach of the following is \(p\rightarrow q\). Underline \(p\), dash-underline \(q\). Then decide whether each direction is true.
| # | Statement | p→q | q→p |
|---|---|---|---|
| 1 | If it’s a kitten, then it’s a cat. | ☐ | ☐ |
| 2 | If an animal is a mammal, then it is a cat. | ☐ | ☐ |
| 3 | If I’m an only child, then I have zero siblings. | ☐ | ☐ |
| 4 | If I eat breakfast, then I ace the quiz. | ☐ | ☐ |
| 5 | A player is in the NHL only if they are a professional. | ☐ | ☐ |
| 6 | To be empty, a string must have length 0. | ☐ | ☐ |
| 7 | No song appears on the Billboard Hot 100 without reaching #1. | ☐ | ☐ |
Given \(p\rightarrow q\), we define the following 3 terms:
________________ is \(\neg q\rightarrow \neg p\)
________________ is \(q\rightarrow p\)
________________ is \(\neg p\rightarrow \neg q\)
Describe all the logical equivalences among the 4 statements:
Prove that \(p \rightarrow q \equiv \neg q \rightarrow \neg p\):
We have a special operator for those implications whose converses are also True:
Some phrases describing this relationship:
Which of the seven statements were biconditionals?
Implication
Converse, Contrapositive, Inverse
Biconditional