13. Propositional Logic
13. Propositional Logic
Objectives
• Understand logic and propositions
• Determine the different types of logical
connectives
• Changing Symbols to Sentence Form of Logical
Connectives
Introduction to Logic
a) P or not Q. 𝐏 ∨∼𝑸
b) If P and R, then Q. (𝐏 ∧ 𝑹) → 𝑸
f) If P and Q, then R or S. 𝐏 ∧ 𝑸 → (𝑹 ∨ 𝑺)
Example
Translate the following statements into logical notation, using the following
symbols:
p = "The taco is hot."
q = "The lasagna is cold."
r = "The pizza will be delivered."
(a) "The taco is hot and the pizza will not be delivered."
(b) "If the lasagna is cold, then the pizza will be delivered."
(c) "Either the lasagna is cold or the pizza won't be delivered."
(d) "If the pizza won't be delivered, then both the taco is hot and the lasagna is
cold."
Example
Translate the following statements into logical notation, using the
following symbols:
p = "The taco is hot."
q = "The lasagna is cold."
r = "The pizza will be delivered."
(e) "The lasagna isn't cold if and only if the taco isn't hot."
(f) "The pizza will be delivered only if the lasagna is cold."
(g) "The taco is hot and the lasagna isn't cold, but the pizza will be
delivered."
Example
Given Express the following symbols
to sentences.
p : Joy watched the concert of Ben&Ben.
1. ~p
q : Joy studies for the test.
2. p ^ q
r : Joy is fully rested.
3. q v r
s : Joy passed the test.
4. ~q
5. q → s
6. s (q ^ r)
7. (~p ^r) → (q ^ s)