Dougggggg
- 152
- 0
Homework Statement
"A sneaky registrar reports the following information about a group of about 400 students. There are 180 taking a math class, 200 taking an English class, 160 taking a biology class, and 250 in a foreign language class. 80 are enrolled in both math and English, 90 in math and biology, 120 in math and a foreign language, 70 in English and biology, 140 in English and a foreign language, 60 in biology and a foreign language. Also, there are 25 in math, English, and a foreign language, 30 in math, English and biology, 40 in math, biology, and a foreign language, and fifteen in English, biology, and a foreign language. Finally, the sum of the number of students with a course in all four subjects, plus the number of students with a course in none of the four subjects is 100. Use Theorem 2.6 (Principle of Inclusion and Exclusion) to determine the number of students that are enrolled in all four subjects simultaneously: math, biology, English, and a foreign language."
Homework Equations
Theorem 2.6 (Principle of Inclusion and Exclusion).
I straight copied that from wikipedia because writing out the entire thing would just be a mess with all the notation my book uses. The one thing is in my text everything on the right hand side is subtracted to the other and they add a term for all the elements in none of those sets that are relevant so to speak. I will use my books notation below and it should be easily followed. My book doesn't define it in terms of sets.
The Attempt at a Solution
Let
N=all the students
N0=all of the students in none of the classes
N(aiaj)=all the students in class "i" and "j"
a1=in math
a2=in English
a3=in biology
a4=in a foreign language
So we have...
N(a1a2a3a4)+N0=100
So using my books notation and the substitution from above.
N0=N-N(a1)-N(a2)-N(a3)... +N(a1a2a3a4)
Which becomes..
100-N(a1a2a3a4)=400-180-200-160-250+80+90+120+70+140+60-25-30-40-15+N(a1a2a3a4)
100=60+2N(a1a2a3a4)
N(a1a2a3a4)=20
This is a problem though because there are only 15 people taking English, biology and a foreign language... Where did I go wrong at?