Math 2.0

Areas Reasoning and proof Rigor and the acceptance of proofs Example

The sum 1 + 2 + ... + n at two levels of rigor

Builds on Mathematical rigorMathematical inductionInductive and recursive definitionsTriangular number

Example

The claim is that for each integer n≥1n \ge 1 the sum S(n)=1+2+⋯+nS(n) = 1 + 2 + \dots + n equals n(n+1)/2n(n + 1)/2. We give two proofs of it. The first is rigorous for a school reader, and the second answers a reader who asks what the dots mean.

The first proof pairs the terms.

  1. Write the sum forward and backward: S(n)=1+2+⋯+nS(n) = 1 + 2 + \dots + n and S(n)=n+(n−1)+⋯+1S(n) = n + (n - 1) + \dots + 1.
  2. Add the two rows term by term. The kk-th pair is k+(n+1−k)=n+1k + (n + 1 - k) = n + 1.
  3. There are nn pairs, so 2S(n)=n(n+1)2 S(n) = n(n + 1).
  4. Divide by 22 to get S(n)=n(n+1)/2S(n) = n(n + 1)/2.

The second proof defines the sum first and then uses induction.

  1. We define the sum without dots by a recursive definition: S(1)=1S(1) = 1, and S(m+1)=S(m)+(m+1)S(m + 1) = S(m) + (m + 1) for each m≥1m \ge 1.
  2. Let P(n)P(n) be the statement S(n)=n(n+1)/2S(n) = n(n + 1)/2. We prove P(n)P(n) for all n≥1n \ge 1 by mathematical induction.
  3. Base case: S(1)=1S(1) = 1 by the definition, and 1⋅2/2=11 \cdot 2 / 2 = 1, so P(1)P(1) holds.
  4. Induction step: let m≥1m \ge 1 and assume P(m)P(m), that is, S(m)=m(m+1)/2S(m) = m(m + 1)/2.
  5. By the definition, S(m+1)=S(m)+(m+1)S(m + 1) = S(m) + (m + 1).
  6. By the assumption of step 4, this equals m(m+1)/2+(m+1)m(m + 1)/2 + (m + 1).
  7. Over the common denominator 22 this is (m(m+1)+2(m+1))/2=(m+1)(m+2)/2\big(m(m + 1) + 2(m + 1)\big)/2 = (m + 1)(m + 2)/2, which is P(m+1)P(m + 1).
  8. By induction, P(n)P(n) holds for every n≥1n \ge 1.

Check for n=4n = 4: 1+2+3+4=101 + 2 + 3 + 4 = 10, and 4⋅5/2=104 \cdot 5 / 2 = 10.

Remarks

Both proofs are correct, and they differ in what they take as known. The pairing proof assumes that a sum with dots has a meaning, and that we may reverse its terms and add two such sums term by term. For a school reader these facts are routine, so the pairing proof is rigorous for that reader. The induction proof defines the sum and then uses only the definition, algebra and the principle of induction. So a reader who asks what the dots mean gets an answer from the second proof and not from the first.

The pairing proof can also be made exact without changing its idea, with sigma notation. The change of index j=n+1−kj = n + 1 - k maps {1,…,n}\{1, \dots, n\} onto itself, so ∑k=1nk=∑k=1n(n+1−k).\sum_{k = 1}^{n} k = \sum_{k = 1}^{n} (n + 1 - k). Adding the two sums gives ∑k=1n(n+1)=n(n+1)\sum_{k = 1}^{n} (n + 1) = n(n + 1). The fact that a change of index does not change a finite sum is itself a lemma, proved by induction on nn, so the dots are paid for in the end.

The same two levels exist for many identities. For the sum of the first nn odd numbers, the picture of nested squares is a proof at the first level, and an induction on nn is a proof at the second.

Going deeper

For a student

We use the recursive definition to check the formula at n=100n = 100 and n=101n = 101. The formula gives S(100)=100⋅1012=5050.S(100) = \frac{100 \cdot 101}{2} = 5050. The definition then gives S(101)=S(100)+101=5151S(101) = S(100) + 101 = 5151, and the formula gives 101⋅102/2=5151101 \cdot 102 / 2 = 5151. The two values agree, which is step 7 of the induction proof with m=100m = 100.

The typical use of the two levels is in teaching: first the idea that convinces, then the version that a doubtful reader can check line by line. Watch out for the view that the pairing proof is wrong because it uses dots. It is a correct proof for its reader, and it has a gap only for a reader who does not accept the meaning of the dots.

Reading path

To understand this page from the ground up, read these 56 pages in order. The foundations come first. The path takes the proof Proof of unique readability by counting brackets.

  1. Alphabet concept
  2. Arity concept
  3. Boolean function concept
  4. Countermodel concept
  5. Definition by recursion concept
  6. Effectively decidable set concept
  7. Formal language concept
  8. Function concept
  9. Induction on well-formed formulas concept
  10. Natural numbers object
  11. Proposition concept
  12. Propositional letter concept
  13. Set concept
  14. String concept
  15. Triangular number concept
  16. Tuple concept
  17. Signature concept
  18. Logical connective definition
  19. Mathematical notation concept
  20. Conjunction definition
  21. Disjunction definition
  22. Material implication definition
  23. Principle of bivalence concept
  24. Predicate concept
  25. Biconditional definition
  26. Term concept
  27. Negation concept
  28. Negation definition
  29. Atomic formula concept
  30. Truth table concept
  31. Material implication concept
  32. Conjunction concept
  33. Disjunction concept
  34. Biconditional concept
  35. Universal quantifier concept
  36. Logical connective concept
  37. Existential quantifier concept
  38. Well-formed formula concept
  39. Propositional formula definition
  40. Propositional formula concept
  41. Proof of unique readability by counting brackets proof
  42. Formal system concept
  43. Unique readability theorem statement
  44. Truth valuation concept
  45. Logical consequence concept
  46. Rule of inference concept
  47. Modus ponens concept
  48. Mathematical proof concept
  49. Theorems, lemmas, corollaries and propositions concept
  50. Mathematical jargon concept
  51. Mathematical induction concept
  52. Axiomatic method concept
  53. Trivial, obvious and clearly concept
  54. Inductive and recursive definitions concept
  55. Mathematical rigor concept
  56. The sum 1 + 2 + ... + n at two levels of rigor example

Further reading

  1. Web https://en.wikipedia.org/wiki/Triangular_number, Formula
  2. Web https://en.wikipedia.org/wiki/Mathematical_induction, Sum of consecutive natural numbers
About this page
TagKQZNTQG6KM
URIm2://KQZNTQG6KM
Aliasesthe-sum-1-2-n-at-two-levels-of-rigour
Kindexample
WritingW0 stub
MSC00A35, 11B25
Instance ofMathematical rigor
Part ofRigor and the acceptance of proofs
UsesMathematical rigor, Mathematical induction, Inductive and recursive definitions, Triangular number
Changed23 November 2026, first written 17 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

History

Each change to this page, from its provenance log. A change by an agent names its run.

The changes to this page, the oldest first
DateChangeFieldBy
2026-11-17addthe whole nodetamnd
2026-11-23addthe field aliasestamnd
2026-11-23changethe section Exampletamnd
2026-11-23changethe explanation L1tamnd
2026-11-23changethe explanation L2tamnd
2026-11-23changethe section Remarkstamnd
2026-11-23changethe field nametamnd

What links here

No page links to this page yet.