Module-4_Lesson-4.1-Logic (1)
Module-4_Lesson-4.1-Logic (1)
1
Logic
OBJECTIVES
❑ Example
p: Triangle has three sides. ❑T
q: Quadrilaterals has five sides ❑F
: Triangle has three sides while
❑F
quadrilaterals has five sides.
Logical Connectives
DISJUNCTION
❑ The disjunction of propositions p and q
is denoted by read as “p or q”,
and is defined through its truth table
p q
T T T ❑ If at least one is true
for p and q, the
T F T disjunction will be
F T T TRUE. Otherwise,
F F F FALSE
Logical Connectives
DISJUNCTION
❑ The disjunction of propositions p and q
is denoted by read as “p or q”,
and is defined through its truth table
❑ Example
p: A Right angle measures exactly 90°.❑ T
q: Two lines are perpendicular. ❑ T/F
:A Right angle measures exactly 90° or
two lines are perpendicular. ❑T
Logical Connectives
CONDITIONAL
❑ The conditional of propositions p and q
is denoted by read as “If p, then
q.”, and is defined through its truth table
p q ❑ p is the hypothesis while q
T T T is the conclusion.
❑ If the hypothesis is TRUE
T F F and the conclusion is
F T T FALSE, the conditional
will be FALSE. Otherwise,
F F T TRUE
Logical Connectives
CONDITIONAL
❑ The conditional of propositions p and q
is denoted by read as “If p, then
q.”, and is defined through its truth table
❑ Example
p: 3 is a non-zero integer. ❑ T
q: 112 is divisible by 3. ❑F
:If 3 is a non-zero integer, then 112 is
divisible by 3 ❑F
Logical Connectives
46
Further Examples
Determine whether the following statements are TRUE or FALSE.
a. It is not the case that mathematics in the modern world is a
general education course.
Solution:
Let p: Mathematics in the modern world is a general education
course. True
The sentence in symbols: ∼ 𝒑
Operating the truth value: ∼ 𝑻 ≡ 𝑭
Therefore, the proposition is False.
47
Further Examples
Determine whether the following statements are TRUE or FALSE.
b. Either Leonardo of Pisa discovered Fibonacci sequence or
George Polya did not discover the Four-Step Problem Solving
Strategy.
Solution:
Let p: Leonardo of Pisa discovered Fibonacci sequence. True
Let q: George Polya discovered the Four-Step Problem Solving Strategy.
True
The sentence in symbols: 𝒑 ∨∼ 𝒒
Operating the truth value: 𝑻 ∨∼ 𝑻 ≡ 𝑻 ∨ 𝑭 ≡ 𝑻
Therefore, the proposition is True.
48
Further Examples
Determine whether the following statements are TRUE or FALSE.
c. COVID-19 Pandemic affected millions of people worldwide and
caused long distance learning in education.
Solution:
Let p: COVID-19 Pandemic affected millions of people worldwide. True
Let q: COVID-19 Pandemic caused long distance learning in education. True
The sentence in symbols: 𝒑 ∨ 𝒒
Operating the truth value: 𝑻 ∨ 𝑻 ≡ 𝑻
Therefore, the proposition is True.
49
Further Examples
Determine whether the following statements are TRUE or
FALSE.
d. If 0 is a natural number, then 0 is a real number.
Solution:
Let p: 0 is a natural number. False
Let q: 0 is a real number. True
The sentence in symbols: 𝒑 → 𝒒
Operating the truth value: 𝑭 → 𝑻 ≡ 𝑻
Therefore, the proposition is True.
50
Further Examples
Determine whether the following statements are TRUE or FALSE.
e. 5 is an odd number if and only if 2 is a prime number.
Solution:
Let p: 5 is an odd number . True
Let q: 2 is a prime number. True
The sentence in symbols: 𝒑 ↔ 𝒒
Operating the truth value: 𝑻 → 𝑻 ≡ 𝑻
Therefore, the proposition is True.
51
Further Examples
Given the statements below, express statement into its symbolic
form. Then, determine its truth value.
If either a triangle with two congruent sides is an isosceles
triangle or an equilateral triangle is an isosceles triangle, then it
is not the case that a triangle has three sides.
Solution:
Let p: A triangle with two congruent sides is an isosceles triangle. True
Let q: An equilateral triangle is an isosceles triangle. True
Let r: A triangle has three sides. True
In symbols: 𝒑 ∨ 𝒒 →∼ 𝒓
Operating the truth value: 𝑻 ∨ 𝑻 →∼ 𝑻 ≡ 𝑻 → 𝑭 ≡ 𝑭
Therefore the proposition is false.
52
Further Examples
Determine whether the given is a tautology, fallacy, or a
contingency.
a. ∼ (𝑝 ∨ 𝑞) → [𝑝 ∧ (𝑞 → 𝑟)]
Solution:
57
Thank You!
58