Maths › Edexcel › Chapter 2: Conditional probability
Probability formulae
Statistics and Mechanics Year 2, chapter 2 (Conditional probability), section 2.4
Formulae
Multiplication rule:
P(A∩B)=P(A∣B)P(B)=P(B∣A)P(A)
Law of total probability: if B and B′ cover all cases,
P(A)=P(A∣B)P(B)+P(A∣B′)P(B′)
Reversing the condition (Bayes' theorem in its simple form):
P(B∣A)=P(A)P(A∣B)P(B)
Worked example
Machine M1 makes 60% of items, with a 2% defect rate. Machine M2 makes 40%, with a 5% defect rate.
P(defective)=0.6×0.02+0.4×0.05=0.012+0.02=0.032
An item is found to be defective. The probability it came from M1:
P(M1∣D)=0.0320.6×0.02=0.0320.012=0.375
Using the formulae with independence
If A and B are independent, P(A∣B)=P(A) and the multiplication rule reduces to P(A∩B)=P(A)P(B).
Tip
Draw a tree diagram or two-way table first: the formulae then follow from adding and dividing probabilities.
Common mistake: forgetting to add both routes in the total-probability calculation. The probability of a defect comes from machine 1 and machine 2. Also, do not swap P(B∣A) and P(A∣B).
Exam tip: set out the numerator ("path to the event") and the denominator ("all paths to the condition"). Check that your answer is a probability between 0 and 1.