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 ______________.

Choose one option
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 UU denote the set of all faculty members in the institute. We are given:

∣U∣=150|U| = 150

Let FF be the set of members on Facebook, and WW be the set of members on WhatsApp:

  • ∣F∣=55|F| = 55
  • ∣W∣=85|W| = 85

There are 30 members with neither account, meaning:

∣U∖(F∪W)∣=30  ⟹  ∣F∪W∣=150−30=120|U \setminus (F \cup W)| = 30 \implies |F \cup W| = 150 - 30 = 120

Using the Principle of Inclusion-Exclusion:

∣F∪W∣=∣F∣+∣W∣−∣F∩W∣|F \cup W| = |F| + |W| - |F \cap W|
120=55+85−∣F∩W∣120 = 55 + 85 - |F \cap W|
120=140−∣F∩W∣  ⟹  ∣F∩W∣=140−120=20120 = 140 - |F \cap W| \implies |F \cap W| = 140 - 120 = 20

The number of faculty members connected ONLY through Facebook is:

∣F∖W∣=∣F∣−∣F∩W∣=55−20=35|F \setminus W| = |F| - |F \cap W| = 55 - 20 = 35

Therefore, 35 faculty members are connected only through Facebook.

Final answer

A

Common trap

Subtracting ∣F∩W∣|F \cap W| from total members instead of from ∣F∣|F|, 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.