Formula for 1^2 + 2 ^2 + +n^2?

  • Context: High School 
  • Thread starter Thread starter DDTHAI
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary

Discussion Overview

The discussion revolves around finding the formula for the sum of squares of the first n natural numbers, specifically the expression 1^2 + 2^2 + ... + n^2. Participants explore various methods of deriving this formula, including mathematical reasoning and references to literature.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • DDTHAI inquires about the formula for the sum of squares and how to derive it.
  • One participant suggests that the formula is a cubic equation with rational coefficients, proposing to fit the curve to the first four points.
  • Another participant states that 1^2 + 2^2 + 3^2 + ... + 2^n equals 2^(n-1), which is challenged by others for lack of clarity.
  • A participant provides a detailed derivation involving cubic equations and sums, leading to the expression for the sum of squares as (n(n+1)(2n+1))/6.
  • Helios references A.C. Clarke's autobiography for established formulas for sums of powers, including the sum of squares.
  • DDTHAI acknowledges a correction regarding the formula for the sum of squares, confirming it as (n/6)(n+1)(2n+1) and expresses interest in proving its validity.
  • Another participant outlines a method to derive the formula using telescoping sums and equating expressions.

Areas of Agreement / Disagreement

Participants express differing views on the initial claims regarding the sum of squares. While some agree on the formula (n(n+1)(2n+1))/6, others challenge specific statements and interpretations, indicating that the discussion remains unresolved in certain aspects.

Contextual Notes

Some participants reference specific mathematical steps and assumptions that are not fully resolved, such as the derivation methods and the validity of certain expressions. The discussion includes corrections and clarifications that highlight the complexity of the topic.

DDTHAI
Messages
4
Reaction score
0
Formula for 1^2 + 2 ^2 +... +n^2?

Hello,

I know how to figure out the formula for 1 +2 + 3 + ... + n (i.e., (1+n)n/2 ). But what is the formula for 1^2 + 2 ^2 + 3^2 + ... + n^2? How does one formulate it?

Thanks,
DDTHAI
 
Mathematics news on Phys.org


DDTHAI said:
I know how to figure out the formula for 1 +2 + 3 + ... + n (i.e., (1+n)n/2 ). But what is the formula for 1^2 + 2 ^2 + 3^2 + ... + n^2? How does one formulate it?

It's a cubic equation with rational coeffcients. You can find these by fitting the curve to the first four points.
 


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


sorry i don't read well the question.
 


we know than (n-1)^3 = n^3 - 3n^2 + 3n -1. so

0^3 = 1^3 - 3.1^2 + 3.1 - 1
1^3 = 2^3 - 3.2^2 + 3.2 - 1
2^3 = 3^3 - 3.3^2 + 3.3 - 1
.
.
.
(n-2)^3 = (n-1)^3 - 3(n-1)^2 + 3(n-1) -1
(n-1)^3 = n^3 - 3n^2 + 3n - 1

Then, if we plus all, we get
n n n
0^3 = n^3 - 3E (i)^2 + 3E n - E 1
i=1 i=1 i=1

n n n
=>3E (i)^2 = n^3 + 3E n - E 1
i=1 i=1 i=1 n
=> 3E (i)^2 = n^3 + 3(n+1)n - n
i=1 2

After simplify you get

n
E (i)^2 = n(n+1)(2n+1)
i=1 6

*you must know than
n
E (i) = 1 + 2 `+ 3 + 4 + ... + n = n(n+1)
i=1 2
 


Little ant said:
1^2 + 2^2 + 3^2 + ... + 2^n = 2^(n-1)

This makes absolutely no sense. I mean, look at it for a second... firstly you failed to notice the pattern correctly since 2^n means 2^1+2^2+2^3 instead of what is shown. And secondly, how can that all equal 2^(n-1) when on the left side of the equation, you already have 2^n which means the term just before the last is 2^(n-1)?

Even though it was probably a typo or something, I just wanted to be annoying :-p
 


See the book "ascent to orbit", A.C.Clarke's autobiography, chap 24. He list sums of powers up to 8.

Sum n^2 = ( n / 6 )( n + 1 )( 2n + 2 )

Sum n^3 = ( n^2 / 4 )( n + 1 )( n + 1 ) = [ sum n ]^2

etc...
 


Helios said:
See the book "ascent to orbit", A.C.Clarke's autobiography, chap 24. He list sums of powers up to 8.

Sum n^2 = ( n / 6 )( n + 1 )( 2n + 2 )

Sum n^3 = ( n^2 / 4 )( n + 1 )( n + 1 ) = [ sum n ]^2

etc...

-----------------------------------------------
with n = 5, the series 1^2 + 2^2 + 3^2 + ... + n^2 = 1+4+9+16+25 = 55

Sum n^2 = ( n / 6 )( n + 1 )( 2n + 2 ) = (5 / 6) * 6 * (2*5 + 2) = 5 * 12 = 60!
 
Last edited:


Thanks Helios,

I believe you tried to write
Sum n^2 = ( n / 6 )( n + 1 )( 2n + 1 )

That would be right for all n's that I have tried so far! But how do prove that the formula is right?

Thanks you all for trying to help
DDTHAI
 
  • #10


Thanks Little Ant - I now understand your approach for coming up with the formula!

Once again, thank you all for helping.

DDTHAI
 
  • #11


DDTHAI said:
Thanks Helios,

I believe you tried to write
Sum n^2 = ( n / 6 )( n + 1 )( 2n + 1 )

That would be right for all n's that I have tried so far! But how do prove that the formula is right?

Thanks you all for trying to help
DDTHAI
That is the correct formula. It can be proved by induction.
 
  • #12


Here is one method to derive the formula for the sum of squares which can be extended to other integer powers.

Observe that (k+1)^3 - k^3 = 3k^2 + 3k + 1 ... (*)

Now sum up (*) for k = 1, 2, \dots , n.

The sum on the left hand side telescopes, leaving (n+1)^3 -1.

The sum on the right hand side is
3 \sum_{k=1}^n k^2 + 3 \sum_{k=1}^n k + n.

Now equate these two expressions for the sum, apply the formula you already know for
\sum_{k=1}^n k
and solve for
\sum_{k=1}^n k^2.
 
Last edited:

Similar threads

  • · Replies 42 ·
2
Replies
42
Views
6K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
910
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
6K