Hey! I'm thinking of deriving 1+4+9+....+n^2=[n(n+1)(2n+1)]/6 directly no imduction i was thinking of the series \(X_{n+1}-X_n\) which give me 3+5+7+9+11+13+......+k which is the sum of the first n odd number that sums to k^2-1 how will this help. Give me just a hint lol
what last term should be 2k-1 not k lol for the sum of the first odd intergers
that*
that gives you a formula for sum of first n natural numbers you can use that to find sum of squares of first n natural numbers
\[\large \sum \limits_{k=1}^n (k+1)^2 - k^2 = (n+1)^2 - 1\]
the formula for n natural numbers is n(n+1)/2 the one i was thinking about is sum of n first positive integers
\[\large \sum \limits_{k=1}^n (2k+1) = (n+1)^2 - 1\] \[\large \sum \limits_{k=1}^n 2k+ \sum \limits_{k=1}^n 1 = (n+1)^2 - 1\] \[\large \sum \limits_{k=1}^n 2k+ n = (n+1)^2 - 1\] simplifying a bit you get \[\large \sum \limits_{k=1}^n k = \dfrac{n(n+1)}{2}\]
use the same trick to find the sum of squares consider \(\sum\limits_{k=1}^n (k+1)^3 - k^3\) to start with
telescoping gives you \[\sum\limits_{k=1}^n \left((k+1)^3 - k^3\right) = (n+1)^3-1 \]
\[\sum\limits_{k=1}^n \left(k^3+3k^2+3k+1 - k^3\right) = (n+1)^3-1 \]
\[\sum\limits_{k=1}^n \left(3k^2+3k+1\right) = (n+1)^3-1 \]
see if u can take it home
eh so what is started with sum of (Xn+1-Xn) which generated the the sum of first n odd integer is what you used! to find the sum of first n natural number I thought that this would work for sum of the squares
Exactly!
as you can you can use the same trick to find sum of ANY powers of first n natural numbers
eh i guess from i get it! let me see
the only drawback of this method is that you need to know formulas for ALL the lowest powers
That's it! I got I already have the sum of k and the sum of (1) I just need to factor the RHD and push the term of the left to the right leaving sum of k^2
Yep! see if u can find a formula for below if u have time : \[1^4 + 2^4 + 3^4 + \cdots + n^4 = \dfrac{n(n+1)(2n+1)(3n^2+3n-1)}{30}\]
this part was not easy to come up with though lol \(\sum\limits_{k=1}^n \left((k+1)^3 - k^3\right) = (n+1)^3-1\)
actually i think thats the only interesting part here
expand that sum and you will see lot of cancellation..
\[\sum\limits_{k=1}^n \left((k+1)^3 - k^3\right) = (2^3 - 1^3) +(3^3-2^3) + (4^3-3^3) + \cdots + (n+1)^3 - n^3\]
oh yeah there is cancellations interesting
ok for the other one i have to start with \(\sum (k+1)^4-k^4=(n+1)^4-1\)
In general \[\sum\limits_{k=1}^n \left(f(r+1) - f(r)\right) = f(r+1) - f(1)\] this sum is so interesting that it has a name, its called `telescoping sum`
i just realized that i was approaching the same thing with Xn+1-Xn taking the sum i just needed to telescope things
yes thats a good start, also u need to find sums of cubes upfront.. :)
oh ok! i get the general idea which what I'm looking thanks alot
\[\sum\limits_{k=1}^n \left((k+1)^3 - (k-1)^3\right) = (n+1)^3+n^3-1\] \[\sum\limits_{k=1}^n \left((k+1)^3 - (k-1)^3\right) =\sum\limits_{k=1}^n \left(6k^2+2\right)\] \[6\sum\limits_{k=1}^n k^2+2n= (n+1)^3+n^3-1\] \[6\sum\limits_{k=1}^n k^2= (n+1)^3+n^3-1-2n=n(n+1)(2n+1)\]
then you don't need to know \[\sum\limits_{k=1}^nk=\frac{n(n+1)}{2}\]
cool^_^ series are really interesting hehe
thats a clever trick to avoid computing \(\sum k\) xD
\(\sum_{i=1}^{ n} (k+1)^4-k^4=(n+1)^4-1\) this one i wrote above is giving me the sum of k^3
Oh yes because k^4's cancel out on left hand side
right^_^
i suppose for k^4 I should do sum of (k+1)^5-k^5 if the pattern continues hehehe
yes:)
Cool! thanks ^_^
Also notice, using @Zarkon 's trick, you can avoid computing all previous odd powers
\[\sum\limits_{k=1}^n \left((k+1)^5 - (k-1)^5\right) = (n+1)^5+n^5-1\] \[\sum\limits_{k=1}^n \left(10k^4+20k^2+2\right) = (n+1)^5+n^5-1\]
Eh! i thought that won't work for every case lol
it works always... we can convince it ourselves by playing with sums ..
maybe lets do a quick derivation
hmm ok what derivation
prove \[\sum\limits_{k=1}^n \left((k+1)^5 - (k-1)^5\right) = (n+1)^5+n^5-1 \]
Inductions i guess lol
its a one line proof, trust me
i have to go sleep lol i will work on this tomorrow! =========== i was thinking of adding that n^5 to both side and manipulate it in the LHS
taking into count the what we did before of course!
\[\begin{align}\sum\limits_{k=1}^n \left((k+1)^5 - (k-1)^5\right) &= \sum\limits_{k=1}^n \left((k+1)^5 - k^5 + k^5- (k-1)^5\right) \\~\\ &= \sum\limits_{k=1}^n \left((k+1)^5 - k^5\right) + \sum\limits_{k=1}^n \left( k^5- (k-1)^5\right) \\~\\ \end{align}\]
i was trying to do the opposite hehe
\[\begin{align}\sum\limits_{k=1}^n \left((k+1)^5 - (k-1)^5\right) &= \sum\limits_{k=1}^n \left((k+1)^5 - k^5 + k^5- (k-1)^5\right) \\~\\ &= \sum\limits_{k=1}^n \left((k+1)^5 - k^5\right) + \sum\limits_{k=1}^n \left( k^5- (k-1)^5\right) \\~\\ &= \left((n+1) ^5-1\right) +\left( n^5-0\right) \end{align}\]
yeah anything works! have good sleep :)
eh i tried to go the other way, I was almost close alright thanks for the help and thanks everyone^_^
Join our real-time social learning platform and learn together with your friends!