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 Mata Wang & Kewangan →

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 poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan