← Back to Book Detail

27 Cardinality (23/83) -- Mathematics for the Liberal Arts

Browse
27%

27 Cardinality

27 Cardinality Often times we are interested in the number of items in a set or subset. This is called the cardinality of the set. Cardinality The number of elements in a set is the cardinality of that set. The cardinality of the set A is often notated as |A| or n(A) Example 12 Let A = {1, 2, 3, 4, 5, 6} and B = {2, 4, 6, 8}. What is the cardinality of B? A ⋃ B, A ⋂ B? The cardinality of B is 4, since there are 4 elements in the set. The cardinality of A ⋃ B is 7, since A ⋃ B = {1, 2, 3, 4, 5, 6, 8}, which contains 7 elements. The cardinality of A ⋂ B is 3, since A ⋂ B = {2, 4, 6}, which contains 3 elements. Example 13 What is the cardinality of P = the set of English names for the months of the year? The cardinality of this set is 12, since there are 12 months in the year. Sometimes we may be interested in the cardinality of the union or intersection of sets, but not know the actual elements of each set. This is common in surveying. Example 14 A survey asks 200 people “What beverage do you drink in the morning”, and offers choices: - Tea only - Coffee only - Both coffee and tea Suppose 20 report tea only, 80 report coffee only, 40 report both. How many people drink tea in the morning? How many people drink neither tea or coffee? This question can most easily be answered by creating a Venn diagram. We can see that we can find the people who drink tea by adding those who drink only tea to those who drink both: 60 people. We can also see that those who drink neither are those not contained in the any of the three other groupings, so we can count those by subtracting from the cardinality of the universal set, 200. 200 – 20 – 80 – 40 = 60 people who drink neither. Example 15 A survey asks: Which online services have you used in the last month: - Have used both The results show 40% of those surveyed have used Twitter, 70% have used Facebook, and 20% have used both. How many people have used neither Twitter or Facebook? Let T be the set of all people who have used Twitter, and F be the set of all people who have used Facebook. Notice that while the cardinality of F is 70% and the cardinality of T is 40%, the cardinality of F ⋃ T is not simply 70% + 40%, since that would count those who use both services twice. To find the cardinality of F ⋃ T, we can add the cardinality of F and the cardinality of T, then subtract those in intersection that we’ve counted twice. In symbols, n(F ⋃ T) = n(F) + n(T) – n(F ⋂ T) n(F ⋃ T) = 70% + 40% – 20% = 90% Now, to find how many people have not used either service, we’re looking for the cardinality of (F ⋃ T)c . Since the universal set contains 100% of people and the cardinality of F ⋃ T = 90%, the cardinality of (F ⋃ T)c must be the other 10%. The previous example illustrated two important properties Cardinality properties n(A ⋃ B) = n(A) + n(B) – n(A ⋂ B) n(Ac) = n(U) – n(A) Notice that the first property can also be written in an equivalent form by solving for the cardinality of the intersection: n(A ⋂ B) = n(A) + n(B
← Previous Chapter Next Chapter →