Set Theory

Union

The union of two sets contains every element that appears in either set.

Meaning

What Is Union?

The union of two sets contains every element that appears in either set.

The union of two sets contains every element that appears in either set.

Examples

Examples of Union

1{1,2} ∪ {2,3} = {1,2,3}.
Understand

Formula and Key Points

Formula / rule
A ∪ B
  • Know the definition and standard notation for Union.
  • Be able to recognise or compute union in a small example.
  • Connect the concept to nearby topics in the same subject before using it in larger CSE problems.
CSE Connection

Why This Matters in Computer Science

Used in databases, data structures, automata, logic, query operations, permissions and discrete mathematics.

FAQ

Union: Frequently Asked Questions

What is Union?

The union of two sets contains every element that appears in either set.

Why is Union useful in computer science?

Used in databases, data structures, automata, logic, query operations, permissions and discrete mathematics.