Professional Documents
Culture Documents
Mathematical Mathematical Reasoning Reasoning
Mathematical Mathematical Reasoning Reasoning
Reasoning
c
Mathematical Reasoning
We need p p
to
determine whether a mathematical argument is
correct or incorrect and
construct mathematical arguments.
and
p
,
, but
also for systems (drawing
logical inferences from knowledge and facts).
Ô
3erminology
An
p is a basic assumption about
mathematical structure that needs no proof.
- 3hings known to be true (facts or proven theorems)
- 3hings believed to be true but cannot be proved
We can use a
to demonstrate that a
particular statement is true. A proof consists of a
sequence of statements that form an argument.
3he steps that connect the statements in such a
..
sequence are the
Cases of incorrect reasoning are called .
.
3erminology
A
p is a statement that can be shown to be
true.
A
is a proposition that follows directly
from a theorem that has been proved.
A
is a statement whose truth value is
unknown. Once it is proven, it becomes a theorem.
½
roofs
A
p often has two parts
- Conditions (premises, hypotheses)
- conclusion
A
is to establish that
- If the conditions are true then the conclusion is true
- i.e., Conditions d conclusion is a tautology
Rules of Inference
provide the justification of
the steps used in a proof.
pºq pdq
_____ Hypothetical
Simplification qdr
p _____ syllogism
pd r (chaining
chaining))
p
pq
q Conjunction Disjunctive
_____ p
pºq _____ syllogism
q (resolution
resolution))
Examples:
1. Ram is a mathematics graduate. 3herefore, Ram is either a
mathematics graduate or a computer science graduate.
Argument used is addition.
p : Ram is a mathematics graduate.
q : Ram is a computer Sc. graduate.
p
_____
pq
cÔ
Arguments
Just like a rule of inference, an pconsists
pconsists
of one or more hypotheses (or premises) and a
conclusion.
, if whenever all
We say that an argument is ,
its hypotheses are true, its conclusion is also true.
However, if any hypothesis is false, even a valid
argument can lead to an incorrect conclusion.
c
Arguments
r p
´If 101 is divisible by 3, then 1012 is divisible by 9.
101 is divisible by 3. Consequently, 1012 is divisible
by 9.µ
c½
Arguments
Which rule of inference was used in the last
argument?
J
p
´If it rains today, then we will not have a
barbeque today. If we do not have a barbeque
today, then we will have a barbeque tomorrow.
3herefore, if it rains today, then we will have a
barbeque tomorrow.µ
c£
Arguments
Let us formalize the previous argument:
p: ´It is raining today.µ
q: ´We will not have a barbecue today.µ
r: ´We will have a barbecue tomorrow.µ
So the argument is of the following form:
pdq
qdr Hypothetical
______ syllogism
dr
cD
Arguments
J
p
i: ´Ram is intelligent.µ
a: ´Ram is a good actor.µ
c: ´Ram can count from 1 to 10.µ
c
Arguments
i: ´Ram is intelligent.µ
a: ´Ram is a good actor.µ
c: ´Ram can count from 1 to 10.µ
Step 1: c Hypothesis
Step 2: id c Hypothesis
Step 3: i Modus tollens Steps 1 & 2
Step 4: ai Hypothesis
Step 5: a Disjunctive Syllogism
Steps 3 & 4
Ô
Rules of Inference for Quantified Statements
ùx (x) Universal
__________
(c) if c
cU instantiation
x (x) Existential
______________________
(c) for some element c
cU instantiation
r p
U(x): ´x is a UG student.µ
G(x): ´x is a genius.µ
ÔÔ
Rules of Inference for Quantified Statements
ùx (x) Universal
__________
(c) if c
cU instantiation
Ô
roving 3heorems
å
An implication p d q can be proved by showing
that if p is true, then q is also true.
r p
Give a direct proof of the theorem
´If n is odd, then n2 is odd.µ
Assume that the hypothesis of this
implication is true (n is odd). 3hen use rules of
inference and known theorems of math to show
that q must also be true (n2 is odd).
Ô½
roving 3heorems
n is odd.
Ô
roving 3heorems
An implication p d q is equivalent to its
q d p. 3herefore, we can prove p d q
by showing that whenever q is false, then p is also
false.
r p
Give an indirect proof of the theorem
´If 3n + 2 is odd, then n is odd.µ
Assume that the conclusion of this
implication is false (n is even). 3hen use rules of
inference and known theorems to show that p
must also be false (3n + 2 is even).
Ô£
roving 3heorems
n is even.
3herefore, 3n + 2 is even.
Ô
J
r p
Anyone performs well is either intelligent or a
good actor.
If someone is intelligent, then he/she can count
from 1 to 10.
Ram performs well.
Ram can only count from 1 to 3.
3herefore, not everyone is both intelligent and a
good actor
(x): x performs well
I(x): x is intelligent
A(x): x is a good actor
C(x): x can count from 1 to 10
Ôü
J
r p
Hypotheses:
1. Anyone performs well is either intelligent or a good
actor.
ùx ((x) d I(x) A(x))
2. If someone is intelligent, then he/she can count
from 1 to 10.
ùx (I(x) d C(x) )
3. Ram performs well.
(Ram)
4. Ram can only count from 1 to 3.
C(Ram)
Conclusion: not everyone is both intelligent and a good
actor
x(I(x) º A(x))
ùx(I(x)
ù
J
r p
Direct proof:
Step 1: ùx ((x) d I(x) A(x)) Hypothesis
Step 2: (ram) d I(Ram) A(Ram) Univ. Inst. Step 1
Step 3: (Ram) Hypothesis
Step 4: I(Ram) A(Ram) Modus ponens Steps 2 & 3
Step 5: ùx (I(x) d C(x)) Hypothesis
Step 6: I(Ram) d C(Ram) Univ. inst. Step5
Step 7: C(Ram) Hypothesis
Step 8: I(Ram) Modus tollens Steps 6 & 7
Step 9: I(Ram) A(Ram) Addition Step 8
Step 10: (I(Ram) º A(Ram)) Equivalence Step 9
Step 11: x(I(x) º A(x)) Exist. general. Step 10
Step 12: ù
ùxx (I(x) º A(x)) Equivalence Step 11
Conclusion: ù
ùxx (I(x) º A(x))
A(x)),, not everyone is both
intelligent and a good actor.
c
Mathematical
Induction
Ô
Induction
3he
p p
is a
useful tool for proving that a certain predicate
p .
is true for p .
Induction
If we have a propositional function (n), and we
want to prove that (n) is true for any natural
number n, we do the following:
½
Induction
r p
Induction
2. Show that if (n) is true, then (n + 1) is
true.
(inductive step)
£
Induction
3hen (n) must be true for any positive
integer.
(conclusion)
End of proof.
D
Induction
J
r p
1 + 2 + « + n = n (n + 1)/2
Induction
Show that if (n) then (n + 1) for any n
n
N6
(inductive step)
1 + 2 + « + n = n (n + 1)/2
1 + 2 + « + n + (n + 1) = n (n + 1)/2 + (n + 1)
= (2n + 2 + n (n + 1))/2
= (2n + 2 + n2 + n)/2
= (2 + 3n + n2 )/2
= (n + 1) (n + 2)/2
= (n + 1) ((n + 1) + 1)/2
ü
Induction
End of proof.
½
Induction
It is called
.
p p
½c
Induction
3he second principle of mathematical induction:
½Ô
Induction
2 = 1 x 2.
½
Induction
Show that if (2) and (3) and « and (n),
then (n + 1) for any n
nN. (inductive step)
3wo possible cases:
If (n + 1) is
p
p,, then obviously (n + 1) is true.
p
,, it can be written as the
If (n + 1) is
p
product of two integers a and b such that
2 Y a Y b < n + 1.
By the
,, both a and b can be
written as the product of primes.
3herefore, n + 1 = awawb can be written as the
product of primes.
½½
Induction
End of proof.
½