Math Equation Test

Testing math equation rendering with KaTeX

August 25, 2023
math katex test

Math Equation Testing

This page tests various math equation formats to ensure they render correctly.

Inline Equations

Basic inline equation: E=mc2E = mc^2

Inline equation with fractions: 12\frac{1}{2}

Complex inline equation: abx2dx\int_{a}^{b} x^2 dx

Block Equations

Simple block equation:

E=mc2E = mc^2

Equation with fractions:

ddx(axf(u)du)=f(x)\frac{d}{dx}\left( \int_{a}^{x} f(u)\,du\right)=f(x)

Matrix equation:

(abcd)(xy)=(ax+bycx+dy)\begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} ax + by \\ cx + dy \end{pmatrix}

Mixed Content

Text with α+β=γ\alpha + \beta = \gamma inline equation followed by more text.

i=1ni=n(n+1)2\sum_{i=1}^{n} i = \frac{n(n+1)}{2}

More text after a block equation.