Hypergeometric in LaTeX ({}_2F_1(a,b;c;z))
- LaTeX command
{}_2F_1(a,b;c;z)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Gauss hypergeometric function: the power series in z with coefficients built from Pochhammer symbols of a, b, c.
It is defined as {}_2F_1(a,b;c;z) = \sum_{n \geq 0} \frac{(a)_n (b)_n}{(c)_n} \frac{z^n}{n!} for |z| < 1, and it specializes to many elementary and special functions, e.g. \ln(1+z) = z\,{}_2F_1(1,1;2;-z). The empty group {} gives the left subscript 2 something to attach to, which is the standard trick for prescripts; the \prescript command offers finer control. Semicolons separate numerator parameters, denominator parameters, and the argument. The general form {}_pF_q follows the same pattern, and Gauss's theorem gives its value at z = 1.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Hypergeometric: ${}_2F_1(a,b;c;z)$
\[ {}_2F_1(a,b;c;z) = \sum_{n=0}^{\infty} \frac{(a)_n (b)_n}{(c)_n} \frac{z^n}{n!} \]
\end{document}Related symbols
- Digamma
\psi(x) - Chebyshev U
U_n(x) - Polygamma
\psi^{(n)}(x) - Chebyshev T
T_n(x) - Elliptic Integral K
K(k) - Laguerre Polynomial
L_n(x)
Frequently asked questions
- How do I write Hypergeometric in LaTeX?
- Type {}_2F_1(a,b;c;z) in math mode, for example ${}_2F_1(a,b;c;z) = \sum_{n=0}^{\infty} \frac{(a)_n (b)_n}{(c)_n} \frac{z^n}{n!}$. It works in plain LaTeX without loading any package.
- Which package do I need for {}_2F_1(a,b;c;z)?
- None. {}_2F_1(a,b;c;z) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use {}_2F_1(a,b;c;z) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write ${}_2F_1(a,b;c;z)$ in running text.
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen