Class 12 Maths, Worked in Full Past papersGet updates
Chapter 13 · Probability

Exercise 13.3 · Q7: Insured drivers: a scooter driver, given an accident, P=152P = \frac{1}{52}

Exercise 13.3Bayes' theorem · Section 13.5
The question

An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probability of an accidents are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. What is the probability that he is a scooter driver?

Exam answer

Let E1E_1⁠: the insured person is a scooter driver, E2E_2⁠: a car driver, E3E_3⁠: a truck driver, and AA⁠: the person meets with an accident.

E1E_1⁠, E2E_2 and E3E_3 form a partition of the sample space (each insured person drives exactly one of these).

Number insured: 2000+4000+6000=120002000 + 4000 + 6000 = 12000⁠.

P(E1)=200012000=16P(E_1) = \frac{2000}{12000} = \frac16

P(E2)=400012000=13P(E_2) = \frac{4000}{12000} = \frac13

P(E3)=600012000=12P(E_3) = \frac{6000}{12000} = \frac12

P(A∣E1)=0.01=1100P(A|E_1) = 0.01 = \frac{1}{100}

P(A∣E2)=0.03=3100P(A|E_2) = 0.03 = \frac{3}{100}

P(A∣E3)=0.15=15100P(A|E_3) = 0.15 = \frac{15}{100}

By the theorem of total probability,

P(A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)+P(E3)P(A∣E3)=16⋅1100+13⋅3100+12⋅15100=1600+6600+45600=52600\begin{aligned} P(A) &= P(E_1)P(A|E_1) \\ &\quad + P(E_2)P(A|E_2) \\ &\quad + P(E_3)P(A|E_3) \\ &= \frac16\cdot\frac{1}{100} + \frac13\cdot\frac{3}{100} \\ &\quad + \frac12\cdot\frac{15}{100} \\ &= \frac{1}{600} + \frac{6}{600} + \frac{45}{600} \\ &= \frac{52}{600} \end{aligned}

By Bayes' theorem,

P(E1∣A)=P(E1)P(A∣E1)P(A)=1600÷52600=1600×60052\begin{aligned} P(E_1|A) &= \frac{P(E_1)P(A|E_1)}{P(A)} \\ &= \frac{1}{600} \div \frac{52}{600} \\ &= \frac{1}{600} \times \frac{600}{52} \end{aligned}

∴\therefore The probability that he is a scooter driver is 152\dfrac{1}{52}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

An accident can happen to a scooter, car or truck driver, and the numbers of drivers give the chance of each kind. Truck drivers are the most numerous and by far the most accident-prone, so most accidents are theirs. Bayes' theorem gives the scooter drivers' small share of all accidents: their route to an accident divided by all three routes.

Given, to find, and the plan
Given
2000 scooter, 4000 car and 6000 truck drivers are insured. The probability of an accident is 0.01 for a scooter driver, 0.03 for a car driver and 0.15 for a truck driver. One insured person has an accident.
To find
The probability that this person is a scooter driver: P(E1∣A)P(E_1|A)⁠.
Plan
(1) Name the three causes and the result; check the partition. (2) Turn the counts into P(Ei)P(E_i) and the decimals into fractions. (3) Total probability with three terms. (4) Bayes' theorem.

Basics you need

1Counts into probabilities

For a person picked at random from the 12000 insured, P(scooter driver)=200012000P(\text{scooter driver}) = \frac{2000}{12000}⁠. Basics: classical probability

2"Respectively" means one rate per group

0.01, 0.03 and 0.15 are the chances of an accident for a scooter, car and truck driver, in that order: they are P(A∣E1)P(A|E_1)⁠, P(A∣E2)P(A|E_2)⁠, P(A∣E3)P(A|E_3)⁠. Lesson: conditional probability

3Total probability and Bayes' theorem with three causes

P(A)P(A) is the sum of three paths, and P(E1∣A)P(E_1|A) is the E1E_1 path divided by P(A)P(A)⁠. Lesson: Bayes' theorem

4Common denominators

1600\frac{1}{600}⁠, 1100=6600\frac{1}{100} = \frac{6}{600} and 15200=45600\frac{15}{200} = \frac{45}{600} add easily. Basics: dividing by a fraction

Solution

  1. Name the events

    Let

    • E1E_1⁠: the insured person is a scooter driver;
    • E2E_2⁠: the insured person is a car driver;
    • E3E_3⁠: the insured person is a truck driver;
    • AA⁠: the insured person meets with an accident.

    E1E_1⁠, E2E_2⁠, E3E_3 form a partition of the sample space (all insured persons): the three groups do not overlap, together they make up all 1200012000 insured people, and none is empty.

    The type of vehicle is the cause; the accident is the observed result. The question treats each insured person as belonging to exactly one of the three groups.
    Partition: pairwise disjoint, exhaustive, nonzero probabilities (Section 13.5.1). Lesson: Bayes' theorem
  2. The six probabilities as fractions

    There are 2000+4000+6000=120002000 + 4000 + 6000 = 12000 insured people, so

    P(E1)=200012000=16,P(E2)=400012000=13,P(E3)=600012000=12,\begin{aligned} P(E_1) &= \frac{2000}{12000} = \frac16, \\ P(E_2) &= \frac{4000}{12000} = \frac13, \\ P(E_3) &= \frac{6000}{12000} = \frac12, \end{aligned}

    and the accident rates, converted from decimals, are

    P(A∣E1)=0.01=1100,P(A∣E2)=0.03=3100,P(A∣E3)=0.15=15100.\begin{aligned} P(A|E_1) &= 0.01 = \frac{1}{100}, \\ P(A|E_2) &= 0.03 = \frac{3}{100}, \\ P(A|E_3) &= 0.15 = \frac{15}{100}. \end{aligned}
    The person who has the accident is one of the insured, and before we know about the accident each insured person is equally likely, so a group's share of the 12000 is its probability. "The probability of an accidents are 0.01, 0.03 and 0.15 respectively" (the book's "an accidents" means "an accident") gives the accident chance inside each group, in the order scooter, car, truck. These are conditional probabilities.
    P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)} for equally likely outcomes. Basics: classical probability
  3. The chance of an accident

    Since E1E_1⁠, E2E_2⁠, E3E_3 form a partition, by the theorem of total probability

    P(A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)+P(E3)P(A∣E3)=16⋅1100+13⋅3100+12⋅15100=1600+1100+15200=1600+6600+45600=52600.\begin{aligned} P(A) &= P(E_1)P(A|E_1) \\ &\quad + P(E_2)P(A|E_2) \\ &\quad + P(E_3)P(A|E_3) \\ &= \frac16\cdot\frac{1}{100} + \frac13\cdot\frac{3}{100} + \frac12\cdot\frac{15}{100} \\ &= \frac{1}{600} + \frac{1}{100} + \frac{15}{200} \\ &= \frac{1}{600} + \frac{6}{600} + \frac{45}{600} = \frac{52}{600}. \end{aligned}
    start driver type accident or not multiply along the path insured E₁: scooter A: accident 1/6 × 1/100 = 1/600 A′: none 1/6 × 99/100 E₂: car A: accident 1/3 × 3/100 = 6/600 A′: none 1/3 × 97/100 E₃: truck A: accident 1/2 × 15/100 = 45/600 A′: none 1/2 × 85/100 1/6 1/100 99/100 1/3 3/100 97/100 1/2 15/100 85/100
    The tree for Question 7. The rose path (scooter, then accident) has product 1600\frac{1}{600}⁠; the car and truck accident paths (green) have 6600\frac{6}{600} and 45600\frac{45}{600}⁠. Together, P(A)=52600P(A) = \frac{52}{600}⁠.
    An accident happens to exactly one kind of driver, so the three path probabilities add. Keeping 52600\frac{52}{600} unsimplified makes the next step easy, because the 600 cancels.
    Multiply along a path, add the paths. Basics: tree diagrams
  4. A scooter driver, given an accident: Bayes' theorem

    By Bayes' theorem,

    P(E1∣A)=P(E1)P(A∣E1)P(A)=1600÷52600=1600×60052=152.\begin{aligned} P(E_1|A) &= \frac{P(E_1)P(A|E_1)}{P(A)} \\ &= \frac{1}{600} \div \frac{52}{600} \\ &= \frac{1}{600} \times \frac{600}{52} = \frac{1}{52}. \end{aligned}
    The top is the scooter path; the bottom is all accident paths. Out of every 52 parts of accident probability, only 1 belongs to scooter drivers.
    Dividing by a fraction is multiplying by its flip. Basics: dividing by a fraction
  5. A quick sense check

    For the other drivers, P(E2∣A)=652=326P(E_2|A) = \frac{6}{52} = \frac{3}{26} and P(E3∣A)=4552P(E_3|A) = \frac{45}{52}⁠. Then 152+652+4552=1\frac{1}{52} + \frac{6}{52} + \frac{45}{52} = 1⁠.

    Scooter drivers are 16\frac16 of the insured but only 152\frac{1}{52} of the accidents, because they have the lowest accident rate; truck drivers have 4552\frac{45}{52} of the accidents.

    Given an accident, it happened to exactly one kind of driver, so the three updated probabilities must add to 1.
    The posterior probabilities of a partition add to 1. Lesson: Bayes' theorem
Result

The probability that the person who met with an accident is a scooter driver is 152\frac{1}{52}⁠. (Textbook answer: 152\frac{1}{52}⁠.)

Check it with numbers

Expected accidents in each group: 0.01×2000=200.01 \times 2000 = 20 scooter drivers, 0.03×4000=1200.03 \times 4000 = 120 car drivers and 0.15×6000=9000.15 \times 6000 = 900 truck drivers, so 20+120+900=104020 + 120 + 900 = 1040 in all. The scooter share is 201040≈0.01923\frac{20}{1040} \approx 0.01923⁠, the same as 152≈0.01923\frac{1}{52} \approx 0.01923⁠.

Common mistakes
  1. Answering 0.01. That is P(A∣E1)P(A|E_1)⁠, the chance that a scooter driver has an accident, not the chance that an accident victim is a scooter driver.
  2. Answering 16\frac16⁠. That is the share of scooter drivers among the insured, before we know about the accident.
  3. Adding 0.01, 0.03 and 0.15. The accident rates must first be weighted by the size of each group.
  4. Taking P(Ei)P(E_i) as 13\frac13 each. The groups have different sizes, 2000, 4000 and 6000.
What to take away
  1. With counts given, the first-stage probabilities are the group sizes over the total; with rates given, the second-stage probabilities are the rates themselves.
  2. Expected counts (here, accidents per group) give a quick check of any Bayes answer.
  3. The same shape with machines and defective items is book Example 19 (Examples 15 to 21); the equal-chance three-cause version is Question 6.

Every fact used, and where it comes from

FactUsed inSource
Partition of a sample spaceStep 1Section 13.5.1 (Lesson: Bayes' theorem)
P(E)=n(E)n(S)P(E) = \frac{n(E)}{n(S)} for equally likely outcomesStep 2Classical probability, Class XI (Basics: classical probability)
Conditional probability P(A∣E)P(A|E)Step 2Section 13.2 (Lesson: conditional probability)
Theorem of total probability (three events)Step 3Section 13.5.2 (Lesson: Bayes' theorem)
Bayes' theoremSteps 4, 5Section 13.5; Example 19 has three machines (Examples 15 to 21)
Fractions with a common denominator; dividing by a fractionSteps 3, 4Arithmetic (Basics: dividing by a fraction)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →