NoteDiscovery supports LaTeX mathematical notation powered by MathJax 3. Write beautiful equations in your notes using familiar LaTeX syntax.
Use $...$ for inline equations:
-
$E = mc^2$renders as:$E = mc^2$ -
$x^2 + y^2 = r^2$renders as:$x^2 + y^2 = r^2$
Use $$...$$ for display equations:
$$
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}
$$Superscripts use ^:
-
$x^2$→$x^2$ -
$e^{i\pi}$→$e^{i\pi}$
Subscripts use _:
-
$x_1$→$x_1$ -
$a_{ij}$→$a_{ij}$
Combined:
-
$x_1^2$→$x_1^2$ -
$\sum_{i=1}^{n} i^2$→$\sum_{i=1}^{n} i^2$
Simple fractions: $\frac{a}{b}$ →
Complex fractions:
-
$\sqrt{2}$→$\sqrt{2}$ -
$\sqrt[3]{8}$→$\sqrt[3]{8}$ (cube root) -
$\sqrt{x^2 + y^2}$→$\sqrt{x^2 + y^2}$
$\alpha, \beta, \gamma, \delta, \epsilon, \zeta, \eta, \theta, \lambda, \mu, \pi, \sigma, \tau, \phi, \chi, \psi, \omega$
$\Gamma, \Delta, \Theta, \Lambda, \Xi, \Pi, \Sigma, \Phi, \Psi, \Omega$
Definite integral:
$$
\int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$
Multiple integrals:
$$
\iiint_V f(x,y,z) \, dx \, dy \, dz
$$
First derivative: $\frac{df}{dx}$ →
Partial derivatives: $\frac{\partial f}{\partial x}$ →
Gradient:
$$
\nabla f = \frac{\partial f}{\partial x}\mathbf{i} + \frac{\partial f}{\partial y}\mathbf{j} + \frac{\partial f}{\partial z}\mathbf{k}
$$
$$
\lim_{x \to \infty} \frac{1}{x} = 0
$$
Inline:
Display:
$$
\sum_{k=1}^{\infty} \frac{1}{k^2} = \frac{\pi^2}{6}
$$
$$
\prod_{i=1}^{n} i = n!
$$
$$
\begin{bmatrix}
a & b \\\
c & d
\end{bmatrix}
$$
$$
A = \begin{bmatrix}
1 & 2 & 3 \\\
4 & 5 & 6 \\\
7 & 8 & 9
\end{bmatrix}
$$
$$
I = \begin{pmatrix}
1 & 0 & 0 \\\
0 & 1 & 0 \\\
0 & 0 & 1
\end{pmatrix}
$$
$$
\det(A) = \begin{vmatrix}
a & b \\\
c & d
\end{vmatrix} = ad - bc
$$
$$
\begin{cases}
x + y = 5 \\\
2x - y = 1
\end{cases}
$$
$$
\begin{aligned}
f(x) &= (x+1)^2 \\\
&= x^2 + 2x + 1
\end{aligned}
$$
$$
\phi = 1 + \frac{1}{1 + \frac{1}{1 + \frac{1}{1 + \cdots}}}
$$
| Symbol | LaTeX | Result |
|---|---|---|
| Plus-minus | $\pm$ |
|
| Multiply | $\times$ |
|
| Divide | $\div$ |
|
| Not equal | $\neq$ |
|
| Less/Greater | $\leq, \geq$ |
|
| Approx | $\approx$ |
|
| Infinity | $\infty$ |
| Symbol | LaTeX | Result |
|---|---|---|
| Element of | $\in$ |
|
| Not element | $\notin$ |
|
| Subset | $\subset$ |
|
| Union | $\cup$ |
|
| Intersection | $\cap$ |
|
| Empty set | $\emptyset$ |
| Symbol | LaTeX | Result |
|---|---|---|
| And | $\land$ |
|
| Or | $\lor$ |
|
| Not | $\neg$ |
|
| Implies | $\implies$ |
|
| If and only if | $\iff$ |
|
| For all | $\forall$ |
|
| Exists | $\exists$ |
$$
\begin{aligned}
\nabla \cdot \mathbf{E} &= \frac{\rho}{\epsilon_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\epsilon_0\frac{\partial \mathbf{E}}{\partial t}
\end{aligned}
$$
Always use Split View or Preview Mode to see your equations rendered in real-time.
If you need a literal dollar sign (not math), escape it: $\\$100$ renders as
For very long equations, consider breaking them across multiple lines using aligned or split environments.
IMPORTANT: Use 3 backslashes + space (\\\ ) for line breaks to enable multi-line formatting:
✅ Good (readable multi-line format):
$$
\begin{bmatrix}
a & b \\\
c & d
\end{bmatrix}
$$
❌ Bad (only 2 backslashes - won't work):
$$
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
$$The Secret: Use \\\ (three backslashes + trailing space) at the end of each row, then add a newline. This allows for readable multi-line equations!
If an equation doesn't render:
- Check for matching delimiters (
$...$or$$...$$) - Ensure backslashes are correct (
\fracnot/frac) - Look for unescaped special characters
- For matrices/line breaks, use
\\\(three backslashes + space) not\\ - Make sure there's a trailing space after
\\\before the newline
MathJax renders efficiently, but very equation-heavy notes (100+ equations) may take a moment to typeset.
For more LaTeX commands and symbols, see:
- MathJax Documentation
- LaTeX Math Symbols
- Detexify - Draw a symbol to find its LaTeX command
💡 Tip: Copy and paste examples from this note to quickly start using math in your own notes!