Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2007-02-26 02:09:51

Dross
Member
Registered: 2006-08-24
Posts: 325

Rolling Dice

Here's a problem someone asked me if I could do. I'm no good at probability (was never really interested, to be honest) but I gave it a shot and got an answer I'm fairly confident of - just wanted to see other approaches (and if I was right or not tongue).

Here's the problem:

You roll m dice. What is the probability that any one of them is a six?


Bad speling makes me [sic]

Offline

#2 2007-02-26 02:16:54

Toast
Real Member
Registered: 2006-10-08
Posts: 1,321

Re: Rolling Dice

Well, I have to go... but I got

99% Incorrect.

Last edited by Toast (2007-02-26 02:17:40)

Offline

#3 2007-02-26 02:22:33

Dross
Member
Registered: 2006-08-24
Posts: 325

Re: Rolling Dice

But then you're saying that if you roll six dice, you're garunteed that one of them will be a six, and if you roll 9 dice the probability is 1.5 that one of them will be six tongue


Bad speling makes me [sic]

Offline

#4 2007-02-26 02:30:36

Maelwys
Member
Registered: 2007-02-02
Posts: 161

Re: Rolling Dice

Offline

#5 2007-02-26 03:01:14

pi man
Member
Registered: 2006-07-06
Posts: 251

Re: Rolling Dice

You roll m dice. What is the probability that any one of them is a six?

By this, do you mean: one and only one of the dice is a six   OR at least one of the dice is a six?

If you mean "one and only one", the number of ways to roll one 6 is

.   That's out of
different possible rolls. 

If you mean at least one, the answer Maelwys gives is the correct probability.

Offline

#6 2007-02-26 05:19:05

luca-deltodesco
Member
Registered: 2006-05-05
Posts: 1,470

Re: Rolling Dice

let X be the number of 6's rolled

P(X>=1) = 1-P(X=0)

for each die roll, the probability that it doesn't roll a 6 is 5/6, so the probabilty that every single die doesn't roll a six is (5/6)^m, therefore

Last edited by luca-deltodesco (2007-02-26 05:19:55)


The Beginning Of All Things To End.
The End Of All Things To Come.

Offline

#7 2007-02-26 21:04:52

Dross
Member
Registered: 2006-08-24
Posts: 325

Re: Rolling Dice

So it really is much simpler than I had it made out to be - thanks very much, all!


Bad speling makes me [sic]

Offline

#8 2007-02-27 02:49:14

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Rolling Dice

It is quite a hard problem in general though, it's just that for the particular case of you only looking for one 6 you can look for the complement probability instead, which is much easier to find.

If you wanted to know how likely it was to get 2, 3, or even k sixes with m dice, then the problem becomes substantially trickier.


Why did the vector cross the road?
It wanted to be normal.

Offline

#9 2007-02-27 04:52:55

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Rolling Dice

mathsyperson wrote:

It is quite a hard problem in general though, it's just that for the particular case of you only looking for one 6 you can look for the complement probability instead, which is much easier to find.

If you wanted to know how likely it was to get 2, 3, or even k sixes with m dice, then the problem becomes substantially trickier.

Actually, it’s a binomial distribution. The probability of getting exactly k sixes (k = 0, 1, … m) is

To find the probability of getting at least k sixes, just sum the probabilities for k, k+1, … m OR find the probability of getting fewer than k sixes and subtract from 1 (depending on the value of k one would be easier than the other).

Offline

#10 2007-02-27 05:39:35

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: Rolling Dice

Now what is the big X in the following binomial equation, is that what you called it?


igloo myrtilles fourmis

Offline

#11 2007-02-27 06:16:38

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: Rolling Dice

Technically, the big X is called a random variable. wink In this case, it represents the number of sixes from the throwing of m dice.

Offline

#12 2007-02-27 08:28:44

Dross
Member
Registered: 2006-08-24
Posts: 325

Re: Rolling Dice

And you make it look so easy - I can see exactly why that solution works, but it would never have occured to me to put it down like that. Thanks, Jane Fairfax! big_smile


Bad speling makes me [sic]

Offline

#13 2007-02-27 10:32:05

mathsyperson
Moderator
Registered: 2005-06-22
Posts: 4,900

Re: Rolling Dice

Ah, of course. I completely forgot about that. I actually meant throwing at least 2, 3 or k sixes, but the Binomial distribution can still sort that out. It will involve summing them, so it might take a bit longer to calculate, but it's still got the same complexity.


Why did the vector cross the road?
It wanted to be normal.

Offline

Board footer

Powered by FluxBB