PYQ Vault

CBSE Class 12 Maths · Probability

Theorem of Total Probability

When an event can happen through several separate causes that cover every possibility, its probability is the sum, over the causes, of P(cause) times P(event given that cause).

Why this matters

23 questions, twenty-one of them from board papers in every year from 2022 to 2026. Fifteen of the twenty-one are case-study parts, often part (i), which asks for the overall probability (a seed germinates, a phone is defective, a customer defaults) before the next part reverses it with Bayes' theorem. The other six are written questions: a bag chosen at random or by a die (2022, 2026), a ball or two transferred from one bag to another (2024, 2025), male and female applicants (2025) and two students chosen from a team picked by the type of competition (2026). The textbook adds Example 15 and Exercise 13.3 Q1.

Concept 1 of 3: A partition and the theorem with two cases

Split everything that can happen into separate cases that cover all possibilities, such as 'Bag I was chosen' and 'Bag II was chosen'. The event can arrive through either case, so add the chance of each route.

Definition

  • Partition: events E1,E2,…,EnE_1, E_2, \ldots, E_n form a partition of the sample space S if they are pairwise disjoint, their union is S, and each has a nonzero probability.
  • Any event E with 0<P(E)<10 < P(E) < 1 and its complement E′E' form a partition.
  • Theorem of total probability: P(A)=P(E1)P(A∣E1)+P(E2)P(A∣E2)+⋯+P(En)P(A∣En)P(A) = P(E_1)P(A|E_1) + P(E_2)P(A|E_2) + \cdots + P(E_n)P(A|E_n).
  • Answer layout: define E1E_1, E2E_2 and A in words; write P(E1)P(E_1), P(E2)P(E_2) and check they add to 1; write P(A∣E1)P(A|E_1), P(A∣E2)P(A|E_2); substitute; simplify.
  • The tree in words: route 1 is 'E1E_1 happens, then A' with probability P(E1)P(A∣E1)P(E_1)P(A|E_1); route 2 is 'E2E_2 happens, then A'. P(A) is the sum of the routes.

Total probability with two cases

P(A)=P(E1) P(A∣E1)+P(E2) P(A∣E2)P(A) = P(E_1)\,P(A|E_1) + P(E_2)\,P(A|E_2)

Worked example

In a town, 40% of the days are rainy. On a rainy day the school bus is late with probability 0.5, and on a dry day with probability 0.15. Find the probability that the bus is late on a day chosen at random.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2026 · 65/1/1 · 31 (a)Moderate

Example 1 · Probability · Theorem of Total Probability

Out of two bags, bag I contains 3 red and 4 white balls and bag II contains 8 red and 6 white balls. A die is thrown. If it shows a number less than 3 then a ball is drawn at random from bag I, otherwise a ball is drawn at random from bag II. Find the probability that the ball drawn from one of the bags is a red ball.

Cases that do not add to 1

P(E1)+P(E2)+⋯P(E_1) + P(E_2) + \cdots must be 1. If a die decides the case, list the faces: 'a prime number' is 2, 3 or 5, which is 36\dfrac{3}{6}, and the other case gets the rest.

Adding the conditional probabilities

P(A) is not P(A∣E1)+P(A∣E2)P(A|E_1) + P(A|E_2). Each conditional probability must first be multiplied by the probability of its case.

A rate read as a joint probability

'45% of type A1 seeds germinate' is P(germinates | A1). The joint probability is P(A1) times 0.45.

Concept 2 of 3: Three or more causes

Case studies often give a share for each source (companies, machines, kinds of loan) and a rate for each. Every source is one route to the event; add all the routes.

Definition

  • P(A)=∑j=1nP(Ej) P(A∣Ej)P(A) = \displaystyle\sum_{j=1}^{n} P(E_j)\,P(A|E_j).
  • Shares to probabilities: 25% becomes 0.25; a ratio 4:4:24 : 4 : 2 becomes 410,410,210\dfrac{4}{10}, \dfrac{4}{10}, \dfrac{2}{10}; counts such as 10, 12 and 8 seeds become 1030,1230,830\dfrac{10}{30}, \dfrac{12}{30}, \dfrac{8}{30}.
  • Rates are conditional: '5% of company A's phones are defective' is P(D∣E1)=0.05P(D|E_1) = 0.05.
  • If the question asks for the opposite (petrol cars when electric rates are given), complement each rate first: P(A′∣Ej)=1−P(A∣Ej)P(A'|E_j) = 1 - P(A|E_j).
  • Part (i) of a case study is usually this total; keep it, because the Bayes' theorem part uses it as the denominator.

Total probability with n causes

P(A)=∑j=1nP(Ej) P(A∣Ej)P(A) = \sum_{j=1}^{n} P(E_j)\,P(A|E_j)

Worked example

A packet has 20 seeds of type A, 15 of type B and 15 of type C, all mixed up. They germinate with probabilities 60%, 30% and 50% respectively. One seed is sown at random. Find the probability that it germinates.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/6/1 · 38 (i)Moderate

Example 2 · Probability · Theorem of Total Probability

A shop selling electronic items sells smartphones of only three reputed companies A, B and C because chances of their manufacturing a defective smartphone are only 5%, 4% and 2% respectively. In his inventory he has 25% smartphones from company A, 35% smartphones from company B and 40% smartphones from company C. A person buys a smartphone from this shop.
Find the probability that it was defective.

Using the ratio numbers as probabilities

A ratio 1:2:41 : 2 : 4 gives 17,27,47\dfrac{1}{7}, \dfrac{2}{7}, \dfrac{4}{7}, not 1, 2 and 4 or tenths. Divide by the total number of parts.

Forgetting the remaining share

If machine A makes 50% and B makes 30%, machine C makes the remaining 20%. Work it out and write it down.

Complementing the share instead of the rate

For 'not defective', use 1−P(D∣Ej)1 - P(D|E_j) in each term. The shares P(Ej)P(E_j) do not change.

Concept 3 of 3: When the first step changes the second

If a ball is moved from one bag into another before drawing, the second bag's contents depend on what was moved. The colour of the moved ball is unknown, so each possibility is a case of the partition.

Definition

  • The cases are the possible results of the first step: 'a red ball is transferred', 'a black ball is transferred'.
  • For two balls transferred, the cases are both red, both black, one of each, found by counting: P(both red)=rC2nC2P(\text{both red}) = \dfrac{{}^{r}C_2}{{}^{n}C_2}, and so on.
  • The receiving bag grows: after one ball is moved it holds one more ball; after two, two more.
  • In each case, count the receiving bag again before writing P(A∣Ei)P(A|E_i), then apply the theorem of total probability.

Transfer, then draw

P(A)=P(E1) P(A∣E1)+P(E2) P(A∣E2)+⋯P(A) = P(E_1)\,P(A|E_1) + P(E_2)\,P(A|E_2) + \cdots

Worked example

Bag I has 2 white and 3 black balls; Bag II has 4 white and 1 black ball. One ball is moved at random from Bag I to Bag II, and then a ball is drawn from Bag II. Find the probability that it is white.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/5/2 · Q31Moderate

Example 3 · Probability · Theorem of Total Probability

Bag I contains 3 red and 4 black balls, Bag II contains 5 red and 2 black balls. Two balls are transferred at random from Bag I to Bag II and then a ball is drawn at random from Bag II. Find the probability that the drawn ball is red in colour.

Drawing from the old bag

After a ball is moved into Bag II, the total in Bag II goes up by one. Using the old total gives every P(A∣Ei)P(A|E_i) wrong.

Missing the 'one of each' case

When two balls are moved, there are three cases. 'One red and one black' is the largest of them and is easy to leave out.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • A partition and the theorem with two cases

    Total probability with two cases

    P(A)=P(E1) P(A∣E1)+P(E2) P(A∣E2)P(A) = P(E_1)\,P(A|E_1) + P(E_2)\,P(A|E_2)
  • Three or more causes

    Total probability with n causes

    P(A)=∑j=1nP(Ej) P(A∣Ej)P(A) = \sum_{j=1}^{n} P(E_j)\,P(A|E_j)
  • When the first step changes the second

    Transfer, then draw

    P(A)=P(E1) P(A∣E1)+P(E2) P(A∣E2)+⋯P(A) = P(E_1)\,P(A|E_1) + P(E_2)\,P(A|E_2) + \cdots

Watch out for (8)

Test yourself on Probability

15 past CBSE Class 12 questions from this chapter, timed at 23 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Take the Probability chapter test