7.2 Set Operations (Union, Intersection, Complement) & Venn Diagrams
Key Takeaways
The union contains elements in , in , or in both (inclusive OR); the intersection contains elements in both and simultaneously (AND).
The relative complement (difference) consists of elements in but not in (), while the absolute complement consists of all elements in universal set that do not belong to .
The Principle of Inclusion-Exclusion (PIE) for two sets is ; for three sets, .
Solving multi-set Venn diagram survey problems requires working systematically from the innermost triple intersection outward to pairwise overlaps, single-set regions, and the exterior complement.
De Morgan's Laws for sets establish that (the complement of a union is the intersection of complements) and (the complement of an intersection is the union of complements).
7.2 Set Operations (Union, Intersection, Complement) & Venn Diagrams
Set operations allow mathematicians to combine, filter, and compare collections of data. On the CLEP College Mathematics exam, questions involving unions, intersections, complements, and 2-set/3-set Venn diagrams are among the most frequently tested logic topics. Mastering systematic problem-solving workflows ensures quick, error-free execution on survey and word problems.
1. Fundamental Set Operations
Let be the universal set, and let and be arbitrary subsets of .
+-----------------------------------------------------------------------------+
| CORE SET OPERATIONS SUMMARY |
| |
| Operation Notation Set-Builder Definition Logical Link |
| --------- -------- ---------------------- ------------ |
| Union A \cup B {x | x in A or x in B} Disjunction |
| Intersection A \cap B {x | x in A and x in B} Conjunction |
| Difference A \setminus B {x | x in A and x notin B} Negation |
| Complement A' or A^c {x in U | x notin A} Absolute NOT |
+-----------------------------------------------------------------------------+
Union ()
The union of and is the set of all elements that belong to , to , or to both (inclusive OR):
- Key Property: .
Intersection ()
The intersection of and is the set of all elements that belong simultaneously to both and (AND):
- Key Property: . If , then and are disjoint.
Set Difference / Relative Complement ( or )
The relative complement of in consists of all elements that belong to but do NOT belong to :
- Note: in general (set difference is non-commutative).
Absolute Complement ( or or )
The absolute complement of consists of all elements in the universal set that are not in :
Essential Complement Algebraic Identities
- Double Complement:
- Universal Bounds: and
- Union with Complement:
- Intersection with Complement:
2. De Morgan's Laws & Distributive Laws for Sets
De Morgan's Laws for Sets
De Morgan's Laws describe how complementation interacts with unions and intersections by "flipping" the operation:
-
Complement of a Union:
Interpretation: The set of elements that are NOT in or equals the set of elements that are outside AND outside .
-
Complement of an Intersection:
Interpretation: The set of elements NOT in both and equals the set of elements outside OR outside .
Distributive Laws for Sets
- Intersection over Union:
- Union over Intersection:
3. The Principle of Inclusion-Exclusion (PIE)
When calculating the cardinality of a union, simply adding double-counts the elements in the overlapping intersection . PIE corrects for this overlap.
Two-Set Inclusion-Exclusion Formula
Rearranging to solve for the intersection:
+-----------------------------------------------------------------------------+
| TWO-SET VENN DIAGRAM REGIONS |
| |
| +-------------------------- Universal Set U --------------------------+ |
| | | |
| | Set A Set B | |
| | +-----------+ +-----------+ | |
| | / Region I \ / Region III \ | |
| | / (A only) \ Region II / (B only) \ | |
| | | A \setminus B | (A \cap B) | B \setminus A | | |
| | \ / \ / | |
| | +-------------+-------------------+-------------+ | |
| | | |
| | Region IV: (A \cup B)' (Neither A nor B) | |
| +---------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
- Region I ( only):
- Region II (): Common to both and
- Region III ( only):
- Region IV (Neither):
Three-Set Inclusion-Exclusion Formula
+-----------------------------------------------------------------------------+
| THREE-SET VENN DIAGRAM (8 REGIONS) |
| |
| +-------------------------- Universal Set U --------------------------+ |
| | | |
| | /-------------\ /-------------\ | |
| | / Set A \ / Set B \ | |
| | / (I) \ / (III) \ | |
| | | X | | |
| | | A only / \ B only | | |
| | | / (II)\ | | |
| | \ / A^B \ / | |
| | \ (IV) |---------| (VI) / | |
| | \ A^C | (VII) | B^C / | |
| | \ / | A^B^C | \ / | |
| | \--------+--+-------+--+------/ | |
| | | (V) | | |
| | | C only | | |
| | \ / | |
| | \ Set C / | |
| | \-------/ | |
| | | |
| | Region VIII: Outside (A \cup B \cup C)' | |
| +---------------------------------------------------------------------+ |
+-----------------------------------------------------------------------------+
4. Step-by-Step Methodology for Venn Diagram Survey Problems
To solve 3-set survey word problems without error, follow the Innermost-to-Outermost Algorithm:
+-----------------------------------------------------------------------------+
| INNERMOST-TO-OUTERMOST SURVEY ALGORITHM |
| |
| Step 1: Fill the Central Triple Intersection: |
| Region VII = |A \cap B \cap C| |
| |
| Step 2: Fill the Three Two-Set Intersections: |
| Region II = |A \cap B| - Region VII |
| Region IV = |A \cap C| - Region VII |
| Region VI = |B \cap C| - Region VII |
| |
| Step 3: Fill the Three Single-Set Exclusive Regions: |
| Region I (A only) = |A| - (Region II + Region IV + Region VII) |
| Region III (B only) = |B| - (Region II + Region VI + Region VII) |
| Region V (C only) = |C| - (Region IV + Region VI + Region VII) |
| |
| Step 4: Fill the Exterior Complement: |
| Region VIII (None) = |U| - Sum(Regions I through VII) |
+-----------------------------------------------------------------------------+
5. Worked Examples
Worked Example 1: Set Operations on Discrete Sets
Problem: Let , , and . Determine:
Solution:
- Elements common to both and : .
- Combine all elements in or : .
- Elements in that are not in : .
- Elements in not in : .
Worked Example 2: Comprehensive 3-Set Survey Problem
Problem: A survey of college students regarding their course enrollment reveals:
- take Mathematics ()
- take Computer Science ()
- take Physics ()
- take Mathematics and Computer Science ()
- take Mathematics and Physics ()
- take Computer Science and Physics ()
- take all three courses ()
Determine:
- How many students take Computer Science ONLY?
- How many students take exactly two of the three subjects?
- How many students take none of these three courses?
Solution: Apply the Innermost-to-Outermost Algorithm:
- Region VII (All 3):
- Two-set exclusive overlaps:
- only
- only
- only
- Single-subject exclusive regions:
- only
- only
- only
- Sum of all students taking at least one course (Union):
- Exterior Region (None of the three):
Answers:
- Computer Science only students.
- Exactly two subjects students.
- None of the three courses students.
6. Common CLEP Traps & Strategic Checkpoints
- Trap 1: Forgetting to Subtract the Overlap in Survey Problems: If take CS and take Math & CS, the number taking CS only is NOT . You must account for the triple intersection before isolating regions.
- Trap 2: "Or" Means Inclusive Disjunction: In mathematics and on the CLEP, " or " always includes elements in both and unless the word "exclusive" is specifically stated.
- Trap 3: Set Difference Order: . Always take elements from the first set and remove those belonging to the second set.
- Trap 4: Misinterpreting De Morgan's Laws: , NOT . The union symbol flips to an intersection under negation.
Let universal set , set , and set . What is the resulting set ?
In a college freshman survey of 120 students, 75 students are enrolled in Math, 55 students are enrolled in Psychology, and 25 students are enrolled in both Math and Psychology. How many surveyed students are enrolled in NEITHER Math nor Psychology?
15 students
20 students
40 students
65 students
In a survey of 100 technology professionals: 48 use Python, 42 use SQL, 35 use JavaScript, 18 use Python and SQL, 15 use Python and JavaScript, 14 use SQL and JavaScript, and 8 use all three languages. How many professionals use SQL ONLY (and neither Python nor JavaScript)?
24 professionals
18 professionals
10 professionals
42 professionals
Sections you finish are checked off in the contents.