A collection of objects is called a Set.
Sets formulas form a foundation for many fields of mathematics. In the areas related to statistics, and particularly in probability.
Let's learn about sets formulas with a few solved examples in the end.
What Are the Sets Formula?
These are the basic set of formulas from the set theory.
For two sets A and B,
- n(A U B) represents the number of elements present in either one of the sets A or B.
- n(A ⋂ B) represents the number of elements present essentially in both the sets A & B.
- n(A U B) = n(A) + (n(B) – n (A ⋂ B)
Solved Examples Using Sets Formula
In a class of 70 students, 45 students like to play Soccer. 52 students like to play Baseball. All the students like to play at least one of the two games. How many students like to play Soccer or Baseball ? How many students like to play only Soccer?
The given information can be shown by Venn diagrams as follows.
Let n (A ⋂ B) = x, n(A) = 45, n(B) = 52,
We know that n(A U B ) = 70
n(A ⋂ B) = x = n(A) + n(B) - n(A U B)
= 45 + 52 - 70 = 27
Students who like to play only Soccer = 45 - 27 =18
Answer: 18 students like to play only Soccer.
There are 100 students, 35 like painting and 45 like dancing. 10 like both. How many of the students like either of them or neither of them?
Total number of students = 100
Number of students that like painting, n(P) = 35
Number of students that like dancing, n(D) = 45
Number of students who like both, n(P∩D) = 10
Number of students who like either of them,
n(PUD) = n(P) + n(D) – n(P∩D)
⇒ 45 + 35 - 10 = 70
Number of students who like neither = Total students – n(PUD) = 100 – 70 = 30
Answer: 70 students like either of them and 30 students like neither of them.