IB Maths AA 4.7 Bayes theorem questions

15 questions · 15 long answer

15 questions

Question 1

Loading progress...
No calculatorEasy

A factory produces bulbs using two machines.

Machine A produces 60%60\% of the bulbs and 5%5\% of these are defective.

Machine B produces 40%40\% of the bulbs and 2%2\% of these are defective.

A bulb is chosen at random and found to be defective.

Find the probability that it was produced by machine A.

[6]

Question 2

Loading progress...
Medium

A medical test detects a disease.

2%2\% of a population has the disease.

The probability that the test correctly identifies a person with the disease is 0.950.95.

The probability that the test incorrectly identifies a healthy person as having the disease is 0.040.04.

A person tests positive.

  1. Find the probability that a randomly selected person tests positive.

    [5]

  2. Find the probability that the person actually has the disease.

    [6]

Question 3

Loading progress...
No calculatorEasy

Calculate the probability that a randomly selected student is from class XX, given that the student passed a test.

Class XX contains 70%70\% of the students and 80%80\% of class XX pass the test.

Class YY contains 30%30\% of the students and 60%60\% of class YY pass the test.

[6]

Question 4

Loading progress...
Hard

A medical screening test is used to detect a condition DD in a population. The prevalence is P(D)=0.015P\left(D\right)=0.015.

The test has sensitivity P(Pos∣D)=0.94P\left(\text{Pos}\mid D\right)=0.94 and specificity P(Neg∣Dc)=0.97P\left(\text{Neg}\mid D^{c}\right)=0.97.

Two tests are administered independently to the same person, and both results are positive.

  1. Calculate P(Pos)P\left(\text{Pos}\right) for a single test.

    [4]

  2. Calculate P(D∣Pos)P\left(D\mid \text{Pos}\right) for a single positive test.

    [4]

  3. Given that the two test results are independent conditional on whether the person has the condition, calculate P(D∣Pos1∩Pos2)P\left(D\mid \text{Pos}_{1}\cap\text{Pos}_{2}\right).

    [7]

Question 5

Loading progress...
Hard

A factory uses three machines AA, BB and CC to produce a certain component. The proportions of total output are P(A)=0.50P\left(A\right)=0.50, P(B)=0.30P\left(B\right)=0.30 and P(C)=0.20P\left(C\right)=0.20.

Each component is either defective FF or non-defective FcF^{c}. The defect probabilities are P(F∣A)=0.01P\left(F\mid A\right)=0.01, P(F∣B)=0.03P\left(F\mid B\right)=0.03 and P(F∣C)=0.02P\left(F\mid C\right)=0.02.

A quality inspector selects one component at random and observes that it is non-defective.

  1. Calculate P(F)P\left(F\right).

    [3]

  2. Hence find P(Fc)P\left(F^{c}\right).

    [1]

  3. Calculate P(A∣Fc)P\left(A\mid F^{c}\right).

    [5]

  4. Calculate P(B∣Fc)P\left(B\mid F^{c}\right) and P(C∣Fc)P\left(C\mid F^{c}\right).

    [4]

Question 6

Loading progress...
Hard

Three boxes AA, BB and CC contain red and blue counters.

  • Box AA contains 33 red and 22 blue counters.
  • Box BB contains 22 red and 44 blue counters.
  • Box CC contains 55 red and 11 blue counter.

A box is chosen at random with probabilities P(A)=0.20P\left(A\right)=0.20, P(B)=0.50P\left(B\right)=0.50 and P(C)=0.30P\left(C\right)=0.30. One counter is drawn from the chosen box and is observed to be red.

Calculate P(C∣R)P\left(C\mid R\right), where RR is the event that the counter is red.

[9]

Question 7

Loading progress...
Hard

A university classifies applicants into three groups: HH (highly prepared), MM (moderately prepared), and LL (less prepared). The prior probabilities are P(H)=0.25P\left(H\right)=0.25, P(M)=0.50P\left(M\right)=0.50, and P(L)=0.25P\left(L\right)=0.25.

Applicants sit an entry test which results in one of three outcomes: Distinction DD, Pass PP, or Fail FF.

The conditional probabilities are given in the table.

 DDPPFF
HH0.600.600.350.350.050.05
MM0.200.200.600.600.200.20
LL0.050.050.350.350.600.60

An applicant is selected at random and is known to have achieved a Pass.

  1. Calculate P(P)P\left(P\right), the probability that a randomly selected applicant achieves a Pass.

    [4]

  2. Calculate P(H∣P)P\left(H\mid P\right) and P(L∣P)P\left(L\mid P\right).

    [6]

  3. Given that the applicant achieved a Pass, calculate the probability that they were not highly prepared, P(Hc∣P)P\left(H^{c}\mid P\right).

    [2]

  4. The university offers an additional support programme to applicants who are more likely to be in group LL than in group HH given their test outcome.

    Determine, with justification, for which outcomes DD, PP, and FF the support programme would be offered.

    [7]

Question 8

Loading progress...
Medium

A security system has three possible states for a building: high risk HH, medium risk MM, and low risk LL.

The prior probabilities are P(H)=0.10P\left(H\right)=0.10, P(M)=0.30P\left(M\right)=0.30, and P(L)=0.60P\left(L\right)=0.60.

A sensor triggers an alert AA with probabilities P(A∣H)=0.90P\left(A\mid H\right)=0.90, P(A∣M)=0.40P\left(A\mid M\right)=0.40, and P(A∣L)=0.05P\left(A\mid L\right)=0.05.

The sensor has triggered an alert.

  1. Calculate P(A)P\left(A\right).

    [3]

  2. Calculate P(H∣A)P\left(H\mid A\right).

    [3]

  3. Given an alert has occurred, calculate the probability that the building is not high risk.

    [2]

Question 9

Loading progress...
Medium

In a city, 30%30\% of households have a smart meter installed.

Given that a household has a smart meter, the probability that it receives an energy-saving rebate is 0.250.25.

Given that a household does not have a smart meter, the probability that it receives an energy-saving rebate is 0.100.10.

Calculate the probability that a household has a smart meter given that it received an energy-saving rebate.

[7]

Question 10

Loading progress...
Medium

A university offers three scholarships: S1S_1, S2S_2 and S3S_3.

The probabilities that a randomly selected applicant receives each scholarship are P(S1)=0.20P\left(S_1\right)=0.20, P(S2)=0.15P\left(S_2\right)=0.15, and P(S3)=0.10P\left(S_3\right)=0.10. The remaining applicants receive no scholarship.

Given that an applicant receives scholarship S1S_1, the probability they accept the offer is 0.800.80. For S2S_2 it is 0.700.70, and for S3S_3 it is 0.600.60.

An applicant is known to have accepted an offer.

  1. Calculate the probability that a randomly selected applicant accepts an offer.

    [5]

  2. Find the probability that the applicant received scholarship S2S_2.

    [3]

Question 11

Loading progress...
Medium

A factory has three machines AA, BB and CC producing the same component.

Machine AA produces 40%40\% of the components, BB produces 35%35\% and CC produces 25%25\%.

The probability that a component is defective is 0.020.02 if it is made by AA, 0.030.03 if made by BB, and 0.050.05 if made by CC.

A component is selected at random and found to be defective.

  1. Calculate the probability that a randomly selected component is defective.

    [3]

  2. Apply Bayes’ theorem to find the probability that the defective component was produced by machine CC.

    [5]

Question 12

Loading progress...
No calculatorEasy

A school offers three extracurricular clubs: Drama (D)\left(D\right), Music (M)\left(M\right), and Robotics (R)\left(R\right).

A student is randomly selected from the school.

P(D)=0.40P\left(D\right)=0.40, P(M)=0.35P\left(M\right)=0.35, and P(R)=0.25P\left(R\right)=0.25.

The probability that a student wins an award (W)\left(W\right) depends on the club:

P(W∣D)=0.15P\left(W\mid D\right)=0.15, P(W∣M)=0.10P\left(W\mid M\right)=0.10, and P(W∣R)=0.20P\left(W\mid R\right)=0.20.

  1. Calculate P(W)P\left(W\right), the probability that the student wins an award.

    [3]

  2. Given that the student won an award, calculate the probability that the student is in Robotics.

    [4]

Question 13

Loading progress...
No calculatorEasy

Apply Bayes’ theorem to solve the following three-event problem.

A package is sent using one of three courier companies: AA, BB, or CC.

P(A)=0.50P\left(A\right)=0.50, P(B)=0.30P\left(B\right)=0.30, and P(C)=0.20P\left(C\right)=0.20.

The probability that a package is delivered late is 0.040.04 if sent by AA, 0.060.06 if sent by BB, and 0.100.10 if sent by CC.

A package is chosen at random and is found to be late.

Calculate the probability that it was sent by courier BB.

[6]

Question 14

Loading progress...
No calculatorEasy

A medical screening test is used to detect a condition.

2%2\% of people in a population have the condition.

If a person has the condition, the test is positive with probability 0.950.95.

If a person does not have the condition, the test is positive with probability 0.100.10.

  1. Calculate the probability that a randomly selected person tests positive.

    [3]

  2. Given that a person tests positive, calculate the probability that the person has the condition.

    [4]

Question 15

Loading progress...
Hard

A company manufactures components in three factories:

Factory A produces 50%50\% of the components, Factory B produces 30%30\% of the components, and Factory C produces 20%20\% of the components.

The probabilities that a component from each factory is faulty are:

  • A:0.02A: 0.02
  • B:0.05B: 0.05
  • C:0.04C: 0.04

A component is selected at random and found to be faulty.

  1. Find the probability that the component is faulty.

    [5]

  2. Find the probability that the component came from Factory B and is faulty.

    [4]

  3. Given that the component is faulty, find the probability that it came from Factory C.

    [4]

Next Up

You have completed the sub-topic 4.7 questions, covering "Bayes theorem" for IB Maths AA - continue with related resources below or explore the full IB Maths AA course from the IBO.

Other Sub-topic 4.7 resources