If some pupils join both school clubs, how do you count everyone just once?
At an Irish school, some pupils join the chess club, some join the hurling club, and some join both. If you add the two club lists, could you count the same pupil twice?
A set is a collection. You can use a rule to decide who belongs. Here, the rule for A is that you belong to the chess club. Aoife is in that club, so she is an element of A. The symbol means ‘belongs to’.
The rectangle is the universal set, all four pupils surveyed. The circles show chess and hurling. Put Aoife in chess only, Niamh in both, and Cian in hurling only. Dara is in neither, so put him outside both circles, inside the rectangle. You can now list A by name: Aoife and Niamh.
Eoin took part in the survey and belongs to the chess club and the hurling club. Where should you write his name? Pick the one region that fits both clues.
Find the two circles, A and B. Watch the shading fill just the shared middle, from top to bottom. The shaded region contains the pupils who belong to both sets. It's called the intersection. Read the symbol as A intersect B.
Now hatch all of A and B, including the shared middle. This is A union B. It includes pupils in at least one club. If you add the two club totals, a pupil in the overlap gets counted once on each list. Count that shared region just once.
Use the rectangle as your boundary. Leave all of A clear, even where it overlaps B. Hatch everything else inside the rectangle. That includes the hurling-only region and the region outside both circles. This is the complement of A. Read the symbol as A prime.
Of twenty-four pupils, thirteen are in chess, ten in hurling and four in both. Enter four in the overlap first. Subtract four from thirteen for nine in chess only, then from ten for six in hurling only. Add nine, four and six. The union has nineteen pupils.
This time twelve pupils are in chess, eight are in hurling and three are in both. How many pupils are in at least one club? Pick the total that counts the overlap just once.
A Junior Cycle question might ask, ‘Complete the Venn diagram. How many pupils are members of neither club?’ Start with the four, nine and six from the worked example. Together they're nineteen. Subtract nineteen from twenty-four to get five. Enter five inside the rectangle, outside both circles.