Logics MMW g7
Logics MMW g7
Answer.
a."Manila is the capital of the Philippines" is true, therefore it is a proposition.
b."What day is it?" It is a question; it cannot be considered either true or false and thus, it is not
a proposition.
e. "Help me, please." It cannot be categorized as true or false and therefore, it is not a
proposition.
d. "He is handsome." The sentence is neither true nor false because "he" is not specified and
thus, it is not a proposition.
Logical Statement and Quantifiers
There are also propositions (or statements) which are considered ambiguous such as
a. Mathematics is fun.
b. Calculus is more interesting than Trigonometry.
c. It was hot in Manila.
d. Street vendors are poor.
1. Conjunction. The conjunction of the proposition p and q is the compound proposition "p and q."
Symbolically, p^q, where A is the symbol for “and”. If p is true and q is true, then p^q is true;
otherwise p^q is false. Meaning, the conjunction of two propositions is true only if each
proposition is true.
Example 2: Determine the truth value of each of the following p q p^q
conjunctions.
a. 2+6=9 and man is a mammal. T T T
b. Manny Pacquiao is a boxing champion and Gloria Macapagal T F F
F T F
Arroyo is the first female
F F F
Philippine President.
c. Abraham Lincoln is a former US President and the Philippine
Senate is composed of 24 senators.
Logical Statement and Quantifiers
A. Operations on
Propositions
2. Disjunction. The disjunction of the proposition p, q is the
compound proposition "p or q." Symbolically, p v q, where v is
the symbol for “or”. If p is true or q is true or if both p and q are
true, then p v q is true; otherwise p v q is false. Meaning, the p q p^q
disjunction of two propositions is false only if each proposition T T T
is false. T F F
F T F
Example 3: Determine the truth value of each of the following F F F
disjunctions.
a. 2+6=9 or Manny Pacquiao is a boxing champion.
b. Philippine Senate is composed of 24 senators or Gloria
Macapagal Arroyo is the first female Philippine President.
c. Abraham Lincoln is a former US President or man is a
mammal.
Logical Statement and Quantifiers
A. Operations on
Propositions
3. Negation. The negation of the proposition p is denoted by ~p, p ~p
where ~ is the symbol for "not." If p is true, ~p is false. Meaning, the
truth value of the negation of a proposition is always the reverse of the T F
truth value of the original proposition. F T
• Given the proposition "Sofia will take her lunch in Batangas or she will have it in Singapore,"
it can be noted from the statement that "Sofia cannot have her lunch in Batangas and at the
same time do it in Singapore," thus it is considered false.
• If Sofia will have her lunch in Batangas or in Singapore, meaning she can only have it in one
location given a single schedule (the truth value is true). Lastly, if she ought to decide to
have her lunch elsewhere (neither in Batangas nor in Singapore), therefore the truth value is
false.
Table 9.1 shows the common words or terms used in the six main logical
connectives.
Logical Connectives Logical Expressions Word
Example 8: Construct the switching network equivalent in each of the following compound
statements.
a. [(p^r) v (q^r)] v ~p
b. [ p v (~p v q) v (p v ~q) ] ~q
c. (p v ~q ) ^ (~p v q) ^ (p v ~q)
B. Switching Network
A predicate (or open statements) is a statement whose truth depends on the value of
one or more variables. Predicates become propositions once every variable is bound by
assigning a universe of discourse. Most of the propositions are defined in terms of
predicates.
For example, ”x is an even number” is a predicate whose truth depends on the value of
x. The predicate is true for x=2 since 2 is an even number, but false for x =3 since 3 is
an odd number.
The same with other statements, predicates are often represented by a letter.
Moreover, a predicate can also be denoted by a function-like notation. We can denote
the given predicate as:P(x)="x is an even number." Now P(2) is true, and P(3) is false. If
P is a predicate, then P(x) is either true or false, depending on the value of x.
C. Quantifier
Consider the sentence "If x is an odd number, then x is not a multiple of 2." The given
sentence has the logical form P(x)→ Q(x) and its truth value can be determine for a
specific value of x. However, statements such as
• There exists an x such that x is odd number and 2x is even number or
• For all x, if x is a positive integer, then 2x +1 is an odd number.
.
C. Quantifier
Binding variable is used on the variable x, we can say that the occurrence of this
variable is bound.
On contrary, a variable is said to be free, if an occurrence of a variable is not bound.
The statement "there exists an x such that P(x)," is symbolized by ∃x P(x). The symbol
∃ is called the existential quantifier. The statement " ∃ x P(x)" is true if there is at
least one value of x for which P(a) is true. The statement "for all x, P(x)," is symbolized
by ∀x P(x). The symbol ∀ is called the universal quantifier. The statement " ∀ x P(x)"
is true if only if P(x) is true for every value of x.
C. Quantifier
Table 9.3 shows common words associated with existential and universal quantifiers.
If the universe of disoourse for P is P { p1, p2, …,pn}, then ∀x P(x) ↔ P(p1) ^ P(p2) ^…
^P(pn) and ∃x P(x) ↔ P(p1) v P(p2) v…v P(pn). From this, we can easily determine the
truth values of the quantifiers.
.
C. Quantifier
Statement Negation
All A are B. Some A are not B.
No A are B. Some A are B.
Some A are not B. All A are B.
Some A are B. No A are B.
Lesson 2:
Truth Tables, Equivalent
Statements, and
Tautologies
A. Truth Tables
Example 1:
a. ~p v ~q
b. p → (p ↔ ~q)
c.(~p ^ q) v (p ^~q)
d. (p → q) v (q ^ ~r)
B. Equivalent
Statements
This section covers the definition of logically
equivalent propositions and the laws of logical
equivalent which were supported with some
examples.
Example:
a. p ^ (q v r) and (p ^ q) v (p ^ r)
b. p → q and ~q → ~p
c. p ↔ q and (p → q) ^ (q → p)
C. Tautologies
There are three important classes of compound
statements namely tautology, contradiction, and
contingency which are briefly discussed below.
• Tautology is a compound statement that is true
for all possible combinations of the truth values of
the propositional variables also called logically
true.
• Contradiction is a compound statement that is
false for all possible combinations of the truth
values of its propositional variables also called
logically false or absurdity.
• Contingency is a compound statement that can
either be true or false, depending on the truth
values of the propositional variables are neither a
tautology nor a contradiction.
Lesson 3:
Conditional,
Biconditional and
Related Statements
There are different ways to express the conditional proposition p → q. The conditional proposition p→
q can be expressed in three variations using the logical connectives ~ and→.
Name Statement
Conditional p→ q
Converse of p → q. q→ p
Inverse of p → q. ~p → ~q
Contrapositive of p → q. ~q → ~p
The truth table below show the comparison on the variations of conditional propositions.
p q p→q q→ p ~p ~q ~p → ~q ~q → ~p
T T T T F F T T
T F F T F T T F
F T T F T F F T
F F T T T T T T
Observe that p → q is equivalent to ~q → ~p, while q → p is equivalent to ~p → ~q. On the other
hand, p → q is not equivalent to q → p and ~p → ~q.
Example: Given the conditional proposition “If Achaiah goes to school, then Sofia will go home”,
determine the converse, inverse, and the contrapositive of the proposition.
Solution:
Converse: If Sofia will go home, then Achaiah goes to school.
Inverse: If Achaiah does not go to school, then Sofia will not go home.
Contrapositive: If Sofia will not go home, then Achaiah does not go to school.
Lesson 4:
Symbolic
Argument
Symbolic Arguments
A. Arguments
Most of the rules of inference are from tautologies. Since a tautology is a statement which is
"always true," it is used in drawing conclusions. Logic proofs usually begin with premises -
statements that are allowed to be assumed, while conclusion is the statement that needs to be
proven. The idea is to make use of the premises using rules of inference until we arrive at the
conclusion. The arguments can be written in symbolic form which will be discussed in the
following examples.
Symbolic Arguments
A. Arguments
Let us examine one rule of inference to prove the validity of arguments. One of the rules
of inference is the rule of detachment. Rule of Detachment (or Modus Ponens) means
the method of affirming. The truth table below shows that [p ^ (p→ q)]→ q is a tautology.
Symbolic Arguments
B. Fallacies
5. Appeal to the People (or Argumentum Ad Populum). It is an argument that the opinion of
the majority is always valid.
Example 1: Most Filipino like soda. Therefore, soda is good.
Example 2: Everyone I know is voting for Juan dela Cruz, so he's probably the best choice for
B. Fallacies
6. Argumentum Ad Hominem (Latin for "to the man"). It is an attack on the character of a
person of his opinions or arguments. It is a tactic used by an adversary when they do not have a
logical counter-argument.
Example 1: Don't listen to Peter' s assertions on instruction, he's a simpleton.
Example 2: You can't believe that Presidential candidate is going to lower taxes. He's a liar.
7. Circular Argument (or Petitio Principii). If a premise of an argument presupposes the truth
of its conclusions; meaning, the argument takes for granted what it's supposed to prove.
Example 1: Senator Chiz Escudero is a good communicator because he speaks effectively.
Example 2: God exists because the Holy Bible says so. The. Holy Bible is true. Therefore, God
exists.
9. Fallacy of Division. A reasoning which assumes that the characteristic of a group is also the
characteristic of each individual in the group.
Example 1: University of the Philippines is the best university in the country. Therefore, every
student from UP is better than any other university in the country.
Example 2: Your family is crazy. That means that you are crazy, too.
10. False Dilemma. It is an argument which implies one or two outcomes is inevitable and both
have negative consequences, but actually there could be more choices possible.
Example 1: If you don't vote for this candidate you must be antichrist.
Example 2: You either broke the glass door, or you did not. Which is it?
13. Slippery Slope (or snowball/domino theory). It is an argument which claims a sort of chain
reaction, usually ending in some extreme and after ludicrous will happen, but there's really not enough
evidence for such assumption.
Example 1: If high school students are given 15 minutes rather than 5 minutes break between
classes, they'll just start skipping classes.
Example 2: If I fail Algebra, I won't be able to graduate. If I don't graduate, I probably won't be able
to get a good job, and may very well end up like a beggar.
14. Strawman Fallacy. It is an argument that misrepresents position of the opponent in an extreme or
exaggerated form or attacking the weaker and irrelevant portion of an argument in order to make it
appear weaker than it actually is. The objective is to refute the misrepresentation of the position, and
conclude that the real position has been refuted.
Example 1: Congressman who does not support the proposed national minimum wage increase
hates the poor.
Activity: Write your answer in a one whole sheet of paper.
Write the letter of the correct answer.