How to Find the Sum of Squares from 1 to k?

  • Thread starter transgalactic
  • Start date
  • Tags
    Formula
In summary, the sum of squares from 1 to k is equal to k(k+1)(k+2)/6. Two possible methods to prove this are through induction or by recognizing the sum as a polynomial of degree r+1. By evaluating the left side for four different values of k and solving the resulting system of linear equations, the coefficients can be determined. However, giving away the answer is not encouraged.
  • #1
transgalactic
1,395
0
[tex]
1^2+2^2+..+k^2=\frac{k(k+1)(k+2)}{6}
[/tex]

how to get this general result
??

i know

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

so by that rule the sum should be
[tex]
\frac{n(n^2+1)}{2}
[/tex]
 
Physics news on Phys.org
  • #2
Two methods come quickly to mind.

First, since you are given that the sum should equal

[tex]
\frac{k (k+1)(k+2)}{6}
[/tex]

prove the result by induction.

Alternatively, in general the sum

[tex]
1 + 2^r + 3^r + \dots + k^r
[/tex]

for integer [tex] r [/tex] is a polynomial of degree [tex] r + 1 [/tex]. For [tex] r = 2[/tex]

[tex]
1 + 2^2 + 3^2 + \dots + k^2 = ak^3 + bk^2 + ck + d
[/tex]

Evaluate the left side for four different values of [tex] k [/tex] (0, 1, 2, 3) and solve the system of linear equations for the coefficients.
 
  • #3
transgalactic said:
[tex]
1^2+2^2+..+k^2=\frac{k(k+1)(k+2)}{6}
[/tex]

Or you can use the teleschoping series, to prove that.

i.e

[tex]\sum_{i=1}^{k}i^2=\frac{k(k+1)(k+2)}{6}[/tex]
 
  • #4
statdad said:
Two methods come quickly to mind.

First, since you are given that the sum should equal

[tex]
\frac{k (k+1)(k+2)}{6}
[/tex]

prove the result by induction.

Alternatively, in general the sum

[tex]
1 + 2^r + 3^r + \dots + k^r
[/tex]

for integer [tex] r [/tex] is a polynomial of degree [tex] r + 1 [/tex]. For [tex] r = 2[/tex]

[tex]
1 + 2^2 + 3^2 + \dots + k^2 = ak^3 + bk^2 + ck + d
[/tex]

Evaluate the left side for four different values of [tex] k [/tex] (0, 1, 2, 3) and solve the system of linear equations for the coefficients.

i can't understand how you get the equations out of you second alternative methos
 
  • #5
transgalactic said:
[tex]
1^2+2^2+..+k^2=\frac{k(k+1)(k+2)}{6}
[/tex]

how to get this general result
You can't, because it's not true. Try it with k=2. 12+22=5, 2*3*4/6=4.
i know

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

so by that rule the sum should be
[tex]
\frac{n(n^2+1)}{2}
[/tex]
What makes you think that? Hint: It's not valid either.
 
  • #6
statdad said:
Alternatively, in general the sum

[tex]
1 + 2^r + 3^r + \dots + k^r
[/tex]

for integer [tex] r [/tex] is a polynomial of degree [tex] r + 1 [/tex]. For [tex] r = 2[/tex]

[tex]
1 + 2^2 + 3^2 + \dots + k^2 = ak^3 + bk^2 + ck + d
[/tex]

Evaluate the left side for four different values of [tex] k [/tex] (0, 1, 2, 3) and solve the system of linear equations for the coefficients.
Thanks, I found this very interesting :smile:


Through the method shown by statdad, this sum is actually:

(pending for you to find out)
 
Last edited:
  • #7
Bingo! :smile: But you shouldn't give answers away. :frown:
 

Related to How to Find the Sum of Squares from 1 to k?

1. How is the formula derived from the data?

The formula is derived through a process called data analysis. Scientists collect and analyze data to identify any patterns or relationships between variables. They then use statistical methods to determine the most accurate and precise formula that represents the data.

2. What factors are considered when creating a formula?

When creating a formula, scientists consider the variables that have an impact on the outcome they are trying to predict. They also take into account any known theories or principles related to the topic and use statistical analysis to determine the most significant factors to include in the formula.

3. How do scientists ensure the formula is accurate?

Scientists use a variety of techniques to ensure the accuracy of a formula. These include cross-validation, where the formula is tested on different sets of data to check its predictive power, and peer review, where other scientists evaluate and provide feedback on the formula.

4. Can the formula be applied to different scenarios?

In most cases, a formula can be applied to different scenarios as long as the variables and conditions are similar. However, scientists may need to make adjustments or develop new formulas for different scenarios if there are significant differences in the data or variables.

5. How do formulas contribute to scientific research?

Formulas are essential tools in scientific research as they allow scientists to make predictions and test hypotheses based on data. They also help in identifying patterns and relationships between variables, which can lead to further discoveries and advancements in a particular field of study.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
275
  • Calculus and Beyond Homework Help
Replies
5
Views
532
  • Calculus and Beyond Homework Help
Replies
6
Views
507
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
381
  • Calculus and Beyond Homework Help
Replies
5
Views
555
  • Calculus and Beyond Homework Help
Replies
3
Views
452
Replies
12
Views
903
  • Calculus and Beyond Homework Help
Replies
3
Views
522
Back
Top