Empty Set (Variant) in LaTeX (\varnothing)

∅\varnothing
LaTeX command
\varnothing
Package
Add to your preamble:\usepackage{amssymb}
Mode
Math mode only
Copy the Unicode character
∅U+2205

Where it is used

Variant empty-set symbol: a round circle with a diagonal slash, the set with no elements.

\varnothing and \emptyset mean the same thing, the empty set, but look different: \emptyset in Computer Modern is a narrow, tall zero with a slash, while \varnothing is a round circle with a slash that many mathematicians prefer. Use one consistently, for example A \cap B = \varnothing for disjoint sets. It is not the Greek letter \phi or \varphi, and not the Scandinavian letter \O, so avoid those as substitutes. Some authors redefine \emptyset to \varnothing in the preamble so every occurrence switches at once.

Also listed under: الهندسة

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

A∩B=∅  ⟹  ∣A∪B∣=∣A∣+∣B∣A \cap B = \varnothing \implies |A \cup B| = |A| + |B|
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
Empty Set (Variant): $\varnothing$

\[ A \cap B = \varnothing \implies |A \cup B| = |A| + |B| \]
\end{document}

Related symbols

All نظرية المجموعات →

Frequently asked questions

How do I write Empty Set (Variant) in LaTeX?
Type \varnothing in math mode, for example $A \cap B = \varnothing \implies |A \cup B| = |A| + |B|$. Load amssymb first with \usepackage{amssymb}.
Which package do I need for \varnothing?
\varnothing needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
Can I use \varnothing in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\varnothing$ in running text. If you only need the glyph in text, paste the Unicode character ∅ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث