Mathematical Proof/Methods of Proof/Counterexamples

From testwiki
Revision as of 08:56, 2 December 2024 by imported>R. Henrik Nilsson (more then > more than)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Mathematical Proof/navigation

A proof by counterexample is not technically a proof. It is merely a way of showing that a given statement cannot possibly be correct by showing an instance that contradicts a universal statement. For example, if you are trying to prove the statement "All cheesecakes are baked in Alaska." and you did not know whether to prove it by contrapositive or contradiction, all I would have to do is bake a cheesecake right in front of you here in Texas and then you would know that your efforts had been in vain.


Consider the following statement:

Every set is countable.

Of course a counterexample to this would be the interval from [0,1]. To show that this interval isn't countable, we assume that it is, so then there is a bijective function f: since f is bijective we may write the elements of [0,1] in a list here we write the numbers in [0,1] in their decimal expansions.

f(1)=.b(1,1)b(1,2)b(1,3)b(1,4)

f(2)=.b(2,1)b(2,2)b(2,3)b(2,4)

f(3)=.b(3,1)b(3,2)b(3,3)b(3,4)

For the purposes of the proof, we need each real number to be uniquely defined by a decimal. This is of course true in almost all cases (take .01, for instance... it's equal to .00999999999...). In fact, the cases when it's not true are exactly the cases when the decimal ends in a string of zeros, or "terminates" (a separate proof would be needed for this, but for now accept it as true). Therefore, let the decimals all be in "nonterminating form," so that there's another bijection between the decimal expansions and the real numbers.

Now let ai=0 if b(i,i) is odd and 1 if b(i,i) is even. Now I claim that x=.a1a2a3a4 is not listed here. To show this suppose it were then for some n,f(n)=.b(n,1)b(b,2)b(n,n) but an=0 if b(n,n) is odd and an=1 if b(n,n), this is not possible so we conclude that .a1a2a3a4 is not in the list, this shows we may not have a surjection from

Although this is a counterexample, we still had to PROVE that it was in fact a counterexample and in doing so used both a proof by contradiction (this was the overall method of the proof) by a construction (of x=.a1a2a3a4). Although there may be more than one counterexample to any given false claim, you must always provide by a proof or argument that your counterexample works.

Template:Mathematical Proof/next

Template:BookCat