A probability problem by A Former Brilliant Member

I have 3 nickels, 2 dimes, 2 quarters, and 2 half-dollars in my pocket.

If I randomly pull out 4 coins simultaneously, what's the probability that exactly 2 nickels are included?


Note: Nickels, dimes, quarters, and half-dollars are all American coins.

1 42 \frac{1}{42} 1 7 \frac{1}{7} 2 9 \frac{2}{9} 5 14 \frac{5}{14}

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

8 solutions

The fundamental act is that we pick 4 4 coins together. There are 9 9 coins, then we pull out 4 4 coins simultaneously. The number of outcomes for this act is

n C r = n ! ( n r ) ! r ! _nC_r=\dfrac{n!}{(n-r)!r!} \implies 9 C 4 = 9 ! ( 9 4 ) ! 4 ! = 126 _9C_4=\dfrac{9!}{(9-4)!4!}=126

The number of ways of picking 4 4 coins together so that exactly 2 2 nickels are included is:

3 C 2 = 3 ! ( 3 2 ) ! 2 ! = 3 _3C_2=\dfrac{3!}{(3-2)!2!}=3 \implies There are 3 3 nickels, we pick exactly 2.

6 C 2 = 6 ! ( 6 2 ) ! 2 ! = 15 _6C_2=\dfrac{6!}{(6-2)!2!}=15 \implies There are 6 6 coins that are not nickels, we pick exactly 2.

( 3 C 2 ) ( 6 C 2 ) = 45 (_3C_2)(_6C_2)=45

Therefore, the probability, is 45 126 = \dfrac{45}{126}= 5 14 \boxed{\color{#D61F06}\large\dfrac{5}{14}}

I didn't understand the 3rd step......"there are 6 coins...2"

Mishal Sheik - 4 years, 1 month ago

Log in to reply

the third step is continuation of the second step, we are picking 4 coins together that has exactly 2 nickels. There are 3 nickels, what we need is exactly 2, so we choose 2 nickels from 3 nickels,, now we need another 2 coins because what we need is 4 coins. the other 2 coins must not be nickels. there are 6 coins that are not nickels, so we choose 2 coins from 6.

A Former Brilliant Member - 4 years, 1 month ago

Will you please tell me about the' 9C4' formulaes. I haven't been yet introduced to it

Khushaal Nandwani - 4 years, 1 month ago

Log in to reply

It is the Combinations formula. The combination of n n things taken r r at a time is

n C r = n ! ( n r ) ! r ! {_nC_r}=\dfrac{n!}{(n-r)!r!}

A Former Brilliant Member - 4 years, 1 month ago

if you hadn't been already introduced to these formulas you can watch khan academy videos

Utkarsh Kulshrestha - 4 years, 1 month ago

@Marvin Kalngan sir it is obvious from your solution that you took these coins as distinct objects what if the coins are exactly same or alike

Utkarsh Kulshrestha - 4 years, 1 month ago

Hijacking the top answer to say that this problem, essentially an urns and balls problem with nickels and non-nickels, and no replacement, so it is a Hypergeometric distribution, solving for the pdf since we want to know the odds of getting EXACTLY 2.

Daniel Eck - 4 years, 1 month ago

Ok, here's my question. Who just has half-dollar coins in their pocket? Those things are rare. I hadn't seen a single one in my life till this week!

Shimon L - 3 years, 3 months ago

This problem should NOT have been under "Basic!" It is an Intermediate level problem.

Dennis Rodman - 2 years, 2 months ago
Vaibhav Kandwal
Apr 20, 2017

Using combinatorics,

We have 9 things and 4 are to be chosen, Total number of possibilities = 9 C 4 ^9C_4

Exactly two nickels can be chosen from 3 nickels in 3 C 2 ^3C_2 possible ways.

Since totally 4 coins are to be selected, other two can be any of the other coins, So there are 6 C 2 ^6C_2 possibilities here.

Now, according to multiplication theorem of probability, total favorable cases should be 3 C 2 × 6 C 2 ^3C_2 \times ^6C_2 .

Thus, Probability = N u m b e r o f F a v o r a b l e C a s e s T o t a l n u m b e r o f c a s e s = 3 C 2 × 6 C 2 9 C 4 \dfrac{Number of Favorable Cases}{Total number of cases} = \dfrac{^3C_2 \times ^6C_2}{^9C_4}

Simplifying gives, 5 14 \boxed{\dfrac{5}{14}}

Very clear solution. You have provided a very vivid explanation.

Bonus question: Would the answer be different if the question was rephrased to "If I randomly pull out 4 coins with replacement , what's the probability that exactly 2 nickels are included?" ?

Pi Han Goh - 4 years, 1 month ago

Log in to reply

If we are pulling out coins with replacement, then the equation is gonna change to 4 C 2 × 3 9 × 3 9 × 6 9 × 6 9 = 8 27 ^4C_2 \times \dfrac{3}{9} \times \dfrac{3}{9} \times \dfrac{6}{9} \times \dfrac{6}{9} = \dfrac{8}{27}

Vaibhav Kandwal - 4 years, 1 month ago

Log in to reply

Niceeee!!!

Pi Han Goh - 4 years, 1 month ago
David Orrell
Apr 18, 2017

This is rather interesting, it is stated that the fundamental part is that they are picked together but it seems to me like that makes no difference at all as long as you deal with the permutations at the end. I took it from a conditional probability point of view, but without bothering with a tree. Imagine there are 4 separate pickings. The first one is going to be out of 9 coins, the second out of 8, third out of 7 and the fourth out of 6. So the denominator of our fraction is going to be the product of these. Then consider that we want a first nickel to be picked (3 available), then a second (2 available), then another coin (6 available) and finally another coin (5 available). The numerator is the product of these four numbers.

This fraction I have referred to specifies the probability that two nickels and two unspecified other coins are picked in a certain order. To remove the order, simply multiply by the number of ways of choosing 2 from 4. Hence:

P = 3 2 6 5 9 8 7 6 ( 4 2 ) = 5 14 P = \frac{3 \cdot 2 \cdot 6 \cdot 5}{9 \cdot 8 \cdot 7 \cdot 6} \cdot \binom {4} {2} = \boxed{\frac{5}{14}}

Nicely explained, David! It does not really matter if the coins are picked simultaneously. The question is equivalent to arranging the coins in a line in a random order, and then finding the probability that there are exactly 2 nickels in the first 4 coins.

Pranshu Gaba - 4 years, 1 month ago

Why are the size of the coins ignored? Isn't the probability of picking a quarter bigger than the probability of picking a dime since a quarter is much bigger in size than a dime?

Ces M - 4 years, 1 month ago

Haha - the size variable probably would factor in in real life - excellent point.

Joe Halloran - 4 years, 1 month ago

The size of the coins is not mentioned because this is a probability puzzle, not an engineering puzzle or a test of the fairness of a state lottery, for example, wondering if differences in the printed number on the ping pong ball affects the outcome If you prefer restate it using four colors of otherwise identical objects randomly chosen in the dark.

Robert DeLisle - 4 years, 1 month ago
Betty BellaItalia
Apr 17, 2017

Yeah, this is just a hypergeometric distribution in disguise. Nice work!

Pi Han Goh - 4 years, 1 month ago
Har WiltZ
Apr 17, 2017

First count how many ways there are to pick 4 coins. There are 9 coins in total, and 4 are to be chosen without selecting duplicates. This amounts to ( 9 4 ) = 126 \binom{9}{4}=126 selections.

Next, let's count how many of those sets of 4 coins have only 2 nickels. There are three nickels, so there are ( 3 2 ) = 3 \binom{3}{2}=3 ways of selecting two nickels. Furthermore, there are 6 coins that are not nickels, and our set of 4 we must have 2 non-nickels. This corresponds to ( 6 2 ) = 15 \binom{6}{2}=15 ways of selecting 2 non-nickels.

For every possible selection of 2 nickels, we can make any selection of 2 non-nickels. Therefore, there are 3 ( 15 ) = 45 3(15) =45 ways of selecting 4 coins that include exactly 2 nickels.

So, the probability is 45 126 = 5 14 \dfrac{45}{126}=\dfrac{5}{14} .

Angel Krastev
Apr 21, 2017

The answer is 5/14. I wrote a program in JustBasic to calculate the probability:

 '2 half-dollars hd1, hd2
 '2 quarters     qt1, qt2
 '2 dimes        dm1, dm2
 '3 nickels      nk1, nk2, nk3
 '9 coins, take 4 coins, 2 of them - nickels

 for hd1=0 to 1 ' There are
  for hd2=0 to 1 ' 2^9 = 512
   for qt1=0 to 1 ' different ways to take
    for qt2=0 to 1 ' different number
     for dm1=0 to 1 ' of coins out
      for dm2=0 to 1 ' in the range
       for nk1=0 to 1 ' from 0 coins
        for nk2=0 to 1 ' to 9 coins.
         for nk3=0 to 1
 NumberOfCoins=hd1+hd2+qt1+qt2+dm1+dm2+nk1+nk2+nk3
 FourCoins=FourCoins+(NumberOfCoins=4)
 if (NumberOfCoins=4) and (nk1+nk2+nk3=2) then HappyCase=HappyCase+1
         next nk3
        next nk2
       next nk1
      next dm2
     next dm1
    next qt2
   next qt1
  next hd2
 next hd1
 print HappyCase
 print FourCoins
 print HappyCase/FourCoins\)

Good job on actually trying to enumerate these. But is this really the best way to approach this problem? How would you do this if you needed 100 loops instead of 3?

Agnishom Chattopadhyay - 4 years, 1 month ago

The Probability (P) of having 2 nickels in a random pick of 4 coins from a group of 9 coins is

P(two nickels) = P (at least 2 nickels) + P (3 nickels (all of the nickels))
= P(two out of three nickels) x P(two out of (9-2) coins)
+P(three out of three nickels) x P(one out of (9-3) coins)
= 2 3 \frac{2}{3} x 2 7 \frac{2}{7} + 3 3 \frac{3}{3} x 1 6 \frac{1}{6}
= 4 21 \frac{4}{21} + 1 6 \frac{1}{6} = 5 14 \frac{5}{14}



Careful there. Are you sure that "P(two nickels) = P(at least 2 nickels) + P(3 nickels)?

Pi Han Goh - 4 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...