Logic Math
Logic Math
Topic Outline
1 Statement or proposition
2 Simple Statements and Compound Statements
3 Truth Value and Truth Tables
4 Writing Compound Statements in Symbolic Form
5 Translate Symbolic Statements
Logic
Allows us to determine the validity of arguments in and out of
mathematics
Illustrates the importance of precision and conciseness of the
language of mathematics
Every language contains different types of sentences, such as state-
ments, questions, and commands.
Statement or Propositions
Must express a complete thought.
A declarative sentence that is either true or false but not both.
Exercises 1.
Determine whether each sentence is a statement(proposition).
1 Zamboanga del Sur is a province in the Philippines.
2 92 + 2 is a prime number.
3 x +1=5
4 All multiples of 5 are odd numbers.
5 xis a real number.
6 Open the door.
7 7055 is a large number
Connectives
and
or
if ... then
if and only
p ¬p
T F
F T
Combining Statements
Truth Value of a Conjunction
The conjunction p ∧ q is true if and only if both p and q are true.
Conditional Statements
Conditional statements can be written in if p, then q form or in if
p, q form.
Arrow Notation: p ⇒ q. read as ”if p, then q” or as ”p implies q.
Suppose your teacher makes the promise that ”if you pass the exam,
then you will pass the course”. Under what circumstances did he/she
break his/her promise?
Antecedent Consequent p⇒q
p q You pass the exam ⇒
You pass the exam You pass the course You pass the course
T T ?
T F ?
F T ?
F F ?
Biconditional Statements
The statement (p ⇒ q) ∧ (q ⇒ p) is called a biconditional and is
denoted by p ⇔ q, which is read as ” p if and only if q”.
Exercise 8: Determine whether each biconditional statement below
is true or false.
1 x + 4 = 7 if and only if x = 3.
2 x 2 = 36 if and only if x = 6.
Other Grammatical constructions for ”P if and only if Q”.
P is a necessary and sufficient condition for Q.
For P it is necessary and sufficient that Q.
If P, then Q and conversely.
Two statements are equivalent if they both have the same value for
all possible truth values of their simple statements.
Equivalent Forms of the Conditional
Given: P ⇒ Q
Converse: Q ⇒ P
Inverse: ¬P ⇒ ¬Q
Contrapositive: ¬Q ⇒ ¬P The statement P ⇒ Q is equivalent to
¬Q ⇒ ¬P.
Exercise 9:
1 Write the converse, inverse, and contrapositive of ”If I get
the job, then I will rent the apartment.”
2 Determine whether Related Statements are Equivalent
1 If a number ends with a 5, then the numbers is divisible by 5.
If a number is divisible by 5, then the number ends with a 5.
2 If two lines in a plane do not intersect, then the lines are
parallel.
If two lines in a plane are parallel, then the lines intersect.
Truth Table
1 Construct a truth table for ¬(¬p ∨ q) ∨ q
2 Use the truth table from part 1 to determine the truth value
of ¬(¬p ∨ q) ∨ q, given that p is true and q is false.
3 Construct a truth table for (p ∧ ¬q) ∨ (¬p ∨ q).
4 Use the truth table that you constructed in part 3 to
determine the truth value of (p ∧ ¬q) ∨ (¬p ∨ q), given that p
is true and q is false.
Quantifiers
Existential quantifiers are used as prefixes to assert the existence
of something.
some
there exists
at least one
Symbol: ∃
Example: ”There exists an object x in the universe”, which is
expressed as
∃x, x > 1
Quantifiers
The universal quantifiers none and no deny the existence of
something, whereas the universal quantifiers all and every are used
to assert that every element of a given satistfies some condition.
”For all” or ”For every”
Symbol: ∀
Example: For every object x in the universe, x > 1, which expressed
as
∀x, x > 1
. Exercise 10: Express the following in symbolic form.
1 All students are smart.
2 There exist a student.
3 There exists a smart student
Mathematics Language and Symbols
Logic
References:
Aufmann, Lockwood, Nation, Clegg (”Mathematical Excursions”)
Batazar, Ragasa, Evangelista (”Mathemtics in the Modern World”)