Module 3
Module 3
in the Modern
World
Chapter 2:
Mathematical
Language and
Symbols
2.3 Elementary Mathematical Logic
Logic is the basis of all mathematical statements and
arguments. Its basic rules are essential to understand
mathematical statements such as “There exists an
integer 𝑛 such that 𝑛2 = 𝑛”, “If 𝑥 is an integer, then 𝑥 +
1 is also an integer” and “For all real number 𝑥 with 𝑥 <
0, 𝑥 2 > 0”. Artificial intelligence, system specifications,
computer science and allied fields are just some of the
areas where logic is absolutely important.
A proposition is a declarative sentence that is
either true or false, but not both. The truth or falsity
of a statement is called its truth value. The truth
value of a proposition is true (T), if it is a true
proposition and false (F), otherwise. Letters are
commonly used to denote propositional variables
such as p, q, r, and s.
Example
Consider the following propositions.
1. Lapasan is one of the barangays in Cagayan de Oro City.
2. Green is a primary color.
3. 3 + 1 = 4
4. 3 + 3 = 9
Conjunctions
p: It is sunny today.
𝑞: I need to go to work.
𝑝 ∧ 𝑞: It is sunny today and I need to go to work.
Disjunctions
𝑝: It is sunny today.
𝑞: I need to go to work.
𝑝 ∨ 𝑞: It is sunny today or I need to go to work.
Conditional Statements
𝑝: It is sunny today.
𝑞: I need to go to work.
𝑝 → 𝑞: If it is sunny today, then I need to go to work.
Biconditional Statements
𝑝: I will graduate on time.
𝑞: I will pass all the subjects this semester.
𝑝 ↔ 𝑞: I will graduate on time if and only if I will pass
all the subjects this semester.
The truth value of a compound proposition depends on
the truth value/s of its components, and is summarized
below:
Universal Quantifier
Let P(x) be the predicate “2𝑥 > 𝑥.” What is the truth
value of ∀𝑥, 𝑃(𝑥) if the domain is the set of all
positive integers?
Example
Let
p- it floods today
q- the class is suspended
argument form:
𝑝→𝑞
𝑝
∴𝑞
Rule of Inference Name
𝑝 →𝑞 Modus Ponens
𝑝
∴𝑞
𝑝→𝑞 Hypothetical
𝑞→𝑟 Syllogism
∴𝑝→𝑟
Rule of Inference Name
𝑝 ∨𝑞 Disjunctive
∼𝑝 Syllogism
∴𝑞
𝑝 Addition
∴𝑝 ∨𝑞
𝑝∧𝑞 Simplification
∴𝑝
Rule of Inference Name
𝑝 Conjunction
𝑞
∴𝑝∧𝑞
𝑝 ∨𝑞 Resolution
∼𝑝∨𝑟
∴𝑞∨𝑟
Example
Step Reason
1.~p^q Premise
2.~p Simplification using (1)
3.r p Premise
4.~r Modus tollens using (2) and (3)
5.~r s Premise
6.S Modus ponens using (4) and (5)
7.st Premise
8.t Modus ponens using (6) and (7)
Inductive argument is an inference having conclusion
that proceeds from the premises only with probability.
2. Statistical Syllogism
A statistical syllogism proceeds from a generalization to a conclusion
about an individual.
3. Simple induction
Simple induction proceeds from a premise about a sample group
to a conclusion about another individual.
Counterexamples
Example
Example
Example
+2 +2 +2 +2
0 1 2 3 4 5 6 7 8 9 10
nth Term Formula for a Sequence
Example
𝑛 𝑎𝑛 Test Rule: 2𝑛 + 1
1 3 2(1) + 1 = 3
2 5 2(2) + 1 = 5
3 7 2(3) + 1 = 7
4 9 2(4)+1=9
It can be seen that the rule 2𝑛 + 1 works! So instead
of saying "starts at 3 and add 2 every time" we
write 𝑎𝑛 = 2𝑛 + 1 .
Step 2:
The original price plus 8.25% tax will give you the
purchasing cost of 15,400.00.
𝑥 + 0.0825𝑥 = 15,400.00
Step 3:
𝑥 + 0.0825𝑥 = 15,400.00
1.0825𝑥 = 15,400.00 *Add similar terms.
1.0825𝑥 15,400.00
= *Multiplicative inverse
1.0825 1.0825
𝑥= 14,226.33
Step 4:
Php 14,226.33 x 0.0825 tax rate = 1,173.77
Price of cellphone (with added tax): 14,226.33 + 1,173.77 = Php 15,400