RE: Studying Mathematics Thread
April 6, 2018 at 2:58 am
(This post was last modified: April 6, 2018 at 3:34 am by GrandizerII.)
(April 6, 2018 at 2:18 am)robvalue Wrote:(April 5, 2018 at 8:25 pm)Grandizer Wrote: To prove 1+2+3+...+n=n(n+1)/2
Let S = 1+2+3+...+n
In this case, S is also:
n+n-1+n-2+...+1
If you add both equations of S, you get:
2S=n+1+(n-1+2)+(n-2+3) + ... + n+1
2S = n+1 + n+1 + n+1 + ... + n+1 (n times)
Therefore S = n(n+1)/2
Therefore 1+2+3+...+n = n(n+1)/2
Now for the other two theorems stated in my previous post, how to derive them remains a puzzle to me at this stage. I can prove them via mathematical induction only.
I can show you how if you want
Yes please. Google hasn't been kind to me in this case.
Actually, I figured out how to derive the second theorem thanks to a post on a physics forum (though I did have to continue the derivation on my own since that poster didn't complete the derivation to the end).
Basically, it's like this:
Start with SUM(k+1)^3-k^3 for all natural numbers k up to n, and equalize it to SUM(3k^2+3k+1) for all natural numbers k up to n. From now on, when you see SUM in this post, just know it involves all instances of k (a natural number) up to n.
On the left side of the equation, you end up with (n+1)^3-1^3 (as a result of subtracting out all the other terms). On the right side, 3*SUM(k^2) + 3*SUM(k) + 1(n times).
So ...
(n+1)^3-1 = 3*SUM(k^2) + 3*SUM(k) + n
n^3+3n^2+3n+1-1-n-3*SUM(k) = 3*SUM(k^2)
(n^3+3n^2+2n)/3-SUM(k) = SUM(k^2)
At this point, we've managed to isolate SUM(k^2), and so we now focus only on the left side of the equation.
We know that SUM(k) = n(n+1)/2
Therefore,
(n^3+3n^2+2n)/3-n(n+1)/2=(2n^3+6n^2+4n-3n^2-3n)/6=(2n^3+3n^2+n)/6=n(2n^2+3n+1)/6=n(2n+1)(n+1)/6
Hence,
SUM(k^2) = n(2n+1)(n+1)/6
Now for the third theorem, I'll just leave it up to you rob, lol.