How to prove that
12+22+...+n2=n(n+1)(2n+1)6
without using induction.
If we don't know the right side of this expression, how to get right expression. I tried with partial sums and binomial formula but can't get it.
So the problem is:
12+22+...+n2=?
Thanks for replies.
Answer
Assume we know n∑k=1k=n(n+1)2. Compute the following cubes
13=1(1+1)3=13+3⋅12+3⋅1+13⋮=⋮n3=(n−1)3+3(n−1)2+3(n−1)+13(n+1)3=n3+3n2+3n+13
Add these equations together and cancel the cubes you have on both sides you get
(n+1)3=1+3n∑k=1k2+3n∑k=1k+n=(n+1)3n+22+3n∑k=1k2
This yields
n∑k=1k2=n+13(n2+2n+1−3n+22)=(n+1)(2n2+n)6
Factoring n we get the result expected
No comments:
Post a Comment