Prerequisites & Notation

Before You Begin

This chapter introduces random variables β€” the bridge from abstract probability spaces to numerical computation. We assume familiarity with the probability axioms and basic counting from earlier chapters.

  • Probability spaces: sample space Ξ©\Omega, Οƒ\sigma-algebra F\mathcal{F}, measure P\mathbb{P}(Review ch01)

    Self-check: Can you define a probability space and verify the axioms for a given example?

  • Conditional probability and Bayes' rule(Review ch02)

    Self-check: Can you compute P(A∣B)\mathbb{P}(A | B) and apply Bayes' theorem?

  • Independence of events(Review ch02)

    Self-check: Can you verify whether two events are independent from a joint probability table?

  • Combinatorics: binomial coefficients, counting arguments(Review ch04)

    Self-check: Can you compute (nk)\binom{n}{k} and apply it to counting problems?

  • Basic series: geometric series, Taylor expansion of exe^x

    Self-check: Can you sum βˆ‘k=0∞xk\sum_{k=0}^{\infty} x^k and recognize ex=βˆ‘k=0∞xk/k!e^x = \sum_{k=0}^{\infty} x^k/k!?

Notation for This Chapter

Symbols introduced in this chapter. Random variables are uppercase italic (XX), realizations are lowercase italic (xx), and sets are calligraphic (X\mathcal{X}).

SymbolMeaningIntroduced
X:Ξ©β†’RX : \Omega \to \mathbb{R}Random variable (measurable function)s01
P(x)P(x)Probability mass function of XXs01
F(x)F(x)Cumulative distribution function of XXs01
X\mathcal{X}Support of XX (set of values with positive probability)s01
E[X]\mathbb{E}[X]Expectation (mean) of XXs02
Var(X)\text{Var}(X)Variance of XXs03
ΟƒX\sigma_XStandard deviation of XXs03
MX(t)M_X(t)Moment generating function: E[etX]\mathbb{E}[e^{tX}]s04
H(X)H(X)Shannon entropy of XX: βˆ’βˆ‘xp(x)log⁑2p(x)-\sum_x p(x) \log_2 p(x)s05
1A\mathbf{1}_AIndicator random variable of event AAs01