Quant GT
Browse all lessons
Section 1 · Lesson 1.6

Independence and Expectation

When events don't influence each other, and the long-run average outcome.

Two events AA and BB are independent if knowing one happened tells you nothing about the other. Formally:

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

Equivalently, P(AB)=P(A)P(A \mid B) = P(A). Independence is a strong assumption — verify it, don't assume it.

The expectation of a random variable XX is its probability-weighted average. For discrete XX,

E[X]=xxP(X=x)E[X] = \sum_x x\, P(X = x)

For continuous XX with density ff,

E[X]=xf(x)dxE[X] = \int_{-\infty}^{\infty} x\, f(x)\, dx

The single most useful property of expectation is linearity:

E[aX+bY]=aE[X]+bE[Y]E[aX + bY] = a\, E[X] + b\, E[Y]

This holds whether or not XX and YY are independent. Many problems that look impossible become easy once you write the answer as a sum of indicator variables and apply linearity.