Part 3Math for LLMs

Introduction and Random Variables: Part 3 - Appendix R Notation Reference For Chapter 6

Probability Theory / Introduction and Random Variables

Private notes
0/8000

Notes stay private to your browser until account sync is configured.

Part 3
3 min read7 headingsSplit lesson page

Lesson overview | Previous part | Lesson overview

Introduction to Probability and Random Variables: Appendix R: Notation Reference for Chapter 6

Appendix R: Notation Reference for Chapter 6

This reference card collects all notation used in this chapter. Consistent notation prevents ambiguity when working across sections.

R.1 Sets and Events

SymbolMeaning
Ω\OmegaSample space
ωΩ\omega \in \OmegaElementary outcome
A,B,CA, B, CEvents (subsets of Ω\Omega)
AcA^cComplement of AA
ABA \cap BIntersection (both AA and BB)
ABA \cup BUnion (either AA or BB)
ABA \setminus BSet difference (AA but not BB)
ABA \triangle BSymmetric difference
1A\mathbf{1}_A or 1[A]\mathbf{1}[A]Indicator function of event AA
F\mathcal{F}Sigma-algebra of events

R.2 Probability

SymbolMeaning
P(A)P(A)Probability of event AA
P(AB)P(A \| B)Conditional probability of AA given BB
P(A,B)P(A, B)Joint probability P(AB)P(A \cap B)
ABA \perp BEvents AA and BB are independent

R.3 Random Variables

SymbolMeaning
X,Y,ZX, Y, ZRandom variables
x,y,zx, y, zValues (realisations) of random variables
FX(x)F_X(x)CDF of XX: P(Xx)P(X \leq x)
fX(x)f_X(x)PDF of XX (continuous)
pX(x)p_X(x)PMF of XX (discrete)
supp(X)\text{supp}(X)Support: {x:pX(x)>0}\{x : p_X(x) > 0\} or {x:fX(x)>0}\{x : f_X(x) > 0\}
XpX \sim pXX has distribution pp
XYX \perp YXX and YY are independent random variables
XYZX \perp Y \| ZXX and YY are conditionally independent given ZZ

R.4 Named Distributions

NotationDistribution
XBernoulli(p)X \sim \text{Bernoulli}(p)Bernoulli with success probability pp
XBinomial(n,p)X \sim \text{Binomial}(n, p)Binomial: nn trials, success probability pp
XGeometric(p)X \sim \text{Geometric}(p)Geometric: trials until first success
XPoisson(λ)X \sim \text{Poisson}(\lambda)Poisson with rate λ\lambda
XUniform(a,b)X \sim \text{Uniform}(a, b)Uniform on interval [a,b][a,b]
XN(μ,σ2)X \sim \mathcal{N}(\mu, \sigma^2)Gaussian with mean μ\mu and variance σ2\sigma^2
XExponential(λ)X \sim \text{Exponential}(\lambda)Exponential with rate λ\lambda
ZN(0,1)Z \sim \mathcal{N}(0,1)Standard normal
Φ(z)\Phi(z)CDF of the standard normal

R.5 Expectation and Moments

SymbolMeaning
E[X]\mathbb{E}[X]Expected value of XX
E[XY]\mathbb{E}[X \| Y]Conditional expectation of XX given YY
μX\mu_XMean of XX (=E[X]= \mathbb{E}[X])
σX2\sigma^2_X or Var(X)\text{Var}(X)Variance of XX
σX\sigma_XStandard deviation of XX
Cov(X,Y)\text{Cov}(X,Y)Covariance of XX and YY
ρXY\rho_{XY}Pearson correlation
MX(t)M_X(t)Moment generating function
GX(z)G_X(z)Probability generating function
φX(t)\varphi_X(t)Characteristic function

R.6 Information Theory

SymbolMeaning
H(X)H(X)Shannon entropy of XX
H(X,Y)H(X, Y)Joint entropy
H(XY)H(X \| Y)Conditional entropy
I(X;Y)I(X; Y)Mutual information
DKL(pq)D_{\mathrm{KL}}(p \| q)KL divergence from qq to pp
H(p,q)H(p, q)Cross-entropy of qq under pp

End of Appendices. Return to Table of Contents.

Skill Check

Test this lesson

Answer 4 quick questions to lock in the lesson and feed your adaptive practice queue.

--
Score
0/4
Answered
Not attempted
Status
1

Which module does this lesson belong to?

2

Which section is covered in this lesson content?

3

Which term is most central to this lesson?

4

What is the best way to use this lesson for real learning?

Your answers save locally first, then sync when account storage is available.
Practice queue