Answer: The maximum number of people who could answer yes for both cat and dog is 7.
Step-by-step explanation: Given that a survey of 100 people asked if they have a dog or a cat.
Out of those 100 people, 56 people answered yes for dog and 51 people answered yes for cat. Some people may own neither and some people may own both animals.
We are to find the maximum number of people that could answer yes for both cat and dog.
Let A and B represents the set of people that answered Yes for dog and Yes for cat respectively.
Then, according to the given information, we have
From Set Theory, we have
Since the total number of people is 100, so we get
Therefore, from equation (i), we get
Thus, the maximum number of people who could answer yes for both cat and dog is 7.