I have the following problem with solution, but I do not understand the solution. I will appreciate your help.
Problem: In class there are 10 pupils: 3 girls and 7 boys. Every morning the teacher randomly allocates the pupils to pairs. What is probability function X for the number of mixed (boy + girl) couples?
Solution:
[Stage 1] Number of mixed pairs can be either 3 or 1.
[Stage 2] For calculating probability we need to check the gender of the partner of each one of the girls.
[Stage 3] {X=3} will happen if for each girl will be a boy as partner. $P(X=3)=\dfrac79 \times\dfrac67 \times 1 = \dfrac23$
[Stage 4] {X=1} might happen in two ways: a) the partner of girl No 1 is boy (7 possibilities) and partner of girl No 2 is also girl (1 possibility); b) the partner of girl No 1 is girl (2 possibilities) and for remaining girl we have a boy (no choice). $P(X=1) = \dfrac79 \times \dfrac17 + \dfrac29 \times 1 = \dfrac13$
What do I miss: In [stage 3] we check for partner for the first girl, then for the second and third. But where are the permutations of girls? For the pairing with $\dfrac79$ it can be any of three girls. Where is it taken into account? The same for [stage 4]: to start they talk about girl No 1, but it could be also girl No 2 or 3. Where is it taken into account?
Thanks a lot!
You could include permutations, but then you also have to multiply with the probability on that permutation. For stage 3, you get $$\frac{1}{3}\left(\frac{7}{9}\frac{6}{7}1\right) + \frac{1}{3}\left(\frac{7}{9}\frac{6}{7}1\right) + \frac{1}{3}\left(\frac{7}{9}\frac{6}{7}1\right) = \frac{7}{9}\frac{6}{7}.$$ This is different from when you are counting cases.