LaTeX Union () - Complete Guide

The union symbol (∪) represents the union of two or more sets.

Symbol Preview

Union

LaTeX Code

No package required

Recommended
\cup

Set union

What is the LaTeX Union?

The union of sets A and B is the set of all elements that are in A or B or both.

How to Use Union in LaTeX

Method 1: Using \cup

No package required

Set union

Example: Using \cup

latex
\documentclass{article}

\begin{document}

% Using the Union
Text with \cup

\end{document}

Common Use Cases

The Union symbol is commonly used in the following contexts:

Set Union

Combining elements from sets.

Code

$A \cup B$

Output

A ∪ B

Complete Examples

Union Example

Set union example

latex
\documentclass{article}
\begin{document}

If $A = \{1, 2, 3\}$ and $B = \{3, 4, 5\}$, then $A \cup B = \{1, 2, 3, 4, 5\}$

\end{document}

Frequently Asked Questions

Which method should I use?

We recommend using the method marked as "Recommended" above. However, the best method depends on your specific needs:

  • \cup: Set union

Where do I use this symbol?

This symbol can be used:

  • In mathematical equations (math mode)
  • In regular text (if using text mode)
  • In various document environments

Can I use this in display mode?

Yes, symbols that work in math mode (between $ $) also work in display mode (between $$ $$). This allows you to display the symbol on its own line with larger formatting.

🔗 Related Symbols You May Need

View all symbols →

🎯 Need to Convert PDF to LaTeX?

Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.

Fast & accurate

Preserves symbols

Free online

No registration

Try Converter Now →