If you have ever wondered why a doctor’s diagnosis changes once a test result comes back, you have already brushed against conditional probability. In CBSE Class 12 Maths, this idea opens the Probability chapter and quietly powers everything that follows — the multiplication theorem, independence of events, and Bayes’ theorem.
What Is Conditional Probability?
Conditional probability answers a specific question: given that one event has already happened, how likely is another event? It is written as P(E|F), read “probability of E given F.”
The key shift is this — once you know F has occurred, your entire sample space shrinks to just the outcomes inside F. Anything outside F is thrown out of consideration.
An Everyday Way to Think About It
Picture tossing three fair coins together. Before looking at any coin, there are eight equally likely outcomes. Now suppose someone tells you the first coin landed on tails. Instantly, half your sample space becomes irrelevant — you only care about the four outcomes where the first coin is a tail. Asking “what’s the probability of at least two heads?” is now a question about those four outcomes, not all eight. That shrinking of the sample space is the entire idea behind conditional probability.
The Conditional Probability Formula
For two events E and F in the same sample space S, the conditional probability of E given F has occurred is:
P(E|F) = P(E ∩ F) / P(F), provided P(F) ≠ 0
Here, E ∩ F is the set of outcomes common to both events — the only outcomes that can satisfy E once F is known to have happened. Dividing by P(F) rescales this shared probability against the smaller sample space F instead of the full space S.
Why the Formula Requires P(F) ≠ 0
This isn’t a technicality — it’s common sense. If F has zero probability of occurring, “given that F has occurred” is a meaningless premise, so the formula is simply undefined in that case.
Deriving P(E|F) With a Simple Coin Experiment
Consider tossing three fair coins, giving the sample space S = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}, with each outcome equally likely at probability 1/8.
Let E be “at least two heads appear” and F be “the first coin shows tails.”
-
E = {HHH, HHT, HTH, THH}, so P(E) = 4/8 = 1/2
-
F = {THH, THT, TTH, TTT}, so P(F) = 4/8 = 1/2
-
E ∩ F = {THH}, so P(E ∩ F) = 1/8
Only THH among F’s four outcomes also satisfies E, so the probability of E restricted to F is 1/4. Using the formula: P(E|F) = P(E ∩ F)/P(F) = (1/8)/(1/2) = 1/4, which matches exactly — confirming the formula is a precise version of the “shrink the sample space” logic.
An equivalent, often faster route when outcomes are equally likely is P(E|F) = n(E ∩ F) / n(F), where n(E ∩ F) and n(F) are simply counts of favourable outcomes.
Solved Examples on Conditional Probability
Example 1 — Cards Numbered 1 to 10
Ten cards numbered 1 to 10 are placed in a box and one is drawn at random. Given that the number drawn is greater than 3, find the probability that it is even.
Let A be “the number is even” and B be “the number is greater than 3.”
-
Sample space S = {1, 2, …, 10}
-
A = {2, 4, 6, 8, 10}, so P(A) = 5/10
-
B = {4, 5, 6, 7, 8, 9, 10}, so P(B) = 7/10
-
A ∩ B = {4, 6, 8, 10}, so P(A ∩ B) = 4/10
P(A|B) = (4/10)/(7/10) = 4/7
Example 2 — Family With Two Children
Assume a family has two children, and each child is equally likely to be a boy or girl. What is the probability that both children are boys, given that at least one of them is a boy?
Sample space: S = {(b,b), (g,b), (b,g), (g,g)}
Let E: “both are boys” = {(b,b)}, and F: “at least one is a boy” = {(b,b), (g,b), (b,g)}
-
P(F) = 3/4
-
E ∩ F = {(b,b)}, so P(E ∩ F) = 1/4
P(E|F) = (1/4)/(3/4) = 1/3
This differs from the naive guess of 1/2 — “at least one boy” is weaker information than “the first child is a boy.”
Example 3 — Rolling a Die Twice
A die is rolled twice and the sum of the numbers is known to be 6. What’s the probability that a 4 appeared at least once?
Let E: “4 appears at least once,” F: “sum is 6.”
-
F = {(1,5), (2,4), (3,3), (4,2), (5,1)}, so P(F) = 5/36
-
E ∩ F = {(2,4), (4,2)}, so P(E ∩ F) = 2/36
P(E|F) = (2/36)/(5/36) = 2/5
Common Mistakes Students Make
-
Confusing P(E|F) with P(F|E). Check which event is the “given” condition — it sits in the denominator’s event, not the numerator’s.
-
Forgetting to restrict the sample space. Some students compute P(E ∩ F) correctly but then divide by P(S) instead of P(F).
-
Reading “at least one” as “the first one.” Example 2 shows these give different answers, so read word problems carefully.
Ready to Master Probability for Boards and Entrance Exams?
Conditional probability shows up alongside Bayes’ theorem and independence in almost every CUET, IPMAT, and board exam paper. Practice AI-generated questions on this exact topic with instant step-by-step solutions with PrepCoin packs from ₹59 on ChampionsPrep — built for CBSE and Maharashtra Board Commerce students.

Conditional Probability Class 12: Formula, Derivation and Solved Examples
Frequently Asked Questions
What is the difference between P(E ∩ F) and P(E|F)? +
P(E ∩ F) is the probability that both E and F happen out of the entire original sample space. P(E|F) is the probability that E happens once you already know F has happened, measured against the smaller sample space F rather than the full sample space S.
Can conditional probability ever be greater than the original probability P(E)? +
Yes. If knowing F makes E more likely, then P(E|F) is greater than P(E). This happens when F and E are positively related, unlike independent events where P(E|F) equals P(E).
What happens if E and F are mutually exclusive? +
If E and F cannot happen together, E intersection F is empty, so P(E ∩ F) is zero, which makes P(E|F) equal to zero.
Is P(E|F) always equal to P(F|E)? +
Not generally. They are related through Bayes' theorem but are usually different numbers, since they are conditioned on different events with different probabilities.
Why is P(F) not equal to zero required for the conditional probability formula? +
Because P(E|F) is defined as a ratio with P(F) in the denominator, and division by zero is undefined. You also cannot meaningfully condition on an event that has no chance of occurring.
AI-powered practice — free to start