Counting question

  • #1
784
11

Homework Statement


A box of valentine candy hearts contains 52 hearts of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange and 6 are green. If you select 9 pieces at random (without replacing any), what is the probability that 3 are white, 2 are tan, 1 is pink, 1 is yellow and 2 are green?

Homework Equations


(n/r) = n! / r!(n-r)!

The Attempt at a Solution


So you select 9 pieces at random... you want to draw 3 that are white and there at 19 white total out of 52 possible, so the chance of getting a white on your first draw is 19/52, then 18/51, then 17/50,

for 2 tan out of 10 tan with 50 remaining, i'd go 9/49 then 8/48.

I would continue this process for all colors then multiply these fractions together, is this correct? if not can somebody give me some insight?
 

Answers and Replies

  • #2
Ray Vickson
Science Advisor
Homework Helper
Dearly Missed
10,706
1,728

Homework Statement


A box of valentine candy hearts contains 52 hearts of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange and 6 are green. If you select 9 pieces at random (without replacing any), what is the probability that 3 are white, 2 are tan, 1 is pink, 1 is yellow and 2 are green?

Homework Equations


(n/r) = n! / r!(n-r)!

The Attempt at a Solution


So you select 9 pieces at random... you want to draw 3 that are white and there at 19 white total out of 52 possible, so the chance of getting a white on your first draw is 19/52, then 18/51, then 17/50,

for 2 tan out of 10 tan with 50 remaining, i'd go 9/49 then 8/48.

I would continue this process for all colors then multiply these fractions together, is this correct? if not can somebody give me some insight?
Yes, you would multiply them together; but you would not be finished. The three whites need not be the first three candies drawn; perhaps the first drawn white is candy #4, the second might be candy #7 and the last candy #9. Similar ordering issues occur for all the other colors as well, so you have a non-trivial combinatorial counting problem to enumerate all the different strings of size 9, consisting of 3 Ws, 2 Ts, etc.

Start with a simpler case: 2 colors (C1 and C2), with N1 items of type C1 and N2 of type C2 (N = N1+N2 total). The probabilty of drawing k1 items of type C1 (and, of course, n-k1 of type C2) in n draws (without replacement) has a well-known form called the hypergeometric distribution, and can be found in any good probability textbook, or on-line.

Now, of course, you have 7 types instead of 2, but you can do it sequentially: The probability of getting 3 white and 6 non-white is given by a simple hypergeometric with parameters N1=19, N2 = 52-19 = 33, n = 9 and you want k1 = 3 . Now, among the 6 non-white the probability of getting 2 tan and 4 not (tan or white) is hypergeometric with parameters N1 = 10, N2= 33-10 = 23, n = 6 and you want k1 = 2, etc. You can safely multiply all those probabilities together without worrying about the order in which the colors are drawn, because that aspect has already been taken care of when you employ the hypergeometric distribution.
 
  • #3
haruspex
Science Advisor
Homework Helper
Insights Author
Gold Member
34,604
5,993
It won't hurt to read up on distributions in textbooks, but it is not really necessary here.
How many ways are there altogether of choosing 9 from the 52?
How many ways are there of choosing 3 of the 19 white, and two of the ten tan, and .... etc.
 
  • #4
189
4

Homework Statement


A box of valentine candy hearts contains 52 hearts of which 19 are white, 10 are tan, 7 are pink, 3 are purple, 5 are yellow, 2 are orange and 6 are green. If you select 9 pieces at random (without replacing any), what is the probability that 3 are white, 2 are tan, 1 is pink, 1 is yellow and 2 are green?

Homework Equations


(n/r) = n! / r!(n-r)!

The Attempt at a Solution


So you select 9 pieces at random... you want to draw 3 that are white and there at 19 white total out of 52 possible, so the chance of getting a white on your first draw is 19/52, then 18/51, then 17/50,

for 2 tan out of 10 tan with 50 remaining, i'd go 9/49 then 8/48.

I would continue this process for all colors then multiply these fractions together, is this correct? if not can somebody give me some insight?
Well, the problem doesn't state that the desired elements have to be drawn in a sequence, so you don't have to actually get the first three white hearts in the first three draws. Think about your formula.
 

Related Threads on Counting question

  • Last Post
Replies
8
Views
1K
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
1
Views
2K
Replies
6
Views
2K
Replies
7
Views
821
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
4
Views
461
Top