Lesson 2.3 Elementary Logic
Lesson 2.3 Elementary Logic
Example:
Determine if each statement is a proposition.
a. There are no classes at Sothern Leyte State University today.
b. Welcome to the Philippines!
c. All parallelograms are quadrilaterals.
d. 4 + 6 = 9
e. What is the domain of the function?
Solution:
Recall that for a statement to be a proposition it has to be a declarative sentence, and it should
have a truth value of either true or false, but cannot be both true and false at the same time.
a. This is a declarative sentence. Hence it is a proposition since the truth value is either true
or false. Remark that it is not necessary that its true value is immediately known.
b. The statement is an exclamatory sentence, and so it is not a proposition.
c. This is a declarative sentence. Hence it is a proposition since the truth value is either true
or false.
d. This is declarative sentence. Even if the sum of 4 and 6 is not 9 but still it is a proposition.
Take note that false mathematical sentences are still proposition.
e. It is an interrogative sentence. Hence, it is not a proposition.
1|Page
Simple and Compound Statement
Definition. A compound proposition is a proposition formed from simpler propositions
using logical connectors or some combination of logical connectors. Some logical connectors
involving propositions p and/or q may be expressed as follows:
not p p and q p or q if p then q
A proposition is simple if it cannot be broken down any further into other component
propositions.
Later in this lesson, we will be required to establish the truth value or falsity of a
compound proposition. To facilitate the process of establishing its truthfulness or falsity,
propositions will be symbolized together with the connectives to be used.
Consider relating proposition p to another proposition q to form a new proposition.
2|Page
Republic of the Philippines
SOUTHERN LEYTE STATE UNIVERSITY – TOMAS OPPUS
San Isidro, Tomas Oppus, Southern Leyte
3|Page
Argument Forms and Truth Table
Recall that a simple proposition is a statement with true value, that is, the statement is
either true or false. Operations involving two or more propositions make use of connectives.
Combining propositions using a connective will result in the formation of a new proposition. To
determine whether this resulting proposition is true or false, a scheme for listing all possible
truth values will be used. This scheme can be done with the help of the so-called truth table. A
truth table involving n propositions has 2𝑛 rows.
There are five common propositions that are result of five common connectives:
conjunction, disjunction, conditional, biconditional, and negation.
Conjunction: This is a proposition which is the result of combining two other propositions
called conjuncts with the connective word and.
Rule: The conjunction of two statements is true only if both conjuncts are true.
Truth Table: 𝑝 𝑞 pq
T T T
T F F
F T F
F F F
Example:
Determine whether each conjunction is true or false.
a. 3 is odd and prime.
b. 3 and -3 is a root of 𝑥 2 + 6𝑥 + 9 = 0 .
Solution:
a. If p is the conjunct “3 is odd.” which is a true statement, and q is the conjunct “3 is
prime” which is also a true statement, then the statement is true which asserts the first
row of the truth table.
b. If p is the conjunct “3 is a root of .” which is a false statement, and q is the conjunct “-3 is
a root of .” which is a true statement, then the statement is false which asserts the third
row of the truth table.
Disjunction: This is proposition which is the result of combining two other propositions called
disjuncts with the connective word or. Note that the word or will be considered
with inclusive sense.
Rule: The disjunction of two statements is false only if both conjuncts are false.
Truth Table:
𝑝 𝑞 pq
T T T
T F T
F T T
F F F
4|Page
Example:
Determine whether each disjunction is true or false.
a. Male seahorse is a fish or female seahorse carries the egg until their release into the water.
b. A group of dogs is a herd or a group of horses is a flock.
Solution:
a. If p is the disjunct “A male seahorse is a fish.” which is a true statement, and q is the
disjunct “A female seahorse carries the egg until their release into the water.” which is a
false statement, then it is a true statement since one of the disjuncts is a true statement.
b. If p is the disjunct “A group of dogs is a herd.” which is a false statement, and q is the
disjunct “A group of horses is a flock.” which is also a false statement, then it is a false
statement since both disjuncts are false statements.
Biconditional: This proposition is the result of combining two propositions in the form … if and
only if …
Rule: The biconditional is true if both propositions are true or both are false.
𝑝 𝑞 𝑝↔𝑞
5|Page
Truth Table: T T T
T F F
F T F
F F T
Example:
Determine whether each biconditional statement is true or false.
a. A square is a polygon if and only if the square is a rectangle.
b. The diagonals of a square are parallel if and only if the square is a quadrilateral.
Solution:
a. If p is the proposition “A square is a polygon.” which is a true statement, and q is the
proposition “The square is a rectangle.” which is also a true statement, then it is a true
statement.
b. If p is the proposition “The diagonals of a square are parallel.” which is a false statement
and q is the proposition “The square is a quadrilateral.” which is a true statement, then
it is a false statement.
Negation: This is a proposition which is the result of reversing the truth value of a given
proposition.
Rule: If a proposition is true, its negation is false, and if a proposition is false, its
negation is true.
Truth Table: 𝑝 ~𝑝
T F
F T
Example:
Determine the negation of each proposition and tell whether each negation is true or false.
a. Manila is the capital city of the Philippines.
b. 1 = 2.
Solution:
a. The negation of the proposition “Manila is the capital city of the Philippines.” which is a
true statement, is “It is not true that Manila is the capital city of the Philippines.” or
“Manila is not the capital city of the Philippines.” which is a false statement.
b. The negation of the proposition “1 = 2.” which is a false statement, is “1 ≠ 2.” which is a
true statement.
6|Page
Constructing Truth Tables
In the previous lesson, we identified the following statements as compound propositions and
also define their corresponding logical operator. By now, you should have mastered the truth
table of the logical operators because we are going to use them to determine all the possible
truth values of more complex compound propositions using the truth tables. Consider the
example below.
Example:
Consider the compound proposition below. Construct its truth table.
a. (𝑝 → 𝑞) (𝑞 → 𝑝) b. ~[(𝑝 𝑞) → 𝑟]
Solution:
Remember: A truth table involving n propositions has 2𝑛 rows.
a. 𝑝 𝑞 𝑝→𝑞 𝑞→𝑝 (𝑝 → 𝑞) (𝑞 → 𝑝)
T T T T T
T F F T F
F T T F F
F F T T T
b. 𝑝 𝑞 𝑟 𝑝 𝑞 (𝑝 𝑞) → 𝑟 ~[(𝑝 𝑞) → 𝑟]
T T T T T F
T T F T F T
T F T T T F
T F F T F T
F T T T T F
F T F T F T
F F T F T F
F F F F T F
7|Page
Republic of the Philippines
SOUTHERN LEYTE STATE UNIVERSITY – TOMAS OPPUS
San Isidro, Tomas Oppus, Southern Leyte
8|Page