Big Union with Index in LaTeX (\bigcup_{i=1}^{n})
- LaTeX command
\bigcup_{i=1}^{n}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Big union over an indexed family of sets, from A_1 through A_n.
Finite and countable unions, \bigcup_{i=1}^{n} A_i or \bigcup_{n=1}^{\infty} A_n, appear in measure theory for countable additivity, in the union bound of probability, and in topology for open covers. \bigcup is the large operator; \cup is the binary version for two sets, A \cup B. Limits stack under and over in display math and move to the side inline. Index sets need not be numeric: \bigcup_{\alpha \in \Lambda} U_\alpha is common for arbitrary covers. For a union of pairwise disjoint sets, switch to \bigsqcup or state the disjointness in words.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Big Union with Index: $\bigcup_{i=1}^{n}$
\[ \mathbb{P}\left(\bigcup_{i=1}^{n} A_i\right) \leq \sum_i \mathbb{P}(A_i) \]
\end{document}Related symbols
- Big Intersection
\bigcap - Big Union
\bigcup - Big Intersection with Index
\bigcap_{i=1}^{n} - Coproduct
\coprod - Big Wedge
\bigwedge - Product
\prod_{i=1}^{n}
Frequently asked questions
- How do I write Big Union with Index in LaTeX?
- Type \bigcup_{i=1}^{n} in math mode, for example $\mathbb{P}\left(\bigcup_{i=1}^{n} A_i\right) \leq \sum_i \mathbb{P}(A_i)$. It works in plain LaTeX without loading any package.
- Which package do I need for \bigcup_{i=1}^{n}?
- None. \bigcup_{i=1}^{n} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \bigcup_{i=1}^{n} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\bigcup_{i=1}^{n}$ in running text.