Skip to Content

Rendering math: a test

Inline math works: Euler's identity eiπ+1=0e^{i\pi} + 1 = 0, the quadratic formula x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}, and sums like n=11n2=π26\sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6} should sit nicely in the text.

Display math, centered on its own line:

f(x)=f^(ξ)e2πixξdξf(x) = \int_{-\infty}^{\infty} \hat{f}(\xi)\, e^{2\pi i x \xi}\, d\xi

Maxwell's equations, aligned:

E=ρε0B=0×E=Bt×B=μ0J+μ0ε0Et\begin{aligned} \nabla \cdot \mathbf{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \mathbf{B} &= 0 \\ \nabla \times \mathbf{E} &= -\frac{\partial \mathbf{B}}{\partial t} \\ \nabla \times \mathbf{B} &= \mu_0 \mathbf{J} + \mu_0\varepsilon_0 \frac{\partial \mathbf{E}}{\partial t} \end{aligned}

A matrix determinant:

det(abcd)=adbc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc

And a piecewise definition:

f(n)={1if n=0nf(n1)otherwisef(n) = \begin{cases} 1 & \text{if } n = 0 \\ n f(n-1) & \text{otherwise} \end{cases}

More inline: (nk)=n!k!(nk)!\binom{n}{k} = \frac{n!}{k!(n-k)!}, limits limx0sinxx=1\lim_{x \to 0} \frac{\sin x}{x} = 1, and a Greek mix αβγδϵθλμπσω\alpha \beta \gamma \delta \epsilon \theta \lambda \mu \pi \sigma \omega.