Question
Among 150 faculty members in an institute, 55 are connected with each other through Facebook and 85 are connected through WhatsApp. 30 faculty members do not have Facebook or WhatsApp accounts. The number of faculty members connected only through Facebook accounts is ______________.
Official answer and solution
- Official answer
- A
- From
- Official GATE 2016 answer key
Solution
Apply the Principle of Inclusion-Exclusion on the two overlapping sets of social media users.
Let denote the set of all faculty members in the institute. We are given:
Let be the set of members on Facebook, and be the set of members on WhatsApp:
There are 30 members with neither account, meaning:
Using the Principle of Inclusion-Exclusion:
The number of faculty members connected ONLY through Facebook is:
Therefore, 35 faculty members are connected only through Facebook.
A
Subtracting from total members instead of from , or forgetting to subtract the 30 non-users first.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 2
- Question
- 6 of 65, printed as GA Q.6
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.