Menu Top
Complete Course of Mathematics
Topic 1: Numbers & Numerical Applications Topic 2: Algebra Topic 3: Quantitative Aptitude
Topic 4: Geometry Topic 5: Construction Topic 6: Coordinate Geometry
Topic 7: Mensuration Topic 8: Trigonometry Topic 9: Sets, Relations & Functions
Topic 10: Calculus Topic 11: Mathematical Reasoning Topic 12: Vectors & Three-Dimensional Geometry
Topic 13: Linear Programming Topic 14: Index Numbers & Time-Based Data Topic 15: Financial Mathematics
Topic 16: Statistics & Probability


Content On This Page
Algebra of Sets (Properties of Union and Intersection) De Morgan's Laws Some Basic Results about Cardinal Number of Sets (Inclusion-Exclusion Principle)
Practical Problems on Sets (Word Problems)


Algebra of Sets and Cardinality Results



Algebra of Sets (Properties of Union and Intersection)

Just as arithmetic operations on numbers follow certain rules and properties (like the commutative property of addition or the distributive property of multiplication over addition), set operations also adhere to a set of laws. These laws form the basis of the Algebra of Sets and are essential for simplifying expressions involving set operations and proving set identities.

Let $A$, $B$, and $C$ be any sets considered as subsets of a universal set $U$. The following are the fundamental algebraic laws governing the union ($\cup$) and intersection ($\cap$) operations:

Fundamental Laws of Set Algebra

  1. Commutative Laws:

    The order of the sets does not matter in the union or intersection operation.
    • For Union:

      $A \cup B = B \cup A$

    • For Intersection:

      $A \cap B = B \cap A$

  2. Associative Laws:

    When performing the same operation (either union or intersection) on three or more sets, the way the sets are grouped does not affect the final result.
    • For Union:

      $(A \cup B) \cup C = A \cup (B \cup C)$

    • For Intersection:

      $(A \cap B) \cap C = A \cap (B \cap C)$

    Because of the associative laws, we can write $A \cup B \cup C$ and $A \cap B \cap C$ without using parentheses, as the result is the same regardless of grouping.

  3. Identity Laws (or Identity Element Laws):

    There are identity elements for both union and intersection operations.
    • The empty set $\emptyset$ is the identity element for union: The union of any set $A$ with the empty set is $A$ itself.

      $A \cup \emptyset = A$

    • The universal set $U$ is the identity element for intersection: The intersection of any set $A$ with the universal set is $A$ itself.

      $A \cap U = A$

  4. Idempotent Laws:

    Performing a set operation with the same set does not change the set.
    • For Union:

      $A \cup A = A$

    • For Intersection:

      $A \cap A = A$

  5. Domination Laws (Laws of $\emptyset$ and $U$):

    These laws show how the empty set and the universal set behave with respect to union and intersection when they are not acting as identities.
    • The universal set $U$ dominates in union: The union of any set $A$ with the universal set $U$ is always $U$.

      $A \cup U = U$

    • The empty set $\emptyset$ dominates in intersection: The intersection of any set $A$ with the empty set $\emptyset$ is always $\emptyset$.

      $A \cap \emptyset = \emptyset$

  6. Distributive Laws:

    These laws describe how union and intersection operations interact when mixed. One operation distributes over the other.
    • Intersection distributes over Union:

      $A \cap (B \cup C) = (A \cap B) \cup (A \cap C)$

      ... (1)

    • Union distributes over Intersection:

      $A \cup (B \cap C) = (A \cup B) \cap (A \cup C)$

      ... (2)

    These laws are analogous to the distributive law in arithmetic ($a \times (b + c) = (a \times b) + (a \times c)$), but in set theory, both intersection over union and union over intersection hold.


Proof of Distributive Law: $A \cap (B \cup C) = (A \cap B) \cup (A \cap C)$

To prove that two sets are equal, we must show that every element of the first set is in the second set (first set is a subset of the second), and every element of the second set is in the first set (second set is a subset of the first).

Part 1: Show $A \cap (B \cup C) \subseteq (A \cap B) \cup (A \cap C)$

Let $x$ be an arbitrary element belonging to the set $A \cap (B \cup C)$.

$x \in A \cap (B \cup C)$

By the definition of intersection, this means $x$ is in $A$ AND $x$ is in the union of $B$ and $C$.

$x \in A \quad \text{and} \quad x \in (B \cup C)$

... (i)

By the definition of union, $x \in (B \cup C)$ means $x$ is in $B$ OR $x$ is in $C$.

$x \in B \quad \text{or} \quad x \in C$

... (ii)

Combining (i) and (ii), we have ($x \in A$) AND ($x \in B$ OR $x \in C$). We can distribute the "AND $x \in A$" over the "OR" condition:

($x \in A \quad \text{and} \quad x \in B$) $\quad \text{or} \quad$ ($x \in A \quad \text{and} \quad x \in C$)

... (iii)

By the definition of intersection, ($x \in A$ and $x \in B$) means $x \in (A \cap B)$.

$x \in (A \cap B)$

... (iv)

Similarly, ($x \in A$ and $x \in C$) means $x \in (A \cap C)$.

$x \in (A \cap C)$

... (v)

Substituting (iv) and (v) back into (iii), we get:

$x \in (A \cap B) \quad \text{or} \quad x \in (A \cap C)$

... (vi)

By the definition of union, (vi) means $x \in (A \cap B) \cup (A \cap C)$.

$x \in (A \cap B) \cup (A \cap C)$

... (vii)

Thus, starting with $x \in A \cap (B \cup C)$ and logically arriving at $x \in (A \cap B) \cup (A \cap C)$, we conclude that $A \cap (B \cup C)$ is a subset of $(A \cap B) \cup (A \cap C)$.

$A \cap (B \cup C) \subseteq (A \cap B) \cup (A \cap C)$

... (viii)

Part 2: Show $(A \cap B) \cup (A \cap C) \subseteq A \cap (B \cup C)$

Let $y$ be an arbitrary element belonging to the set $(A \cap B) \cup (A \cap C)$.

$y \in (A \cap B) \cup (A \cap C)$

By the definition of union, this means $y$ is in $(A \cap B)$ OR $y$ is in $(A \cap C)$.

$y \in (A \cap B) \quad \text{or} \quad y \in (A \cap C)$

... (ix)

By the definition of intersection, $y \in (A \cap B)$ means $y \in A$ and $y \in B$.

If $y \in (A \cap B)$, then $y \in A \quad \text{and} \quad y \in B$

... (x)

By the definition of intersection, $y \in (A \cap C)$ means $y \in A$ and $y \in C$.

If $y \in (A \cap C)$, then $y \in A \quad \text{and} \quad y \in C$

... (xi)

From (x) and (xi), in either case ($y \in (A \cap B)$ or $y \in (A \cap C)$), $y$ must be in $A$.

$y \in A$

... (xii)

Also, from (x), if $y \in (A \cap B)$, then $y \in B$. From (xi), if $y \in (A \cap C)$, then $y \in C$. So, based on (ix), $y$ is in $B$ OR $y$ is in $C$.

$y \in B \quad \text{or} \quad y \in C$

... (xiii)

By the definition of union, (xiii) means $y \in (B \cup C)$.

$y \in (B \cup C)$

... (xiv)

From (xii) and (xiv), we have $y \in A$ AND $y \in (B \cup C)$. By the definition of intersection, this means $y \in A \cap (B \cup C)$.

$y \in A \cap (B \cup C)$

... (xv)

Thus, starting with $y \in (A \cap B) \cup (A \cap C)$ and logically arriving at $y \in A \cap (B \cup C)$, we conclude that $(A \cap B) \cup (A \cap C)$ is a subset of $A \cap (B \cup C)$.

$(A \cap B) \cup (A \cap C) \subseteq A \cap (B \cup C)$

... (xvi)

From (viii) and (xvi), since each set is a subset of the other, they must be equal.

$\therefore A \cap (B \cup C) = (A \cap B) \cup (A \cap C)$

$\textsf{(Hence Proved)}$

The proof of the second distributive law $A \cup (B \cap C) = (A \cup B) \cap (A \cup C)$ follows a similar logical structure, using the definitions of union and intersection and the logical connectives 'or' and 'and'.


De Morgan's Laws

De Morgan's laws are two important set identities that relate the operations of union, intersection, and complementation. They show how the complement of a union or intersection can be expressed in terms of the complements of the individual sets.

Let $A$ and $B$ be subsets of a universal set $U$.

De Morgan's First Law

The complement of the union of two sets is equal to the intersection of their complements.

$(A \cup B)' = A' \cap B'$

... (3)

In words: "Not (A or B)" is the same as "(Not A) and (Not B)".

De Morgan's Second Law

The complement of the intersection of two sets is equal to the union of their complements.

$(A \cap B)' = A' \cup B'$

... (4)

In words: "Not (A and B)" is the same as "(Not A) or (Not B)".

These laws can be extended to more than two sets.


Proof of De Morgan's First Law: $(A \cup B)' = A' \cap B'$

We prove this equality by showing mutual containment: $(A \cup B)' \subseteq A' \cap B'$ and $A' \cap B' \subseteq (A \cup B)'$.

Part 1: Show $(A \cup B)' \subseteq A' \cap B'$

Let $x$ be an arbitrary element such that $x \in (A \cup B)'$.

$x \in (A \cup B)'$

By the definition of complement, $x$ belongs to the universal set $U$ and $x$ does not belong to the union $A \cup B$.

$x \in U \quad \text{and} \quad x \notin (A \cup B)$

... (a)

If an element $x$ is not in the union of $A$ and $B$, it means $x$ is neither in $A$ nor in $B$.

$x \notin A \quad \text{and} \quad x \notin B$

... (b)

From (a) and (b), we have $x \in U$ and $x \notin A$, which by the definition of complement means $x \in A'$.

$x \in A'$

... (c)

Also from (a) and (b), we have $x \in U$ and $x \notin B$, which by the definition of complement means $x \in B'$.

$x \in B'$

... (d)

From (c) and (d), since $x$ is in $A'$ and $x$ is in $B'$, by the definition of intersection, $x$ is in $A' \cap B'$.

$x \in A' \cap B'$

... (e)

Therefore, if $x \in (A \cup B)'$, then $x \in A' \cap B'$. This shows that $(A \cup B)'$ is a subset of $A' \cap B'$.

$(A \cup B)' \subseteq A' \cap B'$

... (f)

Part 2: Show $A' \cap B' \subseteq (A \cup B)'$

Let $y$ be an arbitrary element such that $y \in A' \cap B'$.

$y \in A' \cap B'$

... (g)

By the definition of intersection, $y$ is in $A'$ AND $y$ is in $B'$.

$y \in A' \quad \text{and} \quad y \in B'$

... (h)

By the definition of complement, $y \in A'$ means $y \in U$ and $y \notin A$.

$y \notin A$

... (i)

And $y \in B'$ means $y \in U$ and $y \notin B$.

$y \notin B$

... (j)

From (i) and (j), since $y$ is not in $A$ and $y$ is not in $B$, $y$ cannot be in their union $A \cup B$.

$y \notin (A \cup B)$

... (k)

Also from (h), $y$ must be in the universal set $U$ (since it's in both $A'$ and $B'$).

$y \in U$

... (l)

From (k) and (l), by the definition of complement, $y$ is in the complement of $A \cup B$.

$y \in (A \cup B)'$

... (m)

Therefore, if $y \in A' \cap B'$, then $y \in (A \cup B)'$. This shows that $A' \cap B'$ is a subset of $(A \cup B)'$.

$A' \cap B' \subseteq (A \cup B)'$

... (n)

Since we have shown both containment relationships [from (f) and (n)], the two sets must be equal.

$\therefore (A \cup B)' = A' \cap B'$

$\textsf{(Hence Proved)}$

The proof for De Morgan's Second Law $(A \cap B)' = A' \cup B'$ follows a similar structure, using the definitions of union, intersection, and complement, and the logical equivalences between "not (P and Q)" and "(not P) or (not Q)".


Example 3. Let $U = \{1, 2, 3, 4, 5, 6\}$, $A = \{2, 3\}$, $B = \{3, 4, 5\}$. Verify De Morgan's Laws for these sets.

Answer:

Given: $U = \{1, 2, 3, 4, 5, 6\}$, $A = \{2, 3\}$, $B = \{3, 4, 5\}$.

To Verify: $(A \cup B)' = A' \cap B'$ and $(A \cap B)' = A' \cup B'$.

Solution:

First, find the complements of A and B with respect to U.

$A' = U - A = \{1, 2, 3, 4, 5, 6\} - \{2, 3\} = \{1, 4, 5, 6\}$

$B' = U - B = \{1, 2, 3, 4, 5, 6\} - \{3, 4, 5\} = \{1, 2, 6\}$

Verification of De Morgan's First Law: $(A \cup B)' = A' \cap B'$

Calculate the Left Hand Side (LHS): $(A \cup B)'$

$A \cup B = \{2, 3\} \cup \{3, 4, 5\} = \{2, 3, 4, 5\}$

$(A \cup B)' = U - (A \cup B) = \{1, 2, 3, 4, 5, 6\} - \{2, 3, 4, 5\} = \{1, 6\}$

... (1)

Calculate the Right Hand Side (RHS): $A' \cap B'$

$A' \cap B' = \{1, 4, 5, 6\} \cap \{1, 2, 6\} = \{1, 6\}$

... (2)

From (1) and (2), LHS = RHS. Thus, $(A \cup B)' = A' \cap B'$ is verified for these sets.

Verification of De Morgan's Second Law: $(A \cap B)' = A' \cup B'$

Calculate the Left Hand Side (LHS): $(A \cap B)'$

$A \cap B = \{2, 3\} \cap \{3, 4, 5\} = \{3\}$

$(A \cap B)' = U - (A \cap B) = \{1, 2, 3, 4, 5, 6\} - \{3\} = \{1, 2, 4, 5, 6\}$

... (3)

Calculate the Right Hand Side (RHS): $A' \cup B'$

$A' \cup B' = \{1, 4, 5, 6\} \cup \{1, 2, 6\} = \{1, 2, 4, 5, 6\}$

... (4)

From (3) and (4), LHS = RHS. Thus, $(A \cap B)' = A' \cup B'$ is verified for these sets.


Summary for Competitive Exams

Algebra of Sets: Laws governing set operations ($\cup$, $\cap$, complement). Essential for simplifying expressions.

  • Commutative: $A \cup B = B \cup A$, $A \cap B = B \cap A$.
  • Associative: $(A \cup B) \cup C = A \cup (B \cup C)$, $(A \cap B) \cap C = A \cap (B \cap C)$.
  • Identity: $A \cup \emptyset = A$, $A \cap U = A$.
  • Idempotent: $A \cup A = A$, $A \cap A = A$.
  • Domination: $A \cup U = U$, $A \cap \emptyset = \emptyset$.
  • Distributive: $A \cap (B \cup C) = (A \cap B) \cup (A \cap C)$, $A \cup (B \cap C) = (A \cup B) \cap (A \cap C)$.
  • Complement Laws: $A \cup A' = U$, $A \cap A' = \emptyset$, $(A')' = A$, $\emptyset' = U$, $U' = \emptyset$.

De Morgan's Laws: Relate complement with union/intersection.

  • $(A \cup B)' = A' \cap B'$
  • $(A \cap B)' = A' \cup B'$

These laws are used extensively in proofs and problem-solving.



Some Basic Results about Cardinal Number of Sets (Inclusion-Exclusion Principle)

Beyond the algebraic manipulation of sets, we are often interested in the number of elements in sets resulting from set operations. The Principle of Inclusion-Exclusion and related formulas provide ways to calculate the cardinal numbers of combined sets based on the cardinal numbers of the original sets and their intersections.

Cardinality of Union

For any two finite sets $A$ and $B$, the number of elements in their union ($|A \cup B|$) is given by the sum of the number of elements in $A$ and $B$, minus the number of elements in their intersection ($|A \cap B|$).

$\mathbf{|A \cup B| = |A| + |B| - |A \cap B|}$

$\textsf{[Principle of Inclusion-Exclusion for 2 sets]}$

Derivation and Explanation:

Consider the elements in $A \cup B$. These are the elements that are in $A$ or in $B$ or in both.

When we simply add $|A|$ and $|B|$, the elements that are in both $A$ and $B$ (i.e., the elements in $A \cap B$) are counted twice: once as members of $A$ and once as members of $B$.

To correct for this double counting, we must subtract the number of elements in the intersection $|A \cap B|$ exactly once.

Venn Diagram showing |A|, |B|, and |A intersection B| regions
(Imagine a Venn diagram with two overlapping circles A and B. Shade A completely, then shade B completely. The overlap region is shaded twice. The formula $|A| + |B| - |A \cap B|$ corresponds to (Area of A) + (Area of B) - (Area of Overlap)).

If sets A and B are disjoint, they have no elements in common. Their intersection is the empty set, $A \cap B = \emptyset$, so the number of elements in their intersection is $|A \cap B| = 0$. In this special case, the formula simplifies to:

$|A \cup B| = |A| + |B|$

$\textsf{[For disjoint sets]}$

For any three finite sets $A$, $B$, and $C$, the Principle of Inclusion-Exclusion extends as follows:

$\mathbf{|A \cup B \cup C| = |A| + |B| + |C| - (|A \cap B| + |A \cap C| + |B \cap C|) + |A \cap B \cap C|}$

$\textsf{[Principle of Inclusion-Exclusion for 3 sets]}$

Explanation for Three Sets:

When we sum $|A| + |B| + |C|$:

Subtracting $|A \cap B| + |A \cap C| + |B \cap C|$ corrects for the double counting:

We still need to count the elements in all three sets. So, we add back $|A \cap B \cap C|$ once.

The final formula gives the correct count of elements in the union of three sets.


Cardinality of Difference and Complement

Related formulas can be derived for the cardinality of set differences and complements based on the Principle of Inclusion-Exclusion or direct definition.

Let $A$ and $B$ be finite sets, and $U$ be a finite universal set containing $A$ and $B$ as subsets.

  1. Cardinality of Difference:

    The set $A$ can be divided into two disjoint parts: elements in $A$ but not $B$ ($A-B$) and elements in both $A$ and $B$ ($A \cap B$). So, $A = (A - B) \cup (A \cap B)$ and $(A - B) \cap (A \cap B) = \emptyset$.

    Therefore, $|A| = |A - B| + |A \cap B|$. Rearranging gives:

    $\mathbf{|A - B| = |A| - |A \cap B|}$

    Similarly, $|B - A| = |B| - |A \cap B|$.

    Using $|A \cup B| = |A - B| + |B - A| + |A \cap B|$, we can also derive:

    $|A - B| = |A \cup B| - |B|$

    And $|B - A| = |A \cup B| - |A|$.

  2. Cardinality of Complement:

    The universal set $U$ can be divided into two disjoint parts: elements in $A$ and elements not in $A$ (which is $A'$). So, $U = A \cup A'$ and $A \cap A' = \emptyset$.

    Therefore, $|U| = |A \cup A'| = |A| + |A'|$. Rearranging gives:

    $\mathbf{|A'| = |U| - |A|}$

    This formula is fundamental for calculating the number of elements outside a given set within a finite universal set.

  3. Cardinality of Symmetric Difference:

    The symmetric difference $A \Delta B$ consists of elements in $A-B$ or $B-A$. Since $A-B$ and $B-A$ are disjoint, its cardinality is the sum of their cardinalities:

    $|A \Delta B| = |A - B| + |B - A|$

    Substituting $|A - B| = |A| - |A \cap B|$ and $|B - A| = |B| - |A \cap B|$:

    $|A \Delta B| = (|A| - |A \cap B|) + (|B| - |A \cap B|)$

    $|A \Delta B| = |A| + |B| - 2|A \cap B|$

    Alternatively, using the definition $A \Delta B = (A \cup B) - (A \cap B)$, and the difference formula $|S - T| = |S| - |S \cap T|$ (applied with $S = A \cup B$ and $T = A \cap B$), and noting that $(A \cup B) \cap (A \cap B) = A \cap B$:

    $|A \Delta B| = |A \cup B| - |A \cap B|$

    ... (Using $(A \cup B) \cap (A \cap B) = A \cap B$)


Example 1. If $|A| = 25$, $|B| = 30$ and $|A \cap B| = 10$, find $|A \cup B|$.

Answer:

Given: $|A| = 25$, $|B| = 30$, $|A \cap B| = 10$.

To Find: $|A \cup B|$.

Solution:

Using the Principle of Inclusion-Exclusion for two sets:

$|A \cup B| = |A| + |B| - |A \cap B|$

Substitute the given values into the formula:

$|A \cup B| = 25 + 30 - 10$

$|A \cup B| = 55 - 10$

$|A \cup B| = 45$


Example 2. In a group of 70 people, 45 speak Hindi and 30 speak English. If 10 speak neither Hindi nor English, how many speak both Hindi and English?

Answer:

Given:

  • Total number of people (Universal Set $U$): $|U| = 70$.
  • Number of people who speak Hindi: $|H| = 45$.
  • Number of people who speak English: $|E| = 30$.
  • Number of people who speak neither Hindi nor English: $|(H \cup E)'| = 10$.

To Find: Number of people who speak both Hindi and English, which is $|H \cap E|$.

Solution:

The people who speak neither Hindi nor English are those outside the union of H and E. So, the number of people who speak at least one of the two languages is the total number of people minus those who speak neither.

$|H \cup E| = |U| - |(H \cup E)'|$

$|H \cup E| = 70 - 10 = 60$

... (i)

Now we use the Principle of Inclusion-Exclusion for two sets (H and E):

$|H \cup E| = |H| + |E| - |H \cap E|$

... (ii)

Substitute the known values into equation (ii):

$60 = 45 + 30 - |H \cap E|$

$60 = 75 - |H \cap E|$

Rearrange the equation to solve for $|H \cap E|$:

$|H \cap E| = 75 - 60$

$|H \cap E| = 15$

Therefore, 15 people speak both Hindi and English.


Example 3. In a survey of 60 students, 25 like to play cricket, 30 like to play football, 24 like to play hockey, 10 like to play cricket and football, 9 like to play cricket and hockey, 12 like to play football and hockey, and 5 like to play all three sports. Find the number of students who like to play at least one of the three sports.

Answer:

Given:

  • Total number of students (implicitly the universal set for these sports): $|U| = 60$.
  • Let C = set of students who like cricket, F = set of students who like football, H = set of students who like hockey.
  • $|C| = 25$
  • $|F| = 30$
  • $|H| = 24$
  • $|C \cap F| = 10$
  • $|C \cap H| = 9$
  • $|F \cap H| = 12$
  • $|C \cap F \cap H| = 5$

To Find: The number of students who like to play at least one of the three sports. This is $|C \cup F \cup H|$.

Solution:

We use the Principle of Inclusion-Exclusion for three sets:

$|C \cup F \cup H| = |C| + |F| + |H| - (|C \cap F| + |C \cap H| + |F \cap H|) + |C \cap F \cap H|$

Substitute the given values into the formula:

$|C \cup F \cup H| = 25 + 30 + 24 - (10 + 9 + 12) + 5$

$|C \cup F \cup H| = 79 - (31) + 5$

$\begin{array}{c} & 25 \\ & 30 \\ + & 24 \\ \hline & 79 \\ \hline \end{array} \quad \begin{array}{c} & 10 \\ & 9 \\ + & 12 \\ \hline & 31 \\ \hline \end{array}$

$|C \cup F \cup H| = 79 - 31 + 5$

$|C \cup F \cup H| = 48 + 5$

$|C \cup F \cup H| = 53$

$\begin{array}{c} & 48 \\ + & 5 \\ \hline & 53 \\ \hline \end{array}$

The number of students who like to play at least one of the three sports is 53.

(Note: If the question also asked for the number of students who like none of the sports, it would be $|U| - |C \cup F \cup H| = 60 - 53 = 7$).


Practical Problems on Sets (Word Problems)

Set theory concepts, particularly the formulas for cardinality derived from the Principle of Inclusion-Exclusion, are very useful in solving word problems involving overlapping groups or categories. These problems typically require finding the number of elements in unions, intersections, or differences of sets based on given information.

The standard approach to solving these problems involves:

  1. Identifying the sets involved and assigning them symbols (e.g., A, B, C).
  2. Identifying the universal set, if necessary, based on the total number of items/people in the context.
  3. Translating the given information from the word problem into set notation using cardinality ($|A|$, $|A \cap B|$, $|A \cup B|$, $|A'|$, etc.).
  4. Using the appropriate cardinality formulas (especially Inclusion-Exclusion for 2 or 3 sets, or complement formula) to find the required unknown quantities.
  5. Drawing a Venn diagram can often help visualize the problem and verify the formulas being used.

Example 4. In a class of 50 students, 30 students play cricket, 25 students play football, and 10 students play both cricket and football. Find the number of students who play:

(i) at least one of the two games.

(ii) exactly one of the two games.

Answer:

Given:

  • Total number of students in the class (Universal Set $U$ within the context of this class): $|U| = 50$.
  • Let C be the set of students who play cricket, F be the set of students who play football.
  • $|C| = 30$.
  • $|F| = 25$.
  • Number of students who play both cricket and football: $|C \cap F| = 10$.

To Find:

(i) Number of students who play at least one of the two games ($|C \cup F|$).

(ii) Number of students who play exactly one of the two games.

Solution:

(i) Number of students who play at least one of the two games:

This corresponds to the union of the two sets, $|C \cup F|$. We use the Principle of Inclusion-Exclusion for two sets:

$|C \cup F| = |C| + |F| - |C \cap F|$

Substitute the given values:

$|C \cup F| = 30 + 25 - 10$

$|C \cup F| = 55 - 10$

$|C \cup F| = 45$

45 students play at least one of the two games.

(ii) Number of students who play exactly one of the two games:

Students who play exactly one game are those who play cricket only OR football only. In set notation, this is the union of the set of students who play Cricket but not Football ($C - F$) and the set of students who play Football but not Cricket ($F - C$).

The set of students who play exactly one game is $(C - F) \cup (F - C)$.

Since $(C - F)$ and $(F - C)$ are disjoint sets, the number of elements in their union is the sum of their cardinalities:

$|(C - F) \cup (F - C)| = |C - F| + |F - C|$

... (i)

We know that $|A - B| = |A| - |A \cap B|$. Using this:

$|C - F| = |C| - |C \cap F| = 30 - 10 = 20$

(Students who play only cricket)

$|F - C| = |F| - |C \cap F| = 25 - 10 = 15$

(Students who play only football)

Substitute these values into equation (i):

$|(C - F) \cup (F - C)| = 20 + 15 = 35$

$\begin{array}{c} & 20 \\ + & 15 \\ \hline & 35 \\ \hline \end{array}$

Alternatively, the set of students who play exactly one game is also the symmetric difference $C \Delta F = (C \cup F) - (C \cap F)$.

$|C \Delta F| = |C \cup F| - |C \cap F| = 45 - 10 = 35$

(Using result from part (i))

35 students play exactly one of the two games.


Summary for Competitive Exams

Key Cardinality Formulas (Principle of Inclusion-Exclusion):

  • For 2 Sets: $|A \cup B| = |A| + |B| - |A \cap B|$.
  • For Disjoint Sets: $|A \cup B| = |A| + |B|$.
  • For 3 Sets: $|A \cup B \cup C| = |A| + |B| + |C| - (|A \cap B| + |A \cap C| + |B \cap C|) + |A \cap B \cap C|$.

Cardinality of Difference & Complement:

  • $|A - B| = |A| - |A \cap B|$
  • $|A - B| = |A \cup B| - |B|$
  • $|A'| = |U| - |A|$
  • $|A \Delta B| = |A - B| + |B - A| = |A| + |B| - 2|A \cap B| = |A \cup B| - |A \cap B|$.

Practical Problems: Use these formulas to solve word problems by defining sets and translating given counts into cardinalities. Venn diagrams are helpful for visualization.

Phrase Translation:

  • "At least one": Union ($|A \cup B|$ or $|A \cup B \cup C|$).
  • "Both": Intersection ($|A \cap B|$).
  • "Only A" or "A but not B": Difference ($|A - B|$).
  • "Neither A nor B": Complement of union ($(A \cup B)'$). $|(A \cup B)'| = |U| - |A \cup B|$.
  • "Exactly one": $(A - B) \cup (B - A)$ for two sets; Sum of cardinalities of regions belonging to only one set for three.


Practical Problems on Sets (Word Problems)

The theoretical concepts of set operations and their associated cardinality formulas are widely applied to solve real-world problems, often presented in the form of word problems. These problems typically involve surveying a group of individuals or items and determining the number of elements that fall into various overlapping categories. The Principle of Inclusion-Exclusion is the primary tool used here.

Systematic Approach to Solving Word Problems on Sets

Solving word problems involving sets can be streamlined by following a systematic approach:

  1. Define Sets:

    Clearly identify the different categories or groups mentioned in the problem and assign a distinct capital letter (e.g., $A, B, C$) to represent each set. For instance, if a problem is about students studying different subjects, you might define S for Science students, M for Mathematics students, etc.
  2. Identify the Universal Set:

    Determine the total number of items or people in the entire group being surveyed or considered. This total represents the cardinality of the universal set, $|U|$. The sets defined in step 1 are typically subsets of this universal set.
  3. Translate Given Information into Set Notation:

    Carefully read the problem statement and convert the given numerical information into the language of sets and cardinalities.
    • "Total number of people/items" $\rightarrow |U|$
    • "Number who belong to category A" $\rightarrow |A|$
    • "Number who belong to category B" $\rightarrow |B|$
    • "Number who belong to both A and B" $\rightarrow |A \cap B|$
    • "Number who belong to A or B (or both)" or "at least one of A or B" $\rightarrow |A \cup B|$
    • "Number who belong to A but not B" or "only A" $\rightarrow |A - B|$
    • "Number who belong to neither A nor B" $\rightarrow |(A \cup B)'|$ or $|U| - |A \cup B|$
    • "Number who belong to exactly one of A or B" $\rightarrow |(A - B) \cup (B - A)|$ or $|A \Delta B|$
    Extend this to three sets as needed (e.g., $|A \cap B \cap C|$, $|(A \cup B \cup C)'|$, etc.).
  4. Draw a Venn Diagram (Optional but Recommended):

    For problems involving two or three sets, sketching a Venn diagram is highly beneficial. Draw a rectangle for the universal set $U$ and overlapping circles for the sets involved. Use the translated information to fill in the cardinality of each disjoint region in the diagram. It's often easiest to start from the innermost intersection ($|A \cap B|$ or $|A \cap B \cap C|$) and work outwards. This visual representation helps organize the data and can sometimes directly reveal the answer or make the application of formulas clearer.
  5. Choose and Apply Formula(s):

    Based on the given information and what needs to be found, select and apply the appropriate cardinality formulas, primarily the Principle of Inclusion-Exclusion for two or three sets. Formulas for set difference, complement, etc., may also be necessary.
  6. Calculate:

    Perform the necessary calculations using the formulas and the given numbers.
  7. State the Final Answer:

    Present the result clearly in the context of the original word problem, ensuring you answer the specific question asked.

Example 1. In a class of 35 students, 24 like to play cricket and 16 like to play football. Also, each student likes to play at least one of the two games. How many students like to play both cricket and football?

Answer:

Given:

  • Total students in the class = 35.
  • Students who like cricket = 24.
  • Students who like football = 16.
  • Each student likes at least one game.

To Find: Number of students who like both cricket and football.

Solution:

1. Define Sets:

  • Let C be the set of students who like cricket.
  • Let F be the set of students who like football.

2. Identify Universal Set context: The total number of students in the class is 35. The condition "each student likes to play at least one of the two games" means that every student in the class belongs to either set C or set F (or both). Therefore, the set of all students in the class is equivalent to the union of sets C and F.

$|C \cup F| = 35$

3. Translate Information:

  • $|C| = 24$
  • $|F| = 16$
  • $|C \cup F| = 35$
  • We need to find $|C \cap F|$.

4. Choose Formula: We have information about the cardinalities of two sets and their union, and we need to find the cardinality of their intersection. The Principle of Inclusion-Exclusion for two sets is the appropriate formula:

$|C \cup F| = |C| + |F| - |C \cap F|$

5. Calculate:

Substitute the known values into the formula:

$35 = 24 + 16 - |C \cap F|$

$35 = 40 - |C \cap F|$

Now, rearrange the equation to solve for $|C \cap F|$:

$|C \cap F| = 40 - 35$

$|C \cap F| = 5$

6. Answer: The number of students who like to play both cricket and football is 5.

Verification using Venn Diagram:

Venn Diagram for Example 1 showing C and F circles. Intersection is 5. Only C is 19 (24-5). Only F is 11 (16-5). Union 19+11+5 = 35.

If $|C \cap F| = 5$, then:

  • Students who like only Cricket = $|C - F| = |C| - |C \cap F| = 24 - 5 = 19$.
  • Students who like only Football = $|F - C| = |F| - |C \cap F| = 16 - 5 = 11$.
  • Total students = (Only C) + (Only F) + (Both) = $19 + 11 + 5 = 35$. This matches the given total, so our value for the intersection is correct.

Example 2. In a town of 10,000 people, 40% read newspaper A, 20% read newspaper B, and 10% read both A and B. Find the number of people who read:

(i) newspaper A only.

(ii) newspaper B only.

(iii) neither A nor B.

Answer:

Given:

  • Total population = 10,000. So, $|U| = 10000$.
  • 40% read A, 20% read B, 10% read both.

To Find: Number of people who read (i) A only, (ii) B only, (iii) neither A nor B.

Solution:

1. Define Sets:

  • Let A = set of people who read newspaper A.
  • Let B = set of people who read newspaper B.

3. Translate Information into Numbers:

  • $|U| = 10000$.
  • $|A| = 40\%$ of $10000 = \frac{40}{100} \times 10000 = 4000$.
  • $\frac{40}{\cancel{100}} \times 100\cancel{00}^{100} = 40 \times 100 = 4000$

  • $|B| = 20\%$ of $10000 = \frac{20}{100} \times 10000 = 2000$.
  • $\frac{20}{\cancel{100}} \times 100\cancel{00}^{100} = 20 \times 100 = 2000$

  • $|A \cap B| = 10\%$ of $10000 = \frac{10}{100} \times 10000 = 1000$.
  • $\frac{10}{\cancel{100}} \times 100\cancel{00}^{100} = 10 \times 100 = 1000$

4. Draw Venn Diagram (Optional but helpful for visualization):

Venn Diagram for Example 2 showing A and B circles. Intersection is 1000. Only A is 3000 (4000-1000). Only B is 1000 (2000-1000). Neither is 10000 - (3000+1000+1000) = 5000.

Fill in the intersection first: $|A \cap B| = 1000$.

Number who read only A: $|A - B| = |A| - |A \cap B| = 4000 - 1000 = 3000$.

Number who read only B: $|B - A| = |B| - |A \cap B| = 2000 - 1000 = 1000$.

Number who read at least one = $|A \cup B| = |A - B| + |B - A| + |A \cap B| = 3000 + 1000 + 1000 = 5000$.

Number who read neither = $|U| - |A \cup B| = 10000 - 5000 = 5000$.

5. Calculate Required Quantities:

(i) Number of people who read newspaper A only:

This is $|A - B|$. Using the formula:

$|A - B| = |A| - |A \cap B| = 4000 - 1000 = 3000$

3000 people read newspaper A only.

(ii) Number of people who read newspaper B only:

This is $|B - A|$. Using the formula:

$|B - A| = |B| - |A \cap B| = 2000 - 1000 = 1000$

1000 people read newspaper B only.

(iii) Number of people who read neither A nor B:

This is $|(A \cup B)'| = |U| - |A \cup B|$.

First, calculate $|A \cup B|$ using Inclusion-Exclusion:

$|A \cup B| = |A| + |B| - |A \cap B| = 4000 + 2000 - 1000 = 6000 - 1000 = 5000$

Now, calculate the number who read neither:

$|(A \cup B)'| = |U| - |A \cup B| = 10000 - 5000 = 5000$

5000 people read neither newspaper A nor newspaper B.

6. Answer: (i) 3000 people read newspaper A only. (ii) 1000 people read newspaper B only. (iii) 5000 people read neither A nor B.


Summary for Competitive Exams

Solving Word Problems:

  1. Define Sets: Assign symbols (A, B, C) to categories.
  2. Identify U: Find total population/group size $|U|$.
  3. Translate: Convert text info to cardinalities ($|A|$, $|A \cap B|$, $|A \cup B|$, $|A'|$, $|A-B|$, etc.).
  4. Venn Diagram (Recommended): Visualize and fill regions (start from center).
  5. Formulas: Use Inclusion-Exclusion ($|A \cup B|$, $|A \cup B \cup C|$), Difference ($|A-B|=|A|-|A \cap B|$), Complement ($|A'|=|U|-|A|$).
  6. Calculate: Solve for required values.
  7. Answer: State result in words, matching the question.

Common Phrases:

  • "At least one" $\rightarrow$ Union ($|A \cup B|$, etc.)
  • "Both" $\rightarrow$ Intersection ($|A \cap B|$)
  • "Only A" / "A but not B" $\rightarrow$ Difference ($|A - B|$)
  • "Neither A nor B" $\rightarrow$ Complement of Union ($|(A \cup B)'|$)
  • "Exactly one" $\rightarrow |A-B| + |B-A|$ (for 2 sets).