Mathematics · lesson 1 of 2
Conditional probability and expectation
P(A∣B)=P(A and B)/P(B) requires P(B)>0.
Learn the ideas
Prerequisites: Fractions, sums and elementary probability.
Conditioning
P(A∣B)=P(A and B)/P(B) requires P(B)>0.
Independence
A and B are independent when P(A and B)=P(A)P(B); independence is not the same as disjointness.
Expectation
Expectations add even without independence, provided the relevant expectations exist.
Variance
Variance adds for independent variables; in general include covariance terms.
Worked examples
Given P(A and B)=0.12 and P(B)=0.4, find P(A∣B).
Divide 0.12 by 0.4.
0.3
X takes values 0,2,5 with probabilities 0.2,0.5,0.3. Find E[X].
Compute 0(0.2)+2(0.5)+5(0.3)=2.5.
2.5
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.