1a) Just count:
1 Purple ball and two heads
2 Purple ball, one heads and one tails
3 Purple ball and two tails
That gives us 3 elements with a purple ball (not all with the same probability of occurring).
1b) There are 4 elements of the sample space with red balls, because a toss of three coins can result in
three heads, three tails, two heads and one tails, or one heads and two tails.
So there are 3 + 4 = 7 elements in the sample space altogether.
2. There are 52C5 = 52! / (47! 5!)
= 52 * 51 * 50 * 49 * 48 / (5 * 4 * 3 * 2 * 1)
= 52 * 51 * 5 * 49 * 4
= 2,598,960 possible 5-card hands.
[If you need any help with combinations formulas, their use, calculation, or derivation,, see
http://www.mathsisfun.com/combinatorics/combinations-permutations.html
for an extremely thorough and clear tutorial.]
A hand containing four of a kind has four cards of one rank (13 possibilities)
combined with any one of the remaining 48 cards, so there are
13 * 48 = 624 such hands possible.
Thus, the probability is
624 / 2,598,960
= 1 / 4,165