How to create the empty set symbol in LaTeX?

How to create the empty set symbol in LaTeX?

This post may contain affiliate links that allow us to earn a commission at no expense to you. Learn more

This article aims to show you the simplest and easiest way to write the empty set symbol in LaTeX.

In mathematics for set theory the notation used is super important, that’s why today you will learn how to write the empty set symbol used in this area of math. 

Empty Set Symbol

This unique set is defined as a set that does not contain any element. Any set other than the empty set is called non-empty. Some textbooks refer to this set as the null set. 

For example

Empty set symbol in Latex

Empty Set Symbol in LaTeX

In LaTeX you have multiple options to insert this symbol in your document. One way is using the command \emptyset, it created a “0” (zero) with a slash in the middle, for example

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

Gives the output

Empty set symbol in Latex

Two sets do not have anything in common

Of course we are not limited to just this command to create this symbol, we have more commands that we can use.

Empty Set Symbols Variation

The first variation in this article will be the notation ∅, inspired by the danish and norwegian alphabets. It does require the amssymb package, but does not need any argument. The command is \varnothing, as you can see it is slightly different from the others and is called the “null sign”.

For example

\documentclass{article}
\usepackage{amssymb}
\begin{document}
$$\forall A : A \cap \varnothing = \varnothing$$
\end{document}

Gives the output

Empty set symbol in Latex

The intersection of A with the empty set is the empty set

The second variation does not required packages, it is similar to the ∅ but is not the same symbol, the command is \O (big O vowel) inside math mode, the output looks more like a letter than a symbol, for example

\documentclass{article}
\begin{document}
$$\forall A : A \times \O = \O$$
\end{document}

Gives the output

Empty set symbol in Latex

Cartesian product of A and the empty set is the empty set

The third variation is another way to define the empty sets, it is represented by two curly brackets “{ }”. The commands for both curly brackets are \{ and \} respectively. It is recommended to use them inside math mode and alongside with the commands \left and \right. For example

\documentclass{article}
\begin{document}
$$ B \cap C = \left \{ \right \}$$
\end{document}
Empty set symbol in Latex

There are multiple ways and commands to write the symbols for the empty set, only one requires a package, the other ones none. You decide which method works best for you.

I hope this article was helpful in guiding you in LaTeX, and as always keep writing in LaTeX.

All the images were created in LaTeX by the author.

Further Reading

LaTex Tutorial on Symbols

  1. How To Create A Cross Product Symbol In LaTeX
  2. How to create a hat symbol in LaTeX?
  3. How to create a prime symbol in LaTeX?
  4. How to create an absolute value symbol in LaTeX?
  5. How to create an approximate symbol in LaTeX?
  6. How to create an intersection symbol in LaTeX?
  7. How to write a degree symbol in LaTeX?
  8. How to write a dot product in LaTeX?
  9. How to Write a Greater Than Symbol in LaTeX?
  10. How to write a norm symbol in LaTeX?
  11. How to write A Plus-Minus Symbol in LaTeX
  12. How to write a proportional to symbol in LaTeX?
  13. How to write a real number symbol in LaTeX?
  14. How to write a tilde symbol in LaTeX?
  15. How to write a union symbol in LaTeX?
  16. How to write a vector in LaTeX?
  17. How to write an infinity symbol in LaTeX?
  18. How to write bold text in LaTeX?
  19. How To Write Dots Symbols In LaTeX?
  20. How to write the arrow symbols in LaTeX
  21. How to write the Degree celsius symbol in LaTeX?
  22. How to write the equal or not equal symbol in LaTeX?
  23. How to write the Euro symbol in LaTeX?
  24. How to write the floor symbol in LaTeX?
  25. How to write the gradient operator symbol in LaTeX
  26. How To Write The Greater Than Or Equal To Symbol In LaTeX?
  27. How to write the integer number symbol in LaTeX?
  28. How to write the less than symbol in LaTeX?
  29. How to write the Natural numbers symbol in LaTeX?
  30. How to write the parallel symbol in LaTeX?
  31. How to write the percent symbol in LaTeX?
  32. How to write the square root symbol in LaTeX?
  33. How To Write The Symbol For A Subset In LaTeX?
  34. How to write the symbol for therefore in LaTeX?
  35. How to write with the mathbb in LaTeX?

Photo of author
Author
SJ Tsai
Chief Editor. Writer wrangler. Research guru. Three years at scijournal. Hails from a family with five PhDs. When not shaping content, creates art. Peek at the collection on Etsy. For thoughts and updates, hit up Twitter.

Leave a Comment