SlideShare a Scribd company logo
1 of 63
Arguments
&
Methods of Proof
Discrete Mathematics
Arguments
What is an Argument?
An argument is a series of propositions or
statements that end with a conclusion.These
propositions, also called hypotheses or
premises, if true, build inevitably and
necessarily to the stated conclusion.
When the conditions are satisfied, we have
what is called a valid (deductive) argument.
Consider…
If there is cream, then I will drink
coffee. If there is a donut, then I will
drink coffee.There is no cream and
there is a donut.
Therefore, I drink coffee.
Again…
If there is cream, then I will drink
coffee.
If there is a donut, then I will drink
coffee.
There is no cream and there is a donut.
Therefore, I drink coffee.
Formulating the Argument
• Premises
• If there is cream, then I will drink coffee.
• If there is a donut, then I will drink coffee,
• There is no cream and there is a donut.
• Conclusion
• I will drink coffee
Symbolically, we have…
• Premises
• If p [there is cream], then q [I will drink coffee].
• If r [there is a donut], then q [I will drink coffee],
• ~p [There is no cream] and r [there is a donut].
• Conclusion
• q [I will drink coffee].
and the argument format is:
p → q
r → q
~p ∧ r
--------
q
p: there is cream
q: I will drink coffee
r: there is a donut
Analysing the argument with aTruthTable
p q r p → q r → q ~p ~p ∧ r (p → q) ∧ (r → q) ∧ (~p ∧ r) ANDED → q
F F F T T T F F T
F F T
F T F
Valid Argument
A valid argument is an argument
where, if the premises are true,
then the conclusion must be
true.
A form of argument which is not
valid is called a fallacy.
Operational method ofValidation of an Argument
Form a truth table in which the premises
are columns and the conclusion is the last
column.
Star every row in which the premises are
true.
Declare the argument valid if every starred
row has aT in the last column.
Once we have verified an argument, we never
have to question its validity again.
Analysing the argument with aTruthTable
p q r p → q r → q ~p ~p ∧ r (p → q) ∧ (r → q) ∧ (~p ∧ r) ANDED → q
F F F T T T F F T
F F T T F T T F T
F T F T T T F F T
F T T T T T T T T
T F F F T F F F T
T F T F F F F F T
T T F T T F F F T
T T T T T F F F T
This is a valid argument.
Consider the argument…
If you have a valid password, then you
can log on to the network.You have a
valid password.
You can log on to the network.
Consider the argument…
If you have a valid password, then you
can log on to the network.
You have a valid password.
You can log on to the network.
Symbolic representation…
If you have a valid password, then you
can log on to the network.You have a
valid password.
You can log on to the network.
p:You have a valid password
q:You can log on to the network
Argument form…
If you have a valid password, then you can log on to the
network.You have a valid password.
You can log on to the network.
p:You have a valid password
q:You can log on to the network
Argument form
p → q
P
--------
q
We can write the argument as: [p ∧ (p → q) ] → q
Assessing validity of [p ∧ (p → q)] → q
p q p → q p ∧ (p → q) [p ∧ (p → q)] → q
F F T F T
F T T F T
T F F F T
T T T T T
The last row is where p =T and p → q =T and the argument implication is
T and so the argument is valid. It is a tautology so it is valid anyway.
•This argument form is called modus
ponens and is a valid argument.
Tautologies
Any argument with a tautology as the
conclusion is valid, no matter what the
premises are.
Validity is a technical term in formal logic
meaning that the conclusion cannot fail to be
true if the premises are true. Since a
tautology is always true it follows for such an
argument that the conclusion can not fail to
be true if the premises are true.
Another Example
If you are a Reggae lover then you know Bob Marley.
Jessica is a Reggae lover.
Therefore, Jessica knows Bob Marley.
Symbolic Representation
If you are a Reggae lover then you know Bob Marley.
Jessica is a Reggae lover.
Therefore, Jessica knows Bob Marley.
This argument can be condensed symbolically:
If p then q;
p;
therefore q.
Assessing validity of [p ∧ (p → q)] → q
p q p → q p ∧ (p → q) [p ∧ (p → q)] → q
F F T F T
F T T F T
T F F F T
T T T T T
•It is a valid argument. Do you recognise
the argument form?
*
Assessing validity of [p ∧ (p → q)] → q
p q p → q p ∧ (p → q) [p ∧ (p → q)] → q
F F T F T
F T T F T
T F F F T
T T T T T
• It is a valid argument. Do you recognise the
argument form?
• Remember we had called this modus ponens.
• We need to be able to recall the argument form as
we can simply quote that to determine whether
an argument is valid or not.
*
Another argument…
You can’t log on to the network.
If you have a valid password, you can
log on to the network.
You do not have a current password.
Another argument…
You can’t log on to the network.
If you have a valid password, you can
log on to the network.
You do not have a current password.
Argument form…
¬qYou can’t log on to the network.
If p:you have a valid password, then q you can log on
to the network.
¬p You do not have a current password.
p → q
¬ q
----------
¬ p
We can write this in shorthand as: [(p → q) ∧ ¬ q] → ¬ p
Assessing the argument form using a truth table
p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p
F F
F T
T F
T T
Is it a valid argument?
p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p
F F T T T T T
F T T T F F T
T F F F T F T
T T T F F F T
*
Is it a valid argument?
It is a valid argument.This
argument f0rm is called
modus tollens.
p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p
F F T T T T T
F T T T F F T
T F F F T F T
T T T F F F T
StarWars
If Mr. Scott is still with us, then the power
will come on.The power comes on.
Therefore, Mr. Scott is still with us.
Valid or
Invalid?
Assign Logical variables
If p [Mr. Scott is still with us], then
q [the power will come on].
q [The power comes on].
Therefore, p [Mr. Scott is still with us].
Argument form
If p [Mr. Scott is still
with us], then q [the
power will come on]. q
[The power comes on].
Therefore, p [Mr. Scott
is still with us].
p → q
q
----------
p
This is a case of affirming the consequent
of a conditional and concluding that the
antecedent is true.
Assessing validity of [(p → q) ∧ q ] → p
p q p → q (p → q) ∧ q [(p → q) ∧ q]→ p
F F T F T
F T T T F
T F F F T
T T T T T
•Is this a valid argument?
*
*
Argument form
If p [Mr. Scott is still
with us], then q [the
power will come on]. q
[The power comes on].
Therefore, p [Mr. Scott
is still with us].
p → q
q
----------
p
This is a case of affirming the consequent of a
conditional and concluding that the antecedent is
true, The argument form is [(p → q) ∧ q] → p but
this is NOT a valid argument.
Rules of Inference
A rule of inference is any valid argument.
Page 21 of the Unit notes gives you all
the rules of inference.We have already
seen and proven two important ones –
modus ponens and modus tollens. Of
course ther are others as you cans ee
there!
Other Rules of Inference
Rules of Inference
Rules of Inference
Methods of Proof
What is a Proof?
A proof is a demonstration, or
argument, that shows beyond a
shadow of a doubt that a given
assertion is a logical consequence of
our axioms and definitions.
Kurt Godel
Kurt Godel, a brilliant mathematician and logician born and
raised in Czechoslovakia in 1906, earned his Ph.D at the
University ofVienna.
In 1931 he produced a work regarded as the single greatest
piece in mathematical logic: “On formally undecidable
proposition of Principia Mathematica and related systems I”
(originally in German). In it he showed that the German
mathematician David Hilbert’s (1862 – 1943) aim of formalizing
mathematics and demonstrating it to be complete (all facts can
be proved), consistent (nothing false can be proved) and
decidable (all propositions can be shown to be either true or
false) was unattainable.
Axiom
An axiom is a statement or proposition
which is regarded as being established,
accepted, or self-evidently true without
proof.
Direct Proof
A direct proof is a mathematical
argument that uses rules of
inference to derive the conclusion
from the premises.
Example
Prove the Disjunctive Syllogism by
using a Chain of Inferences.
Example
Prove the Disjunctive Syllogism by
using a Chain of Inferences.
So, we might ask, what is the
Disjunctive Syllogism?
Example
Prove the Disjunctive Syllogism by using a
Chain of Inferences.
So, we might ask, what is the Disjunctive
Syllogism?
It is the argument form: (p ∨ q) ∧ ¬p → q
found on p 21 of the Unit notes.
RTP: (p ∨ q) ∧ ¬p → q
First consider:
p ∨ q Premise 1
≡ q ∨ p Commutativity
≡ ¬(¬ q) ∨ p Double negation
≡ ¬q → p Implication
¬p Premise 2
RTP: (p ∨ q) ∧ ¬p → q
p ∨ q Premise 1
≡ ¬q → p Implication
¬p Premise 2
So we have, (¬q → p) ∧ ¬p
Recall: [(p → q) ∧ ¬ q] → ¬ p so applying this
inference rule, we have [(¬q → p) ∧ ¬p] → ¬ ¬q
RTP: (p ∨ q) ∧ ¬p → q
And putting it all together, we have:
p ∨ q Premise 1
≡ q ∨ p Commutativity
≡ ¬(¬ q) ∨ p Double negation
≡ ¬q → p Implication
¬p Premise 2
¬(¬ q) Modus tollens
Conclusion: q Double negation
Hence, (p ∨ q) ∧ ¬p → q
Direct Proof
• A proof with no special assumptions is called a direct proof.
• Basic Steps in Direct Proof
• Deconstruct Axioms: Take the hypothesis and turn it into a usable
form. Usually this amounts to just applying the definition. EG: k =
1(mod 3) really means 3|(k - 1) which actually means n k - 1 = 3n
• Mathematical Insights: Use your human intellect and get at “real
reason” behind theorem. For instance, looking at what we’re
trying to prove, we see that we’d really like to understand k 3. So
let’s take the cube of k! From here, we’ll have to use some algebra
to get the formula into a form usable by the final step:
• Reconstruct Conclusion: This is the reverse of step 1. At the end
of step 2 we should have a simple form that could be derived by
applying the definition of the conclusion.
Using symbolic derivation, prove that
q ∧ ¬(p → q) is a contradiction.
q ∧ ¬(p → q) ≡ q ∧ ¬ (¬p ∨ q) Conditional equivalence
≡ q ∧ (¬ ¬p ∧ ¬ q) …
Using symbolic derivation, prove that
q ∧ ¬(p → q) is a contradiction.
q ∧ ¬(p → q) ≡ q ∧ ¬ (¬p ∨ q) Conditional equivalence
≡ q ∧ (¬ ¬p ∧ ¬ q) De Morgan’s law
≡ q ∧ (¬ q ∧ ¬ ¬ p) Commutative
≡ (q ∧ ¬ q) ∧ ¬ ¬ p Associative
≡ F ∧ ¬ ¬ p) Negation
≡ F Domination
This is a direct proof.
Proof by Cases
Proof by exhaustion, also known as proof by cases, proof by
case analysis, complete induction or the brute force method,
is a method of mathematical proof in which the statement to
be proved is split into a finite number of cases or sets of
equivalent cases, and where each type of case is checked to see
if the proposition in question holds.
This is a method of direct proof.A proof by exhaustion typically
contains two stages:
A proof that the set of cases is exhaustive; i.e., that each
instance of the statement to be proved matches the conditions
of (at least) one of the cases.
A proof of each of the cases.
Rules of Inference
To prove: the sum of any two squared integers leaves
a remainder of either 0, 1 or 2 when divided by 4.
• Here, we have three cases to consider:
• Both a and b even
• One of a, b even
• Both a and b odd
• If the integers are odd, let them be 2n + 1 and 2m + 1
where n and m are integers.
• If they are even, let them be 2n and 2m where n and m
are integers.
Consider the case of both integers even
• If they are even, let them be 2n and 2m
where n and m are integers.
• Their squares are 4n2 and 4m2 and the sum
is 4n2 + 4m2.
• When divided by 4 this gives us a
remainder of 0.
Consider the case of both integers odd
• If they are odd, let them be 2n + 1 and 2m
+ 1 where n and m are integers.
• Their squares are 4n2 + 4n + 1 and 4m2 +
4m + 1 and the sum is 4n2 + 4n+ 4m2 + 2
• When divided by 4 this gives us a
remainder of 2.
Consider the case of one integer even and the other odd
• Let them be 2n (even) and 2m + 1 (odd)
where n and m are integers.
• Their squares are 4n2 and 4m2 + 4m + 1 and
the sum is 4n2 + 4n+ 4m2 + 1
• When divided by 4 this gives us a
remainder of 1.
Indirect Proof
This is basically proof using the contrapositive.
Method: For any k, assume ¬Q(k) and derive ¬P(k)
Then, by the contrapositive logical equivalence:
P(k) → Q(k) ≡ ¬ Q(k) → ¬P(k)
Offer an example of an indirect proof.
Show that: if n is an integer and n3 + 5 is odd, then n is even.
Let the propositions be:
• p: n3 + 5 is odd
• q: n is even
So we want to show that p → q
To prove that we shall use the contrapositive? What
do we have to show in this case?
The propositions are: p: n3 + 5 is odd, and q: n is even
So we want to show that p → q
The contrapositive: ¬q → ¬p.
ie If n is odd , then n3 + 5 is even.
So let n = 2k + 1 for some integer k
⇒ n3 + 5 = (2k + 1)3 + 5
= 8k3 + 3.4k2 + 3.4k + 1 + 5
= 8k3 + 12k2 + 12k + 6
= 2(4k3 + 6k2 + 6k + 3) which is even.
We have shown that n odd → n3 + 5 is even and so if
n is an integer and n3 + 5 is odd, then n is even.
Show that: if n is an integer and n3 + 5 is odd, then n is even.
Proof by Contradiction
• A proof method by which an assumption is made and
the argument that follows reaches a contradiction.
This means that the original assumption is wrong.
• To show that some sentence is true, we assume that it
is false (we assume the negation of that sentence) and
then show any contradiction.
• If a contradiction follows, something has gone wrong;
and if we follow our rules of logic then the only thing
that can have gone wrong was our assumption of the
negation of our conclusion. So, we must have been
wrong to assume it is false, so it must be true.
The set of primes is infinite.
• Assume that the set of primes is finite and let
them be p1, p2, p3 ,…, pn.
• Now form the number p1p2p3…pn + 1.This is
clearly not divisible by any of the previous
primes and hence is prime.
• We have found a prime which is not in the set
{p1, p2, p3 ,…, pn} and this is a contradiction.
• Hence, the set of primes is infinite.
Principle of Mathematical Induction
Find base case P(1)
Assume P(k) and prove that P(k) → P(k + 1)
Then we have ∀k P(k)
n ∈ Z, 6 | n3 + 5n (i.e. that 6 divides n3 + 5n )
P (1): Clearly with n = 1, 6 | 13 + 5 TRUE
Assume P(k) then 6 | k3 + 5k for some k. Now we must
show P(k) → P (k + 1)
Substituting k + 1 for k, we have (k + 1)3 + 5(k + 1)
= k3 + 3k2 + 3k + 1 + 5k + 5
= k3 + 5k + 3k2 + 3k + 6
= k3 – k + 6k + 6 + 3k(k + 1)
= k(k2 – 1) + 6k + 6 + 3k(k + 1)
= (k – 1)k(k + 1) + 6k + 6 + 3k(k + 1)
Now any three consecutive integers must contain one
which is a multiple of 2 and one which is a multiple of 3.
Thus, 6 | (k – 1)k(k + 1). Also, observe that 3k2 + 3k = 3k (k +
1) and that k(k + 1) is an even number so 6 | 3k (k + 1).
We have shown that P(k) → P(k+1) and hence we have
P(n) for all n. ■

More Related Content

What's hot (20)

Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Normal forms
Normal formsNormal forms
Normal forms
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Proof By Contradictions
Proof By ContradictionsProof By Contradictions
Proof By Contradictions
 
Recursion DM
Recursion DMRecursion DM
Recursion DM
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficient
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
Proof by contradiction
Proof by contradictionProof by contradiction
Proof by contradiction
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Chapter 4 Cyclic Groups
Chapter 4 Cyclic GroupsChapter 4 Cyclic Groups
Chapter 4 Cyclic Groups
 
Algorithm big o
Algorithm big oAlgorithm big o
Algorithm big o
 
Set Theory Presentation
Set Theory PresentationSet Theory Presentation
Set Theory Presentation
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Theory of Computation
Theory of ComputationTheory of Computation
Theory of Computation
 
Isomorphic graph
Isomorphic graphIsomorphic graph
Isomorphic graph
 

Similar to Arguments and methods of proof

Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdfsmarwaneid
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)Raechel Lim
 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]DIwakar Rajput
 
rules of inference in discrete structures
rules of inference in discrete structuresrules of inference in discrete structures
rules of inference in discrete structuresZenLooper
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsAbdulRehman378540
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptxRavind8
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDr. Khaled Bakro
 
Laws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsLaws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsZenLooper
 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptxMath101BSCA1C
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptxDakshBaveja
 
Logic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxLogic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxPriyalMayurManvar
 
CSE-203 Lec_1.pptx
CSE-203 Lec_1.pptxCSE-203 Lec_1.pptx
CSE-203 Lec_1.pptxMahdiHasan86
 

Similar to Arguments and methods of proof (20)

Chapter1p1.pdf
Chapter1p1.pdfChapter1p1.pdf
Chapter1p1.pdf
 
CS202Ch1.ppt
CS202Ch1.pptCS202Ch1.ppt
CS202Ch1.ppt
 
Chapter 01 - p1.pdf
Chapter 01 - p1.pdfChapter 01 - p1.pdf
Chapter 01 - p1.pdf
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
chapter 1 (part 2)
chapter 1 (part 2)chapter 1 (part 2)
chapter 1 (part 2)
 
Slide subtopic 4
Slide subtopic 4Slide subtopic 4
Slide subtopic 4
 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]
 
rules of inference in discrete structures
rules of inference in discrete structuresrules of inference in discrete structures
rules of inference in discrete structures
 
Logic
LogicLogic
Logic
 
Discrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete MathematicsDiscrete Structure vs Discrete Mathematics
Discrete Structure vs Discrete Mathematics
 
Chapter1p1
Chapter1p1Chapter1p1
Chapter1p1
 
Drinkfromme.pptx
Drinkfromme.pptxDrinkfromme.pptx
Drinkfromme.pptx
 
The logic
The logicThe logic
The logic
 
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكروDiscrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
 
Laws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applicationsLaws of Logic in Discrete Structures and their applications
Laws of Logic in Discrete Structures and their applications
 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptx
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
logic_lec4.ppt
logic_lec4.pptlogic_lec4.ppt
logic_lec4.ppt
 
Logic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptxLogic in Computer Science Unit 2 (1).pptx
Logic in Computer Science Unit 2 (1).pptx
 
CSE-203 Lec_1.pptx
CSE-203 Lec_1.pptxCSE-203 Lec_1.pptx
CSE-203 Lec_1.pptx
 

More from Robert Geofroy

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxRobert Geofroy
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.Robert Geofroy
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportionRobert Geofroy
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operationsRobert Geofroy
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebraRobert Geofroy
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018Robert Geofroy
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019Robert Geofroy
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsRobert Geofroy
 

More from Robert Geofroy (11)

ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptxESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
ESOL_COURSE_ INTRODUCTION_R_GEOFROY.pptx
 
This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.This is the introductory set of slides for the Basic English course.
This is the introductory set of slides for the Basic English course.
 
Sampling Distribution of Sample proportion
Sampling Distribution of Sample proportionSampling Distribution of Sample proportion
Sampling Distribution of Sample proportion
 
Dm2021 binary operations
Dm2021 binary operationsDm2021 binary operations
Dm2021 binary operations
 
Set theory
Set theorySet theory
Set theory
 
Permutations 2020
Permutations 2020Permutations 2020
Permutations 2020
 
Datasets
DatasetsDatasets
Datasets
 
DM2020 boolean algebra
DM2020 boolean algebraDM2020 boolean algebra
DM2020 boolean algebra
 
Course project solutions 2018
Course project solutions 2018Course project solutions 2018
Course project solutions 2018
 
Course project solutions 2019
Course project solutions 2019Course project solutions 2019
Course project solutions 2019
 
Using sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equationsUsing sage maths to solve systems of linear equations
Using sage maths to solve systems of linear equations
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

Arguments and methods of proof

  • 3. What is an Argument? An argument is a series of propositions or statements that end with a conclusion.These propositions, also called hypotheses or premises, if true, build inevitably and necessarily to the stated conclusion. When the conditions are satisfied, we have what is called a valid (deductive) argument.
  • 4. Consider… If there is cream, then I will drink coffee. If there is a donut, then I will drink coffee.There is no cream and there is a donut. Therefore, I drink coffee.
  • 5. Again… If there is cream, then I will drink coffee. If there is a donut, then I will drink coffee. There is no cream and there is a donut. Therefore, I drink coffee.
  • 6. Formulating the Argument • Premises • If there is cream, then I will drink coffee. • If there is a donut, then I will drink coffee, • There is no cream and there is a donut. • Conclusion • I will drink coffee
  • 7. Symbolically, we have… • Premises • If p [there is cream], then q [I will drink coffee]. • If r [there is a donut], then q [I will drink coffee], • ~p [There is no cream] and r [there is a donut]. • Conclusion • q [I will drink coffee]. and the argument format is: p → q r → q ~p ∧ r -------- q p: there is cream q: I will drink coffee r: there is a donut
  • 8. Analysing the argument with aTruthTable p q r p → q r → q ~p ~p ∧ r (p → q) ∧ (r → q) ∧ (~p ∧ r) ANDED → q F F F T T T F F T F F T F T F
  • 9. Valid Argument A valid argument is an argument where, if the premises are true, then the conclusion must be true. A form of argument which is not valid is called a fallacy.
  • 10. Operational method ofValidation of an Argument Form a truth table in which the premises are columns and the conclusion is the last column. Star every row in which the premises are true. Declare the argument valid if every starred row has aT in the last column. Once we have verified an argument, we never have to question its validity again.
  • 11. Analysing the argument with aTruthTable p q r p → q r → q ~p ~p ∧ r (p → q) ∧ (r → q) ∧ (~p ∧ r) ANDED → q F F F T T T F F T F F T T F T T F T F T F T T T F F T F T T T T T T T T T F F F T F F F T T F T F F F F F T T T F T T F F F T T T T T T F F F T This is a valid argument.
  • 12. Consider the argument… If you have a valid password, then you can log on to the network.You have a valid password. You can log on to the network.
  • 13. Consider the argument… If you have a valid password, then you can log on to the network. You have a valid password. You can log on to the network.
  • 14. Symbolic representation… If you have a valid password, then you can log on to the network.You have a valid password. You can log on to the network. p:You have a valid password q:You can log on to the network
  • 15. Argument form… If you have a valid password, then you can log on to the network.You have a valid password. You can log on to the network. p:You have a valid password q:You can log on to the network Argument form p → q P -------- q We can write the argument as: [p ∧ (p → q) ] → q
  • 16. Assessing validity of [p ∧ (p → q)] → q p q p → q p ∧ (p → q) [p ∧ (p → q)] → q F F T F T F T T F T T F F F T T T T T T The last row is where p =T and p → q =T and the argument implication is T and so the argument is valid. It is a tautology so it is valid anyway. •This argument form is called modus ponens and is a valid argument.
  • 17. Tautologies Any argument with a tautology as the conclusion is valid, no matter what the premises are. Validity is a technical term in formal logic meaning that the conclusion cannot fail to be true if the premises are true. Since a tautology is always true it follows for such an argument that the conclusion can not fail to be true if the premises are true.
  • 18. Another Example If you are a Reggae lover then you know Bob Marley. Jessica is a Reggae lover. Therefore, Jessica knows Bob Marley.
  • 19. Symbolic Representation If you are a Reggae lover then you know Bob Marley. Jessica is a Reggae lover. Therefore, Jessica knows Bob Marley. This argument can be condensed symbolically: If p then q; p; therefore q.
  • 20. Assessing validity of [p ∧ (p → q)] → q p q p → q p ∧ (p → q) [p ∧ (p → q)] → q F F T F T F T T F T T F F F T T T T T T •It is a valid argument. Do you recognise the argument form? *
  • 21. Assessing validity of [p ∧ (p → q)] → q p q p → q p ∧ (p → q) [p ∧ (p → q)] → q F F T F T F T T F T T F F F T T T T T T • It is a valid argument. Do you recognise the argument form? • Remember we had called this modus ponens. • We need to be able to recall the argument form as we can simply quote that to determine whether an argument is valid or not. *
  • 22. Another argument… You can’t log on to the network. If you have a valid password, you can log on to the network. You do not have a current password.
  • 23. Another argument… You can’t log on to the network. If you have a valid password, you can log on to the network. You do not have a current password.
  • 24. Argument form… ¬qYou can’t log on to the network. If p:you have a valid password, then q you can log on to the network. ¬p You do not have a current password. p → q ¬ q ---------- ¬ p We can write this in shorthand as: [(p → q) ∧ ¬ q] → ¬ p
  • 25. Assessing the argument form using a truth table p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p F F F T T F T T
  • 26. Is it a valid argument? p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p F F T T T T T F T T T F F T T F F F T F T T T T F F F T *
  • 27. Is it a valid argument? It is a valid argument.This argument f0rm is called modus tollens. p q p → q ¬p ¬q (p → q) ∧ ¬q [(p → q) ∧ ¬q] → ¬p F F T T T T T F T T T F F T T F F F T F T T T T F F F T
  • 28. StarWars If Mr. Scott is still with us, then the power will come on.The power comes on. Therefore, Mr. Scott is still with us. Valid or Invalid?
  • 29. Assign Logical variables If p [Mr. Scott is still with us], then q [the power will come on]. q [The power comes on]. Therefore, p [Mr. Scott is still with us].
  • 30. Argument form If p [Mr. Scott is still with us], then q [the power will come on]. q [The power comes on]. Therefore, p [Mr. Scott is still with us]. p → q q ---------- p This is a case of affirming the consequent of a conditional and concluding that the antecedent is true.
  • 31. Assessing validity of [(p → q) ∧ q ] → p p q p → q (p → q) ∧ q [(p → q) ∧ q]→ p F F T F T F T T T F T F F F T T T T T T •Is this a valid argument? * *
  • 32. Argument form If p [Mr. Scott is still with us], then q [the power will come on]. q [The power comes on]. Therefore, p [Mr. Scott is still with us]. p → q q ---------- p This is a case of affirming the consequent of a conditional and concluding that the antecedent is true, The argument form is [(p → q) ∧ q] → p but this is NOT a valid argument.
  • 33. Rules of Inference A rule of inference is any valid argument. Page 21 of the Unit notes gives you all the rules of inference.We have already seen and proven two important ones – modus ponens and modus tollens. Of course ther are others as you cans ee there!
  • 34. Other Rules of Inference
  • 38. What is a Proof? A proof is a demonstration, or argument, that shows beyond a shadow of a doubt that a given assertion is a logical consequence of our axioms and definitions.
  • 39. Kurt Godel Kurt Godel, a brilliant mathematician and logician born and raised in Czechoslovakia in 1906, earned his Ph.D at the University ofVienna. In 1931 he produced a work regarded as the single greatest piece in mathematical logic: “On formally undecidable proposition of Principia Mathematica and related systems I” (originally in German). In it he showed that the German mathematician David Hilbert’s (1862 – 1943) aim of formalizing mathematics and demonstrating it to be complete (all facts can be proved), consistent (nothing false can be proved) and decidable (all propositions can be shown to be either true or false) was unattainable.
  • 40. Axiom An axiom is a statement or proposition which is regarded as being established, accepted, or self-evidently true without proof.
  • 41. Direct Proof A direct proof is a mathematical argument that uses rules of inference to derive the conclusion from the premises.
  • 42. Example Prove the Disjunctive Syllogism by using a Chain of Inferences.
  • 43. Example Prove the Disjunctive Syllogism by using a Chain of Inferences. So, we might ask, what is the Disjunctive Syllogism?
  • 44. Example Prove the Disjunctive Syllogism by using a Chain of Inferences. So, we might ask, what is the Disjunctive Syllogism? It is the argument form: (p ∨ q) ∧ ¬p → q found on p 21 of the Unit notes.
  • 45. RTP: (p ∨ q) ∧ ¬p → q First consider: p ∨ q Premise 1 ≡ q ∨ p Commutativity ≡ ¬(¬ q) ∨ p Double negation ≡ ¬q → p Implication ¬p Premise 2
  • 46. RTP: (p ∨ q) ∧ ¬p → q p ∨ q Premise 1 ≡ ¬q → p Implication ¬p Premise 2 So we have, (¬q → p) ∧ ¬p Recall: [(p → q) ∧ ¬ q] → ¬ p so applying this inference rule, we have [(¬q → p) ∧ ¬p] → ¬ ¬q
  • 47. RTP: (p ∨ q) ∧ ¬p → q And putting it all together, we have: p ∨ q Premise 1 ≡ q ∨ p Commutativity ≡ ¬(¬ q) ∨ p Double negation ≡ ¬q → p Implication ¬p Premise 2 ¬(¬ q) Modus tollens Conclusion: q Double negation Hence, (p ∨ q) ∧ ¬p → q
  • 48. Direct Proof • A proof with no special assumptions is called a direct proof. • Basic Steps in Direct Proof • Deconstruct Axioms: Take the hypothesis and turn it into a usable form. Usually this amounts to just applying the definition. EG: k = 1(mod 3) really means 3|(k - 1) which actually means n k - 1 = 3n • Mathematical Insights: Use your human intellect and get at “real reason” behind theorem. For instance, looking at what we’re trying to prove, we see that we’d really like to understand k 3. So let’s take the cube of k! From here, we’ll have to use some algebra to get the formula into a form usable by the final step: • Reconstruct Conclusion: This is the reverse of step 1. At the end of step 2 we should have a simple form that could be derived by applying the definition of the conclusion.
  • 49. Using symbolic derivation, prove that q ∧ ¬(p → q) is a contradiction. q ∧ ¬(p → q) ≡ q ∧ ¬ (¬p ∨ q) Conditional equivalence ≡ q ∧ (¬ ¬p ∧ ¬ q) …
  • 50. Using symbolic derivation, prove that q ∧ ¬(p → q) is a contradiction. q ∧ ¬(p → q) ≡ q ∧ ¬ (¬p ∨ q) Conditional equivalence ≡ q ∧ (¬ ¬p ∧ ¬ q) De Morgan’s law ≡ q ∧ (¬ q ∧ ¬ ¬ p) Commutative ≡ (q ∧ ¬ q) ∧ ¬ ¬ p Associative ≡ F ∧ ¬ ¬ p) Negation ≡ F Domination This is a direct proof.
  • 51. Proof by Cases Proof by exhaustion, also known as proof by cases, proof by case analysis, complete induction or the brute force method, is a method of mathematical proof in which the statement to be proved is split into a finite number of cases or sets of equivalent cases, and where each type of case is checked to see if the proposition in question holds. This is a method of direct proof.A proof by exhaustion typically contains two stages: A proof that the set of cases is exhaustive; i.e., that each instance of the statement to be proved matches the conditions of (at least) one of the cases. A proof of each of the cases.
  • 53. To prove: the sum of any two squared integers leaves a remainder of either 0, 1 or 2 when divided by 4. • Here, we have three cases to consider: • Both a and b even • One of a, b even • Both a and b odd • If the integers are odd, let them be 2n + 1 and 2m + 1 where n and m are integers. • If they are even, let them be 2n and 2m where n and m are integers.
  • 54. Consider the case of both integers even • If they are even, let them be 2n and 2m where n and m are integers. • Their squares are 4n2 and 4m2 and the sum is 4n2 + 4m2. • When divided by 4 this gives us a remainder of 0.
  • 55. Consider the case of both integers odd • If they are odd, let them be 2n + 1 and 2m + 1 where n and m are integers. • Their squares are 4n2 + 4n + 1 and 4m2 + 4m + 1 and the sum is 4n2 + 4n+ 4m2 + 2 • When divided by 4 this gives us a remainder of 2.
  • 56. Consider the case of one integer even and the other odd • Let them be 2n (even) and 2m + 1 (odd) where n and m are integers. • Their squares are 4n2 and 4m2 + 4m + 1 and the sum is 4n2 + 4n+ 4m2 + 1 • When divided by 4 this gives us a remainder of 1.
  • 57. Indirect Proof This is basically proof using the contrapositive. Method: For any k, assume ¬Q(k) and derive ¬P(k) Then, by the contrapositive logical equivalence: P(k) → Q(k) ≡ ¬ Q(k) → ¬P(k) Offer an example of an indirect proof.
  • 58. Show that: if n is an integer and n3 + 5 is odd, then n is even. Let the propositions be: • p: n3 + 5 is odd • q: n is even So we want to show that p → q To prove that we shall use the contrapositive? What do we have to show in this case?
  • 59. The propositions are: p: n3 + 5 is odd, and q: n is even So we want to show that p → q The contrapositive: ¬q → ¬p. ie If n is odd , then n3 + 5 is even. So let n = 2k + 1 for some integer k ⇒ n3 + 5 = (2k + 1)3 + 5 = 8k3 + 3.4k2 + 3.4k + 1 + 5 = 8k3 + 12k2 + 12k + 6 = 2(4k3 + 6k2 + 6k + 3) which is even. We have shown that n odd → n3 + 5 is even and so if n is an integer and n3 + 5 is odd, then n is even. Show that: if n is an integer and n3 + 5 is odd, then n is even.
  • 60. Proof by Contradiction • A proof method by which an assumption is made and the argument that follows reaches a contradiction. This means that the original assumption is wrong. • To show that some sentence is true, we assume that it is false (we assume the negation of that sentence) and then show any contradiction. • If a contradiction follows, something has gone wrong; and if we follow our rules of logic then the only thing that can have gone wrong was our assumption of the negation of our conclusion. So, we must have been wrong to assume it is false, so it must be true.
  • 61. The set of primes is infinite. • Assume that the set of primes is finite and let them be p1, p2, p3 ,…, pn. • Now form the number p1p2p3…pn + 1.This is clearly not divisible by any of the previous primes and hence is prime. • We have found a prime which is not in the set {p1, p2, p3 ,…, pn} and this is a contradiction. • Hence, the set of primes is infinite.
  • 62. Principle of Mathematical Induction Find base case P(1) Assume P(k) and prove that P(k) → P(k + 1) Then we have ∀k P(k)
  • 63. n ∈ Z, 6 | n3 + 5n (i.e. that 6 divides n3 + 5n ) P (1): Clearly with n = 1, 6 | 13 + 5 TRUE Assume P(k) then 6 | k3 + 5k for some k. Now we must show P(k) → P (k + 1) Substituting k + 1 for k, we have (k + 1)3 + 5(k + 1) = k3 + 3k2 + 3k + 1 + 5k + 5 = k3 + 5k + 3k2 + 3k + 6 = k3 – k + 6k + 6 + 3k(k + 1) = k(k2 – 1) + 6k + 6 + 3k(k + 1) = (k – 1)k(k + 1) + 6k + 6 + 3k(k + 1) Now any three consecutive integers must contain one which is a multiple of 2 and one which is a multiple of 3. Thus, 6 | (k – 1)k(k + 1). Also, observe that 3k2 + 3k = 3k (k + 1) and that k(k + 1) is an even number so 6 | 3k (k + 1). We have shown that P(k) → P(k+1) and hence we have P(n) for all n. ■