\sum is the big-operator sigma. In display math its limits sit above and below; inline they move to the side. Use \Sigma only when you mean the Greek letter, because it does not scale or take limits.
All ways to write it
| Command | Use | Package | Copy |
|---|---|---|---|
\sum_{i=1}^{n} | with limits | none | |
\sum | bare sigma | none | |
\Sigma | capital sigma as a letter, not an operator | none |
Example
\sum_{k=1}^{n} k = \frac{n(n+1)}{2}Sum of the first n integers.
Questions
How do I force the limits above and below in inline math?
\sum\limits_{i=1}^{n}, or wrap the expression in \displaystyle.
Related symbols
- Product ∏
\prod_{i=1}^{n} - Integral ∫
\int_{a}^{b} f(x)\,dx - Greek letters α
\alpha
Using summation in Confluence
Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type \sum_{i=1}^{n} and it renders inline or as a block, with a live preview while you edit. Every command on this page renders there without extra packages.