DM Unit I
DM Unit I
What is proposition?
Solution:
A Proposition is a declarative sentence that is either true or false, but not both.
Eg: 2 > 1 [𝑇𝑟𝑢𝑒]
1 + 7 = 9 [𝐹𝑎𝑙𝑠𝑒]
www.tranquileducation.weebly.com
Obtain PDNF for ¬𝑃⋁𝑄
Solution:
¬𝑃⋁𝑄 ⇔ (¬𝑃⋀(𝑄⋁¬𝑄))⋁((𝑃⋁¬𝑃)⋀𝑄)
⇔ ¬𝑃⋀𝑄 ⋁ ¬𝑃⋀¬𝑄 ⋁ 𝑃⋀𝑄 ⋁ ¬𝑃⋀𝑄
⇔ ¬𝑃⋀𝑄 ⋁ ¬𝑃⋀¬𝑄 ⋁ 𝑃⋀𝑄 which is PDNF
www.tranquileducation.weebly.com
T F F T F F
F T F T F F
F F F F T F
Define contrapositive.
Solution:
If 𝑃 → 𝑄 is an implication, then the converse of 𝑃 → 𝑄 is the implication 𝑄 → 𝑃 and the
contrapositive of 𝑃 → 𝑄 is the implication ¬𝑄 → ¬𝑃
Give the converse and the contrapositive of the implication “If it is raining, then I get
wet”
Solution: 𝑃: It is raining
𝑄: I get wet.
𝑄 → 𝑃 (Converse) If I get wet then it is raining
¬𝑄 → ¬𝑃(Contrapositive): If I do not get wet, then it is not raining.
Write the Statement “ The crop will be destroyed if there is a flood” in symbolic form
Solution: 𝑃: Crop will be destroyed
𝑄: There is a flood
Symbolic form: 𝑄 → 𝑃
www.tranquileducation.weebly.com
Eg: The set of connectives { ⋀, ⋁}
𝑷 𝑸 𝑷↑ 𝑸
T T F
T F T
F T T
F F T
⇔ 𝑃⋀(¬𝑃⋁𝑄)
⇔ (𝑃⋀¬𝑃)⋁ 𝑃⋀𝑄 which is DNF
www.tranquileducation.weebly.com
Given 𝑃, 𝑄 𝑎𝑛𝑑 𝑅 are inconsistent, 𝑃⋀𝑄⋀𝑅 𝐹 where F is contradiction
To prove: 𝑃⋀𝑄 ¬𝑅
Assume 𝑃⋀𝑄 is true
If ¬𝑅 is false 𝑅 is true
Then only 𝑃⋀𝑄⋀𝑅 is true which is contradiction.
¬𝑅 is true.
Hence 𝑃⋀𝑄 ¬𝑅
Use quantifiers to express the associative law for multiplication of real numbers.
∀𝑥 ∀𝑦 ∀𝑧 ((𝑥. 𝑦). 𝑧 = 𝑥. (𝑦. 𝑧)) where the universe of discourse for 𝑥, 𝑦 and 𝑧 is the
set of real numbers.
www.tranquileducation.weebly.com
𝑃(6) is false and 𝑄(6) is false
𝑃(6) → 𝑄(6) is true.
(∃𝑥)(𝑃(𝑥) → 𝑄(𝑥)) is true.
Find the truth value of (𝑥)(𝑃 → 𝑄(𝑥))⋁ (𝑥)𝑅(𝑥) where 𝑃: 2 > 1, 𝑄(𝑥): 𝑥 > 3,
𝑅(𝑥) ∶ 𝑥 > 4 with the universe of discourse being 𝐸 = {2,3,4}.
Solution:
𝑃 is true and 𝑄(4) is false, 𝑃 → 𝑄(4) is false
(x) (P→Q(x)) is false.
Since 𝑅(2), 𝑅(3), 𝑅(4) are all false.
(𝑥)𝑅(𝑥) is false.
Hence (𝑥)(𝑃 → 𝑄(𝑥))⋁ (∃𝑥)𝑅(𝑥) is false.
www.tranquileducation.weebly.com
𝑀(𝑥): 𝑥 is a man
Symbolically, (𝑥) (𝑀(𝑥) → 𝐺(𝑥))
Consider the statement “ Give any positive integer, there is a greater positive integer”.
For all x, there exists a y such that y is greater than x. If 𝐺(𝑥, 𝑦) is “ 𝑥 is greater than 𝑦”
then the given statement is (𝑥)( ∃𝑦) 𝐺(𝑦, 𝑥)
If we do not impose the restriction on the universe of discourse and if we write 𝑃(𝑥) for
“ 𝑥 is a positive integer” , then we can symbolize the given statement is
(𝑥)(𝑃(𝑥) → (∃𝑦)(𝑃(𝑦)⋀𝐺(𝑦, 𝑥)))
Give the symbolic form of the statement “ Every book with a blue cover is a
mathematics book”
Let 𝐵(𝑥) ∶ 𝑥 is every book with a blue cover
𝑀(𝑥) ∶ 𝑥 is mathematics book.
(𝑥) ((𝐵(𝑥) → 𝑀(𝑥))
www.tranquileducation.weebly.com
Show that (𝑥)(𝐻(𝑥) → 𝑀(𝑥) ⋀ 𝐻(𝑠)) 𝑀(𝑠). Note that this problem is a symbolic
translation of a well-known argument known as “Socrates argument” which is given by
,All men are mortal, Socrates is a man, Therefore Socrates is a mortal.
If we denote 𝐻(𝑥) ∶ 𝑥 is a man, 𝑀(𝑥) ∶ 𝑥 is a mortal, 𝑠 : Socrates
We can put the argument in the above form.
𝑖) (𝑥)(𝐻(𝑥) → 𝑀(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) 𝐻(𝑠) → 𝑀(𝑠) 𝑅𝑢𝑙𝑒 𝑈𝑆 𝐹𝑟𝑜𝑚 𝑖)
𝑖𝑖𝑖) 𝐻(𝑠) 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑣) 𝑀(𝑠) 𝑅𝑢𝑙𝑒 𝑇
Consider the statement “ Given any positive integer, there is a greater positive integer”
. Symbolize this statement with and without using the set of positive integers as the
universe of discourse.
For all 𝑥, there exists a 𝑦 such that 𝑦 is greater than 𝑥. If 𝐺(𝑥, 𝑦) is “ 𝑥 is greater than 𝑦”,
then the given statement is (𝑥)( ∃ 𝑦) 𝐺(𝑦, 𝑥).
If we do not impose the restriction on the universe of discourse and if we writer 𝑃(𝑥)
for “ 𝑥 is a positive integer”, then we can symbolize the given statement is
(𝑥)(𝑃(𝑥) → (∃𝑦)(𝑃(𝑦) ^ 𝐺(𝑦, 𝑥)))
www.tranquileducation.weebly.com
Define existential quantifier.
The existential quantification of 𝑃(𝑥) is the proposition. “There exists an element x in
the universe of discourse such that P(x) is true”
We use the notation (∃𝑥)(𝑃(𝑥)) for the existential quantification of 𝑃(𝑥). Here ∃ is
called the existential quantifier.
𝐴(𝑥) (𝑦)𝐴(𝑦)
Show that ¬𝑃(𝑎, 𝑏) follows logically from (𝑥)(𝑦)(𝑃(𝑥, 𝑦) → 𝑤(𝑥, 𝑦)) and ¬𝑤(𝑎, 𝑏)
Solution:
i) (𝑥)(𝑦)(𝑃(𝑥, 𝑦) → 𝑤(𝑥, 𝑦)) Given premise
ii)(𝑦) 𝑃(𝑎, 𝑦) → 𝑤(𝑎, 𝑦) US
iii)𝑃(𝑎, 𝑏) → 𝑤(𝑎, 𝑏) US
iv)¬𝑤(𝑎, 𝑏) Rule P
v) ¬𝑃(𝑎, 𝑏) (iii),(iv), Modus tollens
If the universe of discourse is finite, then show that ¬[(∃𝑥)𝑃(𝑥)] ⇔ (𝑥)[¬𝑃(𝑥)].
Solution:
Let the universe of discourse be 𝑈 = {𝑥1 , 𝑥2 , … , 𝑥𝑛 } be finite.
By using DeMorgan’s Law of propositional calculus, we have
¬[(∃𝑥)𝑃(𝑥)] ⇔ ¬[𝑃(𝑥1 )⋁𝑃(𝑥2 ) … ⋁𝑃(𝑥𝑛 )]
⇔ ¬𝑃(𝑥1 )⋀¬𝑃(𝑥2 )⋀ … ⋀¬𝑃(𝑥𝑛 )
⇔ (𝑥)[¬𝑃(𝑥)]
www.tranquileducation.weebly.com
Part B
Without using truth table obtain the product of sums canonical form of
(𝑃⋀𝑄⋀𝑅)⋁(¬𝑃⋀𝑄⋀𝑅)⋁(¬𝑃⋀¬𝑄⋀¬𝑅)
Solution:
𝐿𝑒𝑡 𝑆 ≡ (𝑃⋀𝑄⋀𝑅)⋁(¬𝑃⋀𝑄⋀𝑅)⋁(¬𝑃⋀¬𝑄⋀¬𝑅) which is PDNF
¬𝑆 𝑟𝑒𝑝𝑟𝑒𝑠𝑒𝑛𝑡𝑠 𝑡𝑒 𝑚𝑖𝑠𝑠𝑖𝑛𝑔 𝑡𝑒𝑟𝑚𝑠 𝑖𝑛 𝑃𝐷𝑁𝐹
¬𝑆 ≡ (𝑃⋀¬𝑄⋀𝑅)⋁(𝑃⋀𝑄⋀¬𝑅)⋁(¬𝑃⋀¬𝑄⋀𝑅)⋁(¬𝑃⋀𝑄⋀¬𝑅)
⋁(𝑃⋀¬𝑄⋀¬𝑅)
¬¬𝑆 ≡ ¬(𝑃⋀¬𝑄⋀𝑅)⋀¬(𝑃⋀𝑄⋀¬𝑅)⋀¬(¬𝑃⋀¬𝑄⋀𝑅)⋀¬(¬𝑃⋀𝑄⋀¬𝑅)
⋀¬(𝑃⋀¬𝑄⋀¬𝑅)
www.tranquileducation.weebly.com
𝑆 ≡ (¬𝑃⋁𝑄⋁¬𝑅)⋀(¬𝑃⋁¬𝑄⋁𝑅)⋀(𝑃⋁𝑄⋁¬𝑅)⋀(𝑃⋁¬𝑄⋁𝑅)
⋀(¬𝑃⋁𝑄⋁𝑅) which is PCNF
Without constructing the truth table obtain PDNF of (𝑃⋀𝑄)⋁(¬𝑃⋀𝑅)⋁(𝑄⋀𝑅). Also
find PCNF.
Solution:
𝐿𝑒𝑡 𝑆 ≡ (𝑃⋀𝑄)⋁(¬𝑃⋀𝑅)⋁(𝑄⋀𝑅)
≡ ( 𝑃⋀𝑄 ⋀ 𝑅⋁¬𝑅 )⋁(¬𝑃⋀ 𝑄⋁¬𝑄 ⋀𝑅)⋁( 𝑃⋁¬𝑃 ⋀ 𝑄⋀𝑅 )
≡ 𝑃⋀𝑄⋀𝑅 ⋁ 𝑃⋀𝑄⋀¬𝑅 ⋁ ¬𝑃⋀𝑄 ⋁ ¬𝑃⋀¬𝑄 ⋀𝑅
⋁ 𝑃⋀𝑄⋀𝑅 ⋁ ¬𝑃⋀𝑄⋀𝑅
≡ 𝑃⋀𝑄⋀𝑅 ⋁ 𝑃⋀𝑄⋀¬𝑅 ⋁ ¬𝑃⋀𝑄⋀𝑅 ⋁ ¬𝑃⋀¬𝑄⋀𝑅
⋁ 𝑃⋀𝑄⋀𝑅 ⋁ ¬𝑃⋀𝑄⋀𝑅
≡ 𝑃⋀𝑄⋀𝑅 ⋁ 𝑃⋀𝑄⋀¬𝑅 ⋁ ¬𝑃⋀𝑄⋀𝑅 ⋁ ¬𝑃⋀¬𝑄⋀𝑅
which is PDNF
¬𝑆 𝑟𝑒𝑝𝑟𝑒𝑠𝑒𝑛𝑡𝑠 𝑡𝑒 𝑚𝑖𝑠𝑠𝑖𝑛𝑔 𝑡𝑒𝑟𝑚𝑠 𝑖𝑛 𝑃𝐷𝑁𝐹
¬𝑆 ≡ 𝑃⋀¬𝑄⋀𝑅 ⋁ 𝑃⋀¬𝑄⋀¬𝑅 ⋁ ¬𝑃⋀𝑄⋀¬𝑅 ⋁ ¬𝑃⋀¬𝑄⋀¬𝑅
¬¬𝑆 ≡ ¬ 𝑃⋀¬𝑄⋀𝑅 ⋀¬ 𝑃⋀¬𝑄⋀¬𝑅 ⋀¬ ¬𝑃⋀𝑄⋀¬𝑅 ⋀¬ ¬𝑃⋀¬𝑄⋀¬𝑅
𝑆 ≡ ¬𝑃⋁𝑄⋁¬𝑅 ⋀ ¬𝑃⋁𝑄⋁𝑅 ⋀ 𝑃⋁¬𝑄⋁𝑅 ⋀ 𝑃⋁𝑄⋁𝑅
which is PCNF
Without constructing the truth table show that (𝑃⋀𝑄) → (𝑃⋁𝑄) is a tautology.
Solution:
(𝑃⋀𝑄) → (𝑃⋁𝑄)
¬(𝑃⋀𝑄)⋁(𝑃⋁𝑄)
www.tranquileducation.weebly.com
(¬𝑃⋁¬𝑄)⋁(𝑃⋁𝑄)
¬𝑃⋁(¬𝑄⋁𝑃)⋁𝑄
¬𝑃⋁(𝑃⋁¬𝑄)⋁𝑄
(¬𝑃⋁𝑃)⋁(¬𝑄⋁𝑄)
𝑇⋁𝑇
𝑇
(𝑃⋀𝑄) → (𝑃⋁𝑄) is a tautology
Without constructing the truth table obtain the PDNF of ¬𝑃⋁𝑄. Also find PCNF.
Solution:
Let 𝑆 ≡ ¬𝑃⋁𝑄
≡ ¬𝑃⋀ 𝑄⋁¬ 𝑄 ⋁ 𝑃 ⋁¬𝑃 ⋀𝑄
≡ ¬𝑃⋀𝑄 ⋁ ¬𝑃⋀¬𝑄 ⋁ 𝑃⋀𝑄 ⋁ ¬𝑃⋀𝑄
≡ ¬𝑃⋀𝑄 ⋁ ¬𝑃⋀¬𝑄 ⋁ 𝑃⋀𝑄 𝑖𝑠 𝑎 PDNF
¬𝑆 ≡ 𝑃⋀¬𝑄
¬¬𝑆 ≡ ¬ 𝑃⋀¬𝑄
𝑆 ≡ ¬𝑃⋁𝑄 is a PCNF
Without constructing the truth table show that 𝑅 ⋁ 𝑆 from the following premises,
𝐶⋁𝐷, (𝐶⋁𝐷) → ¬𝐻 , ¬𝐻 → (𝐴⋀¬𝐵) 𝑎𝑛𝑑 (𝐴⋀¬𝐵) → (𝑅⋁𝑆).
Solution:
𝑖) 𝐶⋁𝐷 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) (𝐶⋁𝐷) → ¬𝐻 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖𝑖) ¬𝐻 → (𝐴⋀¬𝐵) 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑣) (𝐶⋁𝐷) → (𝐴⋀¬𝐵) 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖 , 𝑖𝑖𝑖 𝑎𝑛𝑑 𝑦𝑝𝑜𝑡𝑒𝑡𝑖𝑐𝑎𝑙 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
𝑣) (𝐴⋀¬𝐵) → (𝑅⋁𝑆) 𝑅𝑢𝑙𝑒 𝑃
𝑣𝑖) (𝐶⋁𝐷) → (𝑅⋁𝑆) 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑣 , 𝑣 𝑎𝑛𝑑 𝑦𝑝𝑜𝑡𝑒𝑡𝑖𝑐𝑎𝑙 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
𝑣𝑖𝑖) 𝑅⋁𝑆 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑣𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
Without constructing the truth table show that 𝑅 ⋀ (𝑃⋁𝑄) is a valid conclusion from the
premises 𝑃⋁𝑄, 𝑄 → 𝑅, 𝑃 → 𝑀 𝑎𝑛𝑑 ¬𝑀.
𝑖) 𝑃⋁𝑄 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) 𝑃 → 𝑀 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖𝑖) ¬𝑀 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑣) ¬𝑃 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖, 𝑖𝑖𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑡𝑜𝑙𝑙𝑒𝑛𝑠
𝑣) 𝑄 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑖𝑣 𝑎𝑛𝑑 𝑑𝑖𝑠𝑗𝑢𝑛𝑐𝑡𝑖𝑣𝑒 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
𝑣𝑖) 𝑄 → 𝑅 𝑅𝑢𝑙𝑒 𝑃
𝑣𝑖𝑖) 𝑅 𝑅𝑢𝑙𝑒 𝑇, 𝑣, 𝑣𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
𝑣𝑖𝑖𝑖) 𝑅 ⋀ 𝑃⋁𝑄 𝑅𝑢𝑙𝑒 𝑇, 𝑣𝑖𝑖, 𝑖 𝑎𝑛𝑑 𝑐𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛
www.tranquileducation.weebly.com
If Jack fails high school, then he is uneducated
If Jack reads a lot of books, then he is not uneducated.
Jack misses many classes through illness and reads a lot of books.
Solution:
Let 𝐶 represents Jack misses many classes through illness
Let 𝐹 represents Jack fails high school
Let 𝐸 represents Jack is uneducated
Let 𝐵 represents Jack reads lot of books
The symbolic representation of the problem is
𝐶 → 𝐹, 𝐹 → 𝐸, 𝐵 → ¬𝐸, 𝐶⋀𝐵 are inconsistent.
𝑖) 𝐶⋀𝐵 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) 𝐶 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑎𝑛𝑑 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛
𝑖𝑖𝑖) 𝐵 𝑅𝑢𝑙𝑒 𝑇, 𝑖 𝑎𝑛𝑑 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛
𝑖𝑣) 𝐶 → 𝐹 𝑅𝑢𝑙𝑒 𝑃
𝑣) 𝐹 → 𝐸 𝑅𝑢𝑙𝑒 𝑃
𝑣𝑖) 𝐶 → 𝐸 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑣, 𝑣 𝑎𝑛𝑑 𝑦𝑝𝑜𝑡𝑒𝑡𝑖𝑐𝑎𝑙 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
𝑣𝑖𝑖) 𝐵 → ¬𝐸 𝑅𝑢𝑙𝑒 𝑝
𝑣𝑖𝑖𝑖) ¬𝐸 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖𝑖, 𝑣𝑖𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
𝑖𝑥) 𝐸 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖, 𝑣𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
𝑥) 𝐸⋀¬𝐸 𝑅𝑢𝑙𝑒 𝑇, 𝑣𝑖𝑖𝑖, 𝑥𝑖 𝑎𝑛𝑑 𝑐𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛
𝑥𝑖) 𝐹 𝑅𝑢𝑙𝑒 𝑇, 𝑥 𝑎𝑛𝑑 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 𝑙𝑎𝑤
The set of given premises are inconsistent.
𝑖) 𝐶⋀𝑀 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) 𝐶 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑎𝑛𝑑 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛
𝑖𝑖𝑖) 𝑀 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑎𝑛𝑑 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛
𝑖𝑣) 𝐶 → 𝑃 𝑅𝑢𝑙𝑒 𝑃
𝑣) 𝑃 → 𝐵 𝑅𝑢𝑙𝑒 𝑃
𝑣𝑖) 𝐶 → 𝐵 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑣, 𝑣 𝑎𝑛𝑑 𝑦𝑝𝑜𝑡𝑒𝑡𝑖𝑐𝑎𝑙 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
www.tranquileducation.weebly.com
𝑣𝑖𝑖) 𝑀 → ¬𝐵 𝑅𝑢𝑙𝑒 𝑝
𝑣𝑖𝑖𝑖) ¬𝐵 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖𝑖, 𝑣𝑖𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
𝑖𝑥) 𝐵 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖, 𝑣𝑖 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
𝑥) 𝐵⋀ ¬𝐵 𝑅𝑢𝑙𝑒 𝑇, 𝑣𝑖𝑖𝑖, 𝑥𝑖 𝑎𝑛𝑑 𝑐𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛
𝑥𝑖) 𝐹 𝑅𝑢𝑙𝑒 𝑇, 𝑥 𝑎𝑛𝑑 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 𝑙𝑎𝑤
The set of given premises are inconsistent.
Without constructing the truth table show that 𝑆 is valid inference from the
premises 𝑃 → ¬𝑄, 𝑄⋁𝑅, ¬𝑆 → 𝑃 𝑎𝑛𝑑 ¬𝑅.
Solution:
𝑖) 𝑄⋁𝑅 𝑅𝑢𝑙𝑒 𝑃
𝑖𝑖) ¬𝑅 𝑅𝑢𝑙𝑒 𝑃
www.tranquileducation.weebly.com
𝑖𝑖𝑖) 𝑄 𝑅𝑢𝑙𝑒 𝑇, 𝑖, 𝑖𝑖 𝑎𝑛𝑑 𝑑𝑢𝑠𝑗𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
𝑖𝑣) 𝑃 → ¬𝑄 𝑅𝑢𝑙𝑒 𝑃
𝑣) ¬𝑃 𝑅𝑢𝑙𝑒 𝑇, 𝑖𝑖𝑖, 𝑖𝑣 𝑎𝑛𝑑 𝑀𝑜𝑑𝑢𝑠 𝑡𝑜𝑙𝑙𝑒𝑛𝑠
𝑣𝑖) ¬𝑆 → 𝑃 𝑅𝑢𝑙𝑒 𝑃
𝑣𝑖𝑖) ¬¬𝑆 𝑅𝑢𝑙𝑒 𝑇, 𝑣, 𝑣𝑖 𝑎𝑛𝑑 𝑀𝑜𝑑𝑢𝑠 𝑡𝑜𝑙𝑙𝑒𝑛𝑠
𝑣𝑖𝑖𝑖) 𝑆 𝑅𝑢𝑙𝑒 𝑇, 𝑣𝑖𝑖 𝑎𝑛𝑑 𝑁𝑒𝑔𝑎𝑡𝑖𝑜𝑛
Prove that ∃𝑥 𝑃 𝑥 ⋀𝑄 𝑥 ∃𝑥 𝑃 𝑥 ⋀ ∃𝑥 𝑄 𝑥
Solution:
1. (∃𝑥)(𝑃(𝑥)⋀𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
2. 𝑃(𝑎)⋀𝑄(𝑎) 𝑅𝑢𝑙𝑒 𝐸𝑆 ,1
3. 𝑃 𝑎 𝑅𝑢𝑙𝑒 𝑇, 2
4. (∃𝑥)𝑃(𝑥) 𝑅𝑢𝑙𝑒 𝐸𝐺, 3
5. 𝑄 𝑎 𝑅𝑢𝑙𝑒 𝑇, 2
6. ∃𝑥 𝑄 𝑥 𝑅𝑢𝑙𝑒 𝐸𝐺 ,5
7. ∃𝑥 𝑃 𝑥 ⋀ ∃𝑥 𝑄 𝑥 𝑅𝑢𝑙𝑒 𝐶𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛 ,4,6
www.tranquileducation.weebly.com
6. 𝐹 𝑏 ⋀𝑆 𝑏 → 𝑀 𝑎 → 𝑤 𝑎 𝑅𝑢𝑙𝑒 𝐸𝑆 ,5
7. ¬ 𝐹 𝑏 ⋀𝑆 𝑏 𝑀𝑜𝑑𝑢𝑠 𝑡𝑜𝑙𝑙𝑒𝑛𝑠 ,4,6
8. ¬𝐹 𝑏 ⋁¬𝑆 𝑏 7, 𝐷𝑒 𝑀𝑜𝑟𝑔𝑎𝑛′𝑠 𝑙𝑎𝑤
9. 𝐹 𝑏 → ¬𝑆 𝑏 8, 𝑑𝑖𝑠𝑗𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑎𝑠 𝑐𝑜𝑛𝑑𝑖𝑡𝑖𝑜𝑛𝑎𝑙
10. 𝑥 𝐹 𝑥 → ¬𝑆 𝑥 9, 𝑈𝐺
There is mistake in the following derivation. Find it. Is the conclusion valid?. If so, obtain
a correct derivation.
1. (𝑥)(𝑃(𝑥) → 𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
2. 𝑃(𝑦) → 𝑄(𝑦) 𝑈𝑆
3. ∃𝑥 𝑃 𝑥 𝑅𝑢𝑙𝑒 𝑃
4. 𝑃 𝑦 𝐸𝑆
5. 𝑄(𝑦) 𝑅𝑢𝑙𝑒 𝑇, 2,4
6. (∃𝑥)𝑄(𝑥) 𝐸𝐺
Solution:
1. (𝑥)(𝑃(𝑥) → 𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
2. 𝑃(𝑎) → 𝑄(𝑎) 𝑅𝑢𝑙𝑒 𝑈𝑆 ,2
3. (∃𝑦)𝑃(𝑦) 𝑅𝑢𝑙𝑒 𝑃
4. 𝑃(𝑎) 𝑅𝑢𝑙𝑒 𝐸𝑆 ,3
5. 𝑄 𝑎 𝑇, 2,4, 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
6. (∃𝑧)𝑄(𝑧) 𝑅𝑢𝑙𝑒 𝐸𝐺 ,5
Therefore (∃𝑧)𝑄(𝑧) is validly derivable from the premises
𝑥 𝑃 𝑥 → 𝑄 𝑥 , (∃𝑦)𝑃(𝑦)
www.tranquileducation.weebly.com
(𝑥)(𝑃(𝑥) → 𝑄(𝑥)), (𝑥)(𝑅(𝑥) → ¬𝑄(𝑥)) (𝑥)(𝑅(𝑥) → ¬𝑃(𝑥))
Solution:
Contrapositive method:
Let us assume that ¬(𝑥)(𝑅(𝑥) → ¬𝑃(𝑥)) as additional premise.
1. ¬ 𝑥 𝑅 𝑥 → ¬𝑃 𝑥 𝑅𝑢𝑙𝑒 𝑎𝑑𝑑𝑖𝑡𝑖𝑜𝑛𝑎𝑙 𝑃
2. ∃𝑥 ¬ 𝑅 𝑥 → ¬𝑃 𝑥 Demorgan′ s law ,1
3. ¬ 𝑅 𝑎 → ¬𝑃 𝑎 2, 𝐸𝑆
4. ¬ ¬𝑅 𝑎 ⋁ ¬𝑃 𝑎 𝑇, 2, 𝑎𝑛𝑑 𝑒𝑞𝑢𝑖𝑣𝑎𝑙𝑒𝑛𝑐𝑒
′
5. 𝑅 𝑎 ⋀𝑃 𝑎 Demorgan s law ,4
6. 𝑅 𝑎 𝑇, 5
7. 𝑃 𝑎 𝑇, 5
8. (𝑥)(𝑅(𝑥) → ¬𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
9. 𝑅(𝑎) → ¬𝑄(𝑎) 𝑅𝑢𝑙𝑒 𝑈𝑆 ,3
10. ¬𝑄 𝑎 𝑇, 6,9, 𝑎𝑛𝑑 𝑚𝑜𝑑𝑢𝑠 𝑝𝑜𝑛𝑒𝑛𝑠
11. 𝑃 𝑎 ⋀¬𝑄 𝑎 𝑇, 7,10, 𝑎𝑛𝑑 conjuction
12. ¬ ¬𝑃 𝑎 ⋁𝑄 𝑎 𝑇, 6, Demorgan′ s law
13. ¬ 𝑃(𝑎) → 𝑄(𝑎) 𝑇, 12, 𝑎𝑛𝑑 𝑒𝑞𝑢𝑖𝑣𝑎𝑙𝑒𝑛𝑐𝑒
14. (𝑥)(𝑃(𝑥) → 𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
15. 𝑃(𝑎) → 𝑄(𝑎) 𝑅𝑢𝑙𝑒 𝑈𝑆 ,14
16. ¬ 𝑃(𝑎) → 𝑄(𝑎) ⋀ 𝑃(𝑎) → 𝑄(𝑎) 𝑇, 13,15 𝑎𝑛𝑑 𝑐𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛
17. 𝐹 𝑇, 16 𝑎𝑛𝑑 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 𝑙𝑎𝑤
www.tranquileducation.weebly.com
6. (∃𝑥)(𝐴(𝑥) ⋁𝐵(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
7. 𝐴(𝑎) ⋁ 𝐵(𝑎) 𝑅𝑢𝑙𝑒 𝐸𝑆, 6
8. ¬ 𝐴(𝑎) ⋁ 𝐵(𝑎) ⋀ 𝐴(𝑎) ⋁ 𝐵(𝑎) 5,7, 𝑐𝑜𝑛𝑗𝑢𝑛𝑐𝑡𝑖𝑜𝑛
9. 𝐹 𝑅𝑢𝑙𝑒 𝑇, 8 𝑎𝑛𝑑 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 𝑙𝑎𝑤
www.tranquileducation.weebly.com
11. ¬ 𝑃 𝑎 → 𝑄 𝑎 ⋀𝑃 𝑎 →𝑄 𝑎 8,10 𝑎𝑛𝑑 𝑐𝑜𝑛𝑗𝑢𝑐𝑡𝑖𝑜𝑛
12. 𝐹 𝑅𝑢𝑙𝑒 𝑇, 11 𝑎𝑛𝑑 𝑛𝑒𝑔𝑎𝑡𝑖𝑜𝑛 𝑙𝑎𝑤
www.tranquileducation.weebly.com
1. (𝑥)(𝑃(𝑥) → 𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
2. 𝑃(𝑎) → 𝑄(𝑎) 2, 𝑈𝑆
3. (𝑥)(𝑅(𝑥) → ¬𝑄(𝑥)) 𝑅𝑢𝑙𝑒 𝑃
4. 𝑅(𝑎) → ¬𝑄(𝑎) 𝑅𝑢𝑙𝑒 𝑈𝑆 ,3
5. 𝑄 𝑎 → ¬𝑅 𝑎 Rule T, 4
6. 𝑃 𝑎 → ¬𝑅 𝑎 𝑇, 2,5, 𝑦𝑝𝑜𝑡𝑒𝑡𝑖𝑐𝑎𝑙 𝑠𝑦𝑙𝑙𝑜𝑔𝑖𝑠𝑚
7. 𝑅(𝑎) → ¬𝑃(𝑎) Rule T ,6
8. 𝑥 𝑅 𝑥 → ¬𝑃 𝑥 𝑅𝑢𝑙𝑒 𝑈𝐺, 7
www.tranquileducation.weebly.com