Underleaf Logo
Underleaf
BlogPricing
Log InTry Free

Union Symbol (∪) and Intersection (∩): Meaning and LaTeX

July 17, 2026

Union Symbol (∪) and Intersection (∩): Meaning and LaTeX

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.

CharacterUnicodeHTML entityLaTeXWindows alt code
unionU+222A∪\cup
intersectionU+2229∩\capAlt + 239

What the symbol means

WhereMeaning
Set theoryA ∪ B — elements in A, in B, or in both
ProbabilityP(A ∪ B) — the chance either event happens
Interval notationJoining disjoint ranges, as in (−∞, 0) ∪ (0, ∞)
DatabasesUNION combines the rows of two result sets
TopologyArbitrary unions of open sets stay open

Union and intersection

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.

Counting a union: inclusion-exclusion

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.

Interval notation and De Morgan

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.

How to type it

Windows

  • ∩: hold Alt and type 239 on the numeric keypad
  • ∪ has no legacy alt code. In Word, type 222A and press Alt + X
  • Elsewhere, press Windows + . and search “union”

Mac

  • Open Character Viewer with Control + Command + Space and search “union” or “intersection”

HTML

  • ∪ or ∪ for ∪
  • ∩ or ∩ for ∩

In LaTeX

\cup and \cap are binary operators. \bigcup and \bigcap are the large operator forms that take limits, for a union over an index set.

Frequently asked questions

What does ∪ mean?

Union — the set of everything that appears in either set, with duplicates counted once.

What is the difference between ∪ and ∩?

∪ is union: in either set. ∩ is intersection: in both. The cup holds everything; the cap covers only the overlap.

How do I write a union of intervals?

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

Hours of retyping, gone.

Turn handwritten proofs into submission-ready LaTeX in seconds, with every operator and quantifier already in place.

Convert your paper
Handwritten notes converted into a typeset LaTeX document
Underleaf Logo
Underleaf

Empowering students and researchers with AI-powered tools for academic writing.

Go to appContact us

Company

PricingBlogTutorialsAffiliate Program

Free Tools

Image to LaTeXExcel to LaTeXArXiv to LaTeXTikZ GeneratorThesis GeneratorChrome ExtensionAll Tools

© 2026 Underleaf. All rights reserved.