RG's E-Learning Centre · Book a free demo class · WhatsApp +91-9379416374

Conditional probability and Bayes' theorem: Class 12 practice

P(A|B) = P(A ∩ B)/P(B). The quick answer and an example come first; then the method, worked examples and six graded questions.

Conditional probability and Bayes' theorem: quick answer

P(A|B) = P(A ∩ B)/P(B). Bayes' theorem reverses a condition: P(Eᵢ|A) = P(Eᵢ)P(A|Eᵢ) / Σ P(Eⱼ)P(A|Eⱼ).

Example: Bag I has 2 red and 3 black balls; Bag II has 5 red and 4 black. A bag is chosen at random and one ball drawn. Find the probability it is red. Answer: 43/90.

  • Where it is taught: Chapter 13 of the NCERT Class 12 Maths book.
  • On this page: the method, 3 worked examples and 6 graded questions with a full answer key.

How to use this page (about 30 minutes)

  1. Read the method once, then cover the worked examples and try them yourself before reading the steps.
  2. Do the two Basic questions without notes. If either is wrong, re-read the matching worked example.
  3. Do the Standard and Challenge questions, then check every line of working against the answer key — not only the final answer.
  4. Write down the mistake behind each wrong answer and redo that question the next day.

What you should know first

  • Basic probability
  • Fractions

The idea behind conditional probability and bayes' theorem

P(A|B) = P(A ∩ B)/P(B). Bayes' theorem reverses a condition: P(Eᵢ|A) = P(Eᵢ)P(A|Eᵢ) / Σ P(Eⱼ)P(A|Eⱼ).

Step-by-step method

  1. Name the cases E₁, E₂ and the observed event A.
  2. Write P(Eᵢ) and P(A|Eᵢ).
  3. Total probability: P(A) = Σ P(Eᵢ)P(A|Eᵢ).
  4. Divide the wanted case by P(A).

Worked example 1 (Basic)

Bag I has 2 red and 3 black balls; Bag II has 5 red and 4 black. A bag is chosen at random and one ball drawn. Find the probability it is red.

  1. P(red) = ½ × 2/5 + ½ × 5/9
  2. = 43/90
  3. Answer: 43/90

Worked example 2 (Standard)

Bag I has 4 red and 1 black balls; Bag II has 3 red and 4 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.

  1. P(E₁)P(R|E₁) = ½ × 4/5
  2. P(R) = ½ × 4/5 + ½ × 3/7
  3. P(E₁|R) = 28/43
  4. Answer: 28/43

Worked example 3 (Challenge)

Bag I has 2 red and 1 black balls; Bag II has 4 red and 3 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.

  1. P(E₁)P(R|E₁) = ½ × 2/3
  2. P(R) = ½ × 2/3 + ½ × 4/7
  3. P(E₁|R) = 7/13
  4. Answer: 7/13

Common mistakes and misconceptions

  • Confusing P(A|E) with P(E|A)
  • Forgetting the prior P(Eᵢ)

Practice questions

  1. (Basic) Bag I has 2 red and 3 black balls; Bag II has 1 red and 1 black. A bag is chosen at random and one ball drawn. Find the probability it is red.
  2. (Basic) Bag I has 3 red and 4 black balls; Bag II has 4 red and 3 black. A bag is chosen at random and one ball drawn. Find the probability it is red.
  3. (Standard) Bag I has 1 red and 3 black balls; Bag II has 2 red and 3 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.
  4. (Standard) Bag I has 1 red and 4 black balls; Bag II has 3 red and 3 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.
  5. (Challenge) Bag I has 4 red and 4 black balls; Bag II has 1 red and 3 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.
  6. (Challenge) Bag I has 1 red and 1 black balls; Bag II has 3 red and 1 black. A bag is chosen at random and a red ball is drawn. Find the probability it came from Bag I.

Answer key with full working

  • Q1: P(red) = ½ × 2/5 + ½ × 1/2 → = 9/20 → Answer: 9/20
  • Q2: P(red) = ½ × 3/7 + ½ × 4/7 → = 1/2 → Answer: 1/2
  • Q3: P(E₁)P(R|E₁) = ½ × 1/4 → P(R) = ½ × 1/4 + ½ × 2/5 → P(E₁|R) = 5/13 → Answer: 5/13
  • Q4: P(E₁)P(R|E₁) = ½ × 1/5 → P(R) = ½ × 1/5 + ½ × 3/6 → P(E₁|R) = 2/7 → Answer: 2/7
  • Q5: P(E₁)P(R|E₁) = ½ × 4/8 → P(R) = ½ × 4/8 + ½ × 1/4 → P(E₁|R) = 2/3 → Answer: 2/3
  • Q6: P(E₁)P(R|E₁) = ½ × 1/2 → P(R) = ½ × 1/2 + ½ × 3/4 → P(E₁|R) = 2/5 → Answer: 2/5

Which textbook this practice follows

In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 13, "Probability". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.

Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.

Still stuck after the answer key?

If the same step in conditional probability and bayes' theorem keeps going wrong, a short live 1 on 1 class can find the exact gap. The first demo class is free; send the class, board and chapter on WhatsApp (+91 9379416374).

Related practice and notes

More Class 12 Maths practice

Continue with this syllabus

Frequently asked questions

Which chapter is conditional probability and bayes' theorem in?

In the NCERT Class 12 Maths book used in the 2026-27 session, this is Chapter 13, "Probability". ICSE/ISC and state-board books keep their own chapter lists, so check your own book's contents page.

Which question should I start with?

Start with the Basic questions. Move to Standard only when both Basic answers match the key with the same working; the Challenge questions combine this skill with earlier ones.

How were the answers checked?

Answers on this page are generated and automatically re-checked by a second, independent calculation. They have not been reviewed by a teacher — if you spot a problem, tell us on WhatsApp.

Is this only for CBSE?

The skill names follow NCERT/CBSE, but the method is the same for ICSE, state boards, IGCSE and IB. Only the chapter name and order differ.

Can I get live help with this topic?

Yes. RG's E-Learning teaches live 1 on 1 online classes; the first demo class is free and fees are shared after it.

Book a free demo class