Main

Conditional Probability

s

Last updated 27 June 2026

Talking about probability is talking about assigning a value to some elements of sets, or to some subsets of sets.

A outcome is an element. Outcomes must be mutually exclusive. No two outcomes can happen at the same time. An event is a subset with outcomes as its elements.

Both the value and the sets must fulfill some conditions to allow this assignment to be without contradictions:

We assign probabilities to events. A single outcome can be an event.

For all events, their probabilities are non-negative values.

The probability of an event AA happening or event BB happening (the probability of situation where at least one happens) is the sum of their respective probabilities.

It is important to distinguish between colloquial naming and mathematical definitions.

::: note Example Let Ω\Omega be the set of outcomes:

Let FF be the set of events:

We are Bayesian statisticians.

We imagine a world where we know it may rain but it doesn’t have to. We also know the grass may get wet but it doesn’t have to.

We think nothing else can happen. Everything except raining and grass getting wet has a zero probability of happening.

Outcomes:

Events:

We are tasked with defining this:

“what is the probability that the grass is wet if it is given that it rains”

It would be sensible to ask this question: what is the difference between the ‘probability that the grass is wet and that it rains’ and the ‘probability that the grass is wet given it rains’?

The first case is asking what is the probability of the intersection of events ‘it rains’ and ‘grass is wet’ which is the outcome AA with probability P(a)P(a).

The second case is asking what is the probability of an event ‘grass is wet’ when any other outcome can come only from the event ‘it rains’. Meaning, when fixing any event trough the statement: ‘it is given that…’, we create a new space of all possible outcomes - those that can occur only in the event we are taken as given.

In our case, giving ‘it rains’, we limit ourselves only to outcomes in event ErainsE_{rains}: (a,b)(a, b).

We, however, did not touch the function or parameters of the world that determine the values of probabilities. This means, if no other outcome is possible, we would get P(a)+P(b)1P(a)+P(b)\neq 1. The probabilities of P(a)P(a) and P(b)P(b) must thus be recalculated as those are the only two outcomes in our new universe of outcomes. Let the probability be PP'.

The relation ship between the remaining outcomes has not changed. If one was twice as probable as the other one, that ratio must be conserved.

We want to scale the probabilities to achieve the normalization condition.

P(a)=αP(a)P(b)=αP(b)αP(a)+αP(a)=1α=1P(b)+P(b) P'(a) = \alpha P(a) \\ P'(b) = \alpha P(b) \\ \alpha P(a) + \alpha P(a) = 1\\ \alpha = \frac{1}{P(b) + P(b)}

From axiom of probability addition we may call the probability P(a)+P(b)P(a) + P(b) the probability of event ‘it rains’: P(Erains)P(E_{rains}).

The new probabilities are thus P(a)=P(a)P(Erains)P'(a) = \frac{P(a)}{P(E_{rains})} and P(b)=P(b)P(Erains)P'(b) = \frac{P(b)}{P(E_{rains})}.

If we denote P(a)P(aErains)P'(a)\equiv P(a|E_{rains}) and P(b)P(bErains)P'(b)\equiv P(b|E_{rains}) we have:

P(aErains)=P(a)P(Erains) P(a|E_{rains}) = \frac{P(a)}{P(E_{rains})}
P(bErains)=P(b)P(Erains) P(b|E_{rains}) = \frac{P(b)}{P(E_{rains})}

Which is the definition of Conditional Probability:

P(XY)=P(XY)P(Y) P(X \mid Y) = \frac{P(X \cap Y)}{P(Y)}


More straight forward way is this.

Consider a space of possible outcomes Ω\Omega. A probability of a event AA occurring is defined (by the way of measure) as

Pr(A)=AΩ Pr(A) = \frac{|A|}{|\Omega|}

Now, assigning a probability that event (or some event from events) AA happened given that event (or some event from events) BB happened is saying that some event CC happened and CC must be a possible event in AA and BB.

← Back to Coursework