CTK Exchange
CTK Wiki Math
Front Page
Movie shortcuts
Personal info
Awards
Terms of use
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Recommend this site

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Products to download and subscription Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

CTK Exchange

Subject: "sum of squares"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange High school Topic #183
Reading Topic #183
Andrew M
guest
Jul-04-02, 10:48 PM (EST)
 
"sum of squares"
 
   can anyone find a proof for 1^2+2^2+...+n^2=n(n+1)(2n+1)/6 without using induction?


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

  Subject     Author     Message Date     ID  
sum of squares Andrew M Jul-04-02 TOP
  RE: sum of squares Laocon Jul-05-02 1
     RE: sum of squares Andrew M Jul-05-02 2
     RE: sum of squares Andrew M Jul-05-02 3
     RE: sum of squares graham bonner Aug-21-02 4
         RE: sum of squares ben Aug-22-02 5
     RE: sum of squares KE - Ist. May-03-08 9
  RE: sum of squares Bo Jacoby Sep-04-02 6
     RE: sum of squares alexb Sep-04-02 7
         RE: sum of squares Bo Jacoby Sep-06-02 8
             RE: sum of squares robert king Apr-05-09 10

Conferences | Forums | Topics | Previous Topic | Next Topic
Laocon
Member since Jan-18-02
Jul-05-02, 08:46 AM (EST)
Click to EMail Laocon Click to send private message to Laocon Click to view user profileClick to add this user to your buddy list  
1. "RE: sum of squares"
In response to message #0
 
   How about this...

To start this proof you will need to find an expression for the sum of all integers. Using a similar method to one worked out by Guass we can then adapt this (and then use this proven result) to go further and find the sum of squares. Thus the proof comes in two parts...


Proof 1: The Sum Of Integers

Let S = 1 + 2 + 3 + 4 + ... + (k-1) + k

Start with the following:

(n+1)^2 = n^2 + 2n + 1

This implies that:

(n+1)^2 – n^2 = 2n + 1

Now write the following list, one for each value of n from n=1 to n=k.

2^2 – 1^2 = 2*1 + 1
3^2 – 2^2 = 2*2 + 1
4^2 - 3^2 = 2*3 + 1
...
(k-1)^2 - (k-2)^2 = 2*(k-2) + 1
(k)^2 - (k-1)^2 = 2*(k-1) + 1
(k+1)^2 - (k)^2 = 2*k + 1

Add both sides of the above list, noticing that many of the terms on the left hand side cancel out. The only terms that do not cancel from the left hand side are (k+1)^2 and -1^2.

On the other side, there are k lots of 1 and 2 multiplied by the sum (1 + 2 + 3 + ...) or rather S. When we add all these equations together, we obtain:

(k+1)^2 - 1^2 = 2S + k

Rearranging:

(k+1)^2 - 1^2 = 2S + k

(k+1)^2 - 1 - k = 2S

(k+1)^2 - (k+1) = 2S

(k+1)(k+1)-(k+1) = 2S

(k+1)((k+1)-1) = 2S

(k+1)(k) = 2S

Thus S = (k(k+1))/2

We have thus arrived at the required result.


Proof 2: The Sum Of The Integers Squared

Let T = 1^2 + 2^2 + 3^2 + 4^2 + 5^2 + ... + (n-2)^2 + (n-1)^2 + (n)^2

Let's start out by looking at the formula for the cubic equation:

(n+1)^3 = n^3 + 3n^2 + 3n + 1

Rearrange:

(n+1)^3 - (n^3) = 3n^2 + 3n + 1

Now substituting n=1 to n=k, we have:

2^3 - 1^3 = 3*1^2 + 3*1 + 1
3^3 - 2^3 = 3*2^2 + 3*2 + 1
4^3 - 3^3 = 3*3^2 + 3*3 + 1
5^3 - 4^3 = 3*4^2 + 3*4 + 1
...
k^3 - (k-1)^3 = 3*(k-1)^2 + 3*(k-1) + 1
(k+1)^3 - (k)^3 = 3*(k)^2 + 3*(k) + 1

Now let's sum the two sides vertically...

LHS:

Compare each row with the next and you will notice that the first term in one row is subtracted in the next row (eg most of the terms cancel each other out). There are only two terms which cannot be cancelled, namely:

(k+1)^3 - 1^3


RHS:

Starting from the right-hand side of this equation...

How many 1s? Answer: k
The next term in each line is 3 times the sum of integers.
The first term in each line is 3 times the sum of squares (eg what we are trying to work out).

Thus adding all these terms together gives:

(k+1)^3 - 1^3 = 3T + 3S + k*1


Now all we have to do is rearrange:

(k+1)^3 - 1 - k = 3T + 3S


Multiply by 2,

2(k+1)^3 - 2(k+1) = 6T + 3k(k+1)


Subtract 3k(k+1) from each side,

2(k+1)^3 - 2(k+1) - 3k(k+1) = 6T


Take (k+1) outside the bracket,

(k+1)(2*(k+1)^2 - 2 - 3k) = 6T


Rearrange,

(k+1)(2*(k^2 + 2k + 1) - 2 - 3k) = 6T


Simplify,

(k+1)(2k^2 + 4k + 2 - 2 - 3k) = 6T

(k+1)(2k^2 + k) = 6T


Take k outside the bracket,

k(k+1)(2k+1) = 6T


Thus, T = k(k+1)(2k+1)/6 which is the desired result.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Andrew M
guest
Jul-05-02, 05:29 AM (EST)
 
2. "RE: sum of squares"
In response to message #1
 
   thank you very very much. i got the idea of using the cube after posted this but this is very clear. but by the way, for your first proof, it proved 1+2+3+...+k=k(k+1)/2 which is not what i asked to arrive to a sum of power of n, u have to go from n+1. but again thx.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Andrew M
guest
Jul-05-02, 05:29 AM (EST)
 
3. "RE: sum of squares"
In response to message #1
 
   sorry didn't see through the proof carefully. i'm saying the nonsense. :P


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
graham bonner
guest
Aug-21-02, 05:48 AM (EST)
 
4. "RE: sum of squares"
In response to message #1
 
   your non inductive proof of the sum of integers was interesting. do you know the formula for sum of cubes / quads (with or without proof)?


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
ben
guest
Aug-22-02, 06:14 PM (EST)
 
5. "RE: sum of squares"
In response to message #4
 
   The general result is known as the Euler-Maclaurin sum formula which can be proved using Darboux's formula. The proof of this result for squares and cubes can be accomplished using generating functions.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
KE - Ist.
guest
May-03-08, 07:44 AM (EST)
 
9. "RE: sum of squares"
In response to message #1
 
   Hi Laocon

Thanks for this demonstration. I've finally been able to figure out how to extract the formula for sum of quads myself just using your posting.

However...

There's an issue I'll ask you (or other posters) to kindly enlighten me on.

Although it can be reasonably deduced why we start with the difference between the n+1st and the nth numbers (induction), it is not obvious why we start with a degree 1 higher than the degree of the figures we're summing.

i.e.

Sum(1, 2, 3, ..., n) = start with (n+1)^2 - n^2
Sum(1^2, 2^2, 3^2, ..., n^2) = start with (n+1)^3 - n^3

etc.

"Why you ask?" I hear you ask :) Well, when I tried to sum numbers derived with other functions, I failed.

Summing the numbers 1,2,3,...,n can be thought of as

f(1), f(2), f(3), ..., f(n)

where

f(n) = n

Same for others (e.g. summing cubes means we're summing the result of the function f(n) = n^3).

Now assuming we're summing the results of the function, say,

(0) f(n) = 2*n - 1

(I managed to derive this one, which I had figured out intuitively already by just writing the ns and checking out the cumulative for each n, but that doesn't count mathematically. :))

...or say


(1) f(n) = 2*n^2 - 3

...how do we figure out where we start? Do we go


^2 - ^2 etc.

-or-

- etc.

? See what confuses me?

I tried that and failed with (1). (I probably messed up somewhere along the line; manipulating quartics for pages is not my forte, and I easily confuse signs, etc.)

Thanks in advance!


Cheers
-- KE


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Bo Jacoby
guest
Sep-04-02, 08:39 AM (EST)
 
6. "RE: sum of squares"
In response to message #0
 
   >can anyone find a proof for 1^2+2^2+...+n^2=n(n+1)(2n+1)/6
>without using induction?

No sir, I don't think anyone can prove it without induction in disguise.

The left hand side is the function f(n) satisfying
f(0)=0 and f(n)-f(n-1)=n^2. This is induction.

To prove the formula just show that the right hand side also satisfies these two conditions.

Why avoid induction? It is a marvelous tool.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexb
Charter Member
2348 posts
Sep-04-02, 09:03 AM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
7. "RE: sum of squares"
In response to message #6
 
   >>can anyone find a proof for 1^2+2^2+...+n^2=n(n+1)(2n+1)/6
>>without using induction?
>
>No sir, I don't think anyone can prove it without induction
>in disguise.
>
>The left hand side is the function f(n) satisfying
>f(0)=0 and f(n)-f(n-1)=n^2. This is induction.

Where is induction disguised in the following? Sum up

f(1) - f(0) = 12
f(2) - f(1) = 22
f(3) - f(2) = 32
...
f(n) - f(n-1) = n2

The telescoping sum on the left is obviously f(n).

>To prove the formula just show that the right hand side also
>satisfies these two conditions.
>
>Why avoid induction? It is a marvelous tool.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Bo Jacoby
guest
Sep-06-02, 06:38 AM (EST)
 
8. "RE: sum of squares"
In response to message #7
 
   >Where is induction disguised in the following? Sum up
>
>f(1) - f(0) = 12
>f(2) - f(1) = 22
>f(3) - f(2) = 32
>...
>f(n) - f(n-1) = n2
>
>The telescoping sum on the left is obviously f(n).

Thanks for asking!

Induction is disguised in the three dots (...) leading from special values: 1,2,3 to the general value: n .

If you want to do it without dots or other appeals to the readers ability to read what was not written, then you must use the induction argument openly.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
robert king
guest
Apr-05-09, 06:59 AM (EST)
 
10. "RE: sum of squares"
In response to message #8
 
   i worked it out geometrically. its just the area of a square pyramid made out of square layers. i did the same for sum n^3


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to have a look at the old CTK Exchange archive.
Please do not post there.

Copyright © 1996-2018 Alexander Bogomolny

Search:
Keywords:

Google
Web CTK