Direct proof using definiton of even

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
cmajor47
Messages
53
Reaction score
0

Homework Statement


Prove that for all integers n and m, if n-m is even then n3-m3 is even.


Homework Equations


Definition of even: n=2k


The Attempt at a Solution


Proof: Let n, m [tex]\in[/tex] Z such that n-m=2k
n-m=2k
n=2k+m
m=-2k+n
n3-m3=(2k+m)3-(-2k+n)3

I did all of this algebra out but I didn't think that it worked in showing that n3-m3 is even. Am I doing the proof wrong?
 
Physics news on Phys.org
How about using the fact that x3- y3= (x- y)(x2+ xy+ y2)?
 
Last edited by a moderator:
Thanks so much, I realized how to do the proof with that help.