# Mathematics in the wiki

It is possible to write mathematical formulas using LaTeX (including much of amsmath) in the wiki. Inline mathematics is marked using $…$ and display mathematics using $…$.

For example, $(a^2-b^2)=(a-b)(a+b)$ produces the result $(a^2-b^2)=(a-b)(a+b)$ whereas
$\sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6}.$ produces the result $\sum_{n=1}^\infty \frac{1}{n^2}=\frac{\pi^2}{6}.$ Note that right clicking on the formula (in most browsers) gives you a popup menu which you can use to see the LaTeX source for the formula, or to change various aspects of the formula rendering. Perhaps especially useful are the zoom options and the “Scale all math” setting. Settings are stored in cookies and are therefore permanent while you are in the same browser.

The AMS symbols are supported, so you can write $\mathbb{C}^n$ and get $\mathbb{C}^n$, and

\begin{align*} \Gamma(z)&=\int_0^\infty t^{z-1}e^{-t}\,dt\\ \frac{1}{\Gamma(z)}&=ze^{\gamma z}\prod_{n=1}^\infty\Bigl(1+\frac zn\Bigr)e^{-z/n} \end{align*}

with the result \begin{align*} \Gamma(z)&=\int_0^\infty t^{z-1}e^{-t}\,dt\\ \frac{1}{\Gamma(z)}&=ze^{\gamma z}\prod_{n=1}^\infty\Bigl(1+\frac zn\Bigr)e^{-z/n} \end{align*}

The underlying technology is called MathJax. See their site for further documentation if needed.