Logic
Logic
R:
TRUE or FALSE
If , then is 3.
If , then is 4.
Slide 1-
1
BELLRINGE
R:
TRUE or FALSE
If , then is 3.
If , then is 4.
In silence, let us
pray…
Slide 1-
2
REVIEW
Sets and Subsets (Elements, Proper Subset)
Venn Diagram
CHAPTER 3: LOGIC
Main goal:
USE LOGIC to analyze
arguments (claims) to see if
they are valid or invalid. This is
useful for math theory, but also
in the real world any time
someone is trying to convince
you of something.
LOGIC
To analyze an argument, we
break it down into smaller
pieces: statements, logical
connectives and quantifiers.
STATEMENTS
A compound statement
A statement is a consists of simple The negation of a
declarative sentence statements combined statement must have
that is either true or using logical connectives the opposite truth
false (but not both at like and, or, if…then, if value to the original
the same time). and only if. statement.
CONNECTIVES AND SYMBOLS
Type of
Statement Connective Symbol
Statement
p or q or disjunction
Symbolic English
The parentheses indicate that:
Form sentence
½ crosswise
BELLRINGER
TRUTH
VALUE The truth value of a
S compound statement
depends on the truth values
of its simple statements
and its connectives.
TRUTH TABLES
p ~p
T F
F T
TRUTH TABLE FOR
CONJUNCTION
p q pq
T T T
T F F
F T F
F F F
TRUTH TABLE FOR
DISJUNCTION
p q pq
T T T
T F T
F T T
F F F
TRUTH TABLE FOR
CONDITIONAL
p q p→q
T T T
T F F
F T T
F F T
GUIDED EXERCISES:
Construct a truth table for and .
T T T F
T F F T
F T F T
F F F T
T T T F
T F T F
F T T F
F F F T
GUIDED EXERCISES:
Construct a truth table for .
T T F T F T
T F F F T T
F T T T F T
F F T T F F
EXAMPLE( 𝑝 ∧𝑞) ∨𝑟
p q r ~()
T T T T F T
T T F T F F
T F T F T T
T F F F T T
F T T F T T
F T F F T T
F F T F T T
F F F F T T
INDEPENDENT EXERCISES:
Construct a truth table for .
T T
T F
F T
F F
QUANTIFIERS
Existential quantifier:
Universal quantifier: all,
some, there exists, for at
every, each. Statement is
least one. Statement is true
true if the claim is true for
if the claim is true for al
every object it is referring
least one object it is
to.
referring to.
NEGATIONS OF QUANTIFIED
STATEMENTS
Statement Negation
½ crosswise
REVIEW
Two statements are
equivalent if they have the
same truth value for every
possible situation, and we
EQUIVALE write p ≡ q
NT De Morgan’s Laws:
STATEMEN~(p q) ≡ ~p ~q
TS ~(p q) ≡ ~p ~q
p is the
If p, then q Symbols: p → q antecedent, q is
the consequent
Equivalent to a disjunction:
USEFUL p → q ≡ ~p q
RESULTS
FOR THE Negation:
CONDITI ~(p → q) ≡ p ~q
p → q ≡ ~q → ~p
q → p ≡ ~p → ~q
COMMON WORDING FOR P → Q
If p, q q is necessary for p
If rose is a flower, it is beautiful.
p implies q
X+1 =3 implies x=2. All p’s are q’s
Rose is a flower implies it is beautiful.
p only if q
X+1=3 only if x=2 q if p
Rose is a flower only if it is beautiful.
ANALYZING ARGUMENTS
Modus Ponens
[(p → q) p] → q
Modus Tollens
[(p → q) ~q] → ~p
Disjunctive Syllogism
[(p q) ~p] → q
Transitivity
[(p → q) (q → r)] → (p → r)
FALLACIES
QUIZ 3 on Thursday
DEDUC
TIVE VS
INDUCT
IVE
REASO
NING
DEDUCTION VS. INDUCTION
Deduction: Induction
commonly associated commonly known as
with “formal logic.” “informal logic,” or
“everyday argument”
involves reasoning
from known premises, involves drawing
or premises presumed uncertain inferences,
to be true, to a certain based on probabilistic
conclusion. reasoning.
the conclusions the conclusions
reached are certain, reached are probable,
inevitable, reasonable, plausible,
inescapable. believable.
DEDUCTIVE VERSUS INDUCTIVE
REASONING
Deduction Induction
It is the form or structure By contrast, the form or
of a deductive argument structure of an inductive
that determines its validity argument has little to do
the fundamental property of with its perceived
a valid, deductive argument believability or credibility,
is that if the premises are apart from making the
true, then the conclusion argument seem more clear
necessarily follows. or more well-organized.
The conclusion is said to be The receiver (or a 3rd party)
“entailed” in, or contained determines the worth of an
in, the premises. inductive argument.
example: use of DNA testing
to establish paternity
SAMPLE DEDUCTIVE AND
INDUCTIVE ARGUMENTS
Example of Deduction Example of Induction
major premise: All Boss to employee:
tortoises are “Bill has a tattoo of
vegetarians an anchor on his arm.
minor premise: Bessie He probably served in
is a tortoise the Navy.”
conclusion:
Therefore, Bessie is a
vegetarian
DEDUCTION VERSUS INDUCTION
---CONTINUED
Deductive reasoning is Inductive reasoning enjoys
either “valid” or “invalid.” a wide range of probability;
A deductive argument it can be plausible, possible,
can’t be “sort of” valid. reasonable, credible, etc.
the inferences drawn may
If the reasoning employed be placed on a continuum
in an argument is valid ranging from cogent at one
and the argument’s end to fallacious at the
premises are true, then the other.
argument is said to be
sound.
valid reasoning + true
premises = sound
argument
fallacious cogent
The Michael O’Keefe Hall, a building that
houses both engineering and health sciences in
NDDU is made of cement. Another building,
Henry Ruiz Hall, that houses business and
computer science, is also made of cement.
Therefore, all buildings of NDDU are made of
cement.