• Foundation
  • About 13 min
  • 5 practice questions

Set notation and the language of regions

Read the symbols for union, intersection, difference and complement, translate everyday phrases into regions, and use them to count.

If something looks wrong, please tell us.

Problems about groups are written in several ways: in words ('people who like tea but not coffee'), in symbols (A minus B), or as shaded regions. To be fast, you should be able to move between the three. This lesson sets out the symbols and the phrases that go with them.

The symbols

Notation, meaning and region
SymbolSay it asMeaning in wordsRegion
A ∪ BA union Bin A or B or bothBoth circles together
A ∩ BA intersection Bin both A and BThe overlap
A minus BA but not Bin A onlyA without the overlap
A′not A (the complement)outside AEverything outside circle A
n(A)the number in Ahow many are in AThe count of a region
(A ∪ B)′neither A nor Bin neither groupOutside both circles

The counting rules are the same as before, written in symbols. n(A ∪ B) = n(A) + n(B) minus n(A ∩ B). The number outside A is the total minus n(A). The number in A only is n(A) minus n(A ∩ B). The number in exactly one of the two groups is n(A) + n(B) minus 2 times n(A ∩ B), because the overlap must come out of both counts.

Phrases and regions

  • 'Either or both', 'at least one' is the union.
  • 'Both', 'and' is the intersection (the overlap).
  • 'Only A', 'A but not B' is A without the overlap.
  • 'Neither', 'none of these' is outside both circles.
  • 'Not both' is everything except the overlap: total minus n(A ∩ B).
  • 'Exactly one' is the two 'only' regions together.

Worked examples

Throughout, a group of 40 people has n(A) = 25, n(B) = 18 and n(A ∩ B) = 8.

Example 1. How many are in A ∪ B? Working: 25 + 18 minus 8 = 35. Neither: 40 minus 35 = 5.

Example 2. How many are in A but not B? Working: 25 minus 8 = 17. In B but not A: 18 minus 8 = 10.

Example 3. How many are in exactly one of the groups? Working: 17 + 10 = 27. Using the formula: 25 + 18 minus 2 times 8 = 43 minus 16 = 27, which agrees.

Example 4. How many are not in both groups? Working: 40 minus 8 = 32. This is the sum of the other three regions: 17 + 10 + 5 = 32.

Example 5. A different group of 50 has n(A) = 30, n(B) = 28 and 6 people in neither. Find n(A ∩ B) and the number in exactly one group. Working: the union is 50 minus 6 = 44. The overlap is n(A) + n(B) minus the union = 30 + 28 minus 44 = 14. A only is 30 minus 14 = 16 and B only is 28 minus 14 = 14, so exactly one group has 16 + 14 = 30 people. Check: 16 + 14 + 14 + 6 = 50.

The four regions of the group of 40
RegionNumber
A only17
A and B8
B only10
Neither5
Total40

Union: add and subtract the overlap once. Only: subtract the overlap. Exactly one: subtract the overlap from both. Not both: total minus the overlap.

Key takeaways

  • Learn each symbol together with its picture.
  • 'Not both' and 'neither' are different regions.
  • 'Exactly one' needs the overlap removed twice from n(A) + n(B).
  • Always check that the four regions add up to the total.

Check your understanding

  1. 1. A group of 40 has n(A) = 25, n(B) = 18 and n(A ∩ B) = 8. What is n(A ∪ B)?

    1. 35
    2. 43
    3. 33
    4. 27
    Show answer

    Answer: A. 25 + 18 minus 8 = 35.

  2. 2. For the same group, how many are in neither A nor B?

    1. 15
    2. 8
    3. 5
    4. 10
    Show answer

    Answer: C. The union is 35, so neither is 40 minus 35 = 5.

  3. 3. For the same group, how many are in A but not in B?

    1. 25
    2. 17
    3. 7
    4. 10
    Show answer

    Answer: B. n(A) minus n(A ∩ B) = 25 minus 8 = 17.

  4. 4. For the same group, how many are in exactly one of the two groups?

    1. 17
    2. 35
    3. 43
    4. 27
    Show answer

    Answer: D. A only 17 plus B only 10 is 27. Formula: 25 + 18 minus 16 = 27.

  5. 5. For the same group, how many are not in both groups?

    1. 32
    2. 8
    3. 35
    4. 5
    Show answer

    Answer: A. Everyone except the 8 in the overlap: 40 minus 8 = 32.

Privacy · Terms · Refunds · Delivery