MMW Formal Logic
MMW Formal Logic
MODERN WORLD
LOGIC
A R J A Y T. A LT O VA R
M AT H I N S T R U C T O R
FORMAL LOGIC
THE SCIENCE OR STUDY OF
HOW TO EVALUATE ARGUMENTS
& REASONING.
PROPOSITIONAL LOGIC
A statement (or proposition) is a declarative
sentence which is either true or false, but not both. A
formal proposition is written using propositional logic
notation, p, q, and r are used to represent statements.
2. What day is It is a
it? question
Not a
statement.
3. Help me, It cannot be categorized as true or
please. false.
Not a
statement.
4. He is Is neither true nor false - “he” is not
handsome. specified.
Not a statement.
Examples of Ambiguous
Statements
1. Mathematics is fun.
p q pq
The disjunction of the statement p, q is the
T T T
compound statement “p or q.”
T F T
Symbolically, p q, where is the symbol for
“or.” F T T
Property 2: If p is true or q is true or if both p F F F
and q are true, then p q is true;
otherwise p q is false. Meaning,
the disjunction of two statements is
false only if each statement is false.
EXAMPLE
Determine the truth value of each of the following
disjunction.
1. 2 + 6 = 9 or Manny Pacquiao is a boxing True
champion.
False True
p q pq
The conditional (or implication) of the
T T T
statement p and q is the compound statement
T F F
“if p then q.”
F T T
Symbolically, p q, where is the
F F T
symbol for “if then.” p is called hypothesis (or
antecedent or premise) and q is called
conclusion (or consequent or consequence).
p q pq
p → q means “if p is true, q is true as well.”
T T T
Recall: The only way for p → q to be false is if
T F F
we know that p is true but q is false.
F T T
F F T
Rationale:
If p is false, p → q doesn't guarantee anything.
It's true, but it's not meaningful.
If p is true and q is true, then the statement
“if p is true, then q is also true” is itself true.
If p is true and q is false, then the statement
“if
p is true, q is also true” is false.
EXAMPLE
p q pq
The biconditional of the statement p and q is
T T T
the compound statement “p if and only if q.”
T F F
F T F
Symbolically, p q, where is the symbol
F F T
for “if and only if.”
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
false.
EXAMPLE
Example:
“x is an even number” is a predicate whose
truth depends on the value of x.
PREDICATE
Example:
P(x) = “x is an even number.” Now P(2) is
true, and P(3) is false.
If P is a predicate, then P(x) is either true or
false, depending on the value of x.
PROPOSITIONAL FUNCTION
Such that
Satisfying
Universal For all
For each
For every
For any
Given any
STATEMENTS RELATED TO THE
CONDITIONAL STATEMENT
Statements Equivalent
Converse of p q q p
Inverse of p q p q
Contrapositive of p q q p
STATEMENTS RELATED TO THE
CONDITIONAL STATEMENT
Observation:
A low-cost airline flight is delayed
Observe a pattern:
Another 20 flights from low-cost airlines are delayed
Observation:
Dogs A and B have fleas
Observe a pattern:
All observed dogs have fleas
If you can find one case for which statement is not true,
this is called a counterexample, then the statement is
a false statement.
EXAMPLE:
Verify that the statement is false by finding a
counterexample.
END OF PRESENTATION