How Do You Derive the Formula for the Sum of Consecutive Squares?

  • Thread starter Thread starter sitedesigner
  • Start date Start date
  • Tags Tags
    Squares
AI Thread Summary
To derive the formula for the sum of consecutive squares, S(n) = n(n+1)(2n+1)/6, one can utilize mathematical induction. The process involves proving the formula works for the base case of n=1, assuming it holds for n, and then demonstrating it for n+1. Additionally, various methods, including the sequence of differences, can be explored for deriving this formula. Resources like Dr. Math provide detailed explanations on the topic. Understanding these derivations is essential for grasping the underlying principles of summing squares.
sitedesigner
Messages
20
Reaction score
0
ok, i need to derive a forumla that will add the consecutive squares of n numbers.

for example 1^2 + 2^2 + 3^2 + ... + (n-2)^2 + (n-1)^2 + (n)^2

I have worked on this problem for quite some time and haven't been able to come up with anything.

I do know that the sum of consecutive numbers starting at one is

\frac{n}{2} (n+1)

A very detailed explanation would be excellent as that's what my professor wants.
 
Last edited:
Physics news on Phys.org
S(n) = \frac{n(n+1)(2n+1)}{6}.

You should be able to prove it by induction.
 
what's induction?

can you explain how you came to the answer?
 
inductions like this...
prove it works for 1
assume it works for n
and prove it works for n+1
 
(n-1)^2-n^2-1/-2=t
s=summation of t
we will get s
 
Dr. Math has answered a lot of questions concerning the sum of consecutive squares here. He explains that there are several ways to derive the formula.
 
ok, so i understand what inductions are, but can you explain how you got to the proof for the sum of the sequence of n^2

*** edit *** i just posted the above before reading the previous 3 posts. i'll go ahead and read dr math's explanation and then come back to this :)
 
daveed said:
inductions like this...
prove it works for 1
assume it works for n
and prove it works for n+1


i need to derive the forumula... not prove it :)
 
sitedesigner said:
i need to derive the forumula... not prove it :)

Sequence of Differences. Search here or Dr. Math, there are explanations at both places.
 
Back
Top