|
Two dice totals |
||||||
|
Die 1 |
Die 2 |
|||||
|
1 |
2 |
3 |
4 |
5 |
6 |
|
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
|
2 |
3 |
4 |
5 |
6 |
7 |
8 |
|
3 |
4 |
5 |
6 |
7 |
8 |
9 |
|
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|
5 |
6 |
7 |
8 |
9 |
10 |
11 |
|
6 |
7 |
8 |
9 |
10 |
11 |
12 |
As an example, here are some probabilities and conditional probabilities computed with the help of this table:
P(Die 1 is odd) = 18/36 = 1/2 P(Die 2 is odd) = 18/36 = 1/2 EVENT A: at least one of the two are odd EVENT B: total is odd EVENT C: total is even P(A) = (18+9)/36 = 27/36 = 3/4 P(A|B) = P(A, B)/P(B) = (18/36)/(18/36) = 1 P(A|C) = P(A, C)/P(C) = (9/36)/(18/36) = 1/4
Given mutually exclusive sets X_i, each with a number of elements |X_i|=m_i, then (Rule of Sum) the number of ways to make a choice from X_1 or X_2 or ... or X_n is m_1 + m_2 + ... + m_n; (Rule of Product) the number of ways make a choice from each of X_1 and X_2 and ... and X_n is m_1 * m_2 * ... * m_n
For example, I have 16 books on Java and 4 books on Perl (and none that cover both). The "rule of sum" says there are 20 books I could choose from to learn about either of the two subjects. If I must learn about both Java and Perl, and choose one of each, then the total number of two-book libaries is 16*4.
For the second part, recompute the general probabilities (recount) to be consistent with all the data given in the figure.