Question
Question: There are 40 students in a chemistry class and 60 students in a physics class. Find the number of st...
There are 40 students in a chemistry class and 60 students in a physics class. Find the number of students, which are either in physics class or chemistry class in the following case: The two classes meet at different hours and 20 students are enrolled in both the subjects.
Solution
Here, we will assume that A be the students in chemistry class, B be the students in physic class and then use the property
n(A∪B)=n(A)+n(B)−n(A∩B), where n(A∪B), which are either in physics class or chemistry class.
Complete step-by-step answer:
Let us assume that A be the students in chemistry class and B be the students in physics class.
Since we are given that there are 40 students in a chemistry class, 60 students in a physics class and two classes meet at different timings then there can be 20 students in both the classes.
We know the property, n(A∪B)=n(A)+n(B)−n(A∩B).
Finding the value of n(A), n(B) and n(A∩B) from the given conditions, we get
n(A)=40
n(B)=60
n(A∩B)=20
Substituting the above values in the above property to find the number of students, which are either in physics class or chemistry class, n(A∪B), we get
Thus, there are 80 students, which is either physics class or chemistry class.
Note: In solving these types of questions, students need to know the meaning of cardinality and their properties and then this problem is very simple.