1. Home
  2. Explore
  3. Mathematics
  4. Bayes Theorem

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayes Theorem

  • 19Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Bayes Theorem and Total Probability

What is the formula for total probability of an event A given mutually exclusive and exhaustive events B1,B2,…,BnB_1, B_2, \ldots, B_nB1​,B2​,…,Bn​?

19 questions

  1. 1

    What is the formula for total probability of an event A given mutually exclusive and exhaustive events B1,B2,…,BnB_1, B_2, \ldots, B_nB1​,B2​,…,Bn​?

    1. A

      P(A)=∑i=1nP(Bi)P(A∣Bi)P(A) = \sum_{i=1}^n P(B_i) P(A|B_i)P(A)=∑i=1n​P(Bi​)P(A∣Bi​)

    2. B

      P(A)=∑i=1nP(Bi)+P(A∣Bi)P(A) = \sum_{i=1}^n P(B_i) + P(A|B_i)P(A)=∑i=1n​P(Bi​)+P(A∣Bi​)

    3. C

      P(A)=∏i=1nP(Bi)P(A∣Bi)P(A) = \prod_{i=1}^n P(B_i) P(A|B_i)P(A)=∏i=1n​P(Bi​)P(A∣Bi​)

    4. D

      P(A)=∏i=1nP(Bi)+P(A∣Bi)P(A) = \prod_{i=1}^n P(B_i) + P(A|B_i)P(A)=∏i=1n​P(Bi​)+P(A∣Bi​)

    Correct answer
    A

    P(A)=∑i=1nP(Bi)P(A∣Bi)P(A) = \sum_{i=1}^n P(B_i) P(A|B_i)P(A)=∑i=1n​P(Bi​)P(A∣Bi​)

    Explanation

    The total probability is the sum over all i of the product P(Bi)P(A∣Bi)P(B_i)P(A|B_i)P(Bi​)P(A∣Bi​). This is derived from the law of total probability.

  2. 2

    In Bayes' theorem, what condition must the events B1,B2,…,BnB_1, B_2, \ldots, B_nB1​,B2​,…,Bn​ satisfy?

    1. A

      They must be exhaustive only

    2. B

      They must be mutually exclusive only

    3. C

      They must be mutually exclusive and exhaustive

    4. D

      They must be independent and identically distributed

    Correct answer
    C

    They must be mutually exclusive and exhaustive

    Explanation

    Bayes' theorem requires the events BiB_iBi​ to partition the sample space (mutually exclusive and exhaustive) so that total probability can be applied.

  3. 3

    Bayes' theorem is primarily used to compute which type of probability?

    1. A

      Inverse probability, P(Bi∣A)P(B_i|A)P(Bi​∣A)

    2. B

      Marginal probability, P(A)P(A)P(A)

    3. C

      Forward probability, P(A∣Bi)P(A|B_i)P(A∣Bi​)

    4. D

      Joint probability, P(A∩Bi)P(A \cap B_i)P(A∩Bi​)

    Correct answer
    A

    Inverse probability, P(Bi∣A)P(B_i|A)P(Bi​∣A)

    Explanation

    Bayes' theorem finds the probability of a cause given an effect, i.e., P(Bi∣A)P(B_i|A)P(Bi​∣A) from P(A∣Bi)P(A|B_i)P(A∣Bi​).

  4. 4

    In the vendor example, what is the probability that a randomly selected bolt is defective?

    1. A

      0.033

    2. B

      0.03

    3. C

      0.05

    4. D

      0.02

    Correct answer
    A

    0.033

    Explanation

    Total probability P(D)=0.3×0.02+0.4×0.03+0.3×0.05=0.033P(D) = 0.3 \times 0.02 + 0.4 \times 0.03 + 0.3 \times 0.05 = 0.033P(D)=0.3×0.02+0.4×0.03+0.3×0.05=0.033.

  5. 5

    In the vendor example, what is the probability that a defective bolt came from vendor A?

    1. A

      1533\frac{15}{33}3315​

    2. B

      633\frac{6}{33}336​

    3. C

      933\frac{9}{33}339​

    4. D

      1233\frac{12}{33}3312​

    Correct answer
    B

    633\frac{6}{33}336​

    Explanation

    P(A∣D)=0.3×0.020.033=0.0060.033=633P(A|D) = \frac{0.3 \times 0.02}{0.033} = \frac{0.006}{0.033} = \frac{6}{33}P(A∣D)=0.0330.3×0.02​=0.0330.006​=336​.

  6. 6

    In the vendor example, what is the probability that a defective bolt came from vendor B?

    1. A

      1233\frac{12}{33}3312​

    2. B

      933\frac{9}{33}339​

    3. C

      1533\frac{15}{33}3315​

    4. D

      633\frac{6}{33}336​

    Correct answer
    A

    1233\frac{12}{33}3312​

    Explanation

    P(B∣D)=0.4×0.030.033=0.0120.033=1233P(B|D) = \frac{0.4 \times 0.03}{0.033} = \frac{0.012}{0.033} = \frac{12}{33}P(B∣D)=0.0330.4×0.03​=0.0330.012​=3312​.

  7. 7

    In the vendor example, what is the probability that a defective bolt came from vendor C?

    1. A

      1533\frac{15}{33}3315​

    2. B

      1233\frac{12}{33}3312​

    3. C

      633\frac{6}{33}336​

    4. D

      933\frac{9}{33}339​

    Correct answer
    A

    1533\frac{15}{33}3315​

    Explanation

    P(C∣D)=0.3×0.050.033=0.0150.033=1533P(C|D) = \frac{0.3 \times 0.05}{0.033} = \frac{0.015}{0.033} = \frac{15}{33}P(C∣D)=0.0330.3×0.05​=0.0330.015​=3315​.

  8. 8

    In the professor example, the chances of X, Y, Z getting promotion are in the ratio 4:2:3. What is P(X)P(X)P(X)?

    1. A

      39\frac{3}{9}93​

    2. B

      29\frac{2}{9}92​

    3. C

      19\frac{1}{9}91​

    4. D

      49\frac{4}{9}94​

    Correct answer
    D

    49\frac{4}{9}94​

    Explanation

    Total parts = 4+2+3=94+2+3=94+2+3=9, so P(X)=4/9P(X) = 4/9P(X)=4/9.

  9. 9

    In the professor example, what is the probability that a new subject is introduced?

    1. A

      1.49\frac{1.4}{9}91.4​

    2. B

      2.49\frac{2.4}{9}92.4​

    3. C

      3.449\frac{3.44}{9}93.44​

    4. D

      4.849\frac{4.84}{9}94.84​

    Correct answer
    D

    4.849\frac{4.84}{9}94.84​

    Explanation

    P(N)=49×0.35+29×0.52+39×0.80=4.849P(N) = \frac{4}{9} \times 0.35 + \frac{2}{9} \times 0.52 + \frac{3}{9} \times 0.80 = \frac{4.84}{9}P(N)=94​×0.35+92​×0.52+93​×0.80=94.84​.

  10. 10

    In the box example, what is the probability of drawing one red and one white ball from box 1?

    1. A

      315\frac{3}{15}153​

    2. B

      615\frac{6}{15}156​

    3. C

      115\frac{1}{15}151​

    4. D

      215\frac{2}{15}152​

    Correct answer
    D

    215\frac{2}{15}152​

    Explanation

    Box 1 has 1 white, 2 red, 3 black (6 total). Ways to choose 1 red and 1 white: (21)(11)=2\binom{2}{1}\binom{1}{1}=2(12​)(11​)=2. Total ways: (62)=15\binom{6}{2}=15(26​)=15. So probability = 2/152/152/15.

  11. 11

    In the box example, what is the probability that the drawn red and white balls came from box 1?

    1. A

      211\frac{2}{11}112​

    2. B

      311\frac{3}{11}113​

    3. C

      611\frac{6}{11}116​

    4. D

      111\frac{1}{11}111​

    Correct answer
    A

    211\frac{2}{11}112​

    Explanation

    Using Bayes: P(Box1∣R,W)=(1/3)(2/15)(1/3)(2/15)+(1/3)(6/15)+(1/3)(3/15)=2/4511/45=211P(\text{Box1}|R,W) = \frac{(1/3)(2/15)}{(1/3)(2/15)+(1/3)(6/15)+(1/3)(3/15)} = \frac{2/45}{11/45} = \frac{2}{11}P(Box1∣R,W)=(1/3)(2/15)+(1/3)(6/15)+(1/3)(3/15)(1/3)(2/15)​=11/452/45​=112​.

  12. 12

    In the box example, what is the probability of drawing one red and one white ball from box 2?

    1. A

      315\frac{3}{15}153​

    2. B

      215\frac{2}{15}152​

    3. C

      615\frac{6}{15}156​

    4. D

      115\frac{1}{15}151​

    Correct answer
    C

    615\frac{6}{15}156​

    Explanation

    Box 2 has 2 white, 3 red, 1 black (6 total). Ways: (31)(21)=6\binom{3}{1}\binom{2}{1}=6(13​)(12​)=6. Total ways: (62)=15\binom{6}{2}=15(26​)=15. So probability = 6/156/156/15.

  13. 13

    In the box example, what is the probability of drawing one red and one white ball from box 3?

    1. A

      315\frac{3}{15}153​

    2. B

      115\frac{1}{15}151​

    3. C

      215\frac{2}{15}152​

    4. D

      615\frac{6}{15}156​

    Correct answer
    A

    315\frac{3}{15}153​

    Explanation

    Box 3 has 3 white, 1 red, 2 black (6 total). Ways: (11)(31)=3\binom{1}{1}\binom{3}{1}=3(11​)(13​)=3. Total ways: (62)=15\binom{6}{2}=15(26​)=15. So probability = 3/153/153/15.

  14. 14

    In the bridge example, what is the probability of wrong design?

    1. A

      0.10

    2. B

      0.45

    3. C

      0.95

    4. D

      0.90

    Correct answer
    A

    0.10

    Explanation

    The chance of faulty design is given as 10%, i.e., 0.10.

  15. 15

    In the bridge example, given that the bridge collapses, the probability it was due to wrong designing is:

    1. A

      0.95

    2. B

      0.81

    3. C

      0.19

    4. D

      0.45

    Correct answer
    C

    0.19

    Explanation

    Using Bayes: P(WD∣C)=0.1×0.950.1×0.95+0.9×0.45=0.0950.095+0.405=0.0950.5=0.19P(WD|C) = \frac{0.1 \times 0.95}{0.1 \times 0.95 + 0.9 \times 0.45} = \frac{0.095}{0.095+0.405} = \frac{0.095}{0.5} = 0.19P(WD∣C)=0.1×0.95+0.9×0.450.1×0.95​=0.095+0.4050.095​=0.50.095​=0.19.

  16. 16

    In the coin example, what is the probability of choosing the false coin?

    1. A

      14\frac{1}{4}41​

    2. B

      116\frac{1}{16}161​

    3. C

      34\frac{3}{4}43​

    4. D

      12\frac{1}{2}21​

    Correct answer
    A

    14\frac{1}{4}41​

    Explanation

    There are 4 coins total (3 true, 1 false), so P(false)=1/4P(\text{false}) = 1/4P(false)=1/4.

  17. 17

    In the coin example, what is the probability of getting heads on all four tosses if the false coin is used?

    1. A

      116\frac{1}{16}161​

    2. B

      12\frac{1}{2}21​

    3. C

      1

    4. D

      14\frac{1}{4}41​

    Correct answer
    C

    1

    Explanation

    The false coin has heads on both sides, so it always lands heads. Thus P(4 heads∣false)=1P(\text{4 heads}|\text{false}) = 1P(4 heads∣false)=1.

  18. 18

    In the coin example, what is the probability that the false coin was chosen given that four tosses all result in heads?

    1. A

      1619\frac{16}{19}1916​

    2. B

      419\frac{4}{19}194​

    3. C

      119\frac{1}{19}191​

    4. D

      319\frac{3}{19}193​

    Correct answer
    A

    1619\frac{16}{19}1916​

    Explanation

    Using Bayes: P(false∣4H)=(1/4)(1)(3/4)(1/16)+(1/4)(1)=1/43/64+1/4=16/6419/64=1619P(\text{false}|4H) = \frac{(1/4)(1)}{(3/4)(1/16)+(1/4)(1)} = \frac{1/4}{3/64+1/4} = \frac{16/64}{19/64} = \frac{16}{19}P(false∣4H)=(3/4)(1/16)+(1/4)(1)(1/4)(1)​=3/64+1/41/4​=19/6416/64​=1916​.

  19. 19

    In the coin example, what is the total probability of getting heads on all four tosses?

    1. A

      164\frac{1}{64}641​

    2. B

      1964\frac{19}{64}6419​

    3. C

      364\frac{3}{64}643​

    4. D

      1664\frac{16}{64}6416​

    Correct answer
    B

    1964\frac{19}{64}6419​

    Explanation

    P(4H)=P(true)P(4H∣true)+P(false)P(4H∣false)=34×116+14×1=364+1664=1964P(4H) = P(\text{true})P(4H|\text{true}) + P(\text{false})P(4H|\text{false}) = \frac{3}{4} \times \frac{1}{16} + \frac{1}{4} \times 1 = \frac{3}{64} + \frac{16}{64} = \frac{19}{64}P(4H)=P(true)P(4H∣true)+P(false)P(4H∣false)=43​×161​+41​×1=643​+6416​=6419​.

Question 1 of 19
Question 1 of 19

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent