\emptyset empty set (∅) in LaTeX

Command\emptyset
Modemath
Packagenone, part of LaTeX
Unicode∅ U+2205
KindSets and logic

\emptyset typesets the symbol “empty set” (∅). It is a symbol from set theory and logic.

Try it

A∩B=∅A \cap B = \emptyset

Open this formula in the editor The preview is drawn in your browser by KaTeX, which knows the common math commands. The editor compiles the formula with pdfTeX.

Example

\documentclass{article}
\begin{document}
\( A \cap B = \emptyset \)
\end{document}

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

How to use it

\emptyset works only in math mode. In running text, put it between $...$ or \(...\). Outside math mode LaTeX stops with Missing $ inserted. The command is part of LaTeX; you need no package.

\emptyset is a slashed zero. The slashed circle that many textbooks print is \varnothing.

About sets and logic

The number sets are written in blackboard bold with \mathbb{...} from the amssymb package, which only has capital letters. Quantifiers and the empty set are part of LaTeX. The set operations are listed under binary operators and the comparisons, such as subset and element of, under relation symbols.

More sets and logic

All sets and logic