By the definition of conditional probability,
P(X1=4orX2=4∣X1+X2=7)=P(X1+X2=7)P(X1=4orX2=4andP(X1+X2=7)
=P(X1+X2=7)P((X1=4andX1+X2=7)or(X2=4andX1+X2=7))
Assuming a standard 6 sided fair die,
If X1=4 , then X1+X2=7 means X2=3 , otherwise,
If X2=4 , then X1=3
Both outcomes are mutually exclusive with probability 361 each, Hence total probability
=361+361=181
Of the 36 possible outcomes, there are 6 ways to sum the integers 1-6 to get 7:
(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)
and so a sum of 7 occurs 366=61 of the time.
Then the probability we want is:
P(X1=4orX2∣X1+X2=7)=61181=31
Comments