[Math] How to calculate Dice probability

diceprobability

I am trying to learn how to calculate dice probability, but all I can find on the net are the odds of rolling a given number in a single roll.

An example of what I am looking of is rolling a 4+ on a D6 and the odds on rolling a 5+ on a D6 but you get to reroll it once if its not 5+.

By calculating there probability I can see which has a higher chance of happening.

How does the reroll affect the probability?

How would multiple dice afffect the probability, say I was rolling three dice instead of one?

I have lots of other scenerions the involve rerolling so it would be best if you could explain the method rather than just give me a a formula.

A formula answering my question would be great, but it would be better, if I could understand it myself. So I don't have to keep asking similar questions on here.

Best Answer

The probability that you roll 4+ is the probability that you roll a 4, a 5, or a 6. Each of these events has probability $\frac{1}{6}$; so, the probability of rolling 4+ is $\frac{3}{6}=\frac{1}{2}$.

For your other scenario, note that the event that you get a 5+ when you are allowed on re-roll can be broken up in to two disjoint events: event $A$, in which you roll a 5+ on the first try; and event $B$, in which you roll a number 1-4 on your first attempt, and either a 5 or 6 on the second.

Then $P(A)=\frac{2}{6}=\frac{1}{3}$, since this is the event that you roll either a 5 or a 6. For $B$, we have $$ P(B)=\frac{4}{6}\cdot\frac{2}{6}=\frac{2}{9}, $$ since you must roll a 1, 2, 3, or 4 on the first attempt and either a 5 or 6 on the second. So, overall, the probability of getting 5+ when you allow one re-roll is $$ P(A\text{ or }B)=P(A)+P(B)=\frac{1}{3}+\frac{2}{9}=\frac{5}{9}. $$ (Note that we have used here that $A$ and $B$ are disjoint possibilities.)

So, you are more likely to get a 5+ with a re-roll allowed than to get a 4+ with no re-roll.