Dice calculation of p(7), two different values?

In summary, the conversation discusses calculating the probability of rolling a sum of 7 with two dice. In the first scenario, where no information is given about the dice, the probability is 1/6. In the second scenario, where one of the dice shows a six, the probability is 2/11. This method may seem incorrect because it counts the same cell twice, but this is necessary because each pair of dice is an ordered pair and has two matching possibilities.
  • #1
bahamagreen
1,014
52
TL;DR Summary
Six sided fair dice (two) labeled standard 1-6; two methods of calculating p(7) get different p?
Scenario 1]
The dice are rolled out of your sight and you are then asked the p(7), before you are allowed to look at the results.

Calculate p(7) by looking at table of 36 possibilities and counting the number of sum cells totals that equal 7, there are six of them, so

p(7) = 6/36 = 1/6

Scenario 2]
Same as in 1 except before you're requested for your calculation of p(7) you are informed that one of the faces shows a six.

You calculate p(7) by looking at the table of 36 possibilities and counting the number of possibilities that include six (the cells comprised of row 6 and column 6) so you count 11 of these cells whose row or column value is 6, and notice that 2 of them indicate 7 as their cell sums so

p(7) = 2/11 > 1/6

A closer look reveals that if you had been informed that one of the faces showed a 5, 4, 3, 2, or 1, you would find the same number of cells containing that row-column number (eleven of them), and the same number of cells totaling 7, (two of them).
So it would not have mattered if you were informed of one of the faces or not; you could have just imagined that it must be some number and used this method in the first scenario... what is wrong with this method? If the total cells selected came to 12 instead of 11, the p(7) would be right... Some reason the row-column intersection cell needs to be counted twice?
 
Physics news on Phys.org
  • #2
The first approach calculates ##P(a+b=7)## and the second calculates ##P(a+b=7|a=6\lor b=6)##. They are not the same quantity
 
  • #3
We hear that one shows 6, it does not matter. We think of 6 possible shows of the other dice including 1 winning show so the probability remains 1/6. Such information of one dice show does not effect the probability for this case of a+b=7. When you hear one dice show stop using 6*6 matrix and look at 6*1 column reduced from matrix by one dice opening.
 
Last edited:
  • #4
Yes... the second may be more generally P(a+b=7 |a V b where row a = col b)

If the second were P(a+b=7 |all a + all b where row a = col b) then knowing or assuming that a face is n, does the possibility (n,n) needed to be counted independently for row n and col n so that it is counted twice? That would make a+b=12, so 2/12 the right quantity for p(7), but I don't see how selecting possibilities could allow a double count of (n,n). But if this is done, and the value of p(7) is correct, is this really p or something else (artifact, nonsense)?
 
  • #5
If you would like to consider the 11 cells you quote, how about multiplying 1/2 to the 10 cells except (6,6) for probability calculation ? Cell (2,6) as well as (6,2) contains the cases that 2 is shown and 6 is shown half and half though we are focusing the case 6 is shown. We are sure (6,6) is surely in our focus.
 
  • #6
I'm not following your meaning of multiplying by 1/2. The two cells of interest are the two that show 7 where the row and column labels match the known or assumed face. For a face up of 6, those two would be (1,6) and (6,1)... for all face up n=1-6 the two cells that show 7 will be on the same diagonal in the chart.
 
  • #7
Which of (n,6) or (6,n) cell you assign as the case of opened dice shows six ?
Which of (n,6) or (6,n) cell you assign as the case of opened dice shows n ?
(shown, not shown) or (not shown, shown) or any others ?
I am not sure about your setting so count these cells and halved the possibility ( 1/2 of open shows 6 not n ) to meet the both cases.
 
Last edited:
  • #8
bahamagreen said:
. . . before you're requested for your calculation of p(7) you are informed that one of the faces shows a six.

You calculate p(7) by looking at the table of 36 possibilities and counting the number of possibilities that include six (the cells comprised of row 6 and column 6) so you count 11 of these cells whose row or column value is 6, and notice that 2 of them indicate 7 as their cell sums so p(7) = 2/11 > 1/6
It appears to me that you are incorrectly counting the possibilities for the second die as being only 5 instead of correctly recognizing that the actual number of possibilities for the second die is 6, no matter whether you've seen or been told what the first die shows or not.

This I think is based on the incorrect notion that cell (6,6} has already been counted once for either the row or the column, so that counting it for both the row and the column would be counting the same cell twice, which would seem to be incorrect; however, the dice roll independently of each other, so which of its 6 possibilities one die shows has no bearing on the fact of there always being 6 possibilities for the other die, or on which of those 6 it shows.

Instead of counting the 6 cells of a column or the 6 cells of a row and then counting only the other 5 cells in the row or column at the end of the column or row just counted, you must remember that a pair of dice is an ordered pair, so that e.g. (4, 3) is a different cell from (3, 4), but both pairs sum to 7, it takes 2 cells in the table to show both of them.

The 6 cases in which the 2 numbers match are the 6 different even-number sums, and each such matching pair is represented in a single cell, along the diagonal from upper left to lower right (or lower right to upper left). Every row and every column has exactly 1 such matching pair cell. You are throwing 2 dice, each of which has 6 faces, so you must count the entire column for one die, and the entire row for the other.

When you count all 36 cells, you count each cell exactly once, but then when you count the 6 cells that contain 7s, the 6/36=1/6 is clearly discernible: (1,6), (6,1) (3, 4), (4,3) (2, 5), and (5, 2) all sum to 7.

Regardless of which number is disclosed for the first die, the chance that the other number rolled will sum with it to produce 7 is 1/6.

Representing the 6 faces of one die as 6 rows, and the 6 faces of the other as 6 columns, yields a table with 6x6=36 cells, the lower left to upper right (or upper right to lower left) diagonal of which has a 7 in each cell:

\begin{array}{|c|c|c|c|c|c|}
\hline & \mathbf 1 & \mathbf 2 & \mathbf 3 & \mathbf 4 & \mathbf 5 & \mathbf 6 \\
\hline \mathbf 1 & 2 & 3 & 4 & 5 & 6 & \mathbf {\color{red} 7} \\
\hline \mathbf 2 & 3 & 4 & 5 & 6 & \mathbf {\color{red} 7} & 8 \\
\hline \mathbf 3 & 4 & 5 & 6 & \mathbf {\color{red} 7} & 8 & 9\\
\hline \mathbf 4 & 5 & 6 & \mathbf {\color{red} 7} & 8 & 9 & A \\
\hline \mathbf 5 & 6 & \mathbf {\color{red} 7} & 8 & 9 & A & B \\
\hline \mathbf 6 & \mathbf {\color{red}7} & 8 & 9 & A & B & C \\
\hline
\end{array}(I used hexadecimal notation to keep single-digit cell contents.)

It can be readily seen that whichever row or column is selected, there are 6 values in that row or column, exactly 1 of which is a 7, so the chance for any row or column that the cell in it that is indexed by the value on the face of the other die contains a 7 is 1/6.
 
Last edited:
  • Informative
Likes Klystron
  • #9
bahamagreen said:
Yes... the second may be more generally P(a+b=7 |a V b where row a = col b)

If the second were P(a+b=7 |all a + all b where row a = col b) then knowing or assuming that a face is n, does the possibility (n,n) needed to be counted independently for row n and col n so that it is counted twice? That would make a+b=12, so 2/12 the right quantity for p(7), but I don't see how selecting possibilities could allow a double count of (n,n). But if this is done, and the value of p(7) is correct, is this really p or something else (artifact, nonsense)?
Sorry, your description here is confusing. I should have explained my notation better. In my notation we have two dice. ##a## is the random variable giving the value of the first dice and ##b## is the second. So one possible outcome of a trial is ##a=5 \land b=3## which is a distinct outcome from ##a=3 \land b=5##.

The notation ##P(7)## is confusing because ##P(.)## operates on random variables and 7 is not a random variable. So it is better to be clear that you mean ##P(a+b=7)##.

In this notation ##a+b=7## is the event that the total on the two dice is 7. ##a=6## is the event that the first dice is 6. ##b=6## is the event that the second dice is 6. ##a=6 \lor b=6## is the event that one (or both) of the dice is 6. ##a=b## is the event that the dice are the same.

I am not exactly sure what you are trying to do in the post above. It may be some notational confusion due to my not being explicit above. In particular, I don’t know what you mean by “all a + all b where row a = col b“. The “row” is tripping me up. Do you mean something different from “row a=col b” and just ##a=b##
 
  • #10
Knowing a 6 was showing, I meant counting all the row-column intersections for which 6 occurs within the face sums' ordered pairs, e.g., (1,6) (2,6), (3,6)...(6,3), (6,2), (6.1). Counting each intersection once I get eleven. The two die are independent so I should have counted (6,6) twice, or just counted all the 6s in the table.
 
  • Like
Likes sysprog
  • #11
bahamagreen said:
The two die are independent so I should have counted (6,6) twice, or just counted all the 6s in the table.
I am pretty sure that is not correct. Because the two dice are independent every cell has equal probability. So I cannot think why you would want to double the probability of one cell.

Whenever you are in doubt just do a Monte Carlo simulation. I wrote a Mathematica script that rolled a million pairs of dice.

Of the million rolls 166359 summed to 7 so ##P(a+b=7)=\frac{166359}{1000000}\approx \frac{1}{6}##.

Of the million rolls 305716 rolls contained a 6 so ##P(a=6\lor b=6)=\frac{305716}{1000000}\approx \frac{11}{36}##.

Finally, of the rolls that contained a 6 there were 55440 that summed to 7 so ##P(a+b=7|a=6 \lor b=6)=\frac{55440}{305761}\approx \frac{2}{11}##

So indeed the calculations in the OP are correct. Those two methods are calculating fundamentally different probabilities. They are not two ways of calculating the same probability.
 
Last edited:
  • #12
Dale said:
I am pretty sure that is not correct. Because the two dice are independent every cell has equal probability. So I cannot think why you would want to double the probability of one cell.

Whenever you are in doubt just do a Monte Carlo simulation. I wrote a Mathematica script that rolled a million pairs of dice. Of those 166359 summed to 7 so ##P(a+b=7)=\frac{166359}{1000000}\approx \frac{1}{6}##. Of the million rolls 305716 rolls contained a 6 so ##P(a=6\lor b=6)=\frac{305716}{1000000}\approx \frac{11}{36}##. Finally, of the rolls that contained a 6 there were 55440 that summed to 7 so ##P(a+b=7|a=6 \lor b=6)=\frac{55440}{305761}\approx \frac{2}{11}##

So indeed the calculations in the OP are correct. Those two methods are calculating fundamentally different probabilities. They are not two ways of calculating the same probability.
The second of those 2 does not reasonably simulate the roll of 2 dice; only the first one does ##-## the second counts a 6-containing cell only once even when that cell contains 2 6s ##-## of the 36 cells in the table, 6 contain a 7, so the probability is 6/36=1/6. You count a row of 6 cells for 1 die, and a column of 6 cells for the other die. The cell at which the row and the column intersect is counted once qua row cell and once qua column cell, because there are all 6 possibilities for each row, and all 6 possibilities for each column, whence the 6x6=36 cells.
 
  • #13
sysprog said:
The second of those 2 does not reasonably simulate the roll of 2 dice; only the first one does
The second of what 2?

I used exactly the same million dice rolls for all of my counts. There is only one set of a million rolls.
 
  • #14
Dale said:
The second of what 2?
The second of the 2 Monte Carlo simulations, which counts only 11 cells instead of counting all 6 values in the row for one die and all 6 values in the column for the other die.
 
  • #15
sysprog said:
The second of the 2 Monte Carlo simulations, which counts only 11 cells instead of counting all 6 values in the row for one die and all 6 values in the column for the other die.
There was only one Monte Carlo simulation. All of the counts came from the same simulation of a million rolls. The point of the (one) simulation is to show that being told that one of the numbers is a 6 does in fact change the probability that the sum is 7.
 
Last edited:
  • #16
I would like to confirm what Dale taught.

You did many times of two dice throws. I gathered and investigated the throw results and prepared three kind of data set

#1 I selected all the data showing at least one 6.
#2 I selected all the data of dice A show 6.
#3 I selected all the data of reading dice A or B with random choice and show 6.

You pick up one data blindly among these sets.
How much is the probability of picking up data that one dice show 1 ?

Ans. #1 2/11 #2,3 1/6

bahamagreen said:
Summary:: Six sided fair dice (two) labeled standard 1-6; two methods of calculating p(7) get different p?

So it would not have mattered if you were informed of one of the faces or not; you could have just imagined that it must be some number and used this method in the first scenario... what is wrong with this method? If the total cells selected came to 12 instead of 11, the p(7) would be right... Some reason the row-column intersection cell needs to be counted twice?

How "informed one of the faces" differs in these three cases.
 
Last edited:
  • #17
Dale said:
There was only one Monte Carlo simulation. All of the counts came from the same simulation of a million rolls. The point of the (one) simulation is to show that being told that one of the numbers is a 6 does in fact change the probability that the sum is 7.
I acknowledge that you did only 1 simulation of 1 million rolls; however, you did 2 countings, and the second of them does not accurately reflect the rolling of 2 dice.

The values shown on the faces are independent of each other, so whether you observe one of them before observing the other, the probability of 7 remains 1/6.

Being told that one of the dice shows a 6, does not alter the 1/6 probability that the other shows a 1, so the probability of a 7 is still 1/6.

Regardless of what the first die shows, the probability that the value on the second will, with the value shown on the first, sum to 7, is always 1/6.

Being told one number before the other has no effect or bearing on the 1/6 probability of each number for each of the 2 dice.
 
Last edited:
  • #18
sysprog said:
Regardless of what the first die shows, the probability that the value on the second will, with the value shown on the first, sum to 7, is always 1/6.

Being told one number before the other has no effect or bearing on the 1/6 probability of each number for each of the 2 dice.
Sure, but that is not what was described in the OP. What you are saying here is ##P(a+b=7|a=6)=\frac{1}{6}##

This is a correct statement but the condition from the OP is ##a= 6 \lor b=6## not ##a=6##. My simulation and my counts correctly reflect that
 
Last edited:
  • #19
Dale said:
Sure, but that is not what was described in the OP. What you are saying here is ##P(a+b=7|a=6)=\frac{1}{6}##

This is a correct statement but the condition from the OP is ##a= 6 \lor b=6## not ##a=6##
If you are told that at least one of the 2 dice shows a 6, a 5, a 4, a 3, a 2, or a 1, the probability that the other die shows a number that with the first sums to 7 remains 1/6. If you are told that exactly 1 of the dice shows a certain 1 of the 6 possibilities, you can eliminate that possibility for the other die, so that the probability for the other die of a number that with the disclosed number sums to 7 would be 1/5. That's not what was postulated in the OP ##-## it says that you are told that 1 of the dice shows a 6, but you are not told that exactly 1 of the dice is a 6, and if you are told only that at least 1 of them is a 6, it doesn't matter which one it is ##-## the other could still be any of the 6 possibilities, resulting in a probability for a sum of 7 that is 1/6.
 
  • #20
sysprog said:
If you are told that at least one ... If you are told that exactly 1
Neither of those wordings was used. The wording was
bahamagreen said:
you are informed that one of the faces shows a six
That is pretty standard phrasing meaning ##a=6 \lor b=6## but in case there were any doubt on the meaning the OP said very clearly
bahamagreen said:
the number of possibilities that include six (the cells comprised of row 6 and column 6) so you count 11 of these cells
So there can be no ambiguity that the conditional is ##a=6 \lor b=6## rather than ##a=6##

sysprog said:
it says that you are told that 1 of the dice shows a 6, but you are not told that exactly 1 of the dice is a 6, and if you are told only that at least 1 of them is a 6, it doesn't matter which one it is −−- the other could still be any of the 6 possibilities, resulting in a probability for a sum of 7 that is 1/6
Here your words don’t match your math. Your words say ##a=6 \lor b=6## but ##P(a+b=7|a=6 \lor b=6)\ne 1/6##
 
  • #21
Dale said:
Neither of those wordings was used. The wording was [##\dots##you are informed that one of the faces shows a six.] That is pretty standard phrasing meaning ##a=6 \lor b=6##
That expression is true if ##a= 6##, if ##b=6##, and if both ##a=6## and ##b=6##.
but in case there were any doubt on the meaning the OP said very clearly So there can be no ambiguity that the conditional is ##a=6 \lor b=6## rather than ##a=6##
I didn't claim that what the OP said meant ##a=6##; I said that it didn't assert that exactly one of ##a \lor b## is true.
Here your words don’t match your math. Your words say ##a=6 \lor b=6## but ##P(a+b=7|a=6 \lor b=6)\ne 1/6##
To me it seems that you are interpreting ##a \lor b## as if it meant ##a \oplus b## ,
i.e.,
treating (##a## OR ##b##) as if it meant (##a## XOR ##b##).
 
Last edited:
  • #22
sysprog said:
That expression is true if ##a= 6##, if ##b=6##, and if both ##a=6## and ##b=6##.
Correct. I agree.

sysprog said:
I didn't claim that what the OP said meant ##a=6##; I said that it didn't assert that exactly one of ##a \lor b## is true.
Yes, I agree here also.

sysprog said:
To me it seems that you are interpreting ##a \lor b## as if it meant ##a \oplus b## ,
i.e.,
treating (##a## OR ##b##) as if it meant (##a## XOR ##b##).
I am not sure why you think that. I am using ##\lor## and not ##\oplus## in all of my notation and in my Monte Carlo simulation.

##P(a+b=7|a=6\lor b=6)=2/11## with ##a=6 \lor b=6## including the event when both ##a=6## and ##b=6##.

If you believe that ##P(a+b=7|a=6\lor b=6)=1/6## then I encourage you to do a Monte Carlo simulation of your own.
 
  • Like
Likes hutchphd
  • #23
Dale said:
Correct. I agree.

Yes, I agree here also.

I am not sure why you think that. I am using ##\lor## and not ##\oplus## in all of my notation and in my Monte Carlo simulation.
To put it another way: it appears that you are using conditional probability for independent events, which results in 2/11 probability for 7, just as treating 'at least one' as if it meant the same as 'exactly one' would.
##P(a+b=7|a=6\lor b=6)=2/11## with ##a=6 \lor b=6## including the event when both ##a=6## and ##b=6##.

If you believe that ##P(a+b=7|a=6\lor b=6)=1/6## then I encourage you to do a Monte Carlo simulation of your own.
For each possibility for die ##a##, there are 6 possibilities for die ##b##, and for each of the 6 possibilities for die ##b##, there are 6 possibilities for die ##a##.

Being told that one of the dice shows a ##6## does not change the ##1/6## probability of each value for the other die; it tells you that if die ##a## shows a ##6##, die ##b## will have to show a ##1## for the numbers showing on the two dice to sum to ##7##, and if die ##b## shows a ##6,## die ##a## will have to show a ##1## for the sum of the numbers showing on the two dice to be ##7##; it has no bearing on the fact that when one of the two dice shows a ##6##, the ##6## possibilities for the other are equiprobable at ##1/6## each, including ##1 /6## chance of a ##1##, and consequently ##1/6## chance for a sum of ##7##.

Once we are told that ##(a=6 \lor b=6)## then ##P(a=6 \land b=6)## increases from ##1/36## to ##1/6##, and ##P(a=6 \lor b=6) = 1## but ##P(a=1 \lor b =1)## remains ##1/6##, just as it was before we were told anything, while after we are told that ##(a \lor b) = 6## then we know that ##P(a=1 \land b=1) =0##

Die ##a## does not lose its ##1/6## chance of showing a ##6## if die ##b## shows a ##6##, and die ##b## does not lose its ##1/6## chance of showing a ##6## if die ##a## shows a ##6##. After we are told that either '##a \lor b## shows a ##6##', or 'die ##a## shows a ##6##', or 'die ##b## shows a ##6##', the probability that ##a \lor b## shows a ##1## is ##1/6##; not ##2/11##.

The counting method that results in ##2/11## when one of the dice shows a ##6## would also result in ##2/11## each when we are told that one of the dice shows a ##5, 4, 3, 2,## or ##1##. That would make the possible outcomes sum to ##12/11## instead of ##1##, which is clearly incorrect.

Whether that results from treating independent events as conditional, or treating 'at least' as if it meant 'exactly' or treating 'OR' as if it meant 'XOR' does not change the fact that what shows on one die, regardless of us being told that one die shows ##n## such that ##(n=1 \oplus n=2 \oplus n=3 \oplus n=4 \oplus n-5 \oplus n=6)##, leaves 2 equiprobable sets of 6 ordered pairs for each of the 6 possible values of ##n##, e.g. when ##n=6##: ## [(6, 1), (6, 2), (6, 3), (6, 4), (6, 5,), (6, 6)]##, and ##[(1, 6), (2, 6), (3, 6), (4, 6), (5, 6), (6, 6)]##. Of those 12, 2 sum to 7, meaning ##2/12=1/6## probability of ##7##.

It may be objected that##(6, 6)## is being counted twice, but that's not legitimately objectionable, because the ##1/6## chance for each number for one die is independent of the ##1/6## chance for each number for the other die, regardless of which is 'one' and which is 'the other', and, as long as what we say leaves at least one or the other of the dice unrestricted, also regardless of whatever we may say about what is showing on the two dice.

Being truthfully told that one of the dice shows a ##6 ## does not affect the ##1/6## probability that we could also be truthfully told that one of dice shows a ##1##, which means that us being told that one of the dice shows a ##6## does not change the ##1/6## probability that the sum of what is shown on the two dice is ##7##.
 
  • #24
sysprog said:
To put it another way: it appears that you are using conditional probability for independent events, which results in 2/11 probability for 7, just as treating 'at least one' as if it meant the same as 'exactly one' would.
This is not correct. ##P(a+b=7|a=6 \oplus b=6)=1/5 \ne 2/11## so I am not sure why it appears that way to you. Again, I encourage you to do the Monte Carlo simulation yourself.

Regarding the rest, I will go through your math after work. In the meantime here is my Mathematica code for the Monte Carlo simulation:

For simulating rolling two six-sided dice:
d6 := RandomInteger[{1, 6}]
d66 := {d6, d6}
For counting events:
contains6[{a_, b_}] := Or[a == 6 , b == 6]
containsOne6[{a_, b_}] := Xor[a == 6 , b == 6]
sumsTo7[{a_, b_}] := a + b == 7
For the Monte Carlo simulation:
nrolls = 1000000
rolls = Table[d66, {nrolls}];

rollss7 = Select[rolls, sumsTo7];
rollsw6 = Select[rolls, contains6];
rollswOne6 = Select[rolls, containsOne6];

rollsw6s7 = Select[rollsw6, sumsTo7];
rollswOne6s7 = Select[rollswOne6, sumsTo7];
 
Last edited:
  • #25
sysprog said:
Once we are told that (a=6∨b=6)(a=6∨b=6)(a=6 \lor b=6) then P(a=6∧b=6)P(a=6∧b=6)P(a=6 \land b=6) increases from 1/361/361/36 to 1/61/61/6, and P(a=6∨b=6)=1P(a=6∨b=6)=1P(a=6 \lor b=6) = 1 but P(a=1∨b=1)P(a=1∨b=1)P(a=1 \lor b =1) remains 1/61/61/6, just as it was before we were told anything, while after we are told that (a∨b)=6(a∨b)=6(a \lor b) = 6 then we know that P(a=1∧b=1)=0P(a=1∧b=1)=0P(a=1 \land b=1) =0
I too am having trouble getting my head around this but I believe @Dale to be correct (aside from the fact that he usually is) .

What probability do you calculate for P(a≠6 AND b≠6)?? My math says 25/36. Therefore P(a=6 OR b=6)=11/36 exactly.
P(a=6 OR b=6|a+b=7)=1/3
P(a+b=7)=1/6
Bayes Theorem gives the result ! First time I ever used it...pretty good stuff.

P(a+b=7|a=6 OR b=6)=(1/3)(1/6)/(11/36)= 2/11
 
  • Like
Likes Dale
  • #26
sysprog said:
Being told that one of the dice shows a 6 does not change the 1/6 probability of each value for the other die
Already here you need to be careful. Here by "one of the dice shows a 6" you do not mean ##a=6 \lor b=6##, which is how that term has been used elsewhere. You mean that ##P(b=n|a=6)=1/6## and ##P(a=n|b=6)=1/6## for each integer n from 1 to 6. But the conditional you are describing here is dramatically different from the conditional in the OP even though you are using the same words.

If we use the consistent meaning of "one of the dice shows a 6" as intended in the OP meaning ##a=6 \lor b=6## then being told that ##a=6 \lor b=6## does in fact change the probability of each value for the other die. In fact ##P(other=n|a=6 \lor b=6)=2/11## for ##n \ne 6## and ##P(other=6|a=6 \lor b=6)=1/11##. There is some ambiguity in "one" die and "the other" when both show 6, but regardless of how you identify the dice in that scenario the probability is less for that case than for the remaining cases.

sysprog said:
it has no bearing on the fact that when one of the two dice shows a 6, the 6 possibilities for the other are equiprobable at 1/6 each, including 1/6 chance of a 1, and consequently 1/6 chance for a sum of 7.
This is again using the inconsistent meaning of "one of the two dice shows a 6".

sysprog said:
Once we are told that ##(a=6 \lor b=6)## then ##P(a=6 \land b=6)## increases from ##1/36## to ##1/6##,
No ##P(a=6 \land b=6 | a=6 \lor b=6) = 1/11 \ne 1/6##.

sysprog said:
but ##P(a=1 \lor b =1)## remains ##1/6##, just as it was before we were told anything,
No ##P(a=1 \lor b=1 | a=6 \lor b=1) = 2/11##.

sysprog said:
Die ##a## does not lose its ##1/6## chance of showing a ##6## if die ##b## shows a ##6##, and die ##b## does not lose its ##1/6## chance of showing a ##6## if die ##a## shows a ##6##.
Yes. ##P(a=6|b=6)=1/6## and ##P(b=6|a=6)=1/6##.

sysprog said:
After we are told that either '##a \lor b## shows a ##6##', or 'die ##a## shows a ##6##', or 'die ##b## shows a ##6##', the probability that ##a \lor b## shows a ##1## is ##1/6##; not ##2/11##.
No, ##P(a=1 \lor b=1 | a=6 \lor b=6)=2/11##. See above. Again, you really should do your own Monte Carlo simulation.

sysprog said:
The counting method that results in ##2/11## when one of the dice shows a ##6## would also result in ##2/11## each when we are told that one of the dice shows a ##5, 4, 3, 2,## or ##1##. That would make the possible outcomes sum to ##12/11## instead of ##1##, which is clearly incorrect.
That is clearly incorrect, but the incorrect thing is to sum those probabilities, not the probabilities themselves.

sysprog said:
Whether that results from treating independent events as conditional, or treating 'at least' as if it meant 'exactly' or treating 'OR' as if it meant 'XOR' does not change the fact that what shows on one die, regardless of us being told that one die shows ##n## such that ##(n=1 \oplus n=2 \oplus n=3 \oplus n=4 \oplus n-5 \oplus n=6)##, leaves 2 equiprobable sets of 6 ordered pairs for each of the 6 possible values of ##n##, e.g. when ##n=6##: ## [(6, 1), (6, 2), (6, 3), (6, 4), (6, 5,), (6, 6)]##, and ##[(1, 6), (2, 6), (3, 6), (4, 6), (5, 6), (6, 6)]##. Of those 12, 2 sum to 7, meaning ##2/12=1/6## probability of ##7##.

It may be objected that##(6, 6)## is being counted twice, but that's not legitimately objectionable, because the ##1/6## chance for each number for one die is independent of the ##1/6## chance for each number for the other die, regardless of which is 'one' and which is 'the other', and, as long as what we say leaves at least one or the other of the dice unrestricted, also regardless of whatever we may say about what is showing on the two dice.
It is legitimately objectionable and in fact is the key mistake you are making. Don't take my word for it, do your own Monte Carlo simulation.

sysprog said:
Being truthfully told that one of the dice shows a ##6 ## does not affect the ##1/6## probability that we could also be truthfully told that one of dice shows a ##1##, which means that us being told that one of the dice shows a ##6## does not change the ##1/6## probability that the sum of what is shown on the two dice is ##7##.
Again it does affect the probability ##P(a=1 \lor b=1| a=6 \lor b=6)=2/11 \ne 1/6##
 
Last edited:
  • #27
@Dale and @hutchphd:

Your gentle persistence has allowed me finally to recognize my errors. As soon as @hutchphd raised the point that ##P(\neg a \land \neg b)= 25/36##, leaving ##11/36##, ##2## of which ##11## sum to ##7##, yielding ##2/11## probability for ##7##, I saw what @Dale had been saying all along. Thanks for your kind correction.
 
  • Like
Likes hutchphd and Dale
  • #28
bahamagreen said:
A closer look reveals that if you had been informed that one of the faces showed a 5, 4, 3, 2, or 1, you would find the same number of cells containing that row-column number (eleven of them), and the same number of cells totaling 7, (two of them).
So it would not have mattered if you were informed of one of the faces or not; you could have just imagined that it must be some number and used this method in the first scenario... what is wrong with this method?
sysprog said:
The counting method that results in ##2/11## when one of the dice shows a ##6## would also result in ##2/11## each when we are told that one of the dice shows a ##5, 4, 3, 2,## or ##1##. That would make the possible outcomes sum to ##12/11## instead of ##1##, which is clearly incorrect.
I wanted to address this issue since it hasn't been covered well. This does appear to be a problem. For brevity let us define the events ##\Omega_n= (a=n \lor b=n)## which is the event that one of the dice shows the number n.

Regardless of n ##P(a+b=7|\Omega_n)=2/11##. This is weird because we know that the unconditional probability ##P(a+b=7)=1/6## so naively we might expect that ##\Sigma_{n=1}^6 P(a+b=7|\Omega_n)=1/6## also, but that is clearly not the case at all. The problem is that the events ##\Omega_n## are not disjoint. In other words ##P(\Omega_1 \land \Omega_2)\ne 0## as there are two cases where one of the dice shows 1 and one of the dice shows 2, specifically (1,2) and (2,1). So the formula you need to use is more complicated than simple addition and I don’t remember it offhand.
 
  • #29
bahamagreen said:
So it would not have mattered if you were informed of one of the faces or not; you could have just imagined that it must be some number
That isn't a specific description of what is imagined.

The description "The subset ##S## of results such that at least one of the dice produces an x" does not describe a specific subset the sample space unless "x" is given a specific value or the variable "x" is quantified in some way.

(The phrase "At least one of the dice produces an x" is not a logical proposition - i.e. the phrase cannot be assigned a value of True or False unless we assume some quantifier or value is associated with "x".)case 1: If you imagine that the subset ##S## of the sample space consists of results satisfying: "There exists a value x such that at least one of the dice produces an x" then this describes the set of all 36 outcomes.

case 2: If you imagine that the subset ##S## of the sample space satisfies "For x = 1,2,...6, there is a result in ##S## where at least one of the dice produces x", then this also describes the entire space of 36 outcomes.

case 3: If you imagine that the subset ##S## consists of results satisfying "At least one of the dice produces a 6" then this describes a proper subset of 11 outcomes the sample space.

and used this method in the first scenario... what is wrong with this method?

You can't assume a calculation based on case 3 applies when what you imagine is case 1 or case 2.
 
Last edited:
  • Like
Likes hutchphd and sysprog
  • #30
Stephen Tashi said:
case 3: If you imagine that the subset S consists of results satisfying "At least one of the dice produces a 6" then this describes a proper subset of 11 outcomes the sample space.

That is a very nice way to look at it. If you repeat this for each allowed value (6,5,4,3,2,1) then each time you generate a different proper subset of 11, and among all 66 the 30 "off diagonal" outcomes will show up twice. Thanks
 
  • #31
bahamagreen said:
Summary:: Six sided fair dice (two) labeled standard 1-6; two methods of calculating p(7) get different p?

Scenario 1]
The dice are rolled out of your sight and you are then asked the p(7), before you are allowed to look at the results.

Calculate p(7) by looking at table of 36 possibilities and counting the number of sum cells totals that equal 7, there are six of them, so

p(7) = 6/36 = 1/6

Scenario 2]
Same as in 1 except before you're requested for your calculation of p(7) you are informed that one of the faces shows a six.

You calculate p(7) by looking at the table of 36 possibilities and counting the number of possibilities that include six (the cells comprised of row 6 and column 6) so you count 11 of these cells whose row or column value is 6, and notice that 2 of them indicate 7 as their cell sums so

p(7) = 2/11 > 1/6

Sorry to come in late. The question is ambiguous and has no well-defined answer unless you describe how the information about the faces has been obtained. This is the same as the "second child" problem.

To show how the question has no unique answer, consider these three example cases:

1) The dice are thrown. Someone looks at the first die and tells you what it reads. In this case, you are told "one of the faces shows an ##n##", where ##n## is any number between one and six with equal probability.

In this scenario, the probability that the total is ##7## remains ##1/6##.

2) The dice are thrown. Someone looks at both dice and if there is a six they tell you. In this case, you are told "one of the faces shows a ##6##" with probability ##11/36##. And, you are presumably told (or can infer) that neither die shows a ##6## with probability ##25/36##.

In this scenario, the probability that the total is ##7## is slightly changed (as described and simulated above).

3) The dice are thrown. A passer-by is brought in off the street and asked to look at the dice and say something. They say: "one of the faces shows a ##6##".

In this scenario, you cannot compute a well-defined probability without making further assumptions about human behaviour and, in particular: if the dice show ##2## and ##6##, say, how likely it is that the person will choose the ##2## or the ##6##? The natural assumption is perhaps scenario 1: that the choice is equally likely. But, who knows, people in general may have a strong bias towards seeing the number six.
 
Last edited:
  • #32
Here is perhaps a cleaner way to look at this. Imagine that the data comes from a computer program. It simulates the roll of two dice then tells you something.

The first program checks (potentially both dice) and reports either: (at least) one face shows a six; or, not. This is the implied/assumed scenario.

The second program checks the first die and reports: (at least) one face shows an ##n##, where ## n = 1-6##. Note the equal probability for the different ##n## here. This is the second scenario.

The third program checks first for a one, then for a two etc. and reports the first number it finds: (at least) one face shows an ##n##, where ## n = 1-6##. Note now that there is not an equal probability of each ##n##. And, in fact, if this program reports a ##6##, then we know for certain that both dice are ##6##. Otherwise, it would have found and reported the lower number.

The probabilities depend not just on the data that comes out, but the process the computer is following to generate the data. Without knowing the process, the question is ambiguous.
 
  • Like
Likes pbuk
  • #33
If we interpret the situation as that the reporter is confronted by 2 randomly rolled dice, and always truthfully reports "at least one of the dice shows ##n##", where ##n## = 1, 2, 3, 4, 5, or 6, and of the 36 possible cases, in the 30 of them that are such that the 2 dice show different values, the reporter decides at random which number to report, whereas in the 6 cases in which the 2 dice show the same value, the reporter has only that value to report, so he reports that value, then in the in the 30/36 cases in which the numbers are different, there is a 1/2 chance for each of the 2 numbers that the reporter will report that number, whereas in the 6 cases in which both dice show the same value, there is a 1/1 chance of the reporter reporting the double number, which means that compared to the 30 different-number cases, the 6 double-number cases are double-weighted, which results in the same 1/6 chance of the dice summing to 7 as for 2 independent dice about which nothing is reported.

Breaking up that sentence in hope of improved perusability:

If we interpret the situation as that the reporter is confronted by 2 randomly rolled dice, and always truthfully reports "at least one of the dice shows ##n##", where ##n## = 1, 2, 3, 4, 5, or 6,

and of the 36 possible cases, in the 30 of them that are such that the 2 dice show different values, the reporter decides at random which number to report,

whereas in the 6 cases in which the 2 dice show the same value, the reporter has only that value to report, so he reports that value,

then in the in the 30/36 cases in which the numbers are different, there is a 1/2 chance for each of the 2 numbers that the reporter will report that number,

whereas in the 6 cases in which both dice show the same value, there is a 1/1 chance of the reporter reporting the double number,

which means that compared to the 30 different-number cases, the 6 double-number cases are double-weighted,

which results in the same 1/6 chance of the dice summing to 7 as for 2 independent dice about which nothing is reported.
 
  • Like
Likes mfb

FAQ: Dice calculation of p(7), two different values?

What is the probability of rolling a total of 7 with two dice?

The probability of rolling a total of 7 with two dice is 1/6 or approximately 16.67%. This can be calculated by dividing the number of possible ways to roll a 7 (6) by the total number of possible outcomes (36).

How do you calculate the probability of rolling a 7 with two different values on each die?

The probability of rolling a 7 with two different values on each die is also 1/6 or approximately 16.67%. This is because there are still only 6 ways to roll a 7, regardless of the values on each die. The order of the values does not matter in this calculation.

Is the probability of rolling a 7 with two dice affected by the values on each die?

No, the probability of rolling a 7 with two dice is not affected by the values on each die. As mentioned before, there are still only 6 ways to roll a 7, regardless of the values on each die. The probability remains the same regardless of the values on the dice.

How does the number of dice affect the probability of rolling a 7?

The number of dice does not affect the probability of rolling a 7. The probability of rolling a 7 with two dice is the same as rolling a 7 with three or four dice. The only thing that changes is the total number of possible outcomes, which increases as the number of dice increases.

Can the probability of rolling a 7 with two dice be greater than 1?

No, the probability of rolling a 7 with two dice cannot be greater than 1. This is because the probability is a measure of the likelihood of an event occurring, and it cannot be greater than 1 or 100%. In this case, the probability of rolling a 7 is 1/6 or approximately 16.67%, which is less than 1.

Back
Top