Professional Documents
Culture Documents
Discrete Math Lecture 2
Discrete Math Lecture 2
Discrete Math Lecture 2
Department of Mathematics
Institute of Business Administration.
Yousuf Tufail ¯ Yousuf Tufail
ytufail@iba.edu.pk
Lecture 2
Definition
A tautology is a statement form that is always true regardless of the truth
values of the individual statements substituted for its statement variables.
A statement whose form is a tautology is a tautological statement. A
contradication is a statement form that is always false regardless of the
truth values of the individual statements substituted for its statement
variables. A statement whose form is a contradication is a contradictory
statement.
Hint: Simply construct the truth table and verify from it.
Hint: Simply construct the truth table and verify from it.
Proof.
Truth table for ∼ (∼ p) ≡ p
p ∼p ∼ (∼ p)
T F T
F T F
Theorem
Given any statement variables p and q. Following logical equivalences hold.
(i) ∼ (p ∧ q) ≡∼ p∨ ∼ q, (ii) ∼ (p ∨ q) ≡∼ p∧ ∼ q
Theorem
Given any statement variables p and q. Following logical equivalences hold.
(i) ∼ (p ∧ q) ≡∼ p∨ ∼ q, (ii) ∼ (p ∨ q) ≡∼ p∧ ∼ q
I am going to prove (i) and leave the second for you guys.
Solution :
Solution :
Suppose p: The connector is loose,
Solution :
Suppose p: The connector is loose,
q: The machine is unplugged.
Solution :
Suppose p: The connector is loose,
q: The machine is unplugged.
Now the given sentence can be written as p ∨ q.
Solution :
Suppose p: The connector is loose,
q: The machine is unplugged.
Now the given sentence can be written as p ∨ q.
According to De-Morgan’s law: ∼ (p ∨ q) ≡∼ p∧ ∼ q
Solution :
Suppose p: The connector is loose,
q: The machine is unplugged.
Now the given sentence can be written as p ∨ q.
According to De-Morgan’s law: ∼ (p ∨ q) ≡∼ p∧ ∼ q
∴ negation of given statement will be ∼ p∧ ∼ q. i.e.,
Solution :
Suppose p: The connector is loose,
q: The machine is unplugged.
Now the given sentence can be written as p ∨ q.
According to De-Morgan’s law: ∼ (p ∨ q) ≡∼ p∧ ∼ q
∴ negation of given statement will be ∼ p∧ ∼ q. i.e.,The connector is not
loose and the machine is not unplugged.
Solution :
Solution :
Suppose p: The dollar is at an all time high,
Solution :
Suppose p: The dollar is at an all time high,
q: The stock market is at a record low.
Solution :
Suppose p: The dollar is at an all time high,
q: The stock market is at a record low.
Now the given sentence can be written as p ∧ q.
Solution :
Suppose p: The dollar is at an all time high,
q: The stock market is at a record low.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
Solution :
Suppose p: The dollar is at an all time high,
q: The stock market is at a record low.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,
Solution :
Suppose p: The dollar is at an all time high,
q: The stock market is at a record low.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,The dollar isn’t at an
all time high or the stock market isn’t at a record low.
Solution :
Solution :
Suppose p: −1 < x,
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,−1 ≮ x
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,−1 ≮ xor x 4
Solution :
Suppose p: −1 < x,
q: x ≤ 4.
Now the given sentence can be written as p ∧ q.
According to De-Morgan’s law: ∼ (p ∧ q) ≡∼ p∨ ∼ q
∴ negation of given statement will be ∼ p∨ ∼ q. i.e.,−1 ≮ xor x 4
⇒ −1 ≥ x or x > 4
L.H.S:
L.H.S:
R.H.S:
Proof.
Truth table for p ∨ t = t
p t p∨t
Proof.
Truth table for p ∨ t = t
p t p∨t
T
Proof.
Truth table for p ∨ t = t
p t p∨t
T T
Proof.
Truth table for p ∨ t = t
p t p∨t
T T T
F
Proof.
Truth table for p ∨ t = t
p t p∨t
T T T
F T
Proof.
Truth table for p ∨ t = t
p t p∨t
T T T
F T T
Proof.
Truth table for p ∨ t ≡ t
p t p∨t
T T T
F T T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F F
F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F F
F F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F F
F F F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F F
F F F F
Proof.
Truth table for p ∨ (p ∧ q) ≡ p
p q p∧q p ∨ (p ∧ q)
T T T T
T F F T
F T F F
F F F F