Why adding cubes is always a squared triangle number

Поділитися
Вставка
  • Опубліковано 22 лис 2024
  • The sum of cubes has a beautiful and surprising relationship to the triangle numbers. This videos proves this relationship in a visual and intuitive way.
    If you prefer reading, I've written a blog post on the same topic: penguinmaths.b...
    There is a small mistake at the end of the video, when substituting 1,000,000 into the equation, I accidentally treated 2n^3 as (2n)^3. My bad!

КОМЕНТАРІ • 11

  • @dudewaldo4
    @dudewaldo4 5 років тому +13

    I wish you had done more than n=3 for the arbitrary case's visualization

  • @grantofat6438
    @grantofat6438 Рік тому +1

    The program is only slow because you print each result on the screen. Without that it takes no time.

  • @sergiokorochinsky49
    @sergiokorochinsky49 4 роки тому +5

    6:13 it is 2n^3, not (2n)^3

    • @sniqe
      @sniqe Рік тому +2

      Stood out like a sore thumb to me... I mean... how do you end on such a simple mathematical error!? To be fair, the video wasn't riddled with mistakes (there were a couple), but... well, this kinda spoiled things.

  • @rotemperi-glass4825
    @rotemperi-glass4825 2 роки тому

    great!

  • @danialbrown4417
    @danialbrown4417 4 роки тому +1

    That was absolutely ridiculous. Thank you from Texas.

  • @davethesid8960
    @davethesid8960 2 місяці тому

    0:55 - but I'm feeling 22.

  • @anoukchristie5639
    @anoukchristie5639 3 роки тому +1

    how did you derive that equation

    • @aitismarka9483
      @aitismarka9483 2 роки тому +1

      Like he explained, the side length of the square constructed from all the unit cubes in the stack is the nth triangle number (1 + 2 + 3 + ... + n). As you can see, this is an arithmetic series from one to n. The sum is, of course, n(1 + n)/2 = (n^2 + n)/2. To get the total number of the unit cubes in the square (and in the whole stack), we need to square the nth triangle number. Therefore we get ((n^2 + n)/2)^2 = (n^4 + 2n^3 + n^2)/4.
      Edit:
      You don’t have to think of any arithmetic series at all. As he showed in the video, the nth triangle number can also be calculated using two converging triangles and dividing their combined area by two.

  • @the.mr.beacher
    @the.mr.beacher 3 роки тому +1

    Doesn't this proof skip over the fact that there are infinitely many solutions where A is 0?

  • @kjyhh
    @kjyhh 4 роки тому +1

    The n must equal 1or2or3.