Chapter 2 notes
Conditional Statements
Form: = "If p, then q"
Truth rule: Only false when = True and = False
If is false, the statement is true by default (vacuously true)
Example:
“If 0 = 1, then 1 = 2”
→ True (because 0 = 1 is false)
Order of Operations
(NOT) first
(AND), (OR)
(if–then) last
Logical Equivalences
("If p then q" = "Not p or q")
Example:
“Either you get to work on time or you are fired.”
→ If you do not get to work on time, then you are fired.
Negation of a Conditional
Negation of :
Reads: “p is true AND q is false”
Examples:
If it is raining, then the ground is wet.
→ Negation: It is raining AND the ground is not wet.
If I study, then I pass.
→ Negation: I study AND I do not pass.
Contrapositive
Contrapositive:
Logically equivalent to original conditional
Examples:
If Howard can swim across the lake, then he can swim to the island.
→ Contrapositive: If Howard cannot swim to the island, then he cannot swim across the lake.
If today is Easter, then tomorrow is Monday.
→ Contrapositive: If tomorrow is not Monday, then today is not Easter.
Converse and Inverse
Converse:
Inverse:
Not equivalent to original (but converse & inverse are equivalent to each other)
Examples:
If today is Easter, then tomorrow is Monday.
Converse: If tomorrow is Monday, then today is Easter.
Inverse: If today is not Easter, then tomorrow is not Monday.
“Only If”
“p only if q” means
Equivalent contrapositive:
Example:
John will break the record only if he runs under 4 minutes.
Version 1: If John does not run under 4 minutes, then he will not break the record.
Version 2: If John breaks the record, then he ran under 4 minutes.
Biconditional ()
= “p if and only if q”
Equivalent to:
Example:
“This program is correct if and only if it produces correct answers for all inputs.”
→ If program is correct, then it produces correct answers.
→ If it produces correct answers, then it is correct.
Necessary & Sufficient Conditions
Sufficient condition (If A then B):
A guarantees B
Example: Pia born on U.S. soil
→ She is a U.S. citizen
<!-- -->
Necessary condition (If not B then not A):
B must be true for A to be true
Example: Being 35 is necessary to be U.S. president
If not 35, then not president
Quick Flashcard Rules:
Conditional false only when p = T, q = F
Rewrite conditionals:
Negation:
Contrapositive = always equivalent
Converse/Inverse = equivalent to each other, not original
Biconditional = both directions true
Sufficient = If A then B
Necessary = If not B then not A