S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
It is currently Tue, 21 May 2013 03:21:42 UTC

All times are UTC [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Demonstrating if a number is even
PostPosted: Sat, 2 Apr 2011 22:05:06 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
I'm looking at a problem, and want to check if my attempt is right:
Problem
For n an integer number, consider the following definition:
Def. 1: n is even \Longleftrightarrow (\exists k \in \mathbb{Z})(n=2k)

Prove that:
n² is even \Longleftrightarrow n is even.

My attempt
n is even
\Longleftrightarrow  (\exists k \in \mathbb{Z})(n=2k) using Def. 1.
\Longleftrightarrow  (\exists k \in \mathbb{Z})(n²=2(2k²))
\Longleftrightarrow  n² is even since 2k²\in \mathbb{Z}


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 2 Apr 2011 22:19:15 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9632
In your attempt, you have only proven the forward direction, which is "if n is even then n^2 is also even."

But now you have to do the backward direction, "if n^2 is even, then n is also even."
If n^2 = 2k for some integer k, then can you explain why n = 2p for some other integer p?


Top
 Profile  
 
 Post subject:
PostPosted: Sat, 2 Apr 2011 22:39:32 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
Thanks for the help.

Ok, so here is my new attempt.
What I'm not sure about is if writing p = \sqrt{k²} is enough to justify.

"\Rightarrow":
If n is even
\Rightarrow (\exists k \in \mathbb{Z})(n=2k) using Def. 1
\Rightarrow (\exists k \in \mathbb{Z})(n²=2(2k²)
\Rightarrow n² since 2k²\in \mathbb{Z}

"\Leftarrow":
If n² is even
\Rightarrow (\exists k\in \mathbb{Z})(n²=2k) using Def. 1
\Rightarrow (\exists p\in \mathbb{Z})(n=2p), because p=\sqrt{k²}
\Rightarrow n is even


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 08:26:35 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
I found another way of approaching this.

n is even\Rightarrow n^2 is even:
If n is even
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = 2(2k^2))
\Rightarrow n^2 is even

(Using the contrapositive)
n is not even \Rightarrow n^2 is not even:
If n is not even
\Rightarrow (\nexists k \in \mathbb{Z})(n \neq 2k)
\Rightarrow (\forall k \in \mathbb{Z})(n \neq 2k)
\Rightarrow (\forall k \in \mathbb{Z})(n^2 \neq 2(2k^2))
\Rightarrow n^2 is not even

\therefore n^2 is even \Longleftrightarrow n is even.


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 08:34:45 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9632
I am not really convinced by the reverse direction.
How does (\forall k \in \mathbb{Z})(n \neq 2k) imply (\forall k \in \mathbb{Z})(n^2 \neq 2(2k^2)) ?

Instead, you might find it easier to prove: "if n is odd, then n^2 is odd."


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 08:37:01 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
Ok, your point is convincing. Will do it that way. Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 08:54:40 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
n is even\Rightarrow n^2 is even:
If n is even
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = 2(2k^2))
\Rightarrow n^2 is even

(Using the contrapositive)
n is not even \Rightarrow n^2 is not even \equiv n is odd \Rightarrow n^2 is odd.
If n is odd
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd

\therefore n^2 is even \Longleftrightarrow n is even.


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 18:56:07 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame
User avatar

Joined: Wed, 1 Oct 2003 04:45:43 UTC
Posts: 9632
mathtinkerer wrote:
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd.

How do you know that n^2 = (2k + 1)(2k + 1) is an odd number?


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 19:00:54 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12098
Location: Austin, TX
Matt wrote:
mathtinkerer wrote:
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd.

How do you know that n^2 = (2k + 1)(2k + 1) is an odd number?


He doesn't, he hasn't yet decided to let k'=2k^2+k

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 22:04:54 UTC 
Offline
S.O.S. Oldtimer

Joined: Sat, 16 Aug 2008 04:47:19 UTC
Posts: 208
Shadow wrote:
Matt wrote:
mathtinkerer wrote:
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd.

How do you know that n^2 = (2k + 1)(2k + 1) is an odd number?


He doesn't, he hasn't yet decided to let k'=2k^2+k


perhaps you mean k' = 2k^2 + 2k?


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 5 Apr 2011 22:07:16 UTC 
Online
Moderator
User avatar

Joined: Wed, 30 Mar 2005 04:25:14 UTC
Posts: 12098
Location: Austin, TX
daveyinaz wrote:
Shadow wrote:
Matt wrote:
mathtinkerer wrote:
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd.

How do you know that n^2 = (2k + 1)(2k + 1) is an odd number?


He doesn't, he hasn't yet decided to let k'=2k^2+k


perhaps you mean k' = 2k^2 + 2k?


Yes of course, didn't you read my mind to see what I was thinking?

_________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 6 Apr 2011 06:35:27 UTC 
Offline
Member

Joined: Sun, 20 Mar 2011 05:26:38 UTC
Posts: 25
daveyinaz wrote:
Shadow wrote:
Matt wrote:
mathtinkerer wrote:
\Rightarrow (\exists k \in \mathbb{Z})(n = 2k+1)
\Rightarrow (\exists k \in \mathbb{Z})(n^2 = (2k+1)(2k +1))
\Rightarrow n^2 is odd.

How do you know that n^2 = (2k + 1)(2k + 1) is an odd number?


He doesn't, he hasn't yet decided to let k'=2k^2+k


perhaps you mean k' = 2k^2 + 2k?


Yes, I still need to do that. Thanks everybody.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2011 phpBB Group.
Copyright © 1999-2013 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA