Union symbol (∪) in LaTeX
In this tutorial, I will show you how to get the different styles of Union symbols in LaTeX and use limits with this symbol.
If you want a small size of the Union symbol then you can use the \cup
command and to get a big union symbol you can use the \bigcup
command.
Command | Output |
---|---|
\cup | ![]() |
\bigcup | ![]() |
\documentclass{article} \begin{document} $$ A \cup B $$ $$ A \bigcup B $$ \end{document}
Output:
Union symbol with limits
If you want to use limits with the Union symbol in LaTeX you can use this,
\cup_{<lower>}^{<upper>} or use \bigcup_{<lower>}^{<upper>}
\documentclass{article} \begin{document} \underline{Union symbol with limits:} $$ \cup_{i=1}^{n}F_{i} $$ $$ \bigcup_{i=1}^{n}F_{i} $$ \end{document}
Output:
But you can also control the upper limit and lower limit position in display and inline math mode with \limits
and \nolimits
commands.
\documentclass{article} \begin{document} \verb|\bigcup| with limits in display math $$\bigcup_{i=1}^{n}F_{i}$$ \verb|\bigcup| with limits in inline math mode: $\bigcup_{i=1}^{n}F_{i}$\\[4pt] \verb|\bigcup| with \verb|\limits| in display math mode: $$\bigcup\limits_{i=1}^{n}F_{i}$$ \verb|\bigcup| with \verb|\limits| in inline math mode: $\bigcup\limits_{i=1}^{n}F_{i}$\\[4pt] \verb|\bigcup| with \verb|\nolimits| in display math mode: $$\bigcup\nolimits_{i=1}^{n}F_{i}$$ \verb|\bigcup| with \verb|\nolimits| in inline math mode: $\bigcup\nolimits_{i=1}^{n}F_{i}$ \end{document}
Output:
Other types of union symbols in LaTeX
There are also other types of union symbols. Like disjoint union symbols.
Command | Output |
---|---|
\dot\cup | ![]() |
\uplus | ![]() |
\sqcup | ![]() |
Leave a Reply