Empty sum
In mathematics, an empty sum, or nullary sum, is a summation where the number of terms is zero. The natural way to extend non-empty sums is to let the empty sum be the additive identity. Let a_1 , a_2 , a_3 , ... be a sequence of numbers, and let : s_m = \sum_{i=1}^m a_i = a_1 + \cdots + a_m be the sum of the first m terms of the sequence. This satisfies the recurrence : s_m = s_{m-1} + a_m provided that we use the following natural convention: s_0=0 . In other words, a "sum" s_1 with only one term evaluates to that one term, while a "sum" s_0 with no terms evaluates to 0. Allowing a "sum" with only 1 or 0 terms reduces the number of cases to be considered in many mathematical formulas. Such "sums" are natural starting points in induction proofs, as well as in algorithms. For these reasons, the "empty sum is zero" extension is standard practice in mathematics and computer programming (assuming the domain has a zero element). For the same reason, the empty product is taken to be the multiplicative identity. For sums of other objects (such as vectors, matrices, polynomials), the value of an empty summation is taken to be its additive identity.
In mathematics, an empty sum, or nullary sum, is a summation where the number of terms is zero. The natural way to extend non-empty sums is to let the empty sum be the additive identity. Let a_1 , a_2 , a_3 , ... be a sequence of numbers, and let s_m = \sum_{i=1}^m a_i = a_1 + \cdots + a_m be the sum of the first m terms of the sequence. This satisfies the recurrence s_m = s_{m-1} + a_m provided that we use the following natural convention: s_0=0 . In other words, a "sum" s_1 with only one term evaluates to that one term, while a "sum" s_0 with no terms evaluates to 0. Allowing a "sum" with only 1 or 0 terms reduces the number of cases to be considered in many mathematical formulas. Such "sums" are natural starting points in induction proofs, as well as in algorithms. For these reasons, the "empty sum is zero" extension is standard practice in mathematics and computer programming (assuming the domain has a zero element). For the same reason, the empty product is taken to be the multiplicative identity. For sums of other objects (such as vectors, matrices, polynomials), the value of an empty summation is taken to be its additive identity. The empty sum convention allows the zero-dimensional vector space V={0} to have a basis, namely the empty set. ==See also== Empty product Iterated binary operation Empty function ==References==
References
- Harper, Robert (2016). Practical Foundations for Programming Languages . Cambridge University Press. p. 86. ISBN 9781107029576 . Wikipedia revision 1285517046, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1285517046
Cite this reference
MLA "Harper, Robert (2016). Practical Foundations for Programming Languages . Cambridge University Press. p. 86. ISBN 9781107029576 . Wikipedia revision 1285517046, retrieved 2026-11-19." Harper, Robert (2016). 2026-11-18. https://en.wikipedia.org/wiki/ISBN_(identifier). Accessed 24 November 2026.
Chicago "Harper, Robert (2016). Practical Foundations for Programming Languages . Cambridge University Press. p. 86. ISBN 9781107029576 . Wikipedia revision 1285517046, retrieved 2026-11-19." Harper, Robert (2016). 2026-11-18. https://en.wikipedia.org/wiki/ISBN_(identifier).
APA Harper, Robert (2016). (2026). Harper, Robert (2016). Practical Foundations for Programming Languages . Cambridge University Press. p. 86. ISBN 9781107029576 . Wikipedia revision 1285517046, retrieved 2026-11-19. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/ISBN_(identifier)
- David M. Bloom (1979). Linear Algebra and Geometry . pp. 45 . ISBN 0521293243 . Wikipedia revision 1285517046, retrieved 2026-11-19 · retrieved 2026-11-18 · rev 1285517046
Cite this reference
MLA "David M. Bloom (1979). Linear Algebra and Geometry . pp. 45 . ISBN 0521293243 . Wikipedia revision 1285517046, retrieved 2026-11-19." David M. 2026-11-18. https://archive.org/details/linearalgebrageo0000bloo. Accessed 24 November 2026.
Chicago "David M. Bloom (1979). Linear Algebra and Geometry . pp. 45 . ISBN 0521293243 . Wikipedia revision 1285517046, retrieved 2026-11-19." David M. 2026-11-18. https://archive.org/details/linearalgebrageo0000bloo.
APA David M. (2026). David M. Bloom (1979). Linear Algebra and Geometry . pp. 45 . ISBN 0521293243 . Wikipedia revision 1285517046, retrieved 2026-11-19. Retrieved November 24, 2026, from https://archive.org/details/linearalgebrageo0000bloo
Cite this article
MLA
"Empty sum." encyclopegia.org, 2025, https://encyclopegia.org/wiki/empty-sum. Accessed 24 November 2026.
Chicago
"Empty sum." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/empty-sum.
APA
encyclopegia.org. (2025). Empty sum. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/empty-sum
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON