Sunday, April 5, 2009

Cube Sum is a Square

Pick a whole number. If you add up the cubes of all the whole numbers from 1 to your number, you will get the same as if you add up all the numbers from 1 to your number and then square the result.

For example choose the number 3:

Add up the cubes of all the numbers from 1 to 3:

13 + 23 + 33 = 1 + 8 + 27 = 36

Now, add up all the numbers from 1 to your number

1 + 2 + 3 = 6

and then square the result

62 = 36

The answers are the same.

In algebraic notation:

13 + 23 + 33 + ... + n3 = (1 + 2 + 3 + ... + n)2

We can show this with pictures:

It obviously works for 1:

13 = 12

* = *

for 2:

(1 + 2)2 =

* * *
* * *
* * *
remove one to the side. This is the 13. We need to show that the rest is 23.

* *    *
* * *
* * *
The remaining has a 22 in it. Separate that out

* *    *

* *  *
* *  *
Move the two at the top to match the two at the side:

       *

* *  * *
* *  * *
Two lots of 22 makes 23.

= 13 + 23

Now the case for 3:

(1 + 2 + 3)2 =


* * * * * *
* * * * * *
* * * * * *
* * * * * *
* * * * * *
* * * * * *
move 32 to one side. We already know that this is 13 + 23. So we need to show that the rest is 33.

* * *        * * *
* * *        * * *
* * *        * * *
* * * * * *
* * * * * *
* * * * * *
The remaining has a 32 in it at the bottom left. Separate that out

* * *        * * *
* * *        * * *
* * *        * * *

* * *   * * *
* * *   * * *
* * *   * * *
We have 3 lots of 32 which is 33.

= 13 + 23 + 33

We actually got a bit lucky with this one. The next case shows what we need to do for any size.

(1 + 2 + 3 + 4)2 =

* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
move 62 to one side. We already know that this is 13 + 23 + 33. So we need to show that the rest is 43.

* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
* * * * * * * * * *
The remaining has a 42 in it at the bottom left. Separate that out

* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *

* * * *   * * * * * *
* * * *   * * * * * *
* * * *   * * * * * *
* * * *   * * * * * *
The parts above and beside the 42 have side length 1+2+3. Separate it out this way.

* * * *              * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *
                     * * * * * *
* * * *              * * * * * *
* * * *              * * * * * *

* * * * 

* * * *   *  * *  * * *
* * * *   *  * *  * * *
* * * *   *  * *  * * *
* * * *   *  * *  * * *
Move those above the square to be with those beside the square. Matching the longest with the shortest and so on, 3 next to 1, 2 next to 2 and 1 next to 3.

                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *



* * * *   *  * * *    * *  * *    * * *  *
* * * *   *  * * *    * *  * *    * * *  *
* * * *   *  * * *    * *  * *    * * *  *
* * * *   *  * * *    * *  * *    * * *  *
Bunch together to make 4 squares

                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *
                     * * * * * *



* * * *   * * * *    * * * *    * * * *
* * * *   * * * *    * * * *    * * * *
* * * *   * * * *    * * * *    * * * *
* * * *   * * * *    * * * *    * * * *
We now have 4 lots of 42 which is 43

= 13 + 23 + 33 + 43

This procedure can be applied to the general case n.

No comments:

Post a Comment