Module 1 Logic PDF
Module 1 Logic PDF
LOGIC
ARIEL F. MELAD
CAGAYAN STATE UNIVERSITY
COLLEGE OF BUSINESS, ENTREPRENEURSHIP AND
ACCOUNTANCY
2020
LOGIC
HISTORY
Gottfried Wilhelm Leibniz (1646-1716). The first
mathematician to make a serious study of symbolic
logic. Leibniz tried to advance the study of logic
from a philosophical subject to a formal
mathematical subject.
LOGIC
Logic Statements
Definition. A statement is a declarative
sentence that is either true or false, but not both
true and false.
LOGIC
Solution.
1. Manila is the capital of the Philippines, so this
statement is true and it is a statement.
2. The sentence, “how are you” is a question; it is
not a declarative sentence. Thus it is not
statement.
LOGIC
Solution.
3. You may not know whether 99 + 2 is a prime
number, however you know that is a whole number
larger than 1, so it is either a prime or not a prime
number. The sentence is ether true or false not both
true or false. Hence, it is a statement.
LOGIC
Solution.
4. x+1 = 5 is a statement called an open
statement. It is true for x = 4 but false for any
other number. For any given value of x, it is true
or false but not both.
LOGIC
Solution.
1. Sharon Cubeta is not an actress.
2. Tomorrow is a rainy day?
3. I don’t eat banana.
4. Ages below 21 and 60 and above are allowed to get
out during GCQ.
LOGIC
Solution.
a. 𝑝∧𝑞
b. ∼𝑞∧𝑟
c. ∼𝑠∨𝑟
d. 𝑞→𝑠
LOGIC
Solution:
a. If you get a promotion and you complete the
training, then you will receive a bonus.
b. ∼ 𝑞 → ∼ 𝑝 ∧∼ 𝑟 .
LOGIC
Solution.
a. True. You read this as 7 is greater than or equal to 5. 7 is greater
than 5 is T while 7 is = 5 is F. Hence, T or F is TRUE.
b. False. 5 is a whole number but not an even number. So, 5 is a
whole number is T while 5 is even is F. Thus, T and F is FALSE.
c. True. 2 is a prime is T while 2 is even is T. So, T and T is
TRUE.
LOGIC
Truth Tables
Solution. Start with standard truth table form
𝒑 𝒒 ∼𝒑 ∼𝒑∨𝒒 ∼ (∼ 𝒑 ∨ 𝒒) ∼ (∼ 𝒑 ∨ 𝒒) ∨ 𝒒
T T F T F T
T F F F T T
F T T T F T
F F T T F F
LOGIC