Mada za sehemu hiiSetsMada 6
- Methods of representing sets
- Types of sets
- Basic operations of sets
- Fundamental laws of algebra of sets
- Venn diagrams
- Number of elements/cardinality of sets
Cardinality of sets
The cardinality of sets refers to the measure of a set's size, specifically the number of elements contained within the set. If A is a finite set with n elements, then the cardinality of A is n, denoted by . By definition, the cardinality of an empty set is zero since it contains no elements. When combining two or more sets, the cardinality of the union can be determined using a general formula that accounts for overlapping elements.
Cardinality of union of two sets
Consider two finite sets A and B within a universal set U, as shown in Figure 2.10.
Figure 2.10: Two enclosed sets in the universal set
The cardinality of the union of sets A and B is given by the formula:
This formula ensures that elements common to both sets are not counted twice.
Example 2.29
Given: , , and . Find the cardinality of the intersection .
Solution: Using the union formula:
Rearranged to solve for :
Therefore, the number of elements in both sets is .
Representation and addition of cardinalities
If we denote the components of sets as:
Then the sum of cardinalities of A and B is:
Using the union formula:
This confirms the consistency of the general formula.
Application of cardinality in real contexts
In a bouquet of 44 flowers, there are 21 red flowers and 17 variegated flowers. If 7 flowers are neither red nor variegated, find how many flowers are both red and variegated.
Let:
- = set of red flowers
- = set of variegated flowers
- = number of flowers both red and variegated
Using the formula for the union of two sets:
We know that:
- Total flowers:
- Neither red nor variegated: 7
- Thus,
Substitute the values:
Therefore, there is 1 flower that is both red and variegated.
Cardinality of union of three sets
The formula for the union of two sets extends to three sets , , and as follows:
This formula accounts for double counting and subtracts the overlaps accordingly, then adds back the intersection of all three sets.
Proof sketch
- By applying associative and distributive laws of sets:
- Express
- Use the union formula for two sets repeatedly and simplify.
Example
Given:
- , ,
- , ,
Find .
Solution:
Hence, .
Example 2.32: Survey on machine operators and cleaners
A factory has 45 men and 45 women workers. Among them:
- 60 are machine operators
- 42 are cleaners
- 30 men are operators
- 30 men are cleaners
- 24 men are both operators and cleaners
- 12 women are neither operators nor cleaners
Find the number of workers who are both machine operators and cleaners.
Solution: Let = machine operators and = cleaners. Define as the number of women who are both operators and cleaners. From the data and Venn diagram logic:
After simplification:
The total number of workers both operators and cleaners is:
Therefore, 33 workers are both machine operators and cleaners.
Language speakers percentage problem
In a city:
- 85% speak English (E)
- 40% speak French (F)
- 20% speak Spanish (S)
- 32% speak English and French
- 13% speak English and Spanish
- 10% speak French and Spanish
Find the percentage who speak all three languages.
Solution: Let be the percentage speaking all three. Total percentage is 100, so using the formula:
Hence, 10% speak all three languages.
Movie customers survey
A survey of 300 movie customers revealed interest in three movie types: Comedy (C), Story (S), and Action (A).
- , ,
- , ,
Find:
- Number who did not watch any of these movie types.
- Number who watched comedy or action movies.
- Number who watched story movies only.
Solution: (a) Customers who did not watch comedy, story, or action:
(b) Customers who watched comedy or action:
(c) Customers who watched story only:
Class of girls with various attributes
In a class:
- 15 girls like chocolate
- 5 girls are white
- 6 girls are intelligent
- Every white girl likes chocolate
- 3 intelligent girls do not like chocolate
- 2 girls are both white and intelligent
Find:
- Draw a Venn diagram representing the data.
- Find the total number of girls in the class.
- Find the number of girls who are white but not intelligent.
Solution:
- Total number of girls
- Number of white but not intelligent girls
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuuliza