July 17, 2026

The union symbol is ∪ — everything in either set. Its partner is intersection, ∩, meaning everything in both. A useful way to keep them straight: ∪ looks like a cup that holds everything, ∩ like a cap that covers only the overlap. Copy either below, or jump to how to type them.
| Character | Unicode | HTML entity | LaTeX | Windows alt code |
|---|---|---|---|---|
| ∪ union | U+222A | ∪ | \cup | — |
| ∩ intersection | U+2229 | ∩ | \cap | Alt + 239 |
| Where | Meaning |
|---|---|
| Set theory | A ∪ B — elements in A, in B, or in both |
| Probability | P(A ∪ B) — the chance either event happens |
| Interval notation | Joining disjoint ranges, as in (−∞, 0) ∪ (0, ∞) |
| Databases | UNION combines the rows of two result sets |
| Topology | Arbitrary unions of open sets stay open |
Union collects everything from both sets, keeping each element once. Intersection keeps only what appears in both. Both are commutative and associative, so the order and grouping never matter.
Adding the sizes of two sets double-counts the overlap, so you subtract it once. The same correction appears in probability, which is why the two formulas look identical.
The subtraction disappears only when the sets are disjoint — when A ∩ B is empty. That special case is where the common shortcut “just add the probabilities” comes from, and why it fails when the events can co-occur.
A union is how you write a domain with a hole in it — the two pieces cannot be a single interval, so they are joined. De Morgan’s laws then say that negating a union swaps it for an intersection of the complements.
Alt and type 239 on the numeric keypad222A and press Alt + XWindows + . and search “union”Control + Command + Space and search “union” or “intersection”∪ or ∪ for ∪∩ or ∩ for ∩\cup and \cap are binary operators. \bigcup and \bigcap are the large operator forms that take limits, for a union over an index set.
Do not use a capital U for union. It is an italic variable, not an operator, so it gets the wrong shape and no operator spacing — an immediate tell in a submitted paper.
Union — the set of everything that appears in either set, with duplicates counted once.
∪ is union: in either set. ∩ is intersection: in both. The cup holds everything; the cap covers only the overlap.
Join them with ∪, as in (-∞, 0) ∪ (0, ∞). This is the standard way to write a domain that excludes a point.
See also the real numbers symbol, the not equal symbol and mathematical symbols in LaTeX.
Try it free
Turn handwritten proofs into submission-ready LaTeX in seconds, with every operator and quantifier already in place.
Convert your paper
Empowering students and researchers with AI-powered tools for academic writing.
Go to appContact us© 2026 Underleaf. All rights reserved.