Product in LaTeX (\prod_{n=1}^{\infty})

∏n=1∞\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.

∏n=1∞(1−14n2)=2π\prod_{n=1}^{\infty} \left(1 - \frac{1}{4n^2}\right) = \frac{2}{\pi}
\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

All Kalkulus & Analisis →

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

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian