Prove that when 8 does not divide n^2 - (n-2)^2, then n is even

  • Thread starter Thread starter chocolatelover
  • Start date Start date
  • Tags Tags
    even
Click For Summary

Homework Help Overview

The discussion revolves around proving that if \(8\) does not divide \(n^2 - (n-2)^2\), then \(n\) is even. The subject area includes number theory and properties of divisibility.

Discussion Character

  • Conceptual clarification, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore various methods, including direct substitution of values, using the difference of squares, and considering proof by contrapositive. Some participants question the validity of examples and the logical structure of the proof.

Discussion Status

The discussion is active, with participants providing different perspectives on how to approach the proof. Some guidance has been offered regarding the contrapositive method, and there is an ongoing exploration of the implications of the original statement versus its converse.

Contextual Notes

Participants note the importance of distinguishing between proving a statement and its converse, as well as the implications of assuming the negation of the conclusion in proofs by contradiction.

chocolatelover
Messages
238
Reaction score
0

Homework Statement


Prove that when (n^2-(n-2)^2) is not divisible by 8, n is even

Homework Equations





The Attempt at a Solution



Could I just plug in numbers or is there a different way of doing it?

Let n=2 2^2-(2-2)^2/8=1/2

When n=2, 8 does not go evenly into the function.

Thank you very much
 
Last edited:
Physics news on Phys.org
Use difference of two squares and go from there.
 
chocolatelover said:

Homework Statement


Prove that when (n^2-(n-2)^2) is not divisible by 8, n is even

Homework Equations





The Attempt at a Solution



Could I just plug in numbers or is there a different way of doing it?

Let n=2 2^2-(2-2)^2/8=1/2

When n=2, 8 does not go evenly into the function.

Thank you very much
How long would it take you to try every even integer?

Even if you did that you would have proved the wrong thing. Your example is an example that "if n is even then 8 does not divide evenly into n^2- (n-2)^2". What you are asked to prove is the converse of that: "if 8 does not divide evenly into n^2- (n-2)^2, then n is even". "If A then B" is not the same as "If B then A".

What you could do is prove the contrapositive. "If A then B" is the same as the contrapositive, "if NOT B then NOT A". Here that would be "if n is NOT even, then 8 does NOT divide n^2- (n-1)^2". If n is not even, it is odd: n= 2m+1 for some integer m. Then n^2= (2m+1)^2= 4m^2+ 4m+ 1 and n- 1= 2m+1-1= 2m so (n-1)^2= (2m)^2= 4m^3. n^2- (n-1)^2= 4m+ 1. Now there are 2 posibilities: either m itself is even, in which case 4m+ 1= 8k+ 1 for some k and 8k always has a remainder of 1 when divided by 8 or m is odd, in which case 4m+ 1= 4(2k+1)+ 1= 8k+ 5 which has a remainder of 5 when divided by 8.
 
You can also do proof by contradiction...not too sure if proof by contrapositive and contradiction are related though.
 
Thank you very much

Regards
 
Proof of the contrapositive is a special case of proof by contradiction.


In a general "proof by contradiction" or "indirect proof", you assume the conclusion is false and prove two statements that contradict one another- neither necessarily has anything to do with the hypotheses (I have seen example where neither of the two contradictory statements seemed to have anything to do with the whole theorem!). In "proving the contrapositive", you assume the conclusion is false and prove the hypothesis is false- which, of course, contradicts the hypothesis itself.
 
Thank you very much
 
n^2 - (n-2)^2 = (2n-2)(2) = 4(n-1)

8 only divides even multiples of four thus when n is even n-1 is odd and 4(n-1) is not divisible by 8.

The straightforward proof seems a lot easier to me.
 
Yeah, but that's no fun!
 
  • #10
Vid said:
n^2 - (n-2)^2 = (2n-2)(2) = 4(n-1)

8 only divides even multiples of four thus when n is even n-1 is odd and 4(n-1) is not divisible by 8.

The straightforward proof seems a lot easier to me.

Isn't that proof by contradiction? Assume that if n^2-(n-2)^2 is divisible by 8 then n is even. so that n^2-(n-2)^2 =8A for all +ve integers. and after some algebra you get n=-(2A-1) and 2A-1 is odd for all +ve integers, so that contradicts the assumption, so it is false. Hence if n^2-(n-2)^2 is not divisible by 8, then n is even (since if you are not odd, you are even)
 
  • #11
I don't think so since I'm not assuming the negation of the original statement.
 
  • #12
Thank you very much

Regards
 
  • #13
HallsofIvy said:
How long would it take you to try every even integer?

Even if you did that you would have proved the wrong thing. Your example is an example that "if n is even then 8 does not divide evenly into n^2- (n-2)^2". What you are asked to prove is the converse of that: "if 8 does not divide evenly into n^2- (n-2)^2, then n is even". "If A then B" is not the same as "If B then A".

What you could do is prove the contrapositive. "If A then B" is the same as the contrapositive, "if NOT B then NOT A". Here that would be "if n is NOT even, then 8 does NOT divide n^2- (n-1)^2". If n is not even, it is odd: n= 2m+1 for some integer m. Then n^2= (2m+1)^2= 4m^2+ 4m+ 1 and n- 1= 2m+1-1= 2m so (n-1)^2= (2m)^2= 4m^3. n^2- (n-1)^2= 4m+ 1. Now there are 2 posibilities: either m itself is even, in which case 4m+ 1= 8k+ 1 for some k and 8k always has a remainder of 1 when divided by 8 or m is odd, in which case 4m+ 1= 4(2k+1)+ 1= 8k+ 5 which has a remainder of 5 when divided by 8.

Ok let me get this straight, If A then B is the same as proofing if not B then not A,
so in this case A is 8 does not divide evenly into n^2- (n-2)^2 and B is n is even and you try to proof if not B then not A, isn't the inverse of A be 8 does divide evenly into n^2- (n-2)^2 and B being n is not even?
 
  • #14
johndoe said:
Ok let me get this straight, If A then B is the same as proofing if not B then not A,
so in this case A is 8 does not divide evenly into n^2- (n-2)^2 and B is n is even and you try to proof if not B then not A, isn't the inverse of A be 8 does divide evenly into n^2- (n-2)^2 and B being n is not even?
Yes, I misspoke. I believe my (outline of a) proof did do it correctly however.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K