Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Common Random Variables

Learning Objectives

Motivation

Many models in geophysics involve simple stochastic components:

These “canonical” distributions form the backbone of probabilistic modeling.
We introduce each with:

Discrete Random Variables

Bernoulli Random Variable

A Bernoulli random variable models a single binary outcome (success/failure).

Definition

Let

XBernoulli(p),p[0,1].X \sim \text{Bernoulli}(p), \quad p \in [0,1].

Then

P(X=1)=p,P(X=0)=1p.\mathbb{P}(X=1)=p, \qquad \mathbb{P}(X=0)=1-p.

Expectation and Variance

E[X]=p,Var(X)=p(1p).\mathbb{E}[X]=p, \qquad \mathrm{Var}(X)=p(1-p).

Interpretation

Geometric Random Variable

The geometric distribution measures the number of independent Bernoulli trials needed until the first success.

Definition

Let

XGeom(p).X \sim \text{Geom}(p).

Then

P(X=k)=(1p)k1p.\mathbb{P}(X=k) = (1-p)^{k-1}p.

Expectation and Variance

E[X]=1p,Var(X)=1pp2.\mathbb{E}[X] = \frac{1}{p}, \qquad \mathrm{Var}(X) = \frac{1-p}{p^2}.

Interpretation

Binomial Random Variable

The binomial distribution counts the number of successes in a fixed number of independent Bernoulli trials.

Definition

Let

XBinomial(n,p),nN,  p[0,1].X \sim \text{Binomial}(n,p), \quad n \in \mathbb{N}, \; p \in [0,1].

Then for k=0,1,,nk=0,1,\dots,n,

P(X=k)=(nk)pk(1p)nk.\mathbb{P}(X=k) = \binom{n}{k} p^k (1-p)^{n-k}.

Expectation and Variance

E[X]=np,Var(X)=np(1p).\mathbb{E}[X] = np, \qquad \mathrm{Var}(X) = np(1-p).

Interpretation

Continuous Random Variables

Uniform Distribution

The simplest continuous distribution: all values in an interval are equally likely.

Definition

Let

XUniform(a,b),a<b.X \sim \text{Uniform}(a,b),\quad a < b.

PDF:

fX(x)={1ba,axb,0,otherwise.f_X(x)= \begin{cases} \frac{1}{b-a}, & a \le x \le b, \\ 0, & \text{otherwise}. \end{cases}

Expectation and Variance

E[X]=a+b2,Var(X)=(ba)212.\mathbb{E}[X]=\frac{a+b}{2}, \qquad \mathrm{Var}(X)=\frac{(b-a)^2}{12}.

Interpretation

Exponential Distribution

The exponential models waiting times between independent events (e.g., Poisson processes).

Definition

Let

XExponential(λ),λ>0.X \sim \text{Exponential}(\lambda), \quad \lambda > 0.

PDF:

fX(x)={λeλx,x0,0,x<0.f_X(x)= \begin{cases} \lambda e^{-\lambda x}, & x\ge 0, \\ 0, & x < 0. \end{cases}

Expectation and Variance

E[X]=1λ,Var(X)=1λ2.\mathbb{E}[X]=\frac{1}{\lambda}, \qquad \mathrm{Var}(X)=\frac{1}{\lambda^2}.

Memoryless Property

P(X>s+tX>s)=P(X>t).\mathbb{P}(X > s+t \mid X > s) = \mathbb{P}(X > t).

Interpretation

Gaussian (Normal) Distribution

The most important continuous distribution in modeling measurement noise and aggregated effects.

Definition

Let

XN(μ,σ2).X \sim \mathcal{N}(\mu, \sigma^2).

PDF:

fX(x)=12πσ2exp ⁣((xμ)22σ2).f_X(x)= \frac{1}{\sqrt{2\pi\sigma^2}} \exp\!\left(-\frac{(x-\mu)^2}{2\sigma^2}\right).

Expectation and Variance

E[X]=μ,Var(X)=σ2.\mathbb{E}[X] = \mu, \qquad \mathrm{Var}(X) = \sigma^2.

Interpretation

Key Points