Solution:
Concept: In n(A)+n(B) the common elements are counted twice, once in A and once in B. So n(A∪B)=n(A)+n(B)−n(A∩B); also n(A−B)=n(A)−n(A∩B); and n(B−A)=n(B)−n(A∩B), because a difference leaves out exactly the common elements.
Given: n(A)=75, n(B)=65, n(A∩B)=45.
Step 1 — (i) Union.
We add the two counts and take away the common elements, which were counted twice.
n(A∪B)=n(A)+n(B)−n(A∩B)
n(A∪B)=75+65−45=140−45=95
Step 2 — (ii) A − B.
From A we take away the elements that are also in B.
n(A−B)=n(A)−n(A∩B)
n(A−B)=75−45=30
Step 3 — (iii) B − A.
From B we take away the elements that are also in A.
n(B−A)=n(B)−n(A∩B)
n(B−A)=65−45=20
Step 4 — Check.
The three separate parts (only A, only B, both) must add up to the union.
30+20+45=95
Watch out: The count n(A∪B) is not 75+65; the 45 common elements would then be counted twice.
Therefore, n(A∪B)=95, n(A−B)=30 and n(B−A)=20.