سوال ۱۱۷ کنکور ارشد علوم کامپیوتر ۱۴۰۰
از ۱۳۶ دانشجوی یک دانشکده ۷۸ دانشجو علاقهمند به زبان فرانسوی، ۳۲ دانشجو علاقهمند به زبان آلمانی و ۵۷ دانشجو علاقهمند به زبان انگلیسی هستند. همچنین ۱۳ دانشجو علاقهمند به هر دو زبان آلمانی و فرانسوی، ۲۱ دانشجو علاقهمند به هر دو زبان فرانسوی و انگلیسی و ۱۶ دانشجو علاقهمند به هر دو زبان آلمانی و انگلیسی هستند. ۱۲۲ دانشجو به حداقل یکی از این زبانها علاقه دارند. چند دانشجو هر سه زبان را دوست دارند؟
پاسخ صحیح: گزینهٔ D — ۵
Let , , be the sets of students interested in French, German, and English. We are given the single-set, pairwise-intersection, and union sizes, and we want the triple intersection .
Given data:
| Quantity | Value |
|---|---|
Inclusion–exclusion for three sets:
Let and substitute:
Sum the singles: . Sum the pairs: . So
Thus students like all three languages, which is option 4.
Note the total of students is a distractor: students like none of the three languages, but that count is irrelevant to finding the triple intersection.
Pitfall: Apply inclusion–exclusion to the union (), not the total student count (). The total only matters if the problem asked how many like none of the languages. Also, the pairwise figures here are the full pairwise intersections (e.g. ), so they enter the formula directly with a minus sign — no need to subtract the triple part out of them first.