Template:sum
Jump to navigation
Jump to search
{{sum}} is a template for expressing mathematical summations. It has upper and lower limits to the right of the symbol, and uses a vertical grid, so makes the line it inhabits slightly taller. Its parameters may be expressed with their names present or forgone (in which case their order is used).
- lowe: The lower bound
- uppe: The upper bound
- term: The summand
- brac: If specified as blank (ie. ...|brac=}}), removes the bracket pair enclosing the summand. To be used in the event of a summation involving things like {{choose}}, which have their own brackets, ∑n-1k=0(k2).
For instance, <tt>{{sum|k{{=}}0|n-1|k}}</tt> becomes ∑n-1k=0(k). (Note that {{=}} must be used in place of =, which is otherwise accepted as a parameter and may cause problems.)
If you find this workaround inelegant, go pester politely ask Nathaniel Johnston to give us the MediaWiki LaTeX extension.
- ∑∞n=0(x2n*(2+x2n)(1-x2n)2*(1+x2n)2) = x*(2-x)(1-x)2