Does anyone know how to write a formal proof?
Yes, why?
In what context?
I have to write a proof of the following: If n is an integer, then 2n-5 is an odd integer
Here's an example: \(\mathbf{Theorem}\quad\)If \(x=2\), then \(3+x=5\). \(Proof.\) Let \(x=2\). Then \(3+x=3+2=5\). \(\square\)
To prove that, you need to know the definition of an odd number, that is, a number \(n\) is odd iff \(n=2k+1\), for some integer \(k\).
2n-5 = 2(n-2) -1
Right, my teacher gave us that but I don't know how I would use that
The book will walk me through this problem?
@luvspi 2n-5 = 2(n-2) -1 Any even number is a multiple of 2....
Ok estudier, is that step 1?
Actually, it is more of an invitation to think......:-)
But I don't know how to do formal proofs :'-(
Forget about formal proofs for a minute, your job is to convince your audience that your claim is correct. So, your claim is "If n is an integer, then 2n-5 is an odd integer" And I say, convince me.....
Here is one way to start: you have the definition x is odd if and only if x=2k+1, for some integer k. given x= 2n-5, n an integer. If you find an integer k that works, that would prove that x is odd right?
For any integer you plug into k, your going to get an odd number
His teacher (and me ) gave him 2n-5 = 2(n-2) -1
ok, just ran across campus back to my dorm to get on the coputer......i got that 2n-5=2n-5
for any inter you plug into 2n-5 you get an odd number( 2(0)-5 = -5.....2(1)-5=-3)...all odd
How do you know it works for all?
did your teacher give you a formal definition for an odd number?
Or an even number
so i have to come up with a universal statement that works for all integers? she gave us a direct proof to an odd number: any integer n1 n=2k+1 for some integer k
even integer, n=2k for some integer k
So, 2n-5 = 2(n-2) -1 What can you say about the right hand side?
its equal to the left
Anything else?
What about the 2(n-2) part?
2 times a number minus 2.....you're subtraction two from the origional integer, thus keeping it either an odd or even number?
What if I say that (n-2) = k so that 2(n-2) = 2k?
okay, i get that
Up above, you said "even integer, n=2k for some integer k"
so the formula for an odd integer is the same minus 1?
Or + 1?
right
So now let's go back, your claim is "If n is an integer, then 2n-5 is an odd integer" and you also said 2n-5 = 2(n-2) -1 and next....?
so basically its 2n- any odd number, and an odd number is 2k+1 so its 2(n-2)-2k+1?
Now you are jumping ahead to the end, better to do the inbetween steps.......
hmmm, inbetween?
"If n is an integer, then 2n-5 is an odd integer" and you also said 2n-5 = 2(n-2) -1 and next....? Then you (we) said that since 2(n-2) is even, then.....?
then, errrrr i feel like luke, and you're yoda
:-)
So therefore, 2(n-2) -1 must be odd
but 2(n-2)- any odd number would be odd right?
-1, -3, -5, .....
Prove it....:-)
claiming So therefore, 2(n-2) -1 must be odd without proof is not kosher. You must show that this quantity fits the definition of odd i.e there exists integer k s.t. 2k+1 = this number
"If n is an integer, then 2n-5 is an odd integer" and you also said 2n-5 = 2(n-2) -1 and next....? Then you (we) said that since 2(n-2) is even, then.....? So therefore, 2(n-2) -1 must be odd Are we done?
@phi he has been given the definition of of odd and even, so it IS kosher.....
I do hope you are not going to disagree with that......
yes: she gave us a direct proof to an odd number: any integer n1 n=2k+1 for some integer k unless you have proven 2(n-2)-1 is odd , how can you use it
Because she gave the definition for even as well (ie 1 less or more)
i have to leave for class in 5 mins.....
you would have to prove that not even means odd. you only have the two definitions, and assuming they are complete without proof is not kosher
Actually, the teacher's intent is quite clear, she signalled the route for the proof...
The definitions are GIVEN, they do not need proof.
Here is how I would do it, sticking with the definition of odd given 2n-5, n an integer show that m= 2n-5 is odd Definition of odd: m= 2k+1 for some integer k find integer k: 2n-5= 2k+1 2k= 2n-6 k= n-3 n-3 is an integer (both n and 3 are integers, and integers are closed under subtraction) so k is an integer also 2k+1 = 2n-6+1= 2n-5 = m having showed that integer k exists, m must be odd
I can also do another way, so what?
i just have to come up with a formal proof to: if n is an integer, then 2n-5 is an odd integer using the fact that an odd integer is n=2k+1 and and even integer is n=2k
And you have done that (I wouldn't exactly call it "formal", but I am convinced)
how would you make it formal?
You don't need to worry about that at this level. Also, in number theory (sort of like this question) it is quite customary to be less than formal.
so number theory is next?
second or third year university, usually (but you are doing a lot of it anyway, it is just not called that)
Anyway, just write it up neatly and clearly for your teacher (hope she likes it:-)
i gotta run, i cant thank you enough for your patience.....thanks yoda, ill see you around :-D
Ciao!
Join our real-time social learning platform and learn together with your friends!