Vous êtes sur la page 1sur 3

2/21/12

A Bogus Proof
Theorem: All horses are the same color.

Bogus Proof: (by induction on n)


Induction hypothesis:
P(n) ::= any set of n horses are

Induction
the same color

Albert R Meyer February 24, 2012 lec 3F.1 Albert R Meyer February 24, 2012 lec 3F.2

A Bogus Proof A Bogus Proof


Theorem: All horses are the same color. (Inductive case): Assume n horses
Proof: (by induction on n) have the same color.
Induction hypothesis: Prove that any n+1 horses have
P(n) ::= any set of n horses are
the same color
the same color.
Base case (n=1):
horse is same color as itself! …
n+1

Albert R Meyer February 24, 2012 lec 3F.3 Albert R Meyer February 24, 2012 lec 3F.4

A Bogus Proof A Bogus Proof


(Inductive case): Assume n horses (Inductive case): Assume n horses
have the same color. have the same color.
Prove that any n+1 horses have Prove that any n+1 horses have
the same color. the same color.
2nd set of n horses have the same color 2nd set of n horses have the same color

… …
first set of n horses have the same color first set of n horses have the same color
Albert R Meyer February 24, 2012 lec 3F.5 Albert R Meyer February 24, 2012 lec 3F.6

Horse clip art © source unknown. All rights reserved. This content is excluded from our
Creative Commons license. For more information, see http://ocw.mit.edu/fairuse.
1
2/21/12  

A Bogus Proof A Bogus Proof


1st and last same color as What’s wrong?
the middle ones
QED ?!? Proof that P(n) → P(n+1) is wrong
so set of n+1 have the same color! if n = 1, because there are
no “middle” horses!
2nd set of n=1 horses

no horses
1st set of n=1 horses
Albert R Meyer February 24, 2012 lec 3F.7 Albert R Meyer February 24, 2012 lec 3F.8

A Bogus Proof A Bogus Proof


What’s wrong? What’s wrong?
Proof that P(n) → P(n+1) is wrong Proof that P(n) → P(n+1) is wrong
if n = 1, because there are if n = 1, because there are
no “middle” horses! no “middle” horses!
… (But proof works for all n ≠ 1)
mislead by ellipsis
Albert R Meyer February 24, 2012 lec 3F.9 Albert R Meyer February 24, 2012 lec 3F.10

Horse clip art © source unknown. All rights reserved. This content is excluded from our
Creative Commons license. For more information, see http://ocw.mit.edu/fairuse.
2
MIT OpenCourseWare
http://ocw.mit.edu

6.042J / 18.062J Mathematics for Computer Science


Spring 2015

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

Vous aimerez peut-être aussi