Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Partial sum of n^2

  1. Nov 7, 2006 #1
    Is there a nice formula for calculating the partial sum of the series n^2 from 1 to k?
     
  2. jcsd
  3. Nov 7, 2006 #2

    quasar987

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    k(k+1)(2k+1)/6
     
  4. Nov 7, 2006 #3

    StatusX

    User Avatar
    Homework Helper

    You can derive that as follows:

    [tex]k^3=\sum_{n=1}^k (n^3-(n-1)^3)=\sum_{n=1}^k (n^3-(n^3-3n^3+3n-1))=3\sum_{n=1}^k n^2-3\sum_{n=1}^k n+\sum_{n=1}^k 1=3\sum_{n=1}^k n^2-3k(k+1)/2+k[/tex]

    [tex]\sum_{n=1}^k n^2=\frac{1}{3} (k^3+3k(k+1)/2-k)=\frac{1}{3}(k(k+1)(k-1)+3k(k+1)/2))=k(k+1)(k+1/2)/3=k(k+1)(2k+1)/6[/tex]
     
    Last edited: Nov 7, 2006
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook