Asked to add 1 + 2 + … + 100, young Gauss wrote the sum forwards and backwards and added the pairs:
📌
S = 1 + 2 + … + 99 + 100 S = 100 + 99 + … + 2 + 1 2S = 101 + 101 + … + 101 (100 times)
So S = 100 × 101 / 2 = 5050.
The same trick works for any AP a, a + d, …, a + (n − 1)d. Each forward–backward pair adds to 2a + (n − 1)d, and there are n pairs:
📌
Sₙ = n/2 [2a + (n − 1)d]
Since a + (a + (n − 1)d) = a + aₙ, this is also
📌
Sₙ = n/2 (a + l), where l is the last term
Use the second form when you know the first and last terms but not d.
Also: the nth term is the difference of two sums, aₙ = Sₙ − Sₙ₋₁.
Tap the diagram to enlarge it
✨
Did you know?
The book says Gauss solved 1 + 2 + … + 100 when he was just 10 years old.
📌 Remember these
- Sₙ = n/2 [2a + (n − 1)d]
- Sₙ = n/2 (a + l)
- aₙ = Sₙ − Sₙ₋₁