Learning tools

LaTeX Formula Studio

Type a formula on its own line or in a sentence. The preview updates as you type, and you can copy the result as LaTeX.

Write and preview

Formula examples

Common formulas need no delimiters. You can also use \( … \) for inline LaTeX and \[ … \] for a displayed formula.

Fractions

34+12=54\frac{3}{4}+\frac{1}{2}=\frac{5}{4}
3/4 + 1/2 = 5/4

Powers and roots

x2+1\sqrt{x^{2}+1}
sqrt(x^2 + 1)

Maths in a sentence

Solve x2=9x^{2}=9.
Solve x^2 = 9.

Matrices

A=[1234]A=\begin{bmatrix}1 & 2 \\ 3 & 4\end{bmatrix}
\[A=\begin{bmatrix}1 & 2 \\ 3 & 4\end{bmatrix}\]

Working on several lines

2x+3=7x=2\begin{aligned}2x+3 &= 7 \\ x &= 2\end{aligned}
\[\begin{aligned}2x+3 &= 7 \\ x &= 2\end{aligned}\]

Chemical equations

2 HX2+OX2→2 HX2O\ce{2H2 + O2 -> 2H2O}
\[\ce{2H2 + O2 -> 2H2O}\]