Skip to lesson content

Lesson 4 of 6

Sets · Lesson 4 of 6

Venn Diagrams and Operations on Sets

“Connect diagrams, verbal membership rules, and calculations for union, intersection, and difference.”

Learning Objectives

• Read Venn diagrams showing a universe, containment, overlap, and disjoint sets. • Find unions, intersections, and ordered differences from membership rules. • Use and explain the main union and intersection properties. • Evaluate combined operations one stage at a time. • Explain distributivity with membership reasoning and labelled regions.

Reading Venn diagrams

A set description tells us which objects belong. A Venn diagram makes relationships between those collections visible. The positions and shaded regions represent membership, so each region must agree with the set definition before we use the picture to reason.

A rectangle usually represents U, the universal set. A circle or another closed curve inside it represents a subset. An object written inside a curve belongs to that set. A member of U outside the curve still belongs to the universe but not to that subset. The physical size of a drawn circle does not by itself tell us the number of elements.

For U = {1, 2, …, 10} and A = {2, 4, 6, 8, 10}, write the even numbers inside A and the odd numbers outside A but inside U. If B = {4, 6}, its curve belongs entirely inside A, expressing B ⊂ A. Keep 4 and 6 in B; they are then automatically also inside A.

UAB4 6281013579
A subset inside another subset— The points 4 and 6 are inside B and therefore inside A. Odd numbers remain in U outside A.

When two circles overlap, the overlap represents members common to both sets. If two sets have no common members, draw separate curves. Diagrams can also reason about infinite collections without listing every member: the region then stands for a membership condition.

Union: in either set or both

Sometimes we want everyone who belongs to at least one of two collections. That is what union does. It gathers the members together but still records each distinct object only once, because the result is a set.

Definition
Union

A ∪ B is the set of elements belonging to A or to B or to both. The word “or” is inclusive: members in the overlap are included.

Union membership ruleLaTeX
Example — Combining overlapping lists

Problem
Let A = {2, 4, 6, 8} and B = {6, 8, 10, 12}. Find A ∪ B.

  1. 1.Start with every member of A: 2, 4, 6, and 8.
  2. 2.Inspect B. Its members 6 and 8 are already included; add 10 and 12.
  3. 3.A ∪ B = {2, 4, 6, 8, 10, 12}.
  4. 4.Each listed number belongs to at least one input set, and no input member is omitted.
Example — Union with a subset

Problem
Let V = {a, e, i, o, u} and B = {a, i, u}. Find V ∪ B.

  1. 1.Every member of B already belongs to V, so B ⊂ V.
  2. 2.Union adds no new member beyond those in V.
  3. 3.V ∪ B = V = {a, e, i, o, u}. This is a general consequence of containment, not a coincidence about vowels.
Example — Interpreting a team union

Problem
The hockey team contains Ram, Geeta, and Akbar. The football team contains Geeta, David, and Ashok. Describe their union.

  1. 1.Gather every name from either team and write Geeta once.
  2. 2.The union is {Ram, Geeta, Akbar, David, Ashok}.
  3. 3.It describes students on the hockey team, the football team, or both. Geeta qualifies even though she belongs to both teams.

Intersection: in both sets

A different question asks which members the sets share. Intersection retains only those passing both membership tests. Being in one set is insufficient; the object must belong to each of the two sets.

Definition
Intersection

A ∩ B is the set of all elements common to A and B. An object belongs to the intersection exactly when it belongs to both sets.

Intersection membership ruleLaTeX
Example — The common members

Problem
For A = {2, 4, 6, 8} and B = {6, 8, 10, 12}, find A ∩ B.

  1. 1.Check each member of A against B. The numbers 2 and 4 are absent from B; 6 and 8 are present.
  2. 2.Thus A ∩ B = {6, 8}.
  3. 3.In the team example, the same test gives the intersection {Geeta}: she is on both teams.
Example — Intersection with a contained set

Problem
Let A = {1, 2, …, 10} and B = {2, 3, 5, 7}. Find A ∩ B.

  1. 1.Each member of B belongs to A, so B ⊂ A.
  2. 2.All members of B pass both tests. Every other member of A fails the test for B.
  3. 3.Hence A ∩ B = {2, 3, 5, 7} = B. Intersection with the larger set retains the contained set.
Definition
Disjoint sets

A and B are disjoint if A ∩ B = ∅. They have no common element. Being unequal is not enough to make two sets disjoint.

The positive even integers and positive odd integers are disjoint, since no integer can be both even and odd. But {1, 2} and {2, 3} are unequal without being disjoint: their intersection is {2}. Always test for a shared member instead of comparing the names of the sets.

Difference: in the first set but not the second

Difference removes from the first set every member that also belongs to the second. The order matters because it determines which collection we start with. It is a membership filter rather than arithmetic subtraction of the listed numbers.

Definition
Difference

A − B is the set of elements belonging to A but not to B. In general A − B and B − A need not be equal.

Difference membership ruleLaTeX
Example — Computing both directions

Problem
Let A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}. Find A − B and B − A.

  1. 1.For A − B start with A and remove 2, 4, and 6, because those also belong to B.
  2. 2.A − B = {1, 3, 5}. The member 8 is irrelevant to this result because it was never in A.
  3. 3.For B − A start with B and remove 2, 4, and 6. Retain 8, since it does not belong to A.
  4. 4.B − A = {8}. The two results differ because the starting sets differ.
Example — A letter difference

Problem
Let V = {a, e, i, o, u} and B = {a, i, k, u}. Find V − B and B − V.

  1. 1.The shared letters are a, i, and u.
  2. 2.Remove those from V to get V − B = {e, o}.
  3. 3.Remove those from B to get B − V = {k}.
  4. 4.Each result belongs entirely to its own starting set and excludes all shared members.
UABUnion: A ∪ BUABIntersection: A ∩ BUABDifference: A − BUABThree disjoint parts
Union intersection and ordered difference— Union shades either circle, intersection shades only the overlap, and A − B shades only the part of A outside B.

The union separates into three mutually disjoint parts: A − B, A ∩ B, and B − A. A member cannot be in two of those parts at once, because “in B” and “not in B”, or “in A” and “not in A”, cannot both hold. Together the parts account for every member belonging to at least one of A or B.

Common mistake

“Or” includes the overlap, “and” selects the overlap, and “but not” excludes the overlap. A − B never gains an element outside A. Different sets may overlap; only an empty intersection makes them disjoint.

Properties of union and intersection

These operations satisfy dependable rules because their membership conditions do. Learn what each property means before using its name. That makes it easier to recognise a valid simplification and to avoid importing unrelated arithmetic rules.

PropertyUnionIntersectionMeaning
CommutativeA ∪ B = B ∪ AA ∩ B = B ∩ ASwapping the sets does not change either inclusive or/both test.
Associative(A ∪ B) ∪ C = A ∪ (B ∪ C)(A ∩ B) ∩ C = A ∩ (B ∩ C)Regrouping repeated instances of the same operation does not change membership.
IdempotentA ∪ A = AA ∩ A = ARepeating a membership test adds nothing.
Empty setA ∪ ∅ = AA ∩ ∅ = ∅No member can be supplied by or shared with ∅.
Universal setA ∪ U = UA ∩ U = AEvery member of A already belongs to U.

Commutative means the order of the inputs can be swapped. Associative means a repeated operation can be regrouped. Idempotent means combining a set with itself returns that set. The empty set is the identity for union, since union with it changes nothing. For intersection, the corresponding unchanged-result role is played by U.

Associativity applies when the same operation is repeated. It does not permit you to drop parentheses from an arbitrary mixture of ∪ and ∩. For a combined expression, compute the parenthesised part first, or use a proved property that justifies rewriting it.

Combining operations and understanding distributivity

A combined expression describes several membership tests. Work from the inside out and explain what each intermediate result represents. Distributivity is useful because it gives a second expression for the same membership requirement.

Intersection distributes over unionLaTeX

A member on the left must be in A and also in at least one of B or C. If it is in B, it belongs to A ∩ B; if it is in C, it belongs to A ∩ C. Thus it belongs to the union on the right. Conversely, belonging to either intersection on the right ensures membership in A and in at least one of B or C, so it belongs to the left. We have proved both containments, which proves equality.

To read the corresponding three-circle diagram, first shade B ∪ C, then retain only the shaded part inside A. That gives A ∩ (B ∪ C). Alternatively, shade A ∩ B and A ∩ C separately, then combine those regions. The region common to all three sets remains shaded in both routes. The two constructions identify exactly the same region, not two regions whose areas merely happen to be equal.

UABCB ∪ CUABCA ∩ (B ∪ C)UABCA ∩ BUABCA ∩ CUABC(A ∩ B) ∪ (A ∩ C)
Two routes to the distributive region— Restrict B ∪ C to A, or combine A ∩ B with A ∩ C. The second and fifth panels shade the same region, including the triple overlap.
Example — Calculating a combined expression

Problem
Let A = {3, 5, 7, 9, 11}, B = {7, 9, 11, 13}, and C = {11, 13, 15}. Find A ∩ (B ∪ C) by two routes.

  1. 1.First take B ∪ C = {7, 9, 11, 13, 15}.
  2. 2.Keep from this union only members also in A. The result is {7, 9, 11}.
  3. 3.For the second route, A ∩ B = {7, 9, 11} and A ∩ C = {11}.
  4. 4.Their union is {7, 9, 11}, the same result.
  5. 5.The numerical check illustrates distributivity. The preceding membership argument establishes it for all sets, not just these lists.
Example — Operations on infinite number sets

Problem
Let N be the natural numbers, E the even natural numbers, O the odd natural numbers, and P the prime numbers. Find N ∩ P, E ∩ O, E ∩ P, and R − Q.

  1. 1.All prime numbers are natural, so N ∩ P = P.
  2. 2.No natural number is both even and odd, so E ∩ O = ∅.
  3. 3.The only even prime is 2, so E ∩ P = {2}. The odd primes are P − {2}.
  4. 4.R − Q contains real numbers that are not rational, so it is the irrational-number set T.
  5. 5.You need not list every member of an infinite set when a precise description establishes the result.

At the fourth exercise boundary, finite lists and infinite number sets use the same three definitions. When the expression contains several operations, record an intermediate set before the next operation. This exposes omissions and helps you verify the final membership rule.

Check your understanding

Use the words “either”, “both”, and “first but not second” to interpret the symbol before calculating. For property questions, decide whether the proposed rule follows from that interpretation for all sets.

Quiz

Quick check

If A = {1, 2, 3} and B = {3, 4}, what is A ∪ B?

Union includes every member of either set, including the shared 3 once.

Quick check

For the same A and B, what is B − A?

Begin with B and remove the shared member 3. Only 4 remains.

Quick check

If A ⊂ B, what is A ∩ B?

Every member of A already belongs to B, so all and only the members of A survive the both test.

Quick check

Which pair is disjoint?

The third pair shares no member. Each other pair has a common element.

Quick check

Which property is valid for every set A ⊂ U?

The universal set contains every member of A, so intersection with U retains A. The first two fail for general A, and difference is not commutative in general.

Quick check

Which equals A ∩ (B ∪ C) for all sets?

Intersection distributes over union. A member must be in A and in B or C, so it is in at least one of the two intersections.

Quick check

Which describes R − Q?

Start with all real numbers and exclude the rational ones. The remaining set is T.

Key Takeaways

Key Takeaways

• A Venn rectangle represents U; curves represent subsets and regions represent membership conditions. • Union includes members of either set or both; intersection requires both. • A − B keeps members of A absent from B, so order matters. • Disjoint means an empty intersection, not merely unequal sets. • Explain operation properties by their membership tests. • For mixed operations, preserve parentheses or use a justified identity. • The parts A − B, A ∩ B, and B − A are mutually disjoint and together form A ∪ B.