Geekage and Christmas Slack
Dec. 16th, 2003 01:49 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
First off, a reminder that I am a slack and disorganised person. As such I'm not very good with Christmases, prone to forgetting people I should remember or not getting around to doing stuff I should do. So, because I will inevitably miss somebody or something I ought to do, this is my Christmas "I love you all" post :-)
And some maths geekage, reworded from this site:
Note that if we can prove "if A and B are positive integers less than or equal to n, then A=B" [let's call this statement S(n)], for all positive integer n, then the above follows.
Note that S(n) is trivially true for n=1: if A and B are positive integers less than or equal to one, they must equal one (and hence, one another).
Next, we look at an inductive step. Let's suppose that the above statement S(n) is true for all values of n up to and including some k.
Now, let's suppose A and B are less than or equal to k+1.
Therefore, A-1 and B-1 are less than or equal to k. Thus, A-1 = B-1, and so A=B.
Therefore, is S(n) is true for all values of n up to and including k, it's true for all values of n up to and including k+1. Having proved that S(n) is true for n=1, it follows that it is true for all positive integer n.
It took me a while to spot the trick here... a gold star to the first one who gets it :-)
And some maths geekage, reworded from this site:
- Proof That All Positive Integers Are Equal
Note that if we can prove "if A and B are positive integers less than or equal to n, then A=B" [let's call this statement S(n)], for all positive integer n, then the above follows.
Note that S(n) is trivially true for n=1: if A and B are positive integers less than or equal to one, they must equal one (and hence, one another).
Next, we look at an inductive step. Let's suppose that the above statement S(n) is true for all values of n up to and including some k.
Now, let's suppose A and B are less than or equal to k+1.
Therefore, A-1 and B-1 are less than or equal to k. Thus, A-1 = B-1, and so A=B.
Therefore, is S(n) is true for all values of n up to and including k, it's true for all values of n up to and including k+1. Having proved that S(n) is true for n=1, it follows that it is true for all positive integer n.
It took me a while to spot the trick here... a gold star to the first one who gets it :-)
no subject
Date: 2003-12-15 08:02 pm (UTC)Now, let's suppose A and B are less than or equal to k+1.
Therefore, A-1 and B-1 are less than or equal to k. Thus, A-1 = B-1, and so A=B.
First part is OK, Second part (A-1,B-1 =< k) is OK, but A-1 = B-1 is not implied by the prior statements.
Is that the key detail?
It sort of gets lost 'cause you're busy thinking in terms of the S function, so you think in terms of S(A-1)=S(B-1) not A-1=B-1
no subject
Date: 2003-12-15 08:07 pm (UTC)How so? The prior part implies that any two positive integers =< k must be equal...
no subject
Date: 2003-12-15 09:50 pm (UTC)That having been said, I -think- the problem is that you never actually proved S(n) was true for k>1, and if I recall correctly you have to do so in order to be inductive over the integers. Show it's true for 1, show it's true for some integer k>1, and it's got to be true for the rest of them...
no subject
Date: 2003-12-16 01:42 am (UTC)New thought.
Date: 2003-12-15 10:36 pm (UTC)Take the example that k=1.
If A and B =< k=1, and there are four possibilities.
(A,B) = (1,1), (1,2), (2,1), (2,2)
In the first and last case, A=B, and all is good.
But in BOTH of the cases where A != B, taking A-1 and B-1 leaves you with a zero somewhere along the way. If you are constrained to working with positive integers, things break here, since 0 isn't one.
Is that it, or am I as idiotic as I feel at the end of a working day?
no subject
Date: 2003-12-15 10:39 pm (UTC)I must be as idiotic as I feel...
Re: New thought.
Date: 2003-12-16 01:43 am (UTC)no subject
Date: 2003-12-16 02:56 am (UTC)So, do I get rewarded, sirrah?
no subject
Date: 2003-12-16 02:13 pm (UTC)*plots*
no subject
Date: 2003-12-16 04:51 am (UTC)There are a whole lot of positive integers. A doesn't HAVE to equal B all the time.
They could be different numbers, right?
Or am I way off here?
Edie
(And I made a point of not reading the other comments first.)
no subject
Date: 2003-12-16 02:20 pm (UTC)The whole point of the 'proof' is to show that A *does* have to equal B. If you can show that (a) "all positive integers LE k equal one another" implies "all positive integers LE (k+1) equal one another", and (b) that all positive integers LE 1 equal one another, then the rest of the proof is ironclad.
(b) is perfectly true, and (a) is... very nearly true.
no subject
Date: 2003-12-16 07:08 am (UTC)no subject
Date: 2003-12-16 02:21 pm (UTC)