For this question:
A committee of three boys and three girls is to be selected from a class of 14 boys and 17 girls. In how many ways can the committe be selected if:
a.) Ana has to be on the committee.
Ana is a girl so: $$(^{14}C_3)(^{16}C_2)=43680$$
b.) the girls must include either Roberta or Priya, but not both.
I basically needed help in this question (Question B)
Attempts I made so far:
1.) $$(^{14}C_3)*2(^{16}C_2)-(^{15}C_1)=87345$$
2.) $$(^{14}C_3)*2[(^{16}C_2)-(^{15}C_1)]=76440$$
I need help in what I've been doing wrong in these workings for question B
Let's focus on the number of ways the girls can be selected. Let event $P$ be the event that Priya is selected to be one of the girls on the committee. Let event $R$ be the event that Roberta is selected to be one of the girls on the committee. The Inclusion-Exclusion Principle states that the number of committees that contain Priya or Roberta is $$|P \cup R| = |P| + |R| - |P \cap R|$$ where $|S|$ denotes the number of elements in set $S$.
The number of ways we can select the girls for the committees that contain Priya is $\binom{16}{2}$ since we must select Priya and two of the remaining sixteen girls. The number of ways we can select the girls for the committees that contain Roberta is also $\binom{16}{2}$ since we must select Roberta and two of the remaining sixteen girls. The number of ways we can select the girls for the committees that contain both Priya and Roberta is $\binom{15}{1}$ since we must select Priya, Roberta, and one of the remaining fifteen girls. Thus, the number of ways we can select the girls for the committees that contain Priya or Roberta is $$|P \cup R| = |P| + |R| - |P \cap R| = \binom{16}{2} + \binom{16}{2} - \binom{15}{1} = 2\binom{16}{2} - \binom{15}{1}$$ However, we must exclude those selections in which we select both Priya and Roberta. Therefore, the number of ways we can select the girls for the committees that contain Priya or Roberta, but not both, is \begin{align*} |P \triangle R| & = |P \cup R| - |P \cap R|\\ & = 2\binom{16}{2} - \binom{15}{1} - \binom{15}{1}\\ & = 2\binom{16}{2} - 2\binom{15}{1}\\ & = 2\left[\binom{16}{2} - \binom{15}{1}\right] \end{align*} For each such selection, we can choose the boys in $\binom{14}{3}$ ways. Therefore, the number of committees that can be selected that contain Priya or Roberta, but not both, is $$\binom{14}{3} \cdot 2\left[\binom{16}{2} - \binom{15}{1}\right]$$
The symmetric difference of sets $A$ and $B$, denoted $A \triangle B$, is the set of elements that are in exactly one of the sets $A$ or $B$.
$$A \triangle B = (A \cup B) - (A \cap B) = (A - B) \cup (B - A)$$ I computed the result by subtracting the number of elements in the intersection from the number of elements in the union. @bburGsamohT arrived at the same result by adding the number of elements in each set difference.