Conditional probability
Roll a die and ask "what's the chance of getting a number greater than 3?" — the answer is . Now add one clue: "the number is even." Suddenly the sample space shrinks to , and the chance changes to . That is conditional probability — the probability of an event once we already know another event has occurred. It sounds like a small tweak, but it is the hinge on which the rest of the Class 12 Probability chapter turns: the multiplication theorem, independence, total probability, and Bayes' theorem are all built directly on the definition below. This article gives the formal definition, shows why it is really just "counting inside a smaller box," and works through the standard exam patterns — including the classic student trap of dividing by the wrong probability.
Given that event has occurred, the conditional probability of is the fraction of 's probability that also lies in , written for .
The core idea
The definition. If and are events of a sample space with , the conditional probability of given is
where: is the probability that both and happen, and is the probability of the conditioning event — the one we are told has already occurred.
Why the formula looks like that. Once we are told has occurred, the "universe" of possible outcomes shrinks from all of down to just the outcomes inside . Inside that reduced universe, the only way can still happen is through the outcomes it shares with , namely . So is simply "how much of is also ," expressed as a fraction of rather than of the whole of .
Order matters. Swapping the roles gives a different quantity: for . In general — they have different denominators and answer different questions. Mixing these up is the single most common error in this topic.
Two quick consequences, both provable directly from the definition: (something in the reduced space is certain to be in the reduced space), and if are mutually exclusive with then , so .
Where it sits in the chapter. This definition is not an isolated fact — it is the seed for everything that follows in Class 12 Probability. Rearranging gives , the multiplication theorem. Setting (knowing tells you nothing new about ) defines independence. Averaging over a partition of 's gives total probability, and inverting the relationship gives Bayes' theorem. None of those later results can be trusted unless this single formula, and the sign of which event is the "given" one, is solid first.
Show that when the underlying sample space consists of finitely many equally likely outcomes, the formula reduces to simply counting favourable outcomes inside , so that in practice a student can skip the formula and reason directly on a smaller, restricted sample space rather than computing every probability explicitly.
Step 1. Suppose has equally likely outcomes in total. Then every single outcome has probability , so for any event with outcomes, .
Step 2. Apply this to both pieces of the definition. , and , where counts outcomes common to both and , and counts outcomes in alone.
Step 3. Substitute into :
The factor of in the numerator and denominator cancels completely, leaving a pure count.
Step 4. Interpret the result. says: once you know has occurred, treat itself as the new, smaller sample space (with equally likely outcomes), and just ask what fraction of those outcomes also belong to . This is exactly the "restrict the sample space" method used below, and it is often faster than writing out probabilities explicitly, especially when outcomes are naturally listed (dice, cards, coins).
Worked example
A fair die is rolled once. Let = "the number obtained is greater than 3" and = "the number obtained is even." Find , and then find to see that it is different.
Step 1. List the sample space and the two events. , so each outcome has probability . gives , and gives .
Step 2. Find the intersection. , so .
Step 3. Apply the formula. .
Step 4. Check by restricting the sample space directly (the shortcut from the derivation above). Given the outcome is even, the reduced space is — 3 equally likely outcomes. Of these, and are greater than 3, so , matching Step 3.
Step 5. Now find the reverse quantity, . Here it happens to come out equal to only because in this particular problem — that is a coincidence of this example, not a general rule. In general , so the final answer is , obtained two independent ways.
Competitive stretch
In a class, 40% of students study Mathematics, 25% study Biology, and 15% study both. A student known to study Mathematics is picked; find the probability they also study Biology, and compare with the reverse conditional. With , , : , but — two clearly different numbers from the same data, confirming why the denominator choice cannot be guessed.
Common traps
- Confusing with . Different denominators, generally different answers — identify which event is "given" before writing anything down.
- Dividing by instead of . The event named after "given that" always goes in the denominator.
- Forgetting . Conditional probability is undefined if the conditioning event has zero probability.
- Treating as redefined. is a probability on a restricted sample space; it does not mean and occur together with certainty.
Ask the tutor: Still unsure which event goes in the denominator, or want more restricted-sample-space practice before moving to the multiplication theorem? Ask the AI tutor to walk through a few more conditional probability problems step by step.
Why does the formula divide by P(B) and not by P(S) equals 1?
Because once we are told B has happened, B itself becomes the new sample space, not the original S. All probabilities computed after that point should be fractions of B's own probability, not of the whole original space. Dividing by P(B) is exactly what rescales things so that P(B given B) comes out to 1, as it must — B is certain to have occurred given B has occurred. It is also why the formula is simply undefined when P(B) is zero: rescaling by nothing has no meaning.
Is P(A given B) always different from P(B given A)?
Not always — they can coincide by coincidence, as when P(A) happens to equal P(B), or when A and B are independent with P(A) equal to P(B) as well, as in the die example above. But there is no general reason for them to be equal, since they have different denominators, P(B) versus P(A). In word problems always re-read the sentence to see which event is stated as already known — that event's probability is the denominator, and getting this backwards is the single most common mark lost on this topic.
Can I always just restrict the sample space instead of using the formula?
Yes, whenever the outcomes are finite and equally likely, such as with dice, coins, or cards — this is exactly what the derivation above proves, since the N cancels and you are left with counting outcomes inside B. But when probabilities are given directly as percentages or from a table, as in the class-survey example, there is no simple list of equally likely outcomes to restrict, so you must use the formula P(A given B) equals P(A intersect B) over P(B) directly, plugging in the given percentages.