Final answer:
The probability of selecting either 2 boys or 2 girls is found by calculating the combination of selecting 2 boys and 1 girl and the combination of selecting 2 girls and 1 boy, then adding these two probabilities together.
Step-by-step explanation:
To find the probability of selecting either 2 boys or 2 girls when randomly choosing 3 friends out of a group where 5 are boys and 3 are girls, we need to use the concept of combinations and adding probabilities.
First, let's calculate the probability of selecting 2 boys out of 5 and then 1 girl out of 3:
- Number of ways to choose 2 boys from 5: C(5, 2).
- Number of ways to choose 1 girl from 3: C(3, 1).
- Total number of ways to choose 3 friends from 8: C(8, 3).
The probability is thus:
P(2 boys and 1 girl) = (C(5, 2) * C(3, 1)) / C(8, 3).
Next, calculate the probability of selecting 2 girls out of 3 and then 1 boy out of 5:
- Number of ways to choose 2 girls from 3: C(3, 2).
- Number of ways to choose 1 boy from 5: C(5, 1).
- Total number of ways to choose 3 friends from 8: C(8, 3).
The probability is thus:
P(2 girls and 1 boy) = (C(3, 2) * C(5, 1)) / C(8, 3).
The overall probability of selecting either 2 boys or 2 girls is the sum of the two probabilities:
P(2 boys or 2 girls) = P(2 boys and 1 girl) + P(2 girls and 1 boy).