Professional Documents
Culture Documents
✓ The science or study of how to evaluate arguments & ✓ Mathematical logic (or symbolic logic) is a branch of
reasoning. mathematics with close connections to computer science.
✓ It differentiate correct reasoning from poor reasoning. ✓ Mathematical study of logic and the applications of formal
logic to other areas of mathematics.
✓ It is important in sense that it helps us to reason correctly.
✓ It also study the deductive formal proofs systems and
✓ The methods of reasoning. expressive formal systems.
Four Divisions:
Set Theory Recursion Theory
Proof Theory Model Theory
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Statement Example
Which of the following are statements?
A statement (or proposition) is a declarative sentence which
is either true or false, but not both. 1. Manila is the capital of the Philippines. Is true
A statement.
The truth value of the statements is the truth and falsity of
the statement. 2. What day is it? It is a question
Not a statement.
3. Help me, please. It cannot be categorized as true or false.
Not a statement.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
1
03/04/2023
Logical connectives are used to combine simple statements The conjunction of the statement p and q is the compound
which are referred as compound statements. statement “p and q.”
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Example Statement
The disjunction of the statement p, q is the compound
Determine the truth value of each of the following conjunction.
statement “p or q.”
1. 2 + 6 = 9 and man is a mammal. False Symbolically, p q, where is the symbol for “or.”
False True
Property 2: If p is true or q is true or if both p and q are true,
2. Manny Pacquiao is a boxing champion and Gloria False then p q is true; otherwise p q is false. Meaning,
Macapagal Arroyo is the first female Philippine the disjunction of two statements is false only if
President. each statement is false.
3. Ferdinand Marcos is the only three-term Philippine True
p q pq
President and Joseph Estrada is the only Philippine
T T T
President who resigns.
T F T
F T T
F F F
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Example Negation
Determine the truth value of each of the following disjunction.
The negation of the statement p is denoted by p, where is
the symbol for “not.”
1. 2 + 6 = 9 or Manny Pacquiao is a boxing champion. True
False True Property 3: If p is true, p is false. Meaning, the truth value of
the negation of a statement is always the reverse of
2. Joseph Ejercito is the only Philippine President who True the truth value of the original statement.
resigns or Gloria Macapagal Arroyo is the first female
Philippine President. p p
T F
3. Ferdinand Marcos is the only three-term Philippine True F T
President or man is a mammal.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
2
03/04/2023
Example Conditional
The following are statements for p, find the corresponding p. The conditional (or implication) of the statement p and q is the
compound statement “if p then q.”
1. 3 + 5 = 8. 3 + 5 8.
Symbolically, p → q, where → is the symbol for “if then.” p is called
hypothesis (or antecedent or premise) and q is called conclusion (or
2. Sofia is a girl. Sofia is a boy.
consequent or consequence).
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Example Example
Obtain the truth value of each of the following conditional
In the statement “If vinegar is sweet, then sugar is sour.” statements.
1. If vinegar is sweet, then sugar is sour. True
The antecedent is “vinegar is sweet,” and
False False
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Biconditional Example
The biconditional of the statement p and q is the compound Determine the truth values of each of the following
statement “p if and only if q.” biconditional statements.
Symbolically, p q, where is the symbol for “if and only if.” 1. 2 + 8 = 10 if and only if 6 – 3 = 3. True
True True
Property 5: If p and q are true or both false, then p q is true;
if p and q have opposite truth values, then p q is 2. Manila is the capital of the Philippines is equivalent False
false. to fish live in moon.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
3
03/04/2023
Exclusive-Or Example
The exclusive-or of the statement p and q is the compound “Sofia will take her lunch in Batangas or she will have it in
statement “p exclusive or q.” Singapore.”
Symbolically, p q, where is the symbol for “exclusive or.” Case 1: Sofia cannot have her lunch in Batangas and at False
the same time cannot do it in Singapore,”
Property 6: If p and q are true or both false, then p q is false;
if p and q have opposite truth values, then p q is Case 2: If Sofia will have her lunch in Batangas or in True
true. Singapore, meaning she can only have it in one
location given a single schedule.
p q pq
T T F Case 3: If she ought to decide to have her lunch False
T F T elsewhere (neither in Batangas nor in Singapore).
F T T
F F F
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Predicate Predicate
A predicate (or open statements) is a statement whose truth A predicate can also be denoted by a function-like notation.
depends on the value of one or more variables.
Example:
Predicates become propositions once every variable is bound
by assigning a universe of discourse. P(x) = “x is an even number.” Now P(2) is true, and P(3)
is false.
Most of the propositions are define in terms of predicates
If P is a predicate, then P(x) is either true or false, depending
on the value of x.
Example:
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Propositional functions are denoted as P(x), Q(x),R(x), and so The given sentence has the logical form P(x) → Q(x) and its
on. truth value can be determine for a specific value of x.
4
03/04/2023
The universe of discourse for the variable x is the set of To convert a propositional function into a proposition, all
positive real numbers for the proposition variables in a proposition must be bound or a particular value
“There exists an x such that x is odd number and 2x is even must be designated to them.
number.”
This is done by applying combination of quantifiers
Binding variable is used on the variable x, we can say that the (universal, existential) and value assignments.
occurrence of this variable is bound.
The scope of a quantifier is the part of an assertion in which
variables are bound by the quantifier.
A variable is said to be free, if an occurrence of a variable is
not bound.
A variable is free if it is outside the scope of all quantifiers.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
The statement “there exists an x such that P(x),” is The statement “for all x, P(x),” is symbolized by x P(x).
symbolized by x P(x).
The symbol is called the universal quantifier.
The symbol is called the existential quantifier
The statement “x P(x)”is true if only if P(x) is true for every
The statement “x P(x)”is true if there is at least one value of x
value of x.
for which P(x) is true.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
5
03/04/2023
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.
For the things of this world cannot
be made known without a
knowledge of mathematics.
– Roger Bacon
Copyright 2018:
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Statement Equivalent Forms Write each of the following in “If p, then q” form:
1. The number is an even number provided that it is
If p, then q (p→ q) If p, q divisible by 2
p only if q p implies q
Not p or q Every p is a q ANS: If it is divisible by 2, then it is an even number.
q is a necessary p is a sufficient
condition for p condition for q ANS: If yesterday was Thursday, then today is friday.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.
Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D. Copyright 2018: Mathematics in the Modern World by Winston S. Sirug, Ph.D.