Riemann zeta function in LaTeX (\zeta(s))

ζ(s)\zeta(s)
LaTeX command
\zeta(s)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Riemann zeta function, defined for Re s > 1 by the series sum of 1/n^s and extended to the complex plane.

\zeta(s) = \sum_{n=1}^\infty n^{-s} links analysis to primes through the Euler product \prod_p (1 - p^{-s})^{-1}. Famous values include \zeta(2) = \pi^2/6 (the Basel problem) and \zeta(-1) = -1/12 by analytic continuation. The Riemann hypothesis says nontrivial zeros lie on \operatorname{Re} s = 1/2. Use \zeta, which can look like \xi in handwriting but is distinct in print. Conventionally the variable is s = \sigma + it. The Hurwitz zeta is \zeta(s, a), and in physics \zeta often appears in Bose-Einstein integrals.

Minimal compilable example

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

ζ(s)=∑n=1∞1ns=∏p11−p−s\zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s} = \prod_{p} \frac{1}{1 - p^{-s}}
\documentclass{article}
\begin{document}
Riemann zeta function: $\zeta(s)$

\[ \zeta(s) = \sum_{n=1}^{\infty} \frac{1}{n^s} = \prod_{p} \frac{1}{1 - p^{-s}} \]
\end{document}

Related symbols

All الدوال الخاصة →

Frequently asked questions

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

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

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

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