# Binomial probability doesn't give the correct number? If you roll five dice your chances of getting all five matching is 1/(6^5)=1/(7776) approx 0.08%.

Binomial probability doesn't give the correct number?
If you roll five dice your chances of getting all five matching is $\frac{1}{{6}^{5}}=\frac{1}{7776}\approx 0.08\mathrm{%}$.
I recently learned the binomial probability formula: $P=nCr×{p}^{r}×\left(1-p{\right)}^{n-r}$.
- $nCr=\frac{n!}{r!\left(n-r\right)!}$ << The different possible combinations
- r is the number of dice you need to match
- n is the number of dice you're rolling
I use $\frac{1}{6}$ in the formula because that's dice probability
Because I am rolling 5 dice and need 5 matches, I set $r=5$ and $n=5$ and came up with this equation: $P=\frac{5!}{\left(5-5\right)!5!}×\left(\frac{1}{6}{\right)}^{5}×\left(1-\frac{1}{6}{\right)}^{5-5}\approx 0.012\mathrm{%}$
But when I set $r=4$, $n=4$ with the formula below I do get the desired result. $P=\frac{4!}{\left(4-4\right)!4!}×\left(\frac{1}{6}{\right)}^{4}×\left(1-\frac{1}{6}{\right)}^{4-4}\approx 0.08\mathrm{%}$
Why is this? Shouldn't r and n be 5 because I'm rolling 5 dice and need 5 matches?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Brooklynn Valencia
Step 1
First off, note that
$\frac{1}{{6}^{5}}=\frac{1}{7776}\approx 0.013\mathrm{%}$
so your first computation is incorrect. It is true that $\approx 0.08\mathrm{%}$ of the time that all five dice rolls will match one another, but this isn't given by $1/{6}^{5}$. Rather, it's given by $6/{6}^{5}==1/{6}^{4}$.
The reason for this has been given in the comments, but in short, it's because there are 6 ways for all five dice rolls to match. That is, all five could come up 1, all five could come up 2, all five could come up 3, and so on for each of the six faces. Therefore, out of the ${6}^{5}$ total equally likely results for the five dice rolls, 6 result in all five matching, giving the correct probability of $6/{6}^{5}=1/{6}^{4}$.
Step 2
Now I'll address the major issue in your formulation of the binomial probability: Your definition of r is deficient.
- r is the number of dice you need to match
to match... what? To be correct, it should be
- r is the number of dice you need to match a fixed value
For instance, you could define r as the number of dice that come up 6. Then the probability that all 5 rolls come up 6 would be given as the binomial probability
$P=\frac{5!}{\left(5-5\right)!5!}×\left(\frac{1}{6}{\right)}^{5}×\left(1-\frac{1}{6}{\right)}^{5-5}\approx 0.012\mathrm{%}$ with no error.