Chapter 3 Symbolic Logic
Chapter 3 Symbolic Logic
Symbolic Logic
INTRODUCTION:
Logic plays a very important role in mathematics – it is the foundation on which the
discipline is built. Remember all the proofs you had to write to establish some theorems in
algebra and geometry? You start with the given assumptions, use definitions and perhaps some
known results, and argue logically to establish the conclusion. We consider mathematics as a
language with its own symbols and “grammar”. These symbols may represent various
mathematical objects like numbers, sets, or functions. The grammar will be the rules when
combining these symbols. We apply logic to deduce properties of these objects and rules based
on some axioms. One cannot overemphasize the importance of logic in mathematics, but logic,
or logical reasoning, is just as important in our everyday life. In this era of fake news, post-
truths, false advertising, we must be able to discern what is true or false. We should be able to
determine if a certain argument is valid or not.
OBJECTIVES:
The great German philosopher, writer and mathematician Gottfried Wilhelm von Leibniz
(1646–1716) was among the first to realize the need to formalize logical argument forms. It
was his dream to create a universal formal language of science that would translate all
philosophical arguments to symbols and variables (symbolic logic) in place of natural language,
such as English, in order to remove vagueness.
Make me a pot.
What makes a better
student? Make me a pot. (command sentence,
cannot be determined as true or false)
Wow!
Not a STATEMENT
(cannot be determined as What makes a better student?
True or false) (question/interrogative sentence, cannot be
determined as true or false)
Decide which of the following are statements and which are not by writing the word “yes”
before the number if it is a statement and “no” if it is not a statement.
(d) 28 ÷ 7 + 6 - 2 = 49
Solution:
a. Bamboo is the strongest tree. a. it is a statement, can be judged as true or
false in an objective manner.
b. Do you believe that bamboo can be considered b. not a statement, because it is a question.
as a grass?
(f) For me, seeing you happy makes me inspired. f. not a statement, it gives an opinion.
Page|2
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Examples:
Your uniform is red.
This university is surrounded by beautiful trees.
Muscovado sugar is very nutritious.
(b) If you register for Wi-Fi service, then you will get 3 days of free access.
Solution:
a. Our school mascot is an ant. a. There are no connectives involved, so this is
a simple statement.
b. If you register for Wi-Fi service, then you will b. This if . . . then statement is compound.
get 3 days of free access.
d In this time of pandemic, I will stay at home or d. Ultimately, this statement could be restated
go for a vacation. as “I will stay at home, or I will go for a
vacation”, which makes it a compound
statement.
Quantified Statements
Quantified statements involve terms such as all, each, every, no, none, some,
there exists, and at least one.
The first five (all, each, every, no, none) are called universal quantifiers because they
either include or exclude every element of the universal set.
The latter three (some, there exists, at least one) are called existential quantifiers
because they claim the existence of something, but do not include the entire universal set.
Page|3
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
UNIVERSAL EXISTENTIAL
QUANTIFIERS QUANTIFIERS
Every student in the university are required to make their LMS account.
Some people who are skilled in bamboo furniture making are also skilled in pottery
making.
There is at least one professor in this school who is not fully vaccinated.
Negations of Statement
The negation of a statement is a corresponding statement with the opposite truth value.
The typical way to negate a simple statement is by adding the word not. If the statement
already includes the word not, then remove it to form the negation.
(In this setting, we define the word some to mean at least one.)
Page|4
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
This diagram should help you remember the negations for quantified statements. The
statements diagonally opposite each other are negations.
Every student in the university Some students in the university are not required to
are required to make their LMS make their LMS account.
account.
Some people are skilled in No people are skilled in bamboo furniture making.
bamboo furniture making
No student should left behind. At least one student should left behind.
Symbolic Notation
Symbolic logic uses letters to represent statements and special symbols to represent
words like and, or, and not.
Conjunction and ˄
Disjunction or ˅
Conditional If … then →
Biconditional If and only if ↔
We often use parentheses in logical statements when more than one connective is
involved in order to specify an order. Simple statements in logic are usually denoted with
lowercase letters like p, q, and r.
Page|5
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Write in conjunction, disjunction, conditional and biconditional and translate to symbol the two
statements below.
We could use “p” to represent the statement “I am vaccinated” and “q” to represent the
statement “I will be safe from the spread covid-19.”
a. CONJUNCTION
conjunction statement is
p q
in symbol,
p⋀q
b. DISJUNCTION
disjunction statement is
p q
in symbol,
p⋁q
c. CONDITIONAL
conditional statement is
p q
in symbol,
p→q
Page|6
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
d. BICONDITIONAL
biconditional statement is
p↔q
Earlier, we discussed about the negation of simple statement. Here, we introduce the
symbol ∼ (tilde/curl) to represent a negation.
Solution: First identify the connector and, or, if… then, if and only if, keyword in each statement,
then rewrite using the appropriate symbol.
Side note:
I will not go to the beach.
Connector symbol
This is the negation of statement q; in symbol, ~q
and ∧
or ˅
(b) It is cloudy, and I will go to the beach. If … then →
If and only if ↔
Solution:
It is cloudy, and I will go to the beach. negation ∼
Page|7
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Solution:
If it is cloudy, then I will not go to the beach.
Solution:
I will go to the beach if and only if it is not cloudy.
Write each statement in words. Let p = “My performance in GEC 4 is excellent” and q = “My
performance in art class is poor.”
(a) ~p
Solution:
~p: My performance in GEC 4 is not excellent.
(b) p∨q
Solution:
p ∨ q: My performance in GEC 4 is excellent or my performance in GEE 1 is poor.
(c) ~p → q
Solution:
~p → q: If my performance in GEC 4 is not excellent, then my performance in
GEE 1 is poor.
(d) q↔p
Solution:
p: My performance in GEE 1 is poor if and only if my performance in GEC 4 q ↔is
excellent.
(e) q∧p
Solution:
q ∧ p: My performance in GEE 1 is poor and my performance in GEC 4 is excellent.
Page|8
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Negation
According to our definition of a statement, a statement is either true or false, but never both.
If it is in fact that you understand the lesson, p is true (T), then its negation “I don’t
understand the lesson” is false (F).
if p is true
p = “I understand the lesson.” ~p = “I don’t understand the lesson.”
then ~p is
false
True False
If it is in fact that you don’t understand the lesson, ~p is true (T), then its negation “I
understand the lesson” is false (F).
if ~p is
~p = “I don’t understand the lesson.” true then p p = “I understand the lesson.”
is false
T F
Truth Values for a Negation
There are two possible conditions for the statement p (true or false) and the table tells us that
in each case, the negation ~p has the opposite truth value.
p ~p
If we have a compound statement with two component statements p and q, there are four
possible combinations of truth values for these two statements:
p q
1. p and q are both true T T
2. p is true and q is false T F
3. p is false and q is true F T
4. p and q are both false F F
Page|9
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
a. Conjunction (and)
The truth table below summarizes the possibilities for the conjunction, “I bought a new
computer and a new iPad.”
b. Disjunction (Or)
The disjunction p ∨ q is true when either p or q or both are true. It is false only when both p
and q are false.
The truth table below summarizes the possibilities for the disjunction, “I bought a new
computer or a new iPad.”
c. Conditional (If…then)
The conditional statement p → q is false only when the hypothesis/antecedent p is true and the
conclusion/consequent q is false.
The truth table below summarizes the possibilities for the conditional, “If the Lakers will win
tomorrow, then they make the playoffs”.
p = “The Lakers will win q = “They make the playoffs.”
Hypothesis/ Conclusion/
antecedent consequent
p q p→q
Lakers win, make playoffs T T T
Lakers win, don’t make playoffs T F F
Lakers lose, make playoffs F T T
Lakers lose, don’t make playoffs F F T
Page|10
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
A biconditional statement is really two statements; it’s the conjunction of two conditional
statements. In symbols, we can write either p ↔ q or (p → q) ∧ (q → p).
The biconditional statement p ↔ q is true when p and q have the same truth value and is false
when they have opposite truth values.
p q p↔q
T T T
T F F
F T F
F F T
Example Constructing a Truth Table Construct a truth table for the statement ~p ∨ q.
Solution:
Step 1 Set up a table as shown. The order in which you list the T’s and F’s doesn’t matter as
long as you cover all the possible combinations. For consistency, we’ll always use the
order TTFF for p and TFTF for q when these are the only two letters in the logical
statement.
p q
T T
T F
F T
F F
Step 2 Find the truth values for ~p by negating the values for p, and put them into a new
column, column 3, marked ~p.
p q ~p
T T F
T F F
F T T
F F T
Page|11
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Use the T and F values for ~p and q in columns 3 and 2 respectively, remembering that
a disjunction is false only when both components are false.
The truth values for the statement ~p ∨ q are found in column 4.
Example Constructing a Truth Table Construct a truth table for the statement
~ (p → ~q).
Solution:
Step 1 Set up a table as in Example 1.
p q
T T
T F
F T
F F
Step 2 Find the truth values for ~q by negating the values for q, and put them into a new
column 3 marked ~q. Truth values for ~q are opposite those for q.
Column 3
p q ~q
this statement
T T F
T F T ~ (p → ~q)
F T F
F F T
Step 3 Find the truth values for the implication p → ~q using the values in columns 1 and 3
respectively, remember that an implication is false only when the antecedent is true
and the consequent is false (in our example antecedent is p, consequent if ~q)
p q ~q p → ~q
~ (p → ~q)
T T F F
T F T T
F T F T Remember the definition,
F F T T
the CONDITIONAL is false only when the antecedent is
true and the consequent is false.
Hypothesis/a Conclusion/c
ntecedent onsequent
Page|12
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Step 4 Find the truth values for the negation ~ (p → ~q) by negating the values for p → ~q
in column 4.
The truth values for ~ (p → ~q) are in column 5. Notice that, the statement is true
only when p and q are both true.
Column 4 Column 5
over all statement
Example Constructing a Truth Table Construct a truth table for the statement
p ∨ (q → r).
Solution:
Step 1 Set up a table as shown.
The order in which you list the T’s and F’s doesn’t matter as long as you cover all the
possible combinations. For consistency, we’ll always use the pattern shown for 3 letters.
p q r
1 T T T Side note:
2 T T F
Since we have 2 values (T & F) and 3 letters,
3 T F T p, q, r,
4 T F F the number of combination is
5 F T T
23 = 2 ∙ 2 ∙ 2 = 8 combinations
6 F T F
7 F F T
8 F F F
The CONDITIONAL is false only when the antecedent is true and the consequent is
false. The rest is true. .
this statement
p q r q→r
p ∨ (q → r)
T T T T
T T F F
T F T T Remember the definition,
T F F T
the CONDITIONAL is false only
F T T T
when the antecedent is true and
F T F F the consequent is false.
F F T T
F F F T
Hypothesis/
Conclusion/
antecedent
consequent
Page|13
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Step 3 Find the truth values for the disjunction p ∨ (q → r), using the values for p from column
1 and those for q → r from column 4.
The disjunction (∨) is false only when both components are false.
The truth values for the statement p ∨ (q → r) are found in column 5. Notice in column
5 that the statement is true unless p and r are false while q is true.
Column 1
Column 4 Column 5
p q r (q → r) p ∨ ( q → r)
T T T T T
T T F F T
T F T T T Remember the definition,
T F F T T
F T T T T The disjunction (∨) is false only
F T F F F when both components are false.
F F T T T
F F F T T
A compound proposition that is always true, regardless of the truth values of the
propositions that occur in it, is called a tautology. A contradiction is a compound proposition
that is always false while a contingency is neither a tautology nor a contradiction.
1. � ∨ � ∧∼ � ↔ � ∨ �
In this problem, the last column of the truth table appeared to be false. Therefore,
the proposition is a contradiction.
Page|14
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
3. � ∧∼ � → ∼ � ∨ �
� � ∼� ∼� � ∧∼ � ∼�∨� � ∧∼ � → ∼ � ∨ �
T T F F F T T
T F F T T F F
F T T F F T T
F F T T F T T
The result of truth table showed that a combination of true and false appeared on
the last column. Thus, it is neither a tautology nor a contradiction which is also called
contingency.
Every conditional statement can be stated in many equivalent forms. It is not necessary
to state the hypothesis/antecedent before the conclusion/consequent. For instance, the
conditional “If I live in Sibalom, then I must be an Antiqueño” can also be stated as “I must be
an Antiqueño, if I live in Sibalom.”
The following table lists some of the various forms that may be used to write a
conditional statement.
If �, �. �, if �.
The converse of � → � is � → �.
The inverse of � → � is ∼ � →∼ �.
The contrapositive of � → � is ∼ � →∼ �.
� → � ≡∼ � →∼ �
� → � ≡∼ � →∼ �
Page|16
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Example:
Formulate the statement as a conditional and give its converse, inverse, and contrapositive.
Answer:
Arguments of the above form are always valid and satisfy valid argument forms called
modus ponens, modus tollens, and syllogism, respectively.
To define the form of these arguments, recall that the conditional � ⟶ � is equivalent to the
universal statement “All � are �.” So, we have can restate the above as
Cotton is a dog. �
Page|17
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Syllogism
We can use truth tables to show the validity of these arguments. In particular, we find
the truth value of the conditional whose premise is the conjunction of the premises and the
conclusion is the given conclusion in the argument, that is,
1. (Modus ponens) � ⟶ � ∧ � ⟶ �
2. (Modus tollens) � ⟶ � ∧ ~� ⟶ ~�
3. (Syllogism) � ⟶ � ∧ � ⟶ � ⟶ � ⟶ �
If the statement is true for each of the four cases in the truth table, then the argument
is valid. In this case, we call the statement a tautology and the conditionals given are in fact,
implications. We have the following truth tables:
1. Modus ponens
� � �⟶� �⟶� ∧� [ � ⟶ � ∧ �] ⟶ �
T T T T T
T F F F T
F T T F T
F F T F T
2. Modus tollens
� � ~� �⟶� � ⟶ � ∧ ~� ~� � ⟶ � ∧ ~� ⟶ ~�
T T F T F F T
T F T F F F T
F T F T F T T
F F T T T T T
�⟶� ∧ �⟶�
� � � �⟶� �⟶� �⟶� ∧ �⟶� �⟶�
⟶ (� ⟶ �)
T T T T T T T T
T T F T F F F T
T F T F T F T T
T F F F T F F T
F T T T T T T T
F T F T F F T T
F F T T T T T T
F F F T T T T T
If the ad campaign is a success, the marketing manager won’t lose her job.
Solution:
Step 1: Write the argument in symbols.
Let p = “The ad campaign is a success,” and let q = “The marketing manager loses her job.”
A line is used to separate the premises from the conclusion and the three triangular dots ∴
mean “therefore.”
Step 2: Write the argument as an implication by connecting the premises with a conjunction
and implying the conclusion.
� � ~� ~� � ⟶ ~� � ⟶ ~� ∧ � (p → ~q) ∧ q ⟶ ~p
T T F F F F T
T F T F F F T
F T F T T T T
F F T T T F T
Since all the values under the ⇒ are true, the argument is valid.
Solution:
Step 1: Write the argument in symbols. (already done)
Step 2: Write the argument as an implication by connecting the premises with a conjunction
and implying the conclusion.
Page|19
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Step 3: Construct a truth table. When there are three premises, we will begin by finding the
truth values for each premise and then we’ll work the conjunction from left to right.
� ⟶ � ∧ � ∧ � ∧ � ⇒ (~� ⟶ �)
�⟶� ∧ �∧�
� � � ~� � ⟶r �∧� �⟶� ∧ �∧� �⟶� ∧ �∧� ∧ � ~� ⟶ � ∧ � ⟶ (~� ⟶ �)
)
T T T F T T T T T T
T T F F F F F F T T
T F T T T F F F T T
T F F T F F F F T T
F T T F T T T F T T
F T F F T F F F T T
F F T T T F F F F T
F F F T T F F F F T
Fallacies
Consider the two invalid arguments:
1. All dogs are hairy. My pet Cotton is hairy. Therefore, Cotton is a dog.
2. All cats are mammals. My pet Donut is not a cat. Therefore, Donut us not a mammal.
These are examples of two invalid argument forms, the fallacy of the converse and the
fallacy of the inverse, respectively. In symbols, these are of the form:
Therefore � Therefore ~�
Let us look at the truth tables for these two arguments. We consider the two conditionals
� ⟶ � ∧ � ⟶ � and � ⟶ � ∧ ~� ⟶ ~� .
Page|20
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Observe that unlike the valid argument forms, the arguments given above are not
tautologies since they are not true for each of the four cases. They are called fallacies. The
argument � → � ∧ � → � is false when � is true and � is false, and � → � ∧ ~� → ~� is
false when � is false and � is true.
Other Fallacies
We also have fallacies other than the forms given above. In fact, we probably encounter
these fallacies more frequently:
1. Ad Hominem. The argument is based on the character of the opponent instead of the
argument itself. This may also involve insulting the opponent to make opponent’s
argument seem false.
2. Ad Populum. This fallacy occurs when an argument is assumed to be valid since many
people believe in it.
Example: Surveys indicate that 55% of the population believe that use of
contraceptives is dangerous. Therefore, contraceptives should be banned.
Example: Brand X is the best toothpaste since our president uses it.
4. False Cause. This fallacious argument correlates two events, even if unrelated.
Example: Every time I go to sleep, the sun goes down. Therefore, my going to sleep
causes the sun to set.
Example: I don’t excel in tennis. I also don’t excel in volleyball. Therefore, I don’t excel
in sports.
First, the validity of an argument is not about whether the conclusion is true or false—
it’s about whether the conclusion follows logically from the premises.
Second, sometimes an argument can appear to be legitimate superficially, but if you
study it carefully, you may find out that it’s not.
Page|21
Mathematics in the Modern World
[Pick the date]
University of Antique
College of Arts and Sciences Chapter 3. Symbolic Logic
Example:
Determine whether the following arguments are valid, using the given forms of valid arguments
and fallacies.
Solution:
(a) This is the modus ponens/law of detachment, therefore a valid argument.
(b) This fits the modus tollens/law of contraposition with the statement ~� substituted
in place of �, so it is valid.
(c) This fits the fallacy of the converse, using statement ~p and ~q rather than p and q,
so it is an invalid argument.
(d) This is the law of syllogism, with statements ~r, s, and t, so the argument is valid.
Page|22
Mathematics in the Modern World