Here's a proof of the identity 12+22+32+...+n2=6n(n+1)(2n+1)
Geometric Intuition
Think of it as stacking squares on top of each other to make a staircase/pyramid. Here's what the cross section looks like:
Each layer is a horizontal cross section of that staircase. Our goal is to find a formula to sum up all of the balls.
In our case of n=4, we can sum it up like this:
There are seven balls on the "first step" of our first layer. Here's what I mean:
That's (1) times (7) = 7 balls
Now, for the "second step" in our staircase, we have to take into consideration the balls from the base layer and the layer above that.
Now that's (2) times (5) = 10 balls
For the third step, we have to take into consideration the balls from the first, second and third layer.
That's (3) times (3)
The full sum looks like this:
(1)(7)+(2)(5)+(3)(3)+(4)(1)
If you plug in 4 to the formula, it agrees with this sum, which is 30.
Now we see a pattern.
For the first term, it's 1⋅(2(4)−1)
For the second term, it's 2⋅(2(4)−3)
For the ith term, it's (i)(2n−2i+1)
Play around with it and plug some numbers in, and you will see that this is the case.
This agrees with the theorem that the sum of consecutive odd numbers is a perfect square. Here's a diagram to refresh your memory:
Algebraic Manipulation
We have
k=1∑nk2=(1)(2n−1)+(2)(2n−3)+(3)(2n−5)...(n)(1)
which can be represented as
k=1∑nk2=k=1∑n(k)(2n−2k+1)
Algebra magic
k=1∑n(2nk−2k2+k)=k=1∑nk2
3k=1∑nk2=k=1∑n(2nk+k)
We know that k=1∑n=2n(n+1)
3k=1∑nk2=22n⋅n(n+1)+2n(n+1)
Therefore:
k=1∑nk2=6(2n+1)n(n+1)=6n(n+1)(2n+1)
QED :-)
#Algebra
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Nice proof