Math & KaTeX — Example

Math Examples

Inline math example: Euler’s identity eiπ+1=0e^{i\pi} + 1 = 0 should render inline.

Block math example:

0ex2dx=π2\int_{0}^{\infty} e^{-x^{2}} \, dx = \frac{\sqrt{\pi}}{2}

Display another equation:

n=11n2=π26\sum_{n=1}^{\infty} \frac{1}{n^{2}} = \frac{\pi^{2}}{6}

End of math tests.