Combinatorics: How many persons like apples and pears and strawberries?

Part (a) is an ill-posed question (almost in the spirit of this other question). By inclusion/exclusion, using the given values the number of people liking all three fruits is $$32-(20+18+28-10-16-12)=32-28=4$$ Then the number of people liking apples and some other fruit(s) is $16+10-4=22$, which is greater than the 20 people who like apples.

But never mind. For (b), since 18 people like pears, the maximum number of people liking all three fruits is 18, but we can't put exactly 18: 4 people must like only apples and 12 people only strawberries, at which point the number of people is greater than the fixed 32. We can have 17 people liking all three fruits, though, in which case

  • 3, 1, 11 like only apples, pears, strawberries respectively
  • nobody likes exactly two fruits

For the other extreme, consider the least amount of people who must like at least two fixed fruits:

  • 20 like apples and 18 like pears, so since there are 32 people there must be at least $20+18-32=6$ people liking both apples and pears
  • Similarly, at least $20+28-32=16$ like apples and strawberries; at least 14, pears and strawberries

Now place these "forced" people in such a way that nobody likes all three fruits. We find that there are two more people than stipulated who like apples, so at least two people like all three fruits, and we get the same result for the other fruits. Thus we must merge six people into two in the centre where people like all three fruits; fortituously the total number of people becomes exactly 32. Thus the minimum number of people who like all three fruits is 2, with

  • 14 liking only apples/strawberries
  • 12 liking only pears/strawberries
  • 4 liking only apples/pears
  • nobody likes exactly one fruit.

Both the configurations for 17 and 2 people liking all three are physically valid.


What you have actually worked out for part a) is the number of people who don't like all three. So since there are $32$ people, and $28$ don't like all three, the number of people who like Apples, Pears and Strawberries is $4$.