Solve Proof by Induction: Explain What's Wrong

  • Thread starter Thread starter cepheid
  • Start date Start date
  • Tags Tags
    Induction Proof
Click For Summary

Homework Help Overview

The discussion revolves around a proof by induction that claims if max(x,y) = n for all x, y, n in the set of non-negative integers, then x must equal y. Participants are tasked with identifying flaws in the proof's structure or reasoning.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • Participants examine the validity of the induction step, particularly questioning the assumption that max(x-1,y-1) = k when max(x,y) = k+1. There is a focus on the implications of x or y being zero and how that affects the proof.

Discussion Status

Some participants have provided insights into the reasoning errors, particularly regarding the base case and the implications of decrementing x and y. There is an ongoing exploration of the assumptions made in the proof without reaching a consensus on a complete resolution.

Contextual Notes

Participants note that the proof does not account for cases where x or y equals zero, which may lead to invalid assumptions about the values of x-1 and y-1 being in the same set of non-negative integers.

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.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K