Sum of the first n squares
Adds in one step; it is always a whole number even though there is a division by 6.
Sigma notation
Calculator
The live calculator needs JavaScript. The worked example below shows the same steps it would.
See it move
- Bars: 1², 2², …, 10². Line: the running total, reaching 385 = 10·11·21/6.
What the symbols mean
- the sum
- the last number squared
When to use it
Use it to count squares of every size on a grid (an 8 × 8 chessboard has squares), to count cannonballs in a square pyramid, and when estimating areas under with rectangles, which is where integration starts.
Worked example
Find 1² + 2² + … + 10² (n = 10).
Start from the formula.
Substitute = and work it out.
Answer S = 385
Why it works
It can be proved by induction: assume it for n, add , and the right side factorises into the same formula with . One of n, is even and one of n, , is a multiple of 3, which is why the division by 6 always comes out exactly.
Common mistakes
- Squaring the sum instead: , not 385.
- Writing instead of in the last bracket.