Summation in LaTeX (\sum_{t=1}^{n})

∑t=1n\sum_{t=1}^{n}
LaTeX command
\sum_{t=1}^{n}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Summation over time periods t from 1 to n, the standard way to aggregate cash flows across periods.

Finance formulas sum over periods: present value of an annuity, \sum_{t=1}^{n} \frac{C}{(1+r)^t}, bond pricing with coupons plus face value, and NPV, which starts at t = 0 to include the initial outlay. In display math the limits sit above and below the sigma; inline, they shift to the right in smaller type. Use \sum\limits to force stacked limits in a paragraph. Make the starting index deliberate, since starting at 0 or 1 changes the result. For continuous time, the analogue is an integral with e^{-rt} discounting.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

P=∑t=1nc(1+y)t+F(1+y)nP = \sum_{t=1}^{n} \frac{c}{(1+y)^t} + \frac{F}{(1+y)^n}
\documentclass{article}
\begin{document}
Summation: $\sum_{t=1}^{n}$

\[ P = \sum_{t=1}^{n} \frac{c}{(1+y)^t} + \frac{F}{(1+y)^n} \]
\end{document}

Related symbols

All العملات والمالية →

Frequently asked questions

How do I write Summation in LaTeX?
Type \sum_{t=1}^{n} in math mode, for example $P = \sum_{t=1}^{n} \frac{c}{(1+y)^t} + \frac{F}{(1+y)^n}$. It works in plain LaTeX without loading any package.
Which package do I need for \sum_{t=1}^{n}?
None. \sum_{t=1}^{n} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \sum_{t=1}^{n} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\sum_{t=1}^{n}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث