If you’ve ever searched for “how to type an integral in LaTeX” or forgotten the syntax for a matrix, you’re not alone.
Even people who write LaTeX every week still Google things like:
- integral symbol in latex
- matrix latex code
- Greek letters latex
- less than or equal latex
You don’t need to memorize hundreds of commands. This LaTeX math symbols cheat sheet keeps the ones you’ll actually use in one place—copy, paste, keep writing.
For deeper dives we already published: Greek letters, integrals / sums / limits, matrices, and inline vs display basics. This page is the hub.
Basic math operators
These show up every day.
| Symbol | LaTeX Code |
|---|---|
| + | + |
| − | - |
| × | \times |
| ÷ | \div |
| ± | \pm |
| ∓ | \mp |
| = | = |
| ≠ | \neq |
| ≈ | \approx |
| ≡ | \equiv |
a \times b = c
Comparison symbols
| Symbol | LaTeX Code |
|---|---|
| < | < |
| > | > |
| ≤ | \le |
| ≥ | \ge |
| ≪ | \ll |
| ≫ | \gg |
| ∝ | \propto |
x \ge 0
\leq / \geq work the same as \le / \ge. Pick one style and stick with it in a paper.
Greek letters
Most papers are full of them. Pattern: backslash + English name.
| Symbol | LaTeX Code |
|---|---|
| α | \alpha |
| β | \beta |
| γ | \gamma |
| δ | \delta |
| θ | \theta |
| λ | \lambda |
| μ | \mu |
| π | \pi |
| σ | \sigma |
| ω | \omega |
Uppercase you’ll see often:
\Gamma \quad \Delta \quad \Lambda \quad \Sigma \quad \Omega
Fuller list and tips: LaTeX Greek letters cheat sheet.
Fractions and roots
\frac{a}{b}
\sqrt{x}
\sqrt[3]{x}
Multi-character exponents and indices need braces—see the next section.
Superscripts and subscripts
x^2
x^{10}
a_1
x_{n+1}
Without braces, only the first character goes up or down. That bug shows up constantly in homework.
Integral symbol in LaTeX
One of the most searched questions: how to write an integral.
\int_a^b f(x)\,dx
\iint_D f(x,y)\,dA
\iiint_V f(x,y,z)\,dV
\oint_C f(z)\,dz
| Symbol | LaTeX Code |
|---|---|
| ∫ | \int |
| ∬ | \iint |
| ∭ | \iiint |
| ∮ | \oint |
The thin space before the differential is worth keeping:
\,dx
More on limits placement and common mistakes: integrals, sums, and limits.
Summation and product symbols
\sum_{i=1}^{n} a_i
\prod_{i=1}^{n} a_i
\lim_{x \to 0} f(x)
\infty
If you write \sum_i=1^n without braces, the =1 escapes the subscript and the layout looks broken immediately.
Matrix LaTeX code
Matrices confuse beginners because there are several environments. Columns use &, new rows use \\.
Parentheses (pmatrix)
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
Square brackets (bmatrix)
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
Vertical bars (vmatrix — determinants)
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
No brackets (matrix)
\begin{matrix}
a & b \\
c & d
\end{matrix}
Systems of equations and layout tips: matrices and equation systems.
Set theory symbols
| Symbol | LaTeX Code |
|---|---|
| ∈ | \in |
| ∉ | \notin |
| ⊂ | \subset |
| ⊆ | \subseteq |
| ∪ | \cup |
| ∩ | \cap |
| ∅ | \emptyset |
Logic symbols
| Symbol | LaTeX Code |
|---|---|
| ∀ | \forall |
| ∃ | \exists |
| ¬ | \neg |
| ∧ | \land |
| ∨ | \lor |
| ⇒ | \Rightarrow |
| ⇔ | \Leftrightarrow |
Arrows
| Symbol | LaTeX Code |
|---|---|
| → | \rightarrow |
| ← | \leftarrow |
| ↔ | \leftrightarrow |
| ⇒ | \Rightarrow |
| ⇐ | \Leftarrow |
| ⇔ | \Leftrightarrow |
In limits, \to is the short form people usually type for →.
Common formatting commands
\mathbf{x}
\mathit{x}
\mathcal{F}
\mathbb{R}
Frequently asked questions
How do I type an integral symbol in LaTeX?
Use \int. For a definite integral: \int_a^b. Add the integrand and \,dx when you’re ready.
How do I write a matrix in LaTeX?
Start with pmatrix for parentheses. Prefer square brackets? Swap to bmatrix. Determinants: vmatrix.
Do I need to memorize all LaTeX math symbols?
No. Most people regularly use fewer than a hundred. After a few weeks of homework, the common ones stick. For the rest, a reliable cheat sheet beats another Google tab.
Final thoughts
LaTeX looks intimidating at first, but most mathematical writing leans on a surprisingly small set of commands.
Whether you’re preparing homework, a paper, or classroom materials, keep this page bookmarked. When you’d rather click than dig for a command, open the NovaMath equation editor—build the formula visually, then copy clean LaTeX when you need the source.
