T TestsWorld
Lesson 7 of 11 Sum of n terms ⏱ 4 min

Gauss's trick and the sum formula

🤔
Think first
Can you add 1 to 100 in your head in ten seconds?
🎯 In this lesson you'll learn
  • ✓See where the sum formula comes from
  • ✓Use both sum formulas

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ₙ₋₁.

1100101299101398101……9921011001101SS2S2S = 100 × 101, S = 5050

Tap the diagram to enlarge it

Writing the sum forwards and backwards makes every pair equal to 101.
✨
Did you know?
The book says Gauss solved 1 + 2 + … + 100 when he was just 10 years old.
📌 Remember these
  1. Sₙ = n/2 [2a + (n − 1)d]
  2. Sₙ = n/2 (a + l)
  3. aₙ = Sₙ − Sₙ₋₁
✅ Quick check
← →