Solve Proof by Induction: Explain What's Wrong

  • Thread starter Thread starter cepheid
  • Start date Start date
  • Tags Tags
    Induction Proof
AI Thread Summary
The proof by induction incorrectly assumes that if max(x,y) = k+1, then max(x-1,y-1) = k holds true for all non-negative integers x and y. The reasoning fails because when either x or y equals 0, subtracting one results in a negative number, which is not included in the set of non-negative integers. This oversight invalidates the inductive step, as it does not account for cases where x or y is 0. Consequently, the claim that max(x,y) = n implies x = y is proven false. The discussion highlights the importance of ensuring all cases are considered in inductive proofs.
cepheid
Staff Emeritus
Science Advisor
Gold Member
Messages
5,197
Reaction score
38

Homework Statement



Explain what is wrong with the structure and/or reasoning of the following proof. Remember that saying the claim is false is not a justification.

For all x,y,n in {0,1,2,...}, if max(x,y) = n, then x=y.

Proof (by induction):

Base case: Suppose that n=0. If max(x,y) = 0 and x,y are in {0,1,2,...}, then x = y = 0.

Induction step: Assume that whenever we have max(x,y) = k, then x = y must follow. Next, suppose x,y are such that max(x,y) = k+1. Then it follows that max(x-1,y-1) = k, so by the inductive hypothesis, x-1 = y-1 ==> x = y, completing the induction step.

Homework Equations



N/A

The Attempt at a Solution



The claims is obviously false, but I cannot say for sure exactly where the reasoning fails. I think it has something to do with the statement: "Then it follows that max(x-1,y-1) = k."

Somehow, this must not be valid. I just don't know why. Can anyone shed light on this.
 
Physics news on Phys.org
If x and y are in N={0,1,2,..} it isn't necessarily true that x-1 and y-1 are in N. If you want to show max(0,1)=1 implies 0=1, you are looking at max(-1,0)=0. That isn't covered in the k=0 case.
 
I don't know how to mark a thread as solved, but thanks for the help. That makes sense
 
It is possible that either x or y is equal to 0. If x= 0, then x-1 is not in the set 0, 1, 2, ... Same if y= 0.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
9
Views
2K
Replies
4
Views
2K
Replies
9
Views
3K
Replies
13
Views
2K
Replies
3
Views
2K
Replies
17
Views
2K
Back
Top