In a class students took Physics, students took Chemistry and students took Mathematics of those took both Chemistry and Mathematics, took both Physics and Chemistry and took both Physics and Mathematics. If students offered all the three subjects, find out how many took exactly one of the three subjects.
Find the number of students who took only one subject.
Assume that, denotes Physics, denotes Chemistry, denotes Mathematics and denotes the number of students.
So, denotes the number of students who took both Chemistry and Mathematics.
denotes the number of students who took both Physics and Chemistry.
denotes the number of students who took both Physics and Mathematics.
And denotes the number of students who took all three subjects.
So, the given data can be represented as follows:
When we add the number of students who took Physics and the number of students who took Chemistry and the number of students who took mathematics, the number of students who took both Chemistry and Mathematics and the number of students who took both Physics and Chemistry and the number of students who took both Physics and Mathematics are counted two times and the number of students who took all the three subjects are counted three times.
So, to find out how many took exactly one of the three subjects we have to subtract twice the number of students who took two subjects and three subjects out of the sum of the number of students who took Physics, chemistry and mathematics.
The total number of students who took only one subject can be given as:
Therefore, the total number of students who took only one subject is .