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

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

Where it is used

Summation sign with index starting at n = 1 and running to infinity, the shape of an infinite series.

Infinite series such as the Basel problem \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} or the divergent harmonic series are written this way. In display math the bounds stack above and below a large sigma; inline they shift to the right of a smaller one, which keeps line spacing even. Add \limits if you need stacked bounds inline, or \displaystyle sparingly. Do not use the Greek letter \Sigma as a substitute: it is an ordinary-size letter, not an operator, and will not take limits correctly. Convergence is often stated through partial sums, S_N = \sum_{n=1}^{N} a_n.

Minimal compilable example

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

∑n=1∞1n2=π26\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
\documentclass{article}
\begin{document}
Summation: $\sum_{n=1}^{\infty}$

\[ \sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6} \]
\end{document}

Related symbols

All 미적분 →

Frequently asked questions

How do I write Summation in LaTeX?
Type \sum_{n=1}^{\infty} in math mode, for example $\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}$. It works in plain LaTeX without loading any package.
Which package do I need for \sum_{n=1}^{\infty}?
None. \sum_{n=1}^{\infty} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \sum_{n=1}^{\infty} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\sum_{n=1}^{\infty}$ in running text.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기