Polygamma in LaTeX (\psi^{(n)}(x))

ψ(n)(x)\psi^{(n)}(x)
LaTeX command
\psi^{(n)}(x)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Polygamma function of order n: the (n+1)-th derivative of ln Gamma(x), or n-th derivative of the digamma.

\psi^{(n)}(x) = \frac{d^{n+1}}{dx^{n+1}} \ln \Gamma(x), with \psi^{(0)} = \psi the digamma and \psi^{(1)} the trigamma function. Notable values: \psi^{(1)}(1) = \pi^2/6, and in general \psi^{(n)}(1) = (-1)^{n+1} n!\,\zeta(n+1). The trigamma gives the Fisher information and variance terms for gamma and Dirichlet models. The parenthesized superscript marks derivative order, not a power; writing ^n alone would read as exponentiation. Braces around (n) are required so the whole group is raised. Many authors write the trigamma simply as \psi'(x), which is equally standard.

Minimal compilable example

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

ψ(n)(1)=(−1)n+1 n! ζ(n+1)\psi^{(n)}(1) = (-1)^{n+1}\, n!\, \zeta(n+1)
\documentclass{article}
\begin{document}
Polygamma: $\psi^{(n)}(x)$

\[ \psi^{(n)}(1) = (-1)^{n+1}\, n!\, \zeta(n+1) \]
\end{document}

Related symbols

All 특수 함수 →

Frequently asked questions

How do I write Polygamma in LaTeX?
Type \psi^{(n)}(x) in math mode, for example $\psi^{(n)}(1) = (-1)^{n+1}\, n!\, \zeta(n+1)$. It works in plain LaTeX without loading any package.
Which package do I need for \psi^{(n)}(x)?
None. \psi^{(n)}(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \psi^{(n)}(x) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\psi^{(n)}(x)$ in running text.
Math poweredAI로 LaTeX 작성

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

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

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