Example — Driving test

The probability of passing the driving test is 30%30\% for those who have taken at least 1010 lessons, and 10%10\% for those who have taken fewer than 1010. Among those who passed the test, those who took at least 1010 lessons are 50%50\%. What is the percentage of people who take few lessons?

Let us define AA = “passing the test”, BB = “having taken at least 1010 lessons”. Data:

P(AB)=0,3,P(AB)=0,1,P(BA)=0,5.P(A\mid B) = 0,3, \quad P(A\mid \overline{B}) = 0,1, \quad P(B\mid A) = 0,5.

Requested: P(B)=1P(B)P(\overline{B}) = 1-P(B).

By the law of compound probability, P(AB)P(A\cap B) can be written in two ways:

P(AB)=P(B)P(AB)=0,3P(B),P(A\cap B) = P(B)\cdot P(A\mid B) = 0,3\,P(B),

P(AB)=P(A)P(BA)=0,5P(A).P(A\cap B) = P(A)\cdot P(B\mid A) = 0,5\,P(A).

Equating: 0,3P(B)=0,5P(A)0,3\,P(B) = 0,5\,P(A), that is P(A)=0,6P(B)P(A) = 0,6\,P(B).

On the other hand, using the decomposition of P(A)P(A) over the two cases (lessons 10\ge 10 and lessons <10<10):

P(A)=P(AB)+P(AB)=0,3P(B)+0,1(1P(B))=0,2P(B)+0,1.P(A) = P(A\cap B) + P(A\cap\overline{B}) = 0,3\,P(B) + 0,1\,(1-P(B)) = 0,2\,P(B) + 0,1.

Combining with P(A)=0,6P(B)P(A) = 0,6\,P(B):

0,6P(B)=0,2P(B)+0,1    0,4P(B)=0,1    P(B)=0,25.0,6\,P(B) = 0,2\,P(B) + 0,1 \implies 0,4\,P(B) = 0,1 \implies P(B) = \boxed{0,25}.

So 25%25\% of the people take at least 1010 lessons, and 75%\boxed{75\%} take fewer than 1010.

Check via table: P(A)=0,60,25=0,15P(A) = 0,6\cdot 0,25 = 0,15 (that is, 15%15\% pass the test, a value intermediate between 30%30\% and 10%10\%, reasonable). The contingency table is filled in as:

AA (passed)A\overline{A} (failed)Total
BB (10\ge 10 lessons)0,0750,0750,1750,1750,250,25
B\overline{B} (<10<10 lessons)0,0750,0750,6750,6750,750,75
Total0,150,150,850,8511

All the constraints are satisfied ✓.

Topics: Probability
Concepts: Product formula · Conditional probability · Total probability
Methods: Conditional probability · Total probability
Skills: Probability calculation · Solving equations