Hypergeometric in LaTeX ({}_2F_1(a,b;c;z))

2F1(a,b;c;z){}_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.

2F1(a,b;c;z)=∑n=0∞(a)n(b)n(c)nznn!{}_2F_1(a,b;c;z) = \sum_{n=0}^{\infty} \frac{(a)_n (b)_n}{(c)_n} \frac{z^n}{n!}
\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

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

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.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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