MMW Module 4
MMW Module 4
Module 4
Author: Olga DG Unay Section 1: The Nature of Mathematics
1.2 The Language of Mathematics
Elementary Logic
Overview
One area of mathematics that has its roots deep in philosophy is the study
of logic. Logic is the study of formal reasoning based upon statements or propositions.
(Price, Rath, Leschensky, 1992). Logic evolved out of a need to fully understand the
details associated with the study of mathematics. For lawyers and judges, logic is the
study of correct reasoning. They often use logic to communicate more effectively,
construct valid arguments, analyze legal contracts, and make decisions.
The purpose of this module is to introduce you to the general forms of logical
reasoning applicable to real-life arguments.
The lessons of this module will focus on the concepts, principles, and methods
to obtain good and reliable arguments. The topics included will further the develop the
students their own reasoning and proving skills.
Learning Outcomes
After working on this module, you will be able to:
1. describe the nature of logic;
2. illustrate statements;
3. distinguish simple statements from compound statements;
4. use logical connectives to translate compound statements to symbol and
vice versa
5. performs operations statements;
6. determine the truth value of a statement;
7. form the different forms of conditional statements;
8. illustrate different types of tautology;
9. determine the validity of arguments; and
10. use Euler diagram to determine the validity of arguments.
Historical Note:
One of the first mathematicians to make a serious study of symbolic logic was Gottfried
Wilhelm Leibniz (1646–1716). Leibniz tried to advance the study of logic from a merely
philosophical subject to a formal mathematical subject. Leibniz never completely achieved this goal;
however, several mathematicians, such as Augustus De Morgan (1806–1871) and George Boole
(1815–1864), contributed to the advancement of symbolic logic as a mathematical discipline. Boole
published The Mathematical Analysis of Logic in 1848. In 1854 he published the more extensive
work, An Investigation of the Laws of Thought. Concerning this document, the mathematician
Bertrand Russell stated, “Pure mathematics was discovered by Boole in a work which is called The
Laws of Thought.”
Logical Statements
Every language contains different types of sentences, such as statements, questions, and
commands. For instance,
The symbolic logic that Boole was instrumental in creating applies only to sentences
that are statements as defined below.
1 Statement
Definition
A statement is a declarative sentence that is either true or false, but not both true and
false.
p: Today is Friday.
q: It is raining.
r: I am going to a movie.
s: I am not going to the basketball game.
Operations on Statements
In reasoning, it is necessary to take into account the role of truth values in logic.
A truth value of a statement is true (T) if it is a true statement and false (F) if it is a false
statement.
A truth table shows the relationship between the truth values of statements. This is a vital
tool in determining truth values of statements formed from simple statements.
1. Negation
The negation of the statement “Today is Friday.” is the statement “Today is not Friday.”
In symbolic logic, the tilde symbol ~ is used to denote the negation of a statement. If a
statement p is true, its negation ~p is false, and if a statement p is false, its negation ~p is true.
The negation of the negation of a statement is the original statement.
𝑝 ~𝒑
T F
F T
2. Conjunction
If 𝑝 and 𝑞 are statement variables, then the conjunction of 𝑝 and 𝑞 is “𝑝 and 𝑞” denoted by
𝑝 ∧ 𝑞. The compound statement 𝑝 ∧ 𝑞 is true when both p and 𝑞 are true; otherwise, it is false.
𝑝 𝑞 𝒑∧ 𝒒
T T T
T F F
F T F
F F F
𝑝 𝑞 𝑝∧𝑞
F T F
3. Disjunction
𝑝 𝑞 𝑝 ∨ 𝑞
T T T
T F T
F T T
F F F
𝑝 𝑞 𝑝 ∨ 𝑞
F T T
If 𝑝 and 𝑞 are statement variables, then the statement “if 𝑝 then 𝑞” or “𝑝 implies 𝑞” denoted
by 𝑝 → 𝑞, is called conditional statement or implication. The statement 𝑝 is called the hypotheses
and the statement 𝑞 is called the conclusion. A conditional statement is false when 𝑝 is true and 𝑞 is
false; otherwise, it is true.
𝑝 𝑞 𝑝 → 𝑞
T T T
T F F
F T T
F F T
𝑝 𝑞 𝑝 → 𝑞
T F F
A conditional statement has three other conditionals associated with it. They are called the
converse, the inverse, and the contrapositive of the conditional statements.
1. Converse:
𝑞 → 𝑝: If the base angles are congruent, then the triangle is isosceles.
2. Inverse:
~𝑝 → ~𝑞: If the triangle is not isosceles, then the base angles are not
congruent.
3. Contrapositive:
~q → ~p: If the base angles are not congruent, then the triangle is not isosceles.
𝑝 𝑞 𝑝 ↔𝑞
F T F
Let us examine the following statements and determine the truth value of each:
It can be concluded that all given statements are always true. These statements are examples
of tautology statements. Let us see the following definitions:
1. If the given statement has 𝑛 simple statements, then start with a standard form that has
2𝑛 rows. Enter the truth values for each simple statement and their negations.
2. Use the truth values for each simple statement and their negations to enter the truth values
under each connective within a pair of groupings symbols, including parentheses ( ),
brackets [ ], and braces { }. If some grouping symbols are nested inside other grouping
symbols, then work from the inside out. In any situation in which grouping symbols have not
been used, then we use the following order of precedence agreement: First assign truth
values to negation from left to right, followed by conjunctions from left to right, followed by
disjunctions from left to right, followed by conditionals from left to right, and finally by
biconditionals from left to right.
3. The truth values that are entered into the column under the connective for which truth
values are assigned last, form the truth table for the given statement.
The following example shows the step-by-step process of constructing a truth table.
Solution:
Step 1: The given statement 𝑝 ∨ [∼ (𝑝 ∧ ∼ 𝑞)] has the two simple statements 𝑝 and 𝑞. Thus,
we start with a standard form that has 22 = 4 rows. In each column, enter the truth values
for the statements p and ∼q, as shown in the columns numbered 1, 2, and 3 of the
following table.
𝑝 𝑞 𝑝 ∨ [ ∼ (𝑝 ∧ ∼ 𝑞)]
T T T T F Row 1
T F T T T Row 2
F T F F F Row 3
F F F F T Row 4
1 2 3
Step 2: Use the truth values in columns 2 and 3 to determine the truth values to enter under
the “and” connective. See column 4 in the following truth table. Now negate the truth
values in the column numbered 4 to produce the truth values in the column numbered
5.
𝑝 𝑞 𝑝 ∨ [ ∼ (𝑝 ∧ ∼ 𝑞)]
T T T T T F F
T F T F T T T
F T F T F F F
F F F T F F T
1 5 2 4 3
Step 3: Use the truth values in the columns numbers 1 and 5 to determine the truth values to
enter under the “or” connective. See the column numbered 6, which is the truth table for
𝑝 ∨ [∼ (𝑝 ∧ ∼ 𝑞)].
𝑝 𝑞 𝑝 ∨ [ ∼ (𝑝 ∧ ∼ 𝑞)]
T T T T T T F F
T F T T F T T T
F T F T T F F F
F F F T T F F T
1 6 5 2 4 3
As shown in the column 6, the truth values are all T. Thus, 𝑝 ∨ [∼ (𝑝 ∧ ∼ 𝑞)] is a tautology.
Note: Students may choose any procedure that is easier or more convenient for them to use.
a. Start with the standard truth table form and then include a ∼ 𝑞 column.
𝑞 𝑟 ∼𝑞
T T F
T F F
F T T
F F T
Now use the truth values from the ∼ 𝑞 and 𝑟 columns to produce the truth values
for ∼ 𝑞 ∨ 𝑟 as shown in the rightmost column of the following table.
𝑞 𝑟 ∼𝑞 ∼𝑞 ∨ 𝑟
T T F T
T F F F
F T T T
F F T T
Negate the truth values in the ∼ 𝑞 ∨ 𝑟 column to produce the following.
𝑞 𝑟 ∼ 𝑞 ∼ 𝑞 ∨ 𝑟 ∼ (∼ 𝑞 ∨ 𝑟)
T T F T F
T F F F T
F T T T F
F F T T F
As our last step, we form the disjunction of ∼ (∼ 𝑞 ∨ 𝑟) with 𝑞 and place the
results in the rightmost column of the table. See the following table. The shaded
column is the truth table for ∼ (∼ 𝒒 ∨ 𝒓) ∨ 𝒒.
𝑞 𝑟 ∼𝑞 ∼𝑞 ∨ 𝑟 ∼ (∼ 𝑞 ∨ 𝑟) ∼ (∼ 𝑞 ∨ 𝑟) ∨ 𝑞
T T F T F T Row 1
T F F F T T Row 2
F T T T F T Row 3
F F T T F F Row 4
b. In row 2 of the above truth table, we see that when 𝑝 is true, and 𝑞 is false, the
statement ∼ (∼ 𝑞 ∨ 𝑟) ∨ 𝑟 in the rightmost column is true.
a. Using the procedures developed in Example 10, we can produce the following table.
The shaded column is the truth table for (𝑝 ∧ 𝑞) ∧ (∼ 𝑟 ∨ 𝑞). The numbers in the
squares below the columns denote the order in which the columns were
constructed. Each truth value in the column numbered 4 is the conjunction of the
truth values to its left in the columns numbered 1 and 3.
𝑝 𝑞 𝑟 𝑝 ∧ 𝑞 ∼𝑟 ∼𝑟 ∨𝑞 (𝑝 ∧ 𝑞) ∧ (∼ 𝑟 ∨ 𝑞)
T T T T F T T Row 1
T T F T T T T Row 2
T F T F F F F Row 3
T F F F T T F Row 4
F T T F F T F Row 5
F T F F T T F Row 6
F F T F F F F Row 7
F F F F T T F Row 8
1 2 3 4
b. In row 2 of the above truth table, we see that (𝑝 ∧ 𝑞) ∧ (∼ 𝑟 ∨ 𝑞)is true when 𝑝 is
true, 𝑞 is true, and 𝑟 is false.
a.
𝑝 𝑞 𝑟 ∼ 𝑝 ∼ 𝑝 ∧ 𝑞 ∼ 𝑟 𝑞 ∧ ∼ 𝑟 (∼ 𝑝 ∧ 𝑞) 𝑣 (𝑞 ∧∼ 𝑟)
T T T F F F F F Row 1
T T F F F T T T Row 2
T F T F F F F F Row 3
T F F F F T F F Row 4
F T T T T F F T Row 5
F T F T T T T T Row 6
F F T T F F F F Row 7
F F F T F T F F Row 8
b. In row 6 of the above truth table, we see that (∼ 𝑝 ∧ 𝑞) ∨ (𝑞 ∧∼ 𝑟) is true when 𝑝
is false, 𝑞 is true, and 𝑟 is false.
𝑝 ~𝑝 ~𝑝 ∨ 𝑝
T F T
F T T
𝑝 ~𝑝 ~𝑝 ∧ 𝑝
T F F
F T F
𝑝 𝑞 𝑟 ~𝑟 𝑝 ∧ 𝑞 (𝑝 ∧ 𝑞) ∨ ~𝑟
T T T F T T
T T F T T T
T F T F F F
T F F T F T
F T T F F F
F T F T F T
F F T F F F
F F F T F T
Equivalent Statements
Two statements are equivalent if they both have the same truth value for all possible truth
values of their simple statements. Equivalent statements have identical truth values in the final
columns of their truth tables. The notation p ≡ q is used to indicate that the statements p and q are
equivalent.
Solution:
Construct two truth tables and compare the results. The truth tables below show that
~( 𝑝 ∨ ~𝑞) and ~𝑝 ∧ 𝑞 have the same truth values for all possible truth values of their
simple statements. Thus, the statements are equivalent.
𝑝 𝑞 ~ (𝑝 ∨ ~𝑞) 𝑝 𝑞 ~𝑝 ∧ 𝑞
T T F T T F
T F F T F F
F T T F T T
F F F F F F
The truth table in Example 15 shows that ~ (𝑝 ∨ ~𝑞) and ~𝑝 ∧ 𝑞 are equivalent statements. These
equivalences are known as De Morgan’s laws for statements.
~ (𝑝 ∨ 𝑞) = ~𝑝 ∧ ~𝑞
~ (𝑝 ∧ 𝑞) = ~ 𝑝 ∨ ~ 𝑞
16
Use one of De Morgan’s laws to restate the following sentence in an equivalent form:
Example
Solution:
Table A.
𝑞 𝑟 𝑞 ∨ 𝑟 ∼ (𝑞 ∧ 𝑟) ∼𝑞 ∼𝑟 ∼𝑞 ∧∼𝑟
T T T F F F F
T F T F F T F
F T T F T F F
F F F T T T T
The shaded columns showed that the ∼ (𝑞 ∨ 𝑟) and ∼ 𝑞 ∧ ∼ 𝑟 have the same truth
values. Then, we say that ∼ (𝑞 ∨ 𝑟) and ∼ 𝑞 ∧ ∼ 𝑟 are logically equivalent.
To verify our claim, let us determine the truth values of the biconditional statement:
∼ (𝑞 ∨ 𝑟) ↔ (∼ 𝑞 ∧ ∼ 𝑟)
Table B.
𝑞 𝑟 𝑞 ∨ 𝑟 ∼ (𝑞 ∧ 𝑟) ∼𝑞 ∼𝑟 ∼𝑞 ∧∼𝑟 ∼ (𝑞 ∨ 𝑟) ↔ (∼ 𝑞 ∧ ∼ 𝑟)
T T T F F F F T
T F T F F T F T
F T T F T F F T
F F F T T T T T
(2) All social media influencers are allowed to share their own experiences and opinions.
The terms “some” and “all” in statements (1) and (2), respectively, are examples of
quantifiers. The word “some” and the phrases “there exists” and “at least one” are called existential
quantifiers and are used to assert the existence of something.
The words, “all”, “every”, “no”, and “none” are called universal quantifiers. The quantifiers
“all” and “every” are used to assert that every element of a given set satisfies a condition. Whereas,
“no” and “none” are used to deny or reject the existence of something.
Department of Mathematics, College of Science, University of Eastern Philippines 77
GE 1 – Mathematics in the Modern World
Module 4
Author: Olga DG Unay Section 1: The Nature of Mathematics
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.
Arguments
In this section we consider methods of analyzing arguments to determine whether they are
valid or invalid. For instance, consider the following argument.
If Aristotle was human, then Aristotle was mortal. Aristotle was human.
Therefore, Aristotle was mortal.
To determine whether the above argument is a valid argument, we must first define the
terms argument and valid argument.
the conclusion. An argument is valid if the conclusion is true whenever all the premises
are assumed to be true. An argument is invalid if it is not a valid argument.
In the argument about Aristotle, the two premises and the conclusion are shown below.
It is customary to place a horizontal line between the premises and the conclusion.
Arguments can be written in symbolic form. For instance, if we let h represent the
statement “Aristotle was human” and m represent the statement “Aristotle was mortal,” then the
argument can be expressed as
h →m
h_______
∴m
The three dots ∴ are a symbol for “therefore.”
2. If she doesn’t get on the plane, then she will regret it. She does not regret it. Therefore,
she got on the plane.
Example. Let:
𝑝: There are more pigeons than there are pigeonholes.
𝑞: At least two pigeons roost in the same holes
Example. Let:
𝑝: There are more pigeons than there are pigeonholes.
𝑞: At least two pigeons roost in the same hole.
If there are more pigeons than there are pigeonholes, then at least two pigeons roost in
the same hole.
At most one pigeon roost in the hole
Therefore, there are more pigeonholes than there are pigeons.
3) Disjunctive syllogism
a) 𝑝 ∨ 𝑞 b) 𝑝 ∨ 𝑞
~𝑝________ ~𝑞________
∴𝑞 ∴𝑝
Example:
a.) Let 𝑝: Gina is going to study law.
𝑞: Gina is going to study medicine.
Example. Let:
𝑝: 18,436 is divisible by 18
𝑞: 18,436 is divisible by 9
𝑟: The sum of the digits of 18,436 is divisible by 9.
5) Dilemma
𝑝 ∨ 𝑞
𝑝 → 𝑟
𝑞 → 𝑟________
∴ 𝑟
Example. Let
𝑝: 𝑥 is positive
𝑞: 𝑥 is negative
𝑟: 𝑥 2 > 0
𝑥 is positive or 𝑥 is negative
If 𝑥 is positive then 𝑥 2 > 0.
If 𝑥 is negative then 𝑥 2 > 0.
Therefore, 𝑥 2 > 0.
Many arguments involve sets whose elements are described using the quantifiers all, some,
and none. The mathematician Leonhard Euler used diagrams to determine whether arguments that
involved quantifiers were valid or invalid. The following figures show Euler diagrams that illustrate
the four possible relationships that can exist between two sets.
Euler used diagrams to illustrate logic concepts. Some 100 years later, John Venn extended
the use of Euler’s diagrams to illustrate many types of mathematics. In this section, we will construct
diagrams to determine the validity of arguments. We will refer to these diagrams as Euler diagrams.
The first premise indicates that the set of college courses is a subset of the set of fun
courses. We illustrate this subset relationship with an Euler diagram, as shown in Figure 1.
The second premise tells us that “this course” is an element of the set of college courses. If
we use c to represent “this course,” then c must be placed inside the set of college courses,
as shown in Figure 2.
Figure 1 Figure 2
Figure 2 illustrates that c must also be an element of the set of fun courses. Thus the
argument is valid.
The Euler diagram in Figure 3 shows that the set of pediatricians and the set of
jugglers are disjoint sets. Figure 4 shows that because the set of clowns is a subset of the set
of jugglers, no pediatrician p are elements of the set of clowns. Thus, the argument is valid.
pediatricians pediatricians
Figure 3 Figure 4
Self-Assessment Activity 2
A. Write the negation of the following statements:
B. Form the conjunction, disjunction, conditional and biconditional statements of 𝑝 and 𝑞 for the
following statements. Then determine the truth value of each result.
2. p: 2 is a prime number.
q: √2 is a rational number.
C. Construct a truth table then determine whether the statement is a tautology, contradiction,
contingency or equivalent.
1. (~𝑝 ∧ 𝑞) ∨ 𝑟
Elle did not eat breakfast and she did not take a lunch break
Conjunction: There are two seasons in the Philippines and there is no winter season. - True
Disjunction: There are two seasons in the Philippines or there is no winter season. - True
Conditional: If there are two seasons in the Philippines, then there is no winter season. -True
Biconditonal: There are two seasons in the Philippines if and only if there is no winter season. – True
2. Statement 𝑝 is a TRUE statement since 2 has exactly two positive divisors, 1 and itself (2). Statement 𝑞 is a
FALSE statement since √2 cannot be expressed as a quotient of two integers. √2 is an example of an
irrational number.
𝑝 𝑞 𝑟 ~𝑝 ~𝑝˄𝑞 (~𝑝 ∧ 𝑞) ∨ 𝑟
T T T F F T
T T F F F F
T F T F F T
T F F F F F
F T T T T T
F T F T T T
F F T T F T
F F F T F F
(~𝑝 ∧ 𝑞) ∨ 𝑟 is a contingency.
Summary
A statement is a declarative sentence that is either true or false but not both true and false.
A simple statement conveys a single idea, whereas, a compound statement conveys two or more
ideas. Compound statements are formed by joining two or more simple statements with the use of
connectives such as “and”, “or”, “if, then”, and “if and only if”. The following table shows logical
connectives and their corresponding symbols:
There are statements that are related to a conditional statement 𝑝 → 𝑞. These are:
(i) converse (𝑞 → 𝑝), (ii) inverse (~𝑝 → ~𝑞), and (iii) contrapositive (~𝑞 → ~𝑝).
The following table illustrates the rules in determining the truth values of statements.
These rules are essential in constructing truth tables.
In mathematics, quantified statements are often use to state theorems and other
mathematical concepts. The word “some” and the phrases “there exists”, and “at least one” are
called existential quantifiers and are used to assert the existence of something. The words, “all”,
“every”, “no”, and “none” are called universal quantifiers. The quantifiers “all” and “every” are used
to assert that every element of a given set satisfies a condition. Whereas, “no” and “none” are used
to deny or reject the existence of something.
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.
1) Modus ponens
𝑝 → 𝑞
𝑝________
∴ 𝑞
2) Modus tollens
𝑝 → 𝑞
~𝑞________
∴ ~𝑝
3) Disjunctive syllogism
b) 𝑝 ∨ 𝑞 b) 𝑝 ∨ 𝑞
~𝑝________ ~𝑞________
∴𝑞 ∴𝑝
4) Hypothetical syllogism
𝑝 → 𝑞
𝑞 → 𝑟________
∴𝑝 → 𝑟
5) Dilemma
𝑝 ∨ 𝑞
𝑝 → 𝑟
𝑞 → 𝑟________
∴ 𝑟
Euler diagrams are also used to determine the validity of arguments. These diagrams
represent statements the way Venn diagrams represent sets. The following figures show the Euler
diagrams that illustrates the four possible relationships that can exists between two sets.
Responses To Consider
As you go along this module, what lesson/s did you feel the most difficult for you? Try to list
them down and give time to consult your teacher for further discussion.
References
Alferez, M. S., et.al. (2010). Statistics and Probability. Revised Edition. Manila: MSA
Publishing House
Aufmann, R., Lockwood, J., et.al, Mathematics in the Modern World, Rex Bookstore, Inc.,
2018.
Flores, Maricar; Gagani, Ray Ferdinand M. & Ypanto, Quennie C. Worktext in General
Gonzales, J.O. , et.al. (2015). Essential Statistics. Manila: MaxCor Publishing House, Inc.
Nocon, R., Nocon, E., Essential Mathematics for the Modern World, C & E Publishing, Inc.
2018.
Mathematics(2016). C & E Publishing Company.
Other Materials
http://www.math.wichita.edu/history/Topics/logic.html
Suggested Readings
Malik, D.S. & Sen, M. K., Discrete Mathematics: Theory and Applications, Cengage Learning,
2010. (pages 31- 52)
Note To Students
Deadline of submission of Worksheet and Reflection Paper to the Municipal Link:
JANUARY 22, 2021
Student’s Information:
Student Number: Last Name, First Name M.I.: Course – Year:
2. x + 3 = 15
4. x + y > 10
5. Come to class!
3. 3 + 5 = 7
2. ¬𝑝 ∨ (𝑝 ⋀ 𝑞)
3. 𝑝 → 𝑞
4. 𝑝 ↔ 𝑞
VI. Use the indicated letters to write each argument in symbolic form.
1.) If you can read this bumper sticker (𝑟), you’re too close (𝑐). You can read the bumper
sticker. Therefore, you’re too close.
2.) If Lois Lane marries Clark Kent (m), then Superman will get a new uniform (u).
Superman does not get new uniform. Therefore, Lois Lane did not marry Clark Kent.
VII. Use Euler Diagram to determine whether the argument is valid or invalid. Justify your
answer.
a.) Some birds bite.
All things that bite are dangerous.
∴ Some birds are dangerous.