Professional Documents
Culture Documents
Note: Examples:
IMPLICATION is logically equivalent to its If you work hard you get good grades. If we sum up the implication (w g) and its converse
CONTROPOSITIVE. w = “You work hard” (g w) we get
g = “You get good grades”
IMPLLICATION and its CONVERSE they are not “You get good grades if and only if you work hard.”
equivalent to each other logically. w g = If w then g
= “If you work hard then you get good grades”. By summing up we get a new connective and we called
Implication’s INVERSE and CONVERSE are logically Converse: True this new connective BICONDITIONAL.
equivalent to each other.
g w = If g then w
= g only if w
IMPLICATION and its CONTROPOSITIVE are
= “You get good grades only if you work hard.”
equivalent to each other.
Bi-Conditional Connective TRUTH TABLE FOR EXAMPLES:
If p and q are statement variables, the biconditional of p p↔q “1 + 1 = 3 if and only if earth is flat.”
and q is TRUE
p q p↔q
T T T
“p if, and only if, q” and is denoted p ↔ q. “Sky is blue iff 1 = 0”
T F F
FALSE
F T F
if and only if abbreviated iff.
F F T
“Milk is white iff birds lay eggs.”
TRUE
p ↔ q ≡ (p → q) ∧ (q → p) REPHRASING BICONDITIONAL:
“33 is divisible by 4 if and only if horse has four p ↔ q is also expressed as:
legs.” p q p ↔ q p → q q → p (p → q) ∧ (q → p)
FALSE T T T T T T
“p is necessary and sufficient for q”
T F F F T F
“if p then q, and conversely”
“x > 5 iff x² > 25” F T F T F F
FALSE “p is equivalent to q”
F F T T T T
Note: Note:
same truth values
Biconditional is logically equivalent to conjunction of p ↔ q and q ↔ p are EQUIVALENT.
two implications: p iff q and q iff p are EQUIVALENT.
p ↔ q ≡ (p → q) ∧ (q → p)
APPLICATION:
Rewrite the statement forms without using the 2. (p→r)↔(q →r) Rewrite the statement form ~p ∨ q → r ∨ ~q to a
symbols → or ↔ logically equivalent form that uses only ~ and ∧.
1. p∧~q→r 2. (p→r)↔(q →r) (p→r)↔(q →r) ≡ (~p ∨ r)↔(~q ∨ r) implication law
SOLUTION
Solution: ≡ [(~p ∨ r) →(~q ∨ r)] ∧ [(~q ∨ r) →(~p ∨ r)] ~p ∨ q → r ∨ ~q Given statement form
p∧~q → r ≡ (p ∧ ~q)→r order of operations equivalence of biconditional ≡ (~p ∨ q) → (r ∨ ~q) Order of operations
≡ ~(p∧~q) ∨ r implication law ≡ ~[(~p ∨ q) ∧ ~ (r ∨ ~q)] Implication law
≡ [~(~p ∨ r) ∨ (~q ∨ r)] ∧ [~(~q ∨ r) ∨ (~p ∨ r)] p → q ≡ ~(p∧~ q)
implication law ≡ ~[~(p ∧ ~q) ∧ (~r ∧ q)] De Morgan’s law
Show that ~(p → q) → p is a tautology
without using truth tables. EXERCISES: EXERCISE:
SOLUTION Show that (p ∧ q) → (p ∨ q) is a tautology. Suppose that p and q are statements so that p → q is
≡ ~(p → q) → p Given statement form false. Find the truth values of each of the following:
≡ ~[~(p ∧ ~q)] → p Implication law p → q ≡ ~(p ∧ Simplify (¬ p ∧ (p → q))→¬ q
~q) ~p →q
≡ (p ∧ ~q) → p Double negation law TRUE
Show that is a tautology.
≡ ~(p ∧ ~q) ∨ p Implication law p → q ≡ ~p ∨ q
p∨q
≡ (~p ∨ q) ∨ p De Morgan’s law
TRUE
≡ (q ∨ ~p) ∨ p Commutative law of
≡ q ∨ (~p ∨ p) Associative law of q↔p
≡q∨t Negation law FALSE
≡t Universal bound law