prove for each integer n, n is even if and only if 4 divides n^2
hint a general even number looks like \(n=2j\) for some \(j\)
I am having trouble....
better yet what I am having trouble is proving the contrapositive of: if n is odd then 4 does not divide n^2.
Just like Satellite wrote the general form of an even number, what is the general form of an odd number? What happens when you square it?
I got the first part which is: for each integer n, if n is even, then 4 divides n^2.
nerdguy2535, the def of an odd number is 2k+1, I already worked it out which (2k+1)^2=4k^2+4k+1, then I factored it
and got 2(2k^2+2k)+1, therefore n^2=2q+1 for some q is element of integers
Nice. Is it possible for an odd number to be divisible by 4?
no, I guess what I am not seeing is how to make the connection in the end in words, to finalize my proof...
why go that route? you can do it directly much faster and mostly direct proofs are nicer and more convincing
takes only one or two lines in each direction
He's already done doing the contrapositive though.
satellite73, I tried proving it directly but it got messy with the square root, because original section of proof is: if 4 divides n^2, then n is even. Unless I was doing it wrong?
for example if \(n\) is even, then \(n=2j\) for some integer \(j\) making \[n^2=(2j)^2=4j^2\] divisible by \(\) done
ooh i see
there is always the fundamental theorem of arithmetic but i guess the contrapositive works nicely without it
what is the fundamental theorem of arithmetic?
Join our real-time social learning platform and learn together with your friends!