A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Union and Intersection

Middle & High School Depth 59 in the knowledge graph ☐ I know this ☆ Set as goal
8,763topics build on this
281prerequisites beneath it
See this on the map →
Set Notation BasicsSubsets and Supersets+1 more→→Complement of a SetSet Operations and Venn Diagrams (Formal)+1 more
union intersection set-operations logic

Core Idea

The union of two sets A and B (written A ∪ B) is the set of all elements that belong to A or B (or both). The intersection of two sets A and B (written A ∩ B) is the set of all elements that belong to both A and B. Union corresponds to the logical OR (include if in either set), and intersection corresponds to the logical AND (include only if in both sets). Two sets with no elements in common have an empty intersection and are called disjoint.

How It's Best Learned

Start with concrete examples. A = {1, 2, 3, 4}, B = {3, 4, 5, 6}. Union: {1, 2, 3, 4, 5, 6} (everything from either set, no duplicates). Intersection: {3, 4} (only the elements in both). Use Venn diagrams to visualize: union is the entire shaded region, intersection is only the overlap. Connect to logical connectives: ∪ is like OR, ∩ is like AND. Practice with word-based sets: "students who play basketball" ∪ "students who play soccer" = "students who play at least one sport."

Common Misconceptions

Explainer

Union and intersection are the two most fundamental operations on sets. They combine sets to create new sets, just as addition and multiplication combine numbers to create new numbers. And just as understanding addition and multiplication is essential for arithmetic, understanding union and intersection is essential for all set-based reasoning.

The union A ∪ B collects everything from both sets. If A = {1, 2, 3} and B = {3, 4, 5}, then A ∪ B = {1, 2, 3, 4, 5}. Notice that 3 appears in both A and B, but it appears only once in the union — sets do not have duplicates. The union answers the question "what belongs to at least one of these sets?" It corresponds to the logical OR: an element is in A ∪ B if it is in A or in B or in both.

The intersection A ∩ B keeps only what is shared. With the same sets, A ∩ B = {3} — the only element in both. The intersection answers "what belongs to both of these sets?" It corresponds to the logical AND: an element is in A ∩ B if it is in A and in B.

When two sets share no elements at all, their intersection is the empty set: A ∩ B = ∅. Such sets are called disjoint. The sets {1, 2} and {3, 4} are disjoint — they have nothing in common. Disjointness is important because when sets are disjoint, counting becomes simpler: |A ∪ B| = |A| + |B| exactly, with no overlap to worry about.

When the sets do overlap, you need the inclusion-exclusion principle: |A ∪ B| = |A| + |B| - |A ∩ B|. Adding the sizes of A and B double-counts the elements in the intersection (they get counted once in |A| and again in |B|), so you subtract |A ∩ B| to compensate. If 18 students play basketball and 14 play soccer but 7 play both, the total playing at least one sport is 18 + 14 - 7 = 25, not 32. This principle extends to three or more sets, though the formula becomes more involved.

The connection between set operations and logical connectives is deep and worth internalizing. Union (∪) corresponds to OR (∨). Intersection (∩) corresponds to AND (∧). This parallel will strengthen as you learn about complements (which correspond to NOT) and study De Morgan's Laws for sets. The language of sets and the language of logic describe the same structures from different angles.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → Variables in Logic → Set Notation Basics → Subsets and Supersets → Union and Intersection

Longest path: 60 steps · 281 total prerequisite topics

Prerequisites (3)

Leads To (3)