In Sets for Beginners you learned set notation and drew two-set Venn diagrams. Now you will use them to solve problems – the kind that start “In a class of 30 students…”. Venn diagrams turn a confusing paragraph into a clear picture, and a simple method (start in the middle and work outwards) finds every missing number.
The method
- Understand: name the sets (for example C = cricket, F = football) and the universal set U (everyone in the question).
- Draw a rectangle for U with two overlapping circles. There are four regions: C only, both (C ∩ F), F only, and neither (outside both circles).
- Fill in the middle first – the number in both sets. If it is unknown, call it x.
- Work outwards: C only = n(C) − both; F only = n(F) − both; neither = n(U) − everyone inside the circles.
- Check: the four regions must add up to n(U).
A useful formula sums this up: n(A ∪ B) = n(A) + n(B) − n(A ∩ B). We subtract the overlap because those people were counted twice – once in A and once in B.
TRY ITVenn diagram problem solver
Type the total, the number in each set and the number in both. The solver fills in every region of the Venn diagram and shows the steps.
Example: in a class, some students play cricket (C) and some play football (F).
Worked examples
Example 1: Finding “neither”
Question: In a class of 30 students, 18 play cricket, 15 play football and 7 play both. How many play
(a) only cricket
(b) only football
(c) neither?
- Both = 7 (the middle).
- (a) Cricket only = 18 − 7 = 11.
- (b) Football only = 15 − 7 = 8.
- At least one sport: 11 + 7 + 8 = 26.
- (c) Neither = 30 − 26 = 4. Check: 11 + 7 + 8 + 4 = 30 ✓.
Answer:
(a) 11
(b) 8
(c) 4.
Example 2: Finding “both” with x
Question: Of 40 people at a party, 25 drank juice, 17 drank coconut water and 3 drank neither. How many drank both?
- Let x = number who drank both. Then juice only = 25 − x and coconut water only = 17 − x.
- All the regions add to 40: (25 − x) + x + (17 − x) + 3 = 40.
- This simplifies to 45 − x = 40, so x = 5.
- Check: 20 + 5 + 12 + 3 = 40 ✓.
Answer: 5 people drank both.
Example 3: Using the formula
Question: In a group of 32 students, everyone except 6 studies at least one of Spanish or French. 20 study Spanish and 14 study French. How many study both?
- n(S ∪ F) = 32 − 6 = 26.
- n(S ∪ F) = n(S) + n(F) − n(S ∩ F), so 26 = 20 + 14 − n(S ∩ F).
- n(S ∩ F) = 34 − 26 = 8.
Answer: 8 study both.
Example 4: Number sets
Question: U = {whole numbers 1 to 20}, A = {even numbers}, B = {multiples of 3}. Find n(A ∩ B), n(A ∪ B) and the number of elements in neither.
- A has 10 members and B = {3, 6, 9, 12, 15, 18} has 6.
- A ∩ B = {6, 12, 18}, so n(A ∩ B) = 3.
- n(A ∪ B) = 10 + 6 − 3 = 13.
- Neither: 20 − 13 = 7 (these are 1, 5, 7, 11, 13, 17, 19).
Answer: 3, 13 and 7.
Common mistakes
- Putting n(A) in the “A only” region. n(A) includes the overlap; A only = n(A) − both.
- Adding n(A) + n(B) for the union without subtracting the overlap.
- Forgetting the “neither” region outside the circles.
- Not checking that the regions add up to the total.
Practice questions
Try these yourself first, then open each answer to check your working.
1. In a group of 25, 12 like mangoes, 9 like pawpaws and 5 like both. How many like
(a) mangoes only
(b) pawpaws only
(c) at least one
(d) neither?
Show answer
(a) 7
(b) 4
(c) 16
(d) 9.
2. In a class of 35, 22 have a bicycle, 15 have a skateboard and 6 have neither. How many have both? How many have a bicycle only?
Show answer
x = 22 + 15 + 6 − 35 = 8 have both; 22 − 8 = 14 have a bicycle only.
3. Of 40 students, 4 take neither art nor music, 24 take art and 18 take music. How many take both?
Show answer
40 − 4 = 36 take at least one; 24 + 18 − 36 = 6 take both.
4. In a survey of 50 households, 28 have a dog, 20 have a cat and 8 have both. How many have neither?
Show answer
50 − (28 + 20 − 8) = 50 − 40 = 10.
5. U = {1, 2, …, 30}, P = {multiples of 5}, Q = {multiples of 4}. List P ∩ Q and find n(P ∪ Q) and the number of elements in neither.
Show answer
P ∩ Q = {20}; n(P ∪ Q) = 6 + 7 − 1 = 12; neither = 18.
6. A team of 23 players: 18 can bat, 10 can bowl and every player can do at least one. How many can do both?
Show answer
18 + 10 − 23 = 5.
Quick check
1. In which region do you write the number in both sets?
Show answer
The overlap (intersection) in the middle.
2. What is n(A ∪ B) if n(A) = 10, n(B) = 8 and n(A ∩ B) = 3?
Show answer
15.
3. What must the four regions add up to?
Show answer
The number in the universal set, n(U).
Next: Decimals: Place Value, Number Names, Comparing and Ordering
Curriculum link: This post is relevant to the Trinidad and Tobago National Lower Secondary (NCSE) Mathematics Curriculum – Form 1, Term 2, Strand 1.2 Sets, Relations and Functions, Topic 1.2.2 Sets – Learning Outcome 1.2.2.1 (solving problems involving sets, using a problem-solving approach such as Pólya’s).
Updates
2026/10/25
– Put each lettered part of the questions and answers on its own line.
© 2026 Vedesh Kungebeharry. All rights reserved.