EZ Tuitions Logo
EZ Tuitions

Count the union of two sets

For two finite sets, n(A ∪ B) = n(A) + n(B) − n(A ∩ B). The overlap is taken off once because it is counted twice when the two sets are added.

This is original written practice with invented counts. Each answer is checked by splitting the Venn diagram into three regions and adding them.

Use the formula to find the missing count, then add the three Venn regions to check

  1. Write what is given: n(A), n(B), and either the overlap or the union.
  2. Use n(A ∪ B) = n(A) + n(B) − n(A ∩ B) to find the missing count.
  3. Check: find the part only in A, the part only in B and the overlap.
  4. Their total must equal the union.

n(A) = 20, n(B) = 15, n(A ∩ B) = 7

n(A ∪ B) = 20 + 15 − 7 = 28.

Check: Only A is 20 − 7 = 13, only B is 15 − 7 = 8 and both is 7. Then 13 + 8 + 7 = 28.

n(A) = 30, n(B) = 35, n(A ∪ B) = 50

n(A ∩ B) = 30 + 35 − 50 = 15.

Check: Only A is 15, only B is 20 and both is 15. Then 15 + 20 + 15 = 50.

A class of 60: 35 like tea, 28 like coffee, 8 like neither

The union is 60 − 8 = 52, so the number who like both is 35 + 28 − 52 = 11.

Check: Tea only is 24, coffee only is 17 and both is 11. Then 24 + 17 + 11 = 52. With the 8 who like neither, 52 + 8 = 60.

Counterexample: not taking off the overlap

A student says n(A ∪ B) = 20 + 15 = 35 when n(A ∩ B) = 7.

The check fails. The three regions add to 13 + 8 + 7 = 28. Adding n(A) and n(B) counts the 7 in the overlap twice.

Try one yourself

n(A) = 25, n(B) = 18 and n(A ∪ B) = 36. Find n(A ∩ B) and check it.

Show the worked self-check

n(A ∩ B) = 25 + 18 − 36 = 7. Check: only A is 18, only B is 11 and both is 7, and 18 + 11 + 7 = 36.

Scope and limits

  • The page covers two finite sets with counts given.
  • It does not cover three sets, set-builder notation or proofs.
  • The numbers are invented, and the questions are practice, not an exam key.
  • Every answer is checked with the three Venn regions.

Common questions

When is the overlap of two sets zero?

When the sets are disjoint and have nothing in common. Then n(A ∩ B) = 0 and the union is the plain sum n(A) + n(B).

Can the overlap be larger than n(A)?

No. The overlap is part of A, so it is at most n(A), and it is also part of B, so it is at most n(B). A larger overlap means a count was entered wrongly.

How do I use the total of a class to find who is in neither set?

Subtract the union from the total. In the tea and coffee example, 60 − 52 = 8 students like neither drink, which matches the number given.

What is the difference between a union and an intersection?

The union holds the elements in A or B or both. The intersection holds only the elements that are in both A and B.

Sources and scope

Sources checked . They support the union and intersection of two sets and Venn diagrams. The numbers, worked examples and self-check above are original EZT practice.

Read the Class 11 sets chapterBrowse tuition and practice pages