👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Numerical Ability
Study mode

Sets and Venn diagrams

Introduction to Sets and Venn Diagrams

Mathematics often deals with collections of objects or numbers grouped together based on certain properties. Such collections are called sets. Understanding sets and how they interact is fundamental to solving many problems in aptitude tests, especially those involving grouping, classification, and counting.

Sets help us organize information clearly and solve problems involving overlaps, exclusions, and combinations. To visualize these relationships, we use Venn diagrams, which are simple graphical tools that represent sets as circles and their relationships as overlapping areas.

In this chapter, we will start from the very basics of sets, learn how to perform operations on them, and use Venn diagrams to solve practical problems, including those involving currency (INR) and metric units, which are common in Indian competitive exams.

Definition and Types of Sets

A set is a well-defined collection of distinct objects, called elements or members. For example, the set of all vowels in the English alphabet is well-defined because it clearly includes {a, e, i, o, u} and nothing else.

We denote sets by capital letters such as \( A, B, C \), and elements by lowercase letters such as \( a, b, c \). If an element \( a \) belongs to set \( A \), we write \( a \in A \). If it does not belong, we write \( a otin A \).

Types of Sets

  • Finite Set: Contains a countable number of elements. Example: \( A = \{1, 2, 3, 4, 5\} \)
  • Infinite Set: Contains unlimited elements. Example: The set of all natural numbers \( \mathbb{N} = \{1, 2, 3, \ldots\} \)
  • Empty Set (Null Set): Contains no elements, denoted by \( \emptyset \) or \(\{\}\).
  • Universal Set: The set containing all possible elements under consideration, denoted by \( U \).
  • Subset: If every element of set \( A \) is also in set \( B \), then \( A \) is a subset of \( B \), written as \( A \subseteq B \).
Finite Set A = {1, 2, 3} 3 elements Infinite Set N = {1, 2, 3, ...} Countless elements Empty Set \( \emptyset \) No elements B A A \subseteq B

Set Operations

Sets can be combined or compared using operations. The three most common operations are union, intersection, and difference.

Union (\( \cup \))

The union of two sets \( A \) and \( B \) is the set of all elements that belong to \( A \), or \( B \), or both. It is denoted by \( A \cup B \).

Example: If \( A = \{1, 2, 3\} \) and \( B = \{3, 4, 5\} \), then

\( A \cup B = \{1, 2, 3, 4, 5\} \)

Intersection (\( \cap \))

The intersection of two sets \( A \) and \( B \) is the set of elements common to both \( A \) and \( B \). It is denoted by \( A \cap B \).

Example: For the same sets,

\( A \cap B = \{3\} \)

Difference (\( - \))

The difference of two sets \( A \) and \( B \), written as \( A - B \), is the set of elements in \( A \) but not in \( B \).

Example: Using the same sets,

\( A - B = \{1, 2\} \)

A B Union \( A \cup B \) A B Intersection \( A \cap B \) A B Difference \( A - B \)

Venn Diagrams

Venn diagrams are graphical representations of sets using circles. Each circle represents a set, and overlaps between circles represent intersections.

They help us visualize and solve problems involving sets, especially when dealing with multiple sets and their relationships.

Single Set

A single set is shown as one circle inside a rectangle representing the universal set.

Two Sets

Two overlapping circles represent two sets. The overlapping area shows elements common to both sets.

Three Sets

Three overlapping circles represent three sets, with multiple overlapping regions showing all possible intersections.

A Single Set A B Two Sets A B C Three Sets

Using Venn Diagrams to Solve Problems

When solving problems involving sets, especially overlapping ones, follow these steps:

graph TD    A[Read the problem carefully] --> B[Identify the sets involved]    B --> C[Draw the Venn diagram with appropriate circles]    C --> D[Assign variables to unknown regions]    D --> E[Use given data to form equations]    E --> F[Solve equations step-by-step]    F --> G[Find required values]

This approach helps organize information visually and reduces errors in counting overlapping elements.

Formula Bank

Union of Two Sets
\[ n(A \cup B) = n(A) + n(B) - n(A \cap B) \]
where: \( n(A) \) = number of elements in \( A \), \( n(B) \) = number in \( B \), \( n(A \cap B) \) = number common to both
Union of Three Sets
\[ n(A \cup B \cup C) = n(A) + n(B) + n(C) - n(A \cap B) - n(B \cap C) - n(C \cap A) + n(A \cap B \cap C) \]
where: \( n(A), n(B), n(C) \) are elements in sets; intersections as defined
Complement of a Set
\[ n(A^c) = n(U) - n(A) \]
where: \( n(U) \) is total elements in universal set
Difference of Sets
\[ n(A - B) = n(A) - n(A \cap B) \]
elements in \( A \) but not in \( B \)
Example 1: Union and Intersection of Two Sets Easy
In a college, 40 students play cricket and 30 students play football. If 10 students play both cricket and football, find how many students play either cricket or football.

Step 1: Identify the sets:

Let \( C \) = set of students playing cricket, \( F \) = set of students playing football.

Step 2: Given values:

  • \( n(C) = 40 \)
  • \( n(F) = 30 \)
  • \( n(C \cap F) = 10 \)

Step 3: Use the union formula:

\[ n(C \cup F) = n(C) + n(F) - n(C \cap F) = 40 + 30 - 10 = 60 \]

Answer: 60 students play either cricket or football or both.

Cricket (40) Football (30) Both (10)
Example 2: Three Set Overlapping Problem Medium
In a coaching center, 50 students study Mathematics, 40 study Physics, and 30 study Chemistry. 20 students study both Mathematics and Physics, 15 study both Physics and Chemistry, 10 study both Mathematics and Chemistry, and 5 study all three subjects. Find how many students study at least one subject.

Step 1: Define sets:

\( M \): Mathematics, \( P \): Physics, \( C \): Chemistry.

Step 2: Given data:

  • \( n(M) = 50 \)
  • \( n(P) = 40 \)
  • \( n(C) = 30 \)
  • \( n(M \cap P) = 20 \)
  • \( n(P \cap C) = 15 \)
  • \( n(M \cap C) = 10 \)
  • \( n(M \cap P \cap C) = 5 \)

Step 3: Use the union formula for three sets:

\[ n(M \cup P \cup C) = n(M) + n(P) + n(C) - n(M \cap P) - n(P \cap C) - n(M \cap C) + n(M \cap P \cap C) \]

Substitute values:

\[ = 50 + 40 + 30 - 20 - 15 - 10 + 5 = 120 - 45 + 5 = 80 \]

Answer: 80 students study at least one subject.

M (50) P (40) C (30) M ∩ P (20) P ∩ C (15) M ∩ C (10) M ∩ P ∩ C (5)
Example 3: Complement and Total Elements Medium
In a group of 100 students, 70 like tea, 60 like coffee, and 50 like both. How many students like neither tea nor coffee?

Step 1: Define sets:

\( T \): students who like tea, \( C \): students who like coffee.

Step 2: Given data:

  • \( n(U) = 100 \) (total students)
  • \( n(T) = 70 \)
  • \( n(C) = 60 \)
  • \( n(T \cap C) = 50 \)

Step 3: Find number who like tea or coffee:

\[ n(T \cup C) = n(T) + n(C) - n(T \cap C) = 70 + 60 - 50 = 80 \]

Step 4: Number who like neither is complement:

\[ n((T \cup C)^c) = n(U) - n(T \cup C) = 100 - 80 = 20 \]

Answer: 20 students like neither tea nor coffee.

Tea (70) Coffee (60) Both (50) Outside (20)
Example 4: Application in Real-life Scenario Hard
A coaching center offers three courses: Mathematics, Physics, and Chemistry. The fees are Rs.5000 for Mathematics, Rs.4000 for Physics, and Rs.3000 for Chemistry. 60 students enrolled in Mathematics, 50 in Physics, and 40 in Chemistry. 20 students enrolled in both Mathematics and Physics, 15 in both Physics and Chemistry, 10 in both Mathematics and Chemistry, and 5 in all three courses. Calculate the total fee collected by the center.

Step 1: Define sets:

\( M \): Mathematics, \( P \): Physics, \( C \): Chemistry.

Step 2: Given data:

  • \( n(M) = 60 \), fee = Rs.5000
  • \( n(P) = 50 \), fee = Rs.4000
  • \( n(C) = 40 \), fee = Rs.3000
  • \( n(M \cap P) = 20 \)
  • \( n(P \cap C) = 15 \)
  • \( n(M \cap C) = 10 \)
  • \( n(M \cap P \cap C) = 5 \)

Step 3: Calculate number of students in only one course:

Only Mathematics:

\[ n(M) - n(M \cap P) - n(M \cap C) + n(M \cap P \cap C) = 60 - 20 - 10 + 5 = 35 \]

Only Physics:

\[ 50 - 20 - 15 + 5 = 20 \]

Only Chemistry:

\[ 40 - 10 - 15 + 5 = 20 \]

Step 4: Calculate students in exactly two courses (excluding triple intersection):

Mathematics and Physics only:

\[ n(M \cap P) - n(M \cap P \cap C) = 20 - 5 = 15 \]

Physics and Chemistry only:

\[ 15 - 5 = 10 \]

Mathematics and Chemistry only:

\[ 10 - 5 = 5 \]

Step 5: Students in all three courses:

\( 5 \)

Step 6: Calculate total fee:

  • Only Mathematics: \( 35 \times 5000 = Rs.175,000 \)
  • Only Physics: \( 20 \times 4000 = Rs.80,000 \)
  • Only Chemistry: \( 20 \times 3000 = Rs.60,000 \)
  • Mathematics & Physics only: \( 15 \times (5000 + 4000) = 15 \times 9000 = Rs.135,000 \)
  • Physics & Chemistry only: \( 10 \times (4000 + 3000) = 10 \times 7000 = Rs.70,000 \)
  • Mathematics & Chemistry only: \( 5 \times (5000 + 3000) = 5 \times 8000 = Rs.40,000 \)
  • All three courses: \( 5 \times (5000 + 4000 + 3000) = 5 \times 12,000 = Rs.60,000 \)

Step 7: Add all fees:

\[ 175,000 + 80,000 + 60,000 + 135,000 + 70,000 + 40,000 + 60,000 = Rs.620,000 \]

Answer: The total fee collected is Rs.620,000.

M (60) P (50) C (40) M ∩ P (20) P ∩ C (15) M ∩ C (10) M ∩ P ∩ C (5)
Example 5: Competitive Exam Style Complex Problem Hard
In a survey of 120 people, 70 like tea, 65 like coffee, and 55 like juice. 40 like both tea and coffee, 30 like both coffee and juice, 25 like both tea and juice, and 20 like all three. How many people like none of these drinks?

Step 1: Define sets:

\( T \): tea, \( C \): coffee, \( J \): juice.

Step 2: Given data:

  • \( n(U) = 120 \)
  • \( n(T) = 70 \)
  • \( n(C) = 65 \)
  • \( n(J) = 55 \)
  • \( n(T \cap C) = 40 \)
  • \( n(C \cap J) = 30 \)
  • \( n(T \cap J) = 25 \)
  • \( n(T \cap C \cap J) = 20 \)

Step 3: Use union formula for three sets:

\[ n(T \cup C \cup J) = n(T) + n(C) + n(J) - n(T \cap C) - n(C \cap J) - n(T \cap J) + n(T \cap C \cap J) \]

Substitute values:

\[ = 70 + 65 + 55 - 40 - 30 - 25 + 20 = 190 - 95 + 20 = 115 \]

Step 4: Number of people who like none:

\[ n(U) - n(T \cup C \cup J) = 120 - 115 = 5 \]

Answer: 5 people like none of these drinks.

T (70) C (65) J (55) T ∩ C (40) C ∩ J (30) T ∩ J (25) T ∩ C ∩ J (20)

Tips & Tricks

Tip: Always start by drawing the Venn diagram before attempting calculations.

When to use: When solving any problem involving sets to visualize overlaps clearly.

Tip: Use the formula for union of three sets carefully, remembering to add back the triple intersection.

When to use: When dealing with three overlapping sets to avoid double counting.

Tip: Label each region in the Venn diagram with variables to organize information systematically.

When to use: For complex problems with multiple overlapping sets.

Tip: Check if the sum of all regions equals the total universal set to verify correctness.

When to use: After completing calculations to ensure no elements are missed or double counted.

Tip: Translate word problems into set notation and Venn diagrams before solving.

When to use: To simplify understanding and avoid confusion in problem statements.

Common Mistakes to Avoid

❌ Forgetting to subtract the intersection when calculating the union of two sets.
✓ Use the formula \( n(A \cup B) = n(A) + n(B) - n(A \cap B) \) to avoid double counting.
Why: Students often add the sets directly without accounting for overlapping elements.
❌ Ignoring the triple intersection term in the union formula for three sets.
✓ Add back \( n(A \cap B \cap C) \) after subtracting pairwise intersections.
Why: Overlapping elements in all three sets get subtracted multiple times otherwise.
❌ Mislabeling regions in the Venn diagram leading to incorrect calculations.
✓ Carefully assign variables to each distinct region and keep consistent notation.
Why: Confusion arises when regions are not clearly differentiated.
❌ Not considering the universal set size when calculating complements.
✓ Always use \( n(A^c) = n(U) - n(A) \) with correct universal set size.
Why: Students forget that complements depend on the total number of elements.
❌ Mixing up set difference with intersection.
✓ Remember that difference \( A - B \) excludes elements common to both, while intersection includes them.
Why: Terminology confusion leads to wrong set operation application.
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
Sets and Venn diagrams · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.