Courses / Mathematics I
Data Analysis and Probability

Conditional Probability and Independence

Mathematics I 209 words Free to read

Conditional Probability

New information changes probabilities. The conditional probability of AA given BB, written P(AB)P(A \mid B), is the probability that AA occurs knowing BB has occurred:

P(AB)=P(AB)P(B),P(B)>0P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \quad P(B) > 0

Conditioning restricts the sample space to outcomes where BB holds, asking what fraction of those also have AA. This is how evidence updates belief.

Rearranging the formula gives the multiplication rule:

P(AB)=P(AB)P(B)P(A \cap B) = P(A \mid B)\,P(B)

This states the joint probability equals one event's probability times the other's conditional probability.

Independence vs. Exclusion

Two events are independent when knowing one occurred does not change the other's probability: P(AB)=P(A)P(A \mid B) = P(A), or symmetrically:

P(AB)=P(A)P(B)P(A \cap B) = P(A)\,P(B)

Independent probabilities multiply. Two fair coin flips landing heads have probability 1212=14\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}.

PropertyMutually ExclusiveIndependent
DefinitionCannot co-occurNo effect on each other
EquationP(AB)=0P(A \cap B) = 0P(AB)=P(A)P(B)P(A \cap B) = P(A)P(B)
RelationshipStrongly dependentUnrelated probabilities
Common pitfall: Confusing independent with mutually exclusive. Mutually exclusive events are maximally dependent because if one happens, the other cannot.
Conditional Probability and Independence

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes

Data Analysis and Probability