Lesson 2. Nature of Logic
Lesson 2. Nature of Logic
LESSON 2
Truth Value
1. Manila City is the capital of Philippines.
2. 8 is an even number.
3. 105 is divisible by 10.
4. Get me some flowers in the garden.
5. 1 is the smallest prime number.
Tell whether each of the following statements is a proposition or
not. If a proposition, give its truth value.
Truth Value
6. Welcome to Puerto Galera!
7. Why did you fail the exam?
8. If today is Tuesday, then tomorrow is Wednesday.
9. Leave the door open.
10. Philippines is an Asian country.
SIMPLE PROPOSITION
A proposition is simple if it cannot be broken down
any further into other component propositions. Simple
propositions do not contain connector.
Examples:
1. 𝐩: Manila City is the capital of Philippines.
2. 𝐪: 8 is an even number.
3. 𝐫: 105 is divisible by 10
COMPOUND PROPOSITION
A compound proposition is a proposition form from
simple propositions using logical connectors.
not, and, or, if and then
Example 1.
𝒑𝟏 : It is not the case that 2 is a rational number.
Simple component:
𝑟: 2 is a rational number
𝒑𝟏 : not 𝑟
Example 2.
𝒑𝟐 : Today is Tuesday and tomorrow is Wednesday.
𝑡: Today is Tuesday.
𝑤: Tomorrow is Wednesday.
𝒑𝟐 : 𝑖 and 𝑤
Example 3.
𝒑𝟑 : Either I’m tired or I’m hungry.
𝑡: I’m tired.
𝑤: I’m hungry.
𝒑𝟑 : 𝑡 or ℎ
Example 4.
𝒑𝟒 : If you are more than 60 years old, then you are entitled
to a Senior Citizen’s card, and if you are entitled to a Senior
citizen’s card, then you are more than 60 years old.
s
Simple component:
𝑎: you are more than 60 years old
𝑏: You are entitled to a Senior citizen’s card.
𝒑 𝒒 𝒑⋀𝒒
T T T
T F T
F T T
F F F
Let 𝒑, 𝒒 and 𝒓 be the following propositions.
𝑝: Mother loves his son .
𝑞: Son loves his mother.
Write the following disjunction as English sentences.
a.) 𝒑⋁𝒒 Either mother loves his son or son loves his mother.
b.) ~𝒑⋁~𝒒 Either mother does not love his son or son does not love
his mother.
c.)~(𝒑⋁𝒒) It is not the case that either mother loves his son or
son loves his mother.
4. CONDITIONAL STATEMENT
The conditional of a proposition 𝑝 and 𝑞 is denoted by 𝑝 → 𝑞
(read as ‘if 𝑝, then 𝑞). This statement is defined to be true
when 𝑝 and 𝑞 are true and when 𝑝 is false, no matter what
truth value 𝑞 has.
𝒑 𝒒 𝒑→𝒒
The conditional 𝑝 → 𝑞 may also be read T T T
as ‘𝑝 implies 𝑞’. This proposition 𝑝 is T F F
called the hypothesis, while the F T T
proposition 𝑞 is called the conclusion. F F T
Suppose that today is Tuesday. Consider the following conditionals.
𝑝1 : If today is Tuesday, then tomorrow will be Wednesday.
𝑝2 : If today is Tuesday, then yesterday is Sunday.
𝑝3 : If today is Saturday, then I can wake up late today.
SOLUTION: 𝒑 𝒒 𝒑→𝒒
𝒑𝟏 : TRUE, as the first row of the truth table T T T
asserts. T F F
𝒑𝟐 : FALSE, as the second row of the truth table F T T
indicates. F F T
𝒑𝟑 : TRUE
According to the last two rows of the truth table, 𝑝3 is true regardless of
the truth value of its conclusion.
5. BICONDITIONAL STATEMENT
The biconditional of a proposition 𝑝 and 𝑞 is denoted by 𝑝 𝑞
(read as ‘𝑝 if and only if q’). This statement is defined to be
true when 𝑝 and 𝑞 are both true or both false.
F F F T F Biconditional ( ) –
TRUE if truth values are
Since the truth values of the proposition are all FALSE for all the same.
possible values of the variables, the proposition is a
contradiction.
~𝒑⋁~𝒒
REMEMBER ME!
Negation Disjunction Conjunction (⋀) – TRUE
Negation only if both are true.
F F T T T Biconditional ( ) –
TRUE if truth values are
Since the truth values of the proposition are neither true nor the same.
false for all possible values of the variables, the proposition is
a contingency.
NATURE OF LOGIC
(𝒑⋀~𝒑) → 𝒒
REMEMBER ME!
𝒑 ∨ (𝒒 ∧ 𝒓)
𝑝 𝑞 𝑟
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
NATURE OF LOGIC
(𝒑 ∨ 𝒒) ∧ (𝒑 ∨ 𝒓)
𝑝 𝑞 𝑟
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
FORMS OF CONDITIONAL PROPOSITION
Inverse: ~𝑷 → ~𝑸 Contrapositive: ~𝑸 →
𝑷 𝑸 ~𝑷 ~𝑸 ~𝑷 → ~𝑸 𝑷 𝑸 ~𝑷 ~𝑷
~𝑸 ~𝑸 → ~𝑷
T T F F T T T F F T
T F F T T T F F T F
F T T F F F T T F T
F F T T T F F T T T
Conditional Converse Inverse Contrapositive
𝑷 𝑸 𝑷→𝑸 𝑸 → 𝑷 ~𝑷 → ~𝑸 ~𝑸 → ~𝑷
T T T T T T
T F F T T F
F T T F F T
F F T T T T
~ 𝑃 ∨ 𝑄 𝑎𝑛𝑑 ~𝑃 ∧∼ 𝑄 are equivalent since they have the same truth values.
Example 2
Show that the two given compound propositions are equivalent.
a. ~ 𝑃 ∧ 𝑄 𝑎𝑛𝑑 ~𝑃 ∨∼ 𝑄
For ~ 𝑷 ∧ 𝑸 For ~𝑷 ∨∼ 𝑸
𝑷 𝑸 𝑃∧𝑄 ~ 𝑃∧𝑄 𝑷 𝑸 ∼𝑷 ∼ 𝑸 ~𝑃 ∨∼ 𝑄
T T T F T T F F F
T F F T T F F T T
F T F T F T T F T
F F F T F F T T T
~ 𝑃 ∧ 𝑄 𝑎𝑛𝑑 ~(𝑃 ∨∼ 𝑄)are equivalent since they have the same truth values.
De Morgan’s Law
• ~ 𝑃 ∨ 𝑄 ≡ ~𝑃 ∧∼ 𝑄
• ~ 𝑃 ∧ 𝑄 ≡ ~𝑃 ∨∼ 𝑄
Example 3
Using De Morgan’s Law, write statement equivalent to:
“It’s not true that Matthew is a mathematician and comedian.”
b. ∼ 𝐴 → ~𝐵
Given statement:∼ 𝐴 → ~𝐵
Negation: ∼ 𝐴 ∧ 𝐵