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.
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.
I didn't understand the 3rd step......"there are 6 coins...2"
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.
Will you please tell me about the' 9C4' formulaes. I haven't been yet introduced to it
Log in to reply
It is the Combinations formula. The combination of n things taken r at a time is
n C r = ( n − r ) ! r ! n !
if you hadn't been already introduced to these formulas you can watch khan academy videos
@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
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.
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!
This problem should NOT have been under "Basic!" It is an Intermediate level problem.
Using combinatorics,
We have 9 things and 4 are to be chosen, Total number of possibilities = 9 C 4
Exactly two nickels can be chosen from 3 nickels in 3 C 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 possibilities here.
Now, according to multiplication theorem of probability, total favorable cases should be 3 C 2 × 6 C 2 .
Thus, Probability = T o t a l n u m b e r o f c a s e s N u m b e r o f F a v o r a b l e C a s e s = 9 C 4 3 C 2 × 6 C 2
Simplifying gives, 1 4 5
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?" ?
Log in to reply
If we are pulling out coins with replacement, then the equation is gonna change to 4 C 2 × 9 3 × 9 3 × 9 6 × 9 6 = 2 7 8
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 = 9 ⋅ 8 ⋅ 7 ⋅ 6 3 ⋅ 2 ⋅ 6 ⋅ 5 ⋅ ( 2 4 ) = 1 4 5
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.
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?
Haha - the size variable probably would factor in in real life - excellent point.
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.
Yeah, this is just a hypergeometric distribution in disguise. Nice work!
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 ( 4 9 ) = 1 2 6 selections.
Next, let's count how many of those sets of 4 coins have only 2 nickels. There are three nickels, so there are ( 2 3 ) = 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 ( 2 6 ) = 1 5 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 ( 1 5 ) = 4 5 ways of selecting 4 coins that include exactly 2 nickels.
So, the probability is 1 2 6 4 5 = 1 4 5 .
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?
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)
=
3
2
x
7
2
+
3
3
x
6
1
=
2
1
4
+
6
1
=
1
4
5
Careful there. Are you sure that "P(two nickels) = P(at least 2 nickels) + P(3 nickels)?
Problem Loading...
Note Loading...
Set Loading...
The fundamental act is that we pick 4 coins together. There are 9 coins, then we pull out 4 coins simultaneously. The number of outcomes for this act is
n C r = ( n − r ) ! r ! n ! ⟹ 9 C 4 = ( 9 − 4 ) ! 4 ! 9 ! = 1 2 6
The number of ways of picking 4 coins together so that exactly 2 nickels are included is:
3 C 2 = ( 3 − 2 ) ! 2 ! 3 ! = 3 ⟹ There are 3 nickels, we pick exactly 2.
6 C 2 = ( 6 − 2 ) ! 2 ! 6 ! = 1 5 ⟹ There are 6 coins that are not nickels, we pick exactly 2.
( 3 C 2 ) ( 6 C 2 ) = 4 5
Therefore, the probability, is 1 2 6 4 5 = 1 4 5