# Theta function

For other θ functions, see Theta function (disambiguation).
Jacobi's original theta function $\theta_1$ with $u = i \pi z$ and with nome $q = e^{i \pi \tau}= 0.1 e^{0.1 i \pi}$. Conventions are (Mathematica):$\theta_1(u;q) = 2 q^{1/4} \sum_{n=0}^\infty (-1)^n q^{n(n+1)} \sin(2n+1)u$ this is: $\theta_1(u;q) = \sum_{n=-\infty}^{n=\infty} (-1)^{n-1/2} q^{(n+1/2)^2} e^{(2n+1)i u}$

In mathematics, theta functions are special functions of several complex variables. They are important in many areas, including the theories of abelian varieties and moduli spaces, and of quadratic forms. They have also been applied to soliton theory. When generalized to a Grassmann algebra, they also appear in quantum field theory.

The most common form of theta function is that occurring in the theory of elliptic functions. With respect to one of the complex variables (conventionally called z), a theta function has a property expressing its behavior with respect to the addition of a period of the associated elliptic functions, making it a quasiperiodic function. In the abstract theory this comes from a line bundle condition of descent.

## Jacobi theta function

Jacobi theta 1
Jacobi theta 2
Jacobi theta 3
Jacobi theta 4

There are several closely related functions called Jacobi theta functions, and many different and incompatible systems of notation for them. One Jacobi theta function (named after Carl Gustav Jacob Jacobi) is a function defined for two complex variables z and τ, where z can be any complex number and τ is confined to the upper half-plane, which means it has positive imaginary part. It is given by the formula

$\vartheta(z; \tau) = \sum_{n=-\infty}^\infty \exp (\pi i n^2 \tau + 2 \pi i n z) = 1 + 2 \sum_{n=1}^\infty \left(e^{\pi i\tau}\right)^{n^2} \cos(2\pi n z) = \sum_{n=-\infty}^\infty q^{n^2}\eta^n$

where q = exp(πiτ) and η = exp(2πiz). It is a Jacobi form. If τ is fixed, this becomes a Fourier series for a periodic entire function of z with period 1; in this case, the theta function satisfies the identity

$\vartheta(z+1; \tau) = \vartheta(z; \tau).$

The function also behaves very regularly with respect to its quasi-period τ and satisfies the functional equation

$\vartheta(z+a+b\tau;\tau) = \exp(-\pi i b^2 \tau -2 \pi i b z)\,\vartheta(z;\tau)$

where a and b are integers.

Theta function $\theta_1$ with different nome $q = e^{i \pi \tau}$. The black dot in the right-hand picture indicates how $q$ is changing with $\tau$.
Theta function $\theta_1$ with different nome $q = e^{i \pi \tau}$. The black dot in the right-hand picture indicates how $q$ is changing with $\tau$.

## Auxiliary functions

The Jacobi theta function defined above is sometimes considered along with three auxiliary theta functions, in which case it is written with a double 0 subscript:

$\vartheta_{00}(z;\tau) = \vartheta(z;\tau)$

The auxiliary (or half-period) functions are defined by

\begin{align} \vartheta_{01}(z;\tau)& = \vartheta\!\left(z+{\textstyle\frac{1}{2}};\tau\right)\\[3pt] \vartheta_{10}(z;\tau)& = \exp\!\left({\textstyle\frac{1}{4}}\pi i \tau + \pi i z\right) \vartheta\!\left(z + {\textstyle\frac{1}{2}}\tau;\tau\right)\\[3pt] \vartheta_{11}(z;\tau)& = \exp\!\left({\textstyle\frac{1}{4}}\pi i \tau + \pi i\!\left(z+{\textstyle \frac{1}{2}}\right)\right)\vartheta\!\left(z+{\textstyle\frac{1}{2}}\tau + {\textstyle\frac{1}{2}};\tau\right). \end{align}

This notation follows Riemann and Mumford; Jacobi's original formulation was in terms of the nome $q=e^{\pi i \tau}$ rather than τ. In Jacobi's notation the θ-functions are written:

\begin{align} \theta_1(z;q) &= -\vartheta_{11}(z;\tau)\\ \theta_2(z;q) &= \vartheta_{10}(z;\tau)\\ \theta_3(z;q) &= \vartheta_{00}(z;\tau)\\ \theta_4(z;q) &= \vartheta_{01}(z;\tau) \end{align}

The above definitions of the Jacobi theta functions are by no means unique. See Jacobi theta functions (notational variations) for further discussion.

If we set z = 0 in the above theta functions, we obtain four functions of τ only, defined on the upper half-plane (sometimes called theta constants.) These can be used to define a variety of modular forms, and to parametrize certain curves; in particular, the Jacobi identity is

$\vartheta_{00}(0;\tau)^4 = \vartheta_{01}(0;\tau)^4 + \vartheta_{10}(0;\tau)^4$

which is the Fermat curve of degree four.

## Jacobi identities

Jacobi's identities describe how theta functions transform under the modular group, which is generated by τ ↦ τ+1 and τ ↦ -1/τ. Equations for the first transform are easily found since adding one to τ in the exponent has the same effect as adding 1/2 to z (n is congruent to n squared modulo 2). For the second, let

$\alpha = (-i \tau)^{\frac{1}{2}} \exp\!\left(\frac{\pi}{\tau} i z^2 \right).\,$

Then

\begin{align} \vartheta_{00}\!\left({\textstyle\frac{z}{\tau}; \frac{-1}{\tau}}\right)& = \alpha\,\vartheta_{00}(z; \tau)\quad& \vartheta_{01}\!\left({\textstyle\frac{z}{\tau}; \frac{-1}{\tau}}\right)& = \alpha\,\vartheta_{10}(z; \tau)\\[3pt] \vartheta_{10}\!\left({\textstyle\frac{z}{\tau}; \frac{-1}{\tau}}\right)& = \alpha\,\vartheta_{01}(z; \tau)\quad& \vartheta_{11}\!\left({\textstyle\frac{z}{\tau}; \frac{-1}{\tau}}\right)& = -i\alpha\,\vartheta_{11}(z; \tau). \end{align}

## Theta functions in terms of the nome

Instead of expressing the Theta functions in terms of $z\,$ and $\tau \,$, we may express them in terms of arguments $w\,$ and the nome q, where $w=e^{\pi {\mathrm{i}}z}\,$ and $q=e^{\pi {\mathrm{i}}\tau}\,$ . In this form, the functions become

\begin{align} \vartheta_{00}(w, q)& = \sum_{n=-\infty}^\infty (w^2)^n q^{n^2}\quad& \vartheta_{01}(w, q)& = \sum_{n=-\infty}^\infty (-1)^n (w^2)^n q^{n^2}\\[3pt] \vartheta_{10}(w, q)& = \sum_{n=-\infty}^\infty (w^2)^{\left(n+1/2\right)} q^{\left(n + 1/2\right)^2}\quad& \vartheta_{11}(w, q)& = i \sum_{n=-\infty}^\infty (-1)^n (w^2)^{\left(n+1/2\right)} q^{\left(n + 1/2\right)^2}. \end{align}

We see that the Theta functions can also be defined in terms of w and q, without a direct reference to the exponential function. These formulas can, therefore, be used to define the Theta functions over other fields where the exponential function might not be everywhere defined, such as fields of p-adic numbers.

## Product representations

The Jacobi triple product tells us that for complex numbers w and q with |q| < 1 and w ≠ 0 we have

$\prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 + w^{2}q^{2m-1}\right) \left( 1 + w^{-2}q^{2m-1}\right) = \sum_{n=-\infty}^\infty w^{2n}q^{n^2}.$

It can be proven by elementary means, as for instance in Hardy and Wright's An Introduction to the Theory of Numbers.

If we express the theta function in terms of the nome $q = \exp(\pi i \tau)$ and $w = \exp(\pi i z)$ then

$\vartheta(z; \tau) = \sum_{n=-\infty}^\infty \exp(\pi i \tau n^2) \exp(\pi i z 2n) = \sum_{n=-\infty}^\infty w^{2n}q^{n^2}.$

We therefore obtain a product formula for the theta function in the form

$\vartheta(z; \tau) = \prod_{m=1}^\infty \left( 1 - \exp(2m \pi i \tau)\right) \left( 1 + \exp((2m-1) \pi i \tau + 2 \pi i z)\right) \left( 1 + \exp((2m-1) \pi i \tau -2 \pi i z)\right).$

In terms of w and q:

$\vartheta(z; \tau) = \prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 + q^{2m-1}w^2\right) \left( 1 + q^{2m-1}/w^2\right)$
$= (q^2;q^2)_\infty\,(-w^2q;q^2)_\infty\,(-q/w^2;q^2)_\infty$
$= (q^2;q^2)_\infty\,\theta(-w^2q;q^2)$

where $(\cdot \cdot)_\infty$ is the q-Pochhammer symbol and $\theta(\cdot \cdot)$ is the q-theta function. Expanding terms out, the Jacobi triple product can also be written

$\prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 + (w^{2}+w^{-2})q^{2m-1}+q^{4m-2}\right),$

which we may also write as

$\vartheta(z|q) = \prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 + 2 \cos(2 \pi z)q^{2m-1}+q^{4m-2}\right).$

This form is valid in general but clearly is of particular interest when z is real. Similar product formulas for the auxiliary theta functions are

$\vartheta_{01}(z|q) = \prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 - 2 \cos(2 \pi z)q^{2m-1}+q^{4m-2}\right).$
$\vartheta_{10}(z|q) = 2 q^{1/4}\cos(\pi z)\prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 + 2 \cos(2 \pi z)q^{2m}+q^{4m}\right).$
$\vartheta_{11}(z|q) = -2 q^{1/4}\sin(\pi z)\prod_{m=1}^\infty \left( 1 - q^{2m}\right) \left( 1 - 2 \cos(2 \pi z)q^{2m}+q^{4m}\right).$

## Integral representations

The Jacobi theta functions have the following integral representations:

$\vartheta_{00} (z; \tau) = -i \int_{i - \infty}^{i + \infty} {e^{i \pi \tau u^2} \cos (2 u z + \pi u) \over \sin (\pi u)} du$
$\vartheta_{01} (z; \tau) = -i \int_{i - \infty}^{i + \infty} {e^{i \pi \tau u^2} \cos (2 u z) \over \sin (\pi u)} du.$
$\vartheta_{10} (z; \tau) = -i e^{iz + i \pi \tau / 4} \int_{i - \infty}^{i + \infty} {e^{i \pi \tau u^2} \cos (2 u z + \pi u + \pi \tau u) \over \sin (\pi u)} du$
$\vartheta_{11} (z; \tau) = e^{iz + i \pi \tau / 4} \int_{i - \infty}^{i + \infty} {e^{i \pi \tau u^2} \cos (2 u z + \pi \tau u) \over \sin (\pi u)} du$

## Explicit values

See [1]

$\varphi(e^{-\pi x}) = \vartheta(0; {\mathrm{i}}x) = \theta_3(0;e^{-\pi x}) = \sum_{n=-\infty}^\infty e^{-x \pi n^2}$
$\varphi\left(e^{-\pi} \right) = \frac{\sqrt[4]{\pi}}{\Gamma(\frac{3}{4})}$
$\varphi\left(e^{-2\pi} \right) = \frac{\sqrt[4]{6\pi+4\sqrt2\pi}}{2\Gamma(\frac{3}{4})}$
$\varphi\left(e^{-3\pi}\right) = \frac{\sqrt[4]{27\pi+18\sqrt3\pi}}{3\Gamma(\frac{3}{4})}$
$\varphi\left(e^{-4\pi}\right) =\frac{\sqrt[4]{8\pi}+2\sqrt[4]{\pi}}{4\Gamma(\frac{3}{4})}$
$\varphi\left(e^{-5\pi} \right) =\frac{\sqrt[4]{225\pi+ 100\sqrt5 \pi}}{5\Gamma(\frac{3}{4})}$
$\varphi\left(e^{-6\pi}\right) = \frac{\sqrt[3]{3\sqrt{2}+3\sqrt[4]{3}+2\sqrt{3}-\sqrt[4]{27}+\sqrt[4]{1728}-4}\cdot \sqrt[8]{243{\pi}^2}}{6\sqrt[6]{1+\sqrt6-\sqrt2-\sqrt3}{\Gamma(\frac{3}{4})}}$

## Some series identities

The next two series identities were proved by István Mező

[2]
$\vartheta_4^2(q)=iq^{\frac14}\sum_{k=-\infty}^\infty q^{2k^2-k}\vartheta_1\left(\frac{2k-1}{2i}\ln q,q\right),$
$\vartheta_4^2(q)=\sum_{k=-\infty}^\infty q^{2k^2}\vartheta_4\left(\frac{k\ln q}{i},q\right).$

These relations hold for all 0 < q < 1. Specializing the values of q, we have the next parameter free sums

$\sqrt{\frac{\pi\sqrt{e^\pi}}{2}}\frac{1}{\Gamma^2\left(\frac34\right)}=i\sum_{k=-\infty}^\infty e^{\pi(k-2k^2)}\vartheta_1\left(\frac{i\pi}{2}(2k-1),e^{-\pi}\right),$

and

$\sqrt{\frac{\pi}{2}}\frac{1}{\Gamma^2\left(\frac34\right)}=\sum_{k=-\infty}^\infty\frac{\vartheta_4(ik\pi,e^{-\pi})}{e^{2\pi k^2}}$

## Zeros of the Jacobi theta functions

All zeros of the Jacobi theta functions are simple zeros and are given by the following:

$\vartheta(z,\tau) = \vartheta_3(z,\tau) = 0 \quad \Longleftrightarrow \quad z = m + n \tau + \frac{1}{2} + \frac{\tau}{2}$
$\vartheta_1(z,\tau) = 0 \quad \Longleftrightarrow \quad z = m + n \tau$
$\vartheta_2(z,\tau) = 0 \quad \Longleftrightarrow \quad z = m + n \tau + \frac{1}{2}$
$\vartheta_4(z,\tau) = 0 \quad \Longleftrightarrow \quad z = m + n \tau + \frac{\tau}{2}$

where m,n are arbitrary integers.

## Relation to the Riemann zeta function

The relation

$\vartheta(0;-1/\tau)=(-i\tau)^{1/2} \vartheta(0;\tau)$

was used by Riemann to prove the functional equation for the Riemann zeta function, by means of the integral

$\Gamma\left(\frac{s}{2}\right) \pi^{-s/2} \zeta(s) = \frac{1}{2}\int_0^\infty\left[\vartheta(0;it)-1\right] t^{s/2}\frac{dt}{t}$

which can be shown to be invariant under substitution of s by 1 − s. The corresponding integral for z not zero is given in the article on the Hurwitz zeta function.

## Relation to the Weierstrass elliptic function

The theta function was used by Jacobi to construct (in a form adapted to easy calculation) his elliptic functions as the quotients of the above four theta functions, and could have been used by him to construct Weierstrass's elliptic functions also, since

$\wp(z;\tau) = -(\log \vartheta_{11}(z;\tau))'' + c$

where the second derivative is with respect to z and the constant c is defined so that the Laurent expansion of $\wp(z)$ at z = 0 has zero constant term.

## Relation to the q-gamma function

The fourth theta function – and thus the others too – is intimately connected to the Jackson q-gamma function via the relation[3]

$\left(\Gamma_{q^2}(x)\Gamma_{q^2}(1-x)\right)^{-1}=\frac{q^{2x(1-x)}}{(q^{-2};q^{-2})^3_\infty(q^2-1)}\vartheta_4\left(\frac{1}{2i}(1-2x)\log q,\frac{1}{q}\right).$

## Relations to Dedekind eta function

Let η(τ) be the Dedekind eta function, and the argument of the theta function as the nome $q=e^{\pi i \tau}$. Then,

$\theta_2(0,q) = \vartheta_{10}(0;\tau) = \frac{2\eta^2(2\tau)}{\eta(\tau)}$
$\theta_3(0,q) = \vartheta_{00}(0;\tau) = \frac{\eta^5(\tau)}{\eta^2(\tfrac{1}{2}\tau)\eta^2(2\tau)} = \frac{\eta^2\left(\tfrac{1}{2}(\tau+1)\right)}{\eta(\tau+1)}$
$\theta_4(0,q) = \vartheta_{01}(0;\tau) = \frac{\eta^2(\tfrac{1}{2}\tau)}{\eta(\tau)}$

## A solution to heat equation

The Jacobi theta function is the fundamental solution of the one-dimensional heat equation with spatially periodic boundary conditions. Taking z = x to be real and τ = it with t real and positive, we can write

$\vartheta (x,it)=1+2\sum_{n=1}^\infty \exp(-\pi n^2 t) \cos(2\pi nx)$

which solves the heat equation

$\frac{\partial}{\partial t} \vartheta(x,it)=\frac{1}{4\pi} \frac{\partial^2}{\partial x^2} \vartheta(x,it).$

This theta-function solution is 1-periodic in x, and as t → 0 it approaches the periodic delta function, or Dirac comb, in the sense of distributions

$\lim_{t\rightarrow 0} \vartheta(x,it)=\sum_{n=-\infty}^\infty \delta(x-n)$.

General solutions of the spatially periodic initial value problem for the heat equation may be obtained by convolving the initial data at t = 0 with the theta function.

## Relation to the Heisenberg group

The Jacobi theta function is invariant under the action of a discrete subgroup of the Heisenberg group. This invariance is presented in the article on the theta representation of the Heisenberg group.

## Generalizations

If F is a quadratic form in n variables, then the theta function associated with F is

$\theta_F (z)= \sum_{m\in Z^n} \exp(2\pi izF(m))$

with the sum extending over the lattice of integers Zn. This theta function is a modular form of weight n/2 (on an appropriately defined subgroup) of the modular group. In the Fourier expansion,

$\widehat{\theta}_F (z) = \sum_{k=0}^\infty R_F(k) \exp(2\pi ikz),$

the numbers RF(k) are called the representation numbers of the form.

### Riemann theta function

Let

$\mathbb{H}_n=\{F\in M(n,\mathbb{C}) \; \mathrm{s.t.}\, F=F^T \;\textrm{and}\; \mbox{Im} F >0 \}$

be set of symmetric square matrices whose imaginary part is positive definite. Hn is called the Siegel upper half-space and is the multi-dimensional analog of the upper half-plane. The n-dimensional analogue of the modular group is the symplectic group Sp(2n,Z); for n = 1, Sp(2,Z) = SL(2,Z). The n-dimensional analog of the congruence subgroups is played by $\textrm{Ker} \{\textrm{Sp}(2n,\mathbb{Z})\rightarrow \textrm{Sp}(2n,\mathbb{Z}/k\mathbb{Z}) \}$.

Then, given $\tau\in \mathbb{H}_n$, the Riemann theta function is defined as

$\theta (z,\tau)=\sum_{m\in Z^n} \exp\left(2\pi i \left(\frac{1}{2} m^T \tau m +m^T z \right)\right).$

Here, $z\in \mathbb{C}^n$ is an n-dimensional complex vector, and the superscript T denotes the transpose. The Jacobi theta function is then a special case, with n = 1 and $\tau \in \mathbb{H}$ where $\mathbb{H}$ is the upper half-plane.

The Riemann theta converges absolutely and uniformly on compact subsets of $\mathbb{C}^n\times \mathbb{H}_n.$

The functional equation is

$\theta (z+a+\tau b, \tau) = \exp 2\pi i \left(-b^Tz-\frac{1}{2}b^T\tau b\right) \theta (z,\tau)$

which holds for all vectors $a,b \in \mathbb{Z}^n$, and for all $z \in \mathbb{C}^n$ and $\tau \in \mathbb{H}_n$.

### Poincaré series

The Poincaré series generalizes the theta series to automorphic forms with respect to arbitrary Fuchsian groups.

## Notes

1. ^ Jinhee, Yi (2004), "Theta-function identities and the explicit formulas for theta-function and their applications", Journal of Mathematical Analysis and Applications 292: 381–400, doi:10.1016/j.jmaa.2003.12.009.
2. ^ Mező, István (2013), "Duplication formulae involving Jacobi theta functions and Gosper's q-trigonometric functions", Proceedings of the American Mathematical Society 141 (7): 2401–2410, doi:10.1090/s0002-9939-2013-11576-5
3. ^ Mező, István (2012). "A q-Raabe formula and an integral of the fourth Jacobi theta function". Journal of Number Theory 133 (2): 692–704. doi:10.1016/j.jnt.2012.08.025.