It is often enlightening to learn from mistakes. On this page, we study examples of wrong proofs (and hopefully learn to not repeat them in homework/exams!).
We will now see examples of flawed arguments that you need to watch out for when doing mathematics. Examples include
, we prove
).
even but not to
odd.Claim: For
, if
is even, then
is prime. I.e,
.
Let us test for
, we have
is 5. Works. It also works for
since
is prime and
since
is prime. Therefore,
is prime if
is even.
Let us attempt one more proof of this:
Proof Attempt # 2Assume
is prime. We will prove that
must be even.
is prime, and
,
must necessarily be odd.
is odd, it must be the case that
is even.
is even, we have proved previously that
is also even.
is even. QED??Are there any flaws in either of these proofs? Do they convince you of the truth of our “claim”?
The claim is false in the first place because it fails for
, wherein
.
The first proof attempt is a proof by example which is generally invalid for universally quantified statements.
The second proof attempt actually sets out to prove the converse. Instead of proving
is prime, it assumes this and tries to prove, instead, that
is even.
Claim If two numbers
and
are odd, then
is even.
Exercise: Write this down in logical notation.
Let us look at a proof:
Attempted ProofProof Here are our reasoning steps:
is odd, it can be written as
for some
.
is odd, it can be written as
too for some
.
.
is an even number.
is even. QED.Is there anything wrong with the proof above?
Now let us look at a related claim:
Claim-2 If two numbers
and
are odd, then
.
Is this a true statement?
Here are our reasoning steps:
is odd, it can be written as
for some
.
is odd, it can be written as
too.
.
.
. QED.Can you correct the demonstrations above? What went wrong.
The problem was in assuming that
for some
. By saying that
, for some
and
for some
, there is a flawed assumption that
, which was never warranted.
Therefore, we are able to “prove” Claim-2, which is clearly false. For example,
and
yields us
and
.
Claim-1 is correct and the corrected proof is as follows:
Claim-1 If two numbers
and
are odd, then
is even.
Proof Here are our reasoning steps:
is odd, it can be written as
for some
.
is odd, it can be written as
too for some
.
.
is an even number.
is even. QED.Claim If
is natural number then
is a composite number.

Proof: Let be a natural number.
as a product of
.
is a composite number. QED??The claim is actually false. Take
, we have
, a prime number.
What went wrong in the proof? Well, we are correct in writing as
but this does not immediately show that
is composite. We have to convince ourselves that
and
. Recall:
A natural number
is composite if it can be written as
for natural numbers
where
cannot be
or
itself. In logic, we define a predicate
as follows:
.
Likewise, natural number
is prime if
for some natural numbers
, then
or
. In logic, we define a predicate
for natural numbers, as follows:


An important exception involves the numbers . These are taken to be neither prime nor composite.
The proof above can only be correct when
and
.