Cardinality Math Example 4
Follow the full solution, then compare it with the other examples linked below.
Example 4
mediumIn a class of 40 students, 25 play football, 20 play basketball, and 10 play both. Use cardinality formulas to find how many play at least one sport and how many play neither.
Solution
- 1 Let = football players, = basketball players. Given , , .
- 2 By inclusion-exclusion: .
- 3 Students playing neither: .
Answer
The inclusion-exclusion principle prevents double-counting students who play both sports. Subtracting from the total class size gives those who play neither.
About Cardinality
The cardinality of a finite set is the number of distinct elements it contains, written — it measures the size of the set without regard to element order or identity.
Learn more about Cardinality →