\varnothing empty set (circle form) (∅) in LaTeX

Command\varnothing
Modemath
Packageamssymb
Unicode∅ U+2205
KindSets and logic

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

Try it

A∩B=∅A \cap B = \varnothing

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}
\usepackage{amssymb}
\begin{document}
\( A \cap B = \varnothing \)
\end{document}

Open in the editor

Compiled with pdfLaTeX from TeX Live 2023.

How to use it

\varnothing works only in math mode. In running text, put it between $...$ or \(...\). Outside math mode LaTeX stops with Missing $ inserted. The command comes from the amssymb package. Add \usepackage{amssymb} to the preamble. Without it LaTeX reports Undefined control sequence.

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