Mathematics · University
Conditional probability and expectation
P(A∣B)=P(A and B)/P(B) requires P(B)>0.
Prerequisites
Fractions, sums and elementary probability.
Study notes
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
Two events have positive probability and are disjoint. Are they independent?
- Always
- Only if their names differ
- No
- Independence is undefined for events
Independent X and Y have variances 4 and 9. Find Var(2X−Y).
Show by an example that E[XY] need not equal E[X]E[Y].
Does E[X+Y]=E[X]+E[Y] require independence?
- Yes in every case
- Only if the means are zero
- Only for normal distributions
- No, assuming expectations exist
Answers and marking guidance
Answers and marking notes
- No
Their intersection probability is zero while the product of their positive probabilities is positive.
- 25
Variance scales by the square of coefficients, giving 4×4+9=25.
- Let X=Y be a fair 0/1 variable. Then E[XY]=E[X]=1/2, while E[X]E[Y]=1/4.
Credit a dependent example and both computed quantities.
- No, assuming expectations exist
Linearity of expectation does not require independence.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.
AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.