Product in LaTeX (\prod_{n=1}^{\infty})
- LaTeX command
\prod_{n=1}^{\infty}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Product operator over n from 1 to infinity, used to write infinite products.
Classical results such as Euler's product for the zeta function and the Wallis product for \pi are written with it. Like \sum, the bounds go under and over the operator in display style and to the side inline. Do not confuse it with \Pi, the capital Greek letter, which has a similar shape but stays ordinary size and takes limits as plain subscripts. An infinite product is said to converge when its partial products approach a nonzero limit, so authors often write \prod_{n=1}^{\infty}(1+a_n) alongside the condition \sum |a_n| < \infty, which guarantees convergence.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Product: $\prod_{n=1}^{\infty}$
\[ \prod_{n=1}^{\infty} \left(1 - \frac{1}{4n^2}\right) = \frac{2}{\pi} \]
\end{document}Related symbols
- Differential
dx - Summation
\sum_{n=1}^{\infty} - Prime Derivative
f'(x) - Infinity
\infty - Double Prime
f''(x) - Limit
\lim_{x \to \infty}
Frequently asked questions
- How do I write Product in LaTeX?
- Type \prod_{n=1}^{\infty} in math mode, for example $\prod_{n=1}^{\infty} \left(1 - \frac{1}{4n^2}\right) = \frac{2}{\pi}$. It works in plain LaTeX without loading any package.
- Which package do I need for \prod_{n=1}^{\infty}?
- None. \prod_{n=1}^{\infty} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \prod_{n=1}^{\infty} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\prod_{n=1}^{\infty}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기