Professional Documents
Culture Documents
In our daily lives, when we are faced with problems or just a situation
which require a decision, we are often reminded to apply logic and reasoning for
the most desired results. Hence, this is the basic reason why logic and reasoning
are so essential in our lives. (http://danpatch.ecn.purdue.edu).
Answer:
1. 2+3 = 6. It is a statement/proposition. It is a false statement
2. Please open the door. It is not a statement. It is an imperative
sentence.
3. x + 3 = 7. It is not a statement. The statement is either true or false.
4. Manila is the capital of the Philippines. It is a statement. Because it
has a truth value.
5. Oh, the house is burning! It is not a statement. It is an exclamatory
sentence.
6. Have you done your homework? It is not a statement/proposition. It
is an interrogative sentence.
Try this!
1. Today is Wednesday.
2. Melchor is a Priest.
3. 8+5 = 13
9. 2x + 4 = 6
If p then q
Conditional/Implication If …then…
p implies q p→q
p only if q
p therefore q
p if and only if q p↔q
p is equivalent to q
Biconditional If and only if
p is necessary and
sufficient for q
Exclusive-or Exclusive-or p exclusive-or q p⨁q
1. Negation (~ , ¬), the truth value of the negation is always the reverse of the
truth value of the original statement. Denoted by ~p (not p).
Truth Table for Negation
p ~p
T F
F T
Illustrative Example:
p: Today is Monday.
~p: Today is not Monday.
2. Conjunction (˄, and) is true only when both p and q are true, otherwise it is
false. Denoted by p ˄ q (p and q).
Truth Table for Conjunction
p q p˄q
T T T
T F F
F T F
F F F
3. Disjunction (˅, or) is false only when both p and q are false, otherwise it is
true denoted by p ˅ q (p or q).
Truth Table for Disjunction
p q p˅q
T T T
T F T
F T T
F F F
Illustrative Example:
p: Dog is a mammal
q: 6-2 is 5.
Dog is a mammal or 6-2 is 5.
Since “dog is a mammal is a true statement and the statement 6 -2 is
5 is false. The disjunction of the compound statement is True.
Since the statement “-2-2 is 4” and “4 is 5+1” are both false, therefore
the conditional of the compound statement is true.
5. Biconditional (↔) – is true only when both p and q have the same truth
values denoted by p ↔ q (p if and only if q).
Illustrative Example:
p: 8+9 =18
q: 10 – 8 = 3.
6. Exclusive-or (⨁) is false only when both p and q have the same truth
values, the reverse of biconditional, denoted by p q (p exclusive-or).
Truth Table for Exclusive-or
p q p⨁q
T T F
T F T
F T T
F F F
Illustrative Example:
p: 8+9 =18 if and only if
q: 10 – 8 = 3.
Truth Table for Three Simple Statements. Use this as reference if there
are three statements.
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
p q ~p p˅q p˅q→~p
T T F T F
T F F T F
F T T T T
F F T F T
2. (p ˄ q) ↔ (r →~p)
Try this!
II. Write each of the following symbolic statements in words. Consider the
following statements:
1. p ˄ q → p
p q p˄q p˄q→p
T T
T F
F T
F F
2. (p ˅ q) ˄ (~p ˅ ~q)
p q
T T
T F
F T
F F
3. (p ˄ q) ˅ (p ˅ q)
p q p˄q p˅q (p ˄ q) ˅ (p ˅ q)
T T
T F
F T
F F
4. (p ↔ q) → (~p ˅ q)
p q
T T
T F
F T
F F
5. (p ⨁ q) → (p ˅ ~q)
p q p+q ~q p ˅ ~q (p ⨁ q) → (p ˅ ~q)
T T
T F
F T
F F
6. (~p ˅ ~q) → r
p q r
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
7. ~ (p → r) ˄ (q ˅ p)
p q r p→r ~ (p → r) q˅p ~ (p → r) ˄ (q ˅ p)
T T T
T T F
T F T
T F F
F T T
F T F
F F T
F F F
8. [p ˅ (~p ˄ q)] → ~q
p q
V. Construct the truth tables for each of the following compound statements.
1. p ˅ q → ~p
2. ~p ˄ ~q
3. (p → q) ˄ ~q
4. q ˄ (~p ˅ ~q)
5. (p ˄ q) ˄ (r ˅ p)
6. (p →q) ˄ → r
7. (p ↔ q) ↔ (~p ↔ ~q)
8. [p ↔ (p ⨁ q)] ˄ r
9. ~ (~ r ˅ ~q) ˅ (~ p → q)
10. (~p →p) ↔ [(q ˄ r)]
Illustrative Example:
Conditional Statement: If it floods, then they cancel classes.
"It it floods" is the hypothesis.
"They cancel classes" is the conclusion.
To form the inverse of the conditional statement, take the negation of both
the hypothesis and the conclusion.
Inverse, the inverse of the conditional statement is “If not p then not q.”
“If it does not flood then they do not cancel classes”
Illustrative Example:
If two angles are congruent, then they have the same
Statement
measure.
If two angles have the same measure, then they are
Converse
congruent.
If two angles are not congruent, then they do not have the
Inverse
same measure.
If two angles do not have the same measure, then they are
Contrapositive
not congruent.
Try this!
5. If Martina did not eat delicious food, then she has normal laboratory test.
Converse:
Inverse:
Contrapositive:
Illustrative Example:
Construct the truth table for each of the following compound statements
and determine whether it is a tautology, contradiction, or contingency.
1. (p ˄ q) ˄ ~p
p q p˄q ~p (p ˄ q) ˄ ~p
T T T F F
T F F F F
F T F T F
F F F T F
Since all the truth values of the compound statement are false, then it is a
contradiction.
2. (~p → ~q) ˅ (p ˄ q )
p q ~p ~q (~p → ~q) p ˄q (~p →~q) ˅ (p ˄ q)
T T F F T T T
T F F T T F T
F T T F F F F
F F T T T F T
Note that the truth value of the statement (~p → ~q) ˅ (p ˄ q) are
combinations of true and false, therefore the compound statement is
contingency.
3. (q ˄ ~p) → q
p q ~p q ˄~p (q ˄ ~p) → q
T T F F T
T F F F T
F T T T T
F F T F T
Observe that the truth values of the compound statement (q ˄ ~p) → q are
true; thus, it is a tautology.
Try this!
Direction: Construct the truth table for each of the following compound
statements. State whether it is tautology, contradiction, or
contingency.
1. (p ˄ q) ˅ ~p
2. ~p ˅~q → p
3. p → q ˄ ~ q
6. (p ˅ q) ˄ (~p ˅ ~q)
7. (p ˄ q) ⨁ (p ˅ q)
8. [(p ˅ q) → q] ˄ ~p
Unique Existential ∃! (which means there is one and only one / unique)
Example: There is one and only one prime number which is even.
Let P(x) be “a prime number which is even.
∃!P(x).
Try this!
6. ∀x, xϵ R / x2˃0.
𝑥
7. ∃x, ϵZ
2
8. ∃!x 1 + x = 0
9. ∀x, y ϵR, x2 + y2 = 1
Illustrative Examples:
Write an argument in symbolic form.
1. I will work hard or I will resign. I will work hard. Therefore, I will not
resign.
2. If he/she does not join on the tour, he/she will miss it. He/she does not
miss it. Therefore, he/she joins in the tour.
Let p and q represent the statement “He/She does not join on the
tour” and “he/she will missed it”.
p→q
~q
∴ ~p
Truth Table
First premise Second premise Conclusion
p q P→q p q
T T T T T
T F F T F
F T T F T
F F F F F
Truth table
1st premise 2nd premise 3rd premise
f g f→g ~f ~g
T T T F F
T F F F T
F T T T F
F F T T T
The conclusion in row 3 is false and the premises are both true, therefore
the argument is invalid.
Truth table
st
1 premise 2nd premise Conclusion
p q p ˄ ~q ~q p
T T T F T
T F T T T
F T F F F
F F T T F
Try this!
1. If you’re in love (m) you’re inspired (n). You are inspired. Therefore,
you’re in love.
2. If I did not wear my uniform (~u) I can’t get inside the school (~s). I
enter the school. Therefore, I wear my uniform.
4. I love to cook adobo (a) or I cook spaghetti (~p). I did not cook
spaghetti. Therefore, I cooked adobo.
5. I eat banana (b) and I do not eat green mango (~g). I did not eat
banana. Therefore, I ate green mango.
P P P Q P
Q Q Q
Algebra Algebra
M M
BSIT students is a subset of the set algebra, and Max is the subset of the
set BSIT students. Therefore, the arguments is valid.
Z Z Z
4 4
W W W
Second figure supports the arguments, but the 3 rd figure show that 4 can
be placed in one of two regions, thus the argument is invalid.
Try this!
I. Draw the Euler Diagram and determine whether the following argument is
valid or invalid.