I am studying proofs by the principle of well-order. Below is an exercise I encountered which I am having difficulty understanding.
What is wrong with this "proof" of the following statement?
For every positive integer n,the number n^2+n+1 is even.
Proof:
Let S be the subset of positive integers nn for which n^2+n+1 is odd. >Assume S is nonempty.
Let m be its smallest element.
Then m-1 doesnt belong to S, so (m-1)^2+(m-1)+1 is even.
But (m-1)^2+(m-1)+1 = m^2-m+1 = (m^2+m+1)-2m,(m−1),so m^2+m+1 equals((m-1)^2+(m-1)+1)+2m, which is a sum of two even numbers, which is even.
So m does not belong to S which is a contradiction. Therefore, S is empty, and the result follows.
I know from the beginning that the statement is wrong, it is false, therefore only a counterexample would be given. But I don't know why the page insists on proving it. What has me wondering is that by contradiction it assumes the opposite that n2+n+1 is odd, that is true. Therefore it begins to prove with (m-1) it does not belong to S and that is correct. It is one less than the minimum, obviously it is not in the set S.
This are my questions:
m2+m+1 is odd for all positive integers, so you could use mathematical induction instead of the principle of good order, because it is true for p=1 that expression will always give odd. I don't understand that part, it begins with a contradiction with the principle of good order, when n2+n+1 is odd, always the easiest thing to do with the principle of mathematical induction (I understand that you want to reach a contradiction).But why doing this stuff with a contradiction and the well order. The contradiction is always true. Dont know what contradiction I can get from a true statement 2. Is it valid if the statement at the begginig" m2+m+1 is even" is not true, to contradict it? I understood that only a counter-example has to be given and that's it, no more proof.
If you could contradict from the beginning that statement m2+m+1 is odd, always take whatever value it is and always give true, then how is it that you want to reach a contradiction, I don't understand.
The page says that the proof is wrong because m-1 is not a positive integer, as I said obviously it is not a positive integer, it is less than the smallest positive integer that the set S has, but this statement comes out of the following affirmation: m must be the next of some natural number (in the case that the proposition m2+m+1 is odd, it would have complied with m different from 1). That is, there exists k element of the positive integers such that m=k +1 then k=m-1. Where k does not belong to S and is a natural prior to m, then (m−1)2+(m−1)+1 must be even, when if I replace m with even or odd, this result will always give me odd in the two cases. Is that my contradiction? or the statement is actually wrong because m-1 is not a positive integer from the start.
Please help I am very confused.