Sigma Notation and Triangular Numbers

April 12, 2026

Problem

Compute Σ(k=1 to n) k = n(n+1)/2. Show the triangular number pattern visually.

Explanation

Sigma notation and triangular numbers

k=1nk=1+2+3++n=n(n+1)2\sum_{k=1}^{n} k = 1 + 2 + 3 + \cdots + n = \dfrac{n(n+1)}{2}

Step-by-step: k=16k\sum_{k=1}^{6} k

1+2+3+4+5+6=6×72=211 + 2 + 3 + 4 + 5 + 6 = \frac{6 \times 7}{2} = 21

Why "triangular numbers"?

Arrange dots in a triangle: row 1 has 1 dot, row 2 has 2, ..., row nn has nn. The total is 1+2++n=n(n+1)/21 + 2 + \cdots + n = n(n+1)/2. These are called triangular numbers: 1, 3, 6, 10, 15, 21, 28, ...

The proof (Gauss's trick)

Write S=1+2++nS = 1 + 2 + \cdots + n forward and backward, add: 2S=n2S = n pairs of (n+1)(n+1). So S=n(n+1)/2S = n(n+1)/2.

Try it in the visualization

Watch dots form a triangle as nn increases. The pairing trick is shown: the triangle doubles into a n×(n+1)n \times (n+1) rectangle, so the triangle has half that area. Visualized as a triangle of dots: nn rows, with row kk containing kk dots. The formula counts the total dots.

Interactive Visualization

Parameters

6.00
6.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Sigma Notation and Triangular Numbers | MathSpin