الرموز الرياضية

العوامل الرياضية الشائعة والعلاقات والأسهم.

LaTeX math symbols: the essentials

LaTeX math symbols only work in math mode, so wrap them in $...$ for inline math or \[...\] for a displayed equation. The everyday ones are built in: \pm, \times, \div and \cdot for arithmetic, \neq, \leq, \geq and \approx for comparisons, \infty, \sqrt{x} and \frac{a}{b}. Superscripts and subscripts use ^ and _, with braces for more than one character: x^{2n}. Extra symbols such as \mathbb{R} and \therefore come from amssymb. The table lists the math symbols people use most, with the package each one needs; the full list follows below.

Quick reference: everyday math symbols

SymbolCommandUsePackageCopy
±\pm
\pmPlus or minusbuilt in
×\times
\timesMultiplication (times)built in
÷\div
\divDivisionbuilt in
⋅\cdot
\cdotCentered dot, multiplicationbuilt in
≠\neq
\neqNot equalbuilt in
≤\leq
\leqLess than or equal tobuilt in
≈\approx
\approxApproximately equalbuilt in
∞\infty
\inftyInfinitybuilt in
x\sqrt{x}
\sqrt{x}Square root (\sqrt[n]{x} for nth root)built in
ab\frac{a}{b}
\frac{a}{b}Fractionbuilt in
x2nx^{2n}
x^{2n}Superscript (exponent)built in
R\mathbb{R}
\mathbb{R}Real numbersamssymb

For more, browse the Greek letters, relation symbols, set theory symbols and calculus symbols, or read the overview of mathematical expressions in LaTeX.

Frequently asked questions about LaTeX math symbols

How do I write math symbols in LaTeX?
Put them in math mode: $...$ for inline formulas and \[...\] or an equation environment for displayed ones, then use the symbol's command, for example $a \times b \neq c$. Using a math command outside math mode causes a Missing $ inserted error.
Which packages do I need for LaTeX math symbols?
Most symbols are built in. Add \usepackage{amsmath} for environments like align and commands like \text and \operatorname, and \usepackage{amssymb} for extra symbols such as \mathbb{R}, \therefore, \nexists and \varnothing. mathtools extends amsmath with fixes and extra tools.
How do I find the LaTeX command for a symbol?
Search this page or the category pages and click a card to copy its command. If you only know what the symbol looks like, Detexify lets you draw it and suggests matching commands, and the Comprehensive LaTeX Symbol List covers thousands of symbols.
−-
×\times
÷\div
ab\frac{a}{b}

Fraction

\frac{a}{b}
x\sqrt{x}

Square Root

\sqrt{x}
xn\sqrt[n]{x}

N-th Root

\sqrt[n]{x}
∑i=1n\sum_{i=1}^{n}

Summation

\sum_{i=1}^{n}
∏i=1n\prod_{i=1}^{n}

Product

\prod_{i=1}^{n}
∫ab\int_{a}^{b}

Integral

\int_{a}^{b}
lim⁡x→∞\lim_{x \to \infty}

Limit

\lim_{x \to \infty}
∞\infty

Infinity

\infty
≈\approx
≠\neq
≤\leq
≥\geq
  ⟹  \implies

Implies

\implies
  ⟺  \iff
∀\forall

For All

\forall
∃\exists

Exists

\exists
∈\in
∉\notin
⊂\subset

Subset

\subset
∪\cup

Union

\cup
∩\cap
∅\emptyset

Empty Set

\emptyset
∂\partial
∇\nabla

Nabla

\nabla
±\pm
⋅\cdot