In a class of 80 students, every students had to study economics or geography, or both economics and geography, if 65 students studied economics and 50 stud...
In a class of 80 students, every students had to study economics or geography, or both economics and geography, if 65 students studied economics and 50 studied geography, how many studied both subjects?
Answer Details
To find out how many students studied both economics and geography, we need to use the principle of inclusion-exclusion.
First, we add the number of students who studied economics and geography, as some students could have studied both subjects. Let's call this number "x."
Then, we subtract x from the total number of students (80), which gives us the number of students who studied only economics or only geography.
We know that 65 students studied economics, so the number of students who studied only economics is 65 - x. Similarly, the number of students who studied only geography is 50 - x.
Since every student had to study at least one subject, the total number of students who studied only economics or only geography is equal to the sum of the students who studied only economics and the students who studied only geography:
(65 - x) + (50 - x)
Simplifying this expression, we get:
115 - 2x
But we know that this number is equal to the total number of students who studied only economics or only geography, which is 80 minus the number of students who studied both subjects:
80 - x
Therefore, we can set up an equation:
115 - 2x = 80 - x
Solving for x, we get:
x = 35
So 35 students studied both economics and geography.