Visual Proofs for Sum of Integers, Squares, and Cubes
This article explores three fundamental series sums commonly encountered in mathematics, particularly at the school level: the sum of integers, the sum of squares, and the sum of cubes. It presents intuitive, visual proofs for these formulas, aiming to make them more understandable than their often arcane algebraic forms.
The Sum of Integers (Triangle Numbers)
The first series is the sum of the natural numbers from 1 to n, often denoted as $\sum_{r=1}^{n} r$. This sum is famously known as the triangle numbers. The formula for this sum is $\frac{1}{2}n(n+1)$.
Visual Proof
To visualize this, consider arranging "blobs" in a triangular shape. For example, 1 blob, then 2 blobs below it, then 3 blobs, and so on. This forms a triangle. To derive the formula visually, take a second identical triangle of blobs and rotate it 180 degrees. When placed next to the original triangle, these two triangles perfectly form a rectangle.
If the original triangle has n rows (meaning the last row has n blobs), the resulting rectangle will have dimensions n by n+1. The total number of blobs in this rectangle is $n(n+1)$. Since the rectangle is formed by two identical triangles, the number of blobs in a single triangle (the sum of the integers) is half of the rectangle's total, leading to the formula $\frac{1}{2}n(n+1)$. This method of creating multiple copies to form a simpler shape and then dividing is a powerful technique.
The Sum of Squares
The second series is the sum of the squares of the natural numbers from 1 to n, denoted as $\sum_{r=1}^{n} r^2$. The formula for this sum is $\frac{1}{6}n(n+1)(2n+1)$. This formula often appears less intuitive and harder to memorize than the sum of integers. Despite the fraction, the result will always be a whole number.
Visual Proof
This proof involves stacking squares to form a 3D shape. Imagine a stack where the bottom layer is an n x n square, the next layer is an (n-1) x (n-1) square, and so on, up to a 1 x 1 square at the top. The total number of units in this stack represents the sum of the squares.
To derive the formula visually, take six identical copies of this 3D stack. These six copies can be arranged to form a perfect cuboid. The dimensions of this cuboid are n, n+1, and 2n+1. Therefore, the total volume (number of units) of the cuboid is $n(n+1)(2n+1)$. Since this cuboid is made of six copies of the original stack, the sum of the squares is one-sixth of the cuboid's volume, resulting in the formula $\frac{1}{6}n(n+1)(2n+1)$.
While this visual proof is highly intuitive, it's important to note that mathematicians might argue it's not a formal proof because it demonstrates the principle for a specific n (e.g., n=4) rather than proving it generally. However, the ability to generalize the construction in software like GeoGebra suggests its validity across different n values, providing strong intuition for the formula.
The Sum of Cubes
The third series is the sum of the cubes of the natural numbers from 1 to n, denoted as $\sum_{r=1}^{n} r^3$. This formula has a surprisingly elegant connection to the sum of integers.
Visual Proof
Instead of stacking cubes directly, this visual proof uses a different arrangement. Imagine a large square. Within this square, arrange smaller squares in a specific pattern: - A 1x1 square. - Next to it, a 2x2 square, but stacked two layers high (representing $2^3$). - Next to that, a 3x3 square, stacked three layers high (representing $3^3$). - And so on, up to an nxn square stacked n layers high (representing $n^3$).
The total number of unit squares in this arrangement represents the sum of the cubes. While this initial arrangement might not immediately reveal the formula, a crucial step involves a "twist." If you imagine a 45-degree line passing through the center of the first square and then twisting each "pile" around its center, the entire arrangement transforms into a single large square.
The side length of this newly formed large square is the sum of the widths of the individual piles: $1 + 2 + 3 + \dots + n$. This is precisely the sum of the integers. Since the entire figure is now a square, its total area (which represents the sum of the cubes) is the square of its side length.
Therefore, the sum of the cubes is equal to the square of the sum of the integers. Since the sum of the integers is $\frac{1}{2}n(n+1)$, the sum of the cubes is $\left(\frac{1}{2}n(n+1)\right)^2$, which simplifies to $\frac{1}{4}n^2(n+1)^2$.
This reveals a beautiful algebraic coincidence: the sum of the cubes is simply the square of the sum of the integers.
Beyond These Three
While these three series are foundational, the sums of higher powers (e.g., powers of four, powers of five) also exist. It's observed that even powers tend to follow different patterns than odd powers. Deriving these algebraically can become quite complex. While formal proofs often rely on methods like mathematical induction (which requires knowing the answer beforehand), visual proofs like those presented here offer invaluable intuition for understanding where these formulas originate.
Takeaways
- The sum of the first n natural numbers equals n(n+1)/2, which can be visualized by pairing two identical triangular arrangements to form an n × (n+1) rectangle and halving its area.
- The sum of the squares 1²+…+n² equals n(n+1)(2n+1)/6, demonstrated by stacking square layers into a 3‑D pyramid and arranging six copies into an n × (n+1) × (2n+1) cuboid.
- The sum of the cubes 1³+…+n³ equals [n(n+1)/2]², shown by arranging piles of squares whose widths follow 1,2,…,n, twisting them into a single large square whose side length is the triangular number.
- Each visual proof relies on creating multiple copies of a shape to build a simpler geometric figure whose volume or area is easy to compute, then dividing by the number of copies.
- Although these visual arguments are intuitive, they are not formal inductive proofs; however, they provide strong insight and can be generalized with tools like GeoGebra for any n.
Frequently Asked Questions
Why does the visual proof for the sum of squares use six copies to form a cuboid?
The proof stacks squares into a pyramid and notes that six identical pyramids can be rearranged to fill a rectangular prism with dimensions n, n + 1, and 2n + 1; the prism’s volume is n(n+1)(2n+1). Since the six pyramids together equal that volume, each pyramid—representing the sum of squares—must be one‑sixth of it, giving the formula n(n+1)(2n+1)/6.
How does the “twist” in the cube‑sum visual proof turn the arrangement into a single large square?
After stacking n × n squares to heights 1 through n, the proof imagines a 45‑degree line through the first pile and rotates each pile around its center; this re‑orientation aligns the piles side‑by‑side, making the total width equal to 1 + 2 + … + n. The resulting figure is a square whose side length is the triangular number, so its area— the sum of the cubes—equals the square of that side length.
Who is Numberphile on YouTube?
Numberphile is a YouTube channel that publishes videos on a range of topics. Browse more summaries from this channel below.
Does this page include the full transcript of the video?
Yes, the full transcript for this video is available on this page. Click 'Show transcript' in the sidebar to read it.
Helpful resources related to this video
If you want to practice or explore the concepts discussed in the video, these commonly used tools may help.
Links may be affiliate links. We only include resources that are genuinely relevant to the topic.