# Homework Help: Adding consecutive squares?

1. Oct 2, 2005

### sitedesigner

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 havent 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: Oct 2, 2005
2. Oct 2, 2005

### iNCREDiBLE

$$S(n) = \frac{n(n+1)(2n+1)}{6}$$.

You should be able to prove it by induction.

3. Oct 2, 2005

### sitedesigner

what's induction?

can you explain how you came to the answer?

4. Oct 2, 2005

### daveed

inductions like this...
prove it works for 1
assume it works for n
and prove it works for n+1

5. Oct 2, 2005

### pathre

(n-1)^2-n^2-1/-2=t
s=summation of t
we will get s

6. Oct 2, 2005

### iNCREDiBLE

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.

7. Oct 2, 2005

### sitedesigner

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 :)

8. Oct 2, 2005

### sitedesigner

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

9. Oct 2, 2005

### amcavoy

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