
general multiplication rule | القانون العام "للضرب"
p(a and b) = p(a)p(b |a)
مثال
a golfer has 12 golf shirts in his closet. Suppose 9 of these shirts are white and the others blue. He gets dressed in the dark, so he
just grabs a shirt and puts it on. He plays golf two days in a row and does not do laundry.
What is the likelihood both shirts selected are white?
لاعب قولف لديه 12 قميص 9 منهم بيضاء اللون و البقيه زرقاء .. اضطر الى ارتداء ملابسه في الظلام لذا سحب قميص و ارتداه دون ان يعرف
اللون
لعب القولف لمدة يومين و لم يقم بغسل القمصان !
ما احتمال ان يكون كلا القمصين بيضاء اللون ؟!
The event that the first shirt selected is white is w1. The probability is p(w1)
= 9/12
احتمال ان يكون القميص الاول ابيض اللون = 9/12 <~ عدد القمصان البيضاء مقسومه على العدد الكلي
the event that the second shirt (w2 )selected is also white. The conditional probability that the second shirt selected is white, given
that the first shirt selected is also white, is p(w2 | w1) = 8/11.
الحدث الثاني "ان القميص المختار ابيض اللون" و بما ان القميص الاول كان ابيضاً ايضاً فانه p(w2 | w1) = 8/11 <~ عدد القمصان البيضاء - 1
لانه قد قام بإرتداء احدها مسبقاً مقسومه على عدد القمصان الكلي !
To determine the probability of 2 white shirts being selected we use formula:
احتمال ان يكون كلا القميصين باللون الابيض :~
p(ab) = p(a) p(b|a)
p(w1 and w2) = p(w1)p(w2 |w1) = (9/12)(8/11) = 0.55