Venn Diagram Math Example 2

Follow the full solution, then compare it with the other examples linked below.

Example 2

medium
Given A=20|A| = 20, B=15|B| = 15, AB=28|A \cup B| = 28, find AB|A \cap B| using the inclusion-exclusion principle.

Solution

  1. 1
    Apply inclusion-exclusion: AB=A+BAB|A \cup B| = |A| + |B| - |A \cap B|.
  2. 2
    Substitute: 28=20+15AB28 = 20 + 15 - |A \cap B|.
  3. 3
    Solve: AB=3528=7|A \cap B| = 35 - 28 = 7.

Answer

AB=7|A \cap B| = 7
The inclusion-exclusion formula prevents double-counting elements in the overlap. It is a fundamental counting tool when working with Venn diagrams.

About Venn Diagram

A diagram using overlapping circles to visually represent sets and their relationships such as union, intersection, and complement.

Learn more about Venn Diagram →

More Venn Diagram Examples