What is a Random Variable?
A random variable is a bridge between the abstract probability space and concrete numerical values we can measure.
Definition: Random Variable
A random variable on a probability space is a function (or more generally ) such that for every Borel set , the preimage . In other words, is an -measurable function.
The measurability condition ensures that we can assign probabilities to events like "" because the sets belong to the σ-algebra .
Example: Rolling a fair die defines a probability space where . A random variable might map each outcome to itself: . Another could be , assigning numerical values to each outcome.
The key insight is that random variables allow us to work with the abstract probability space indirectly—we don’t need to understand itself, only the distribution of .
What is a Distribution Induced by a Random Variable?
A random variable on probability space induces a probability distribution on where is the Borel σ-algebra.
Definition: Distribution (Push-forward Measure)
The distribution of a random variable is the probability measure on defined by for every Borel set .
This is also called the push-forward measure of under , often denoted .
Example: If we roll a fair die with for each outcome, the distribution of assigns probability to each value . For a set like (odd numbers), .
The distribution is the complete probabilistic characterization of the random variable. Once we know , we can compute probabilities of events involving without reference to the original probability space .
What is a Cumulative Distribution Function?
The cumulative distribution function (CDF) is the most common way to describe a distribution.
Definition: Cumulative Distribution Function
The cumulative distribution function of a random variable is the function defined by for all .
Key Properties of CDFs:
- Non-decreasing: If then .
- Right-continuous: for all .
- Boundary conditions: and .
- Jump interpretation: .
- Interval probabilities: For , we have .
Proof:
The CDF completely characterizes the distribution—two random variables with the same CDF have the same distribution. Conversely, any non-decreasing right-continuous function with and is the CDF of some probability distribution (by the Lebesgue-Stieltjes theorem).
Example: For the fair die, for , for where , and for .
What is a Density Function?
A density function provides another way to describe distributions, useful when the distribution is “smooth” enough.
Definition: Probability Density Function
A random variable has a probability density function (pdf) if its CDF can be written as for all .
When exists, it satisfies:
- (normalization)
- (probability via integration)
- (derivative of CDF where the derivative exists)
Key distinction: For continuous distributions, for individual points, but describes the relative likelihood in a small neighborhood of . The density is a relative measure, not an absolute probability.
Not all distributions have a density. Discrete distributions (like the fair die) have no pdf because their CDFs have jumps rather than being continuously differentiable. Some distributions are mixtures of continuous and discrete parts (singular distributions) and also lack pdfs.
Example: The uniform distribution on has pdf for and otherwise. The standard normal distribution has pdf .
What are Measurable Maps?
Measurability is the fundamental concept that allows us to work with probability on abstract spaces.
Definition: Measurable Function
Let and be measurable spaces. A function is --measurable (or simply measurable) if for every set , the preimage .
Intuition: A function is measurable if preimages of measurable sets are measurable. This ensures we can “pull back” σ-algebras through the function—whatever we can measure in the codomain corresponds to something we can measure in the domain.
Why this matters for probability: If we want to assign a probability to the event "" for some set , we need to be an event (i.e., in ). Measurability guarantees this.
Theorem: Sufficient Conditions for Measurability
A function is measurable if and only if for every ,
This is useful because we don’t need to check all Borel sets—just checking measurability on intervals is enough.
Intuition for measurability: Think of the σ-algebra as describing what we can “observe” or “measure” in that space. A measurable function is one that respects this structure—observations we can make in the codomain correspond to observations we can make in the domain.
Examples of measurable functions:
- Continuous functions are always measurable (with respect to Borel σ-algebras)
- Monotone functions are measurable
- Sums, products, and compositions of measurable functions are measurable
What are σ-Algebras Generated by Random Variables?
A random variable naturally generates a σ-algebra, representing the information contained in that variable.
Definition: σ-Algebra Generated by a Random Variable
The σ-algebra generated by a random variable on probability space is the smallest σ-algebra containing all sets of the form for Borel sets .
This is equivalent to:
Interpretation: is the collection of all events we can describe using knowledge of ‘s value. If we know whether "" for all Borel sets , we know whether every event in has occurred.
Theorem: Generated σ-Algebra Structure
For a random variable , where are Borel sets, and the smallest σ-algebra containing these is generated by countable unions, complements, and intersections.
Example: For a fair die with :
- The event “X is even” = is in
- The event “X ≤ 3” = is in
- In fact, (all subsets) because every point is in the range of
Information interpretation: represents the information revealed by observing . A larger σ-algebra means more information; means observing reveals only partial information about the outcome .
Multiple random variables generate larger σ-algebras: represents the information from observing both variables.
What Operations on Random Variables Preserve Measurability?
Since random variables must be measurable, it’s important to know which operations maintain measurability.
Theorem: Operations Preserving Measurability
Let be random variables on taking values in . Then the following are measurable (i.e., random variables):
- Arithmetic operations: , , , and (where )
- Monotone operations: and
- Absolute value:
- Powers: for
- Limits: If is a sequence of random variables, then , , , and are measurable
- Continuous functions: If is continuous, then is measurable
- Measurable functions: If is measurable, then is measurable
- Indicators: For any , the indicator function is a random variable
Key Principle: Composition with measurable functions preserves measurability. If is measurable and is measurable, then is measurable.
Proof sketch for arithmetic: For example, to show is measurable, note that . Since this is a preimage of a Borel set under the measurable function , it’s measurable.
Important limitation: Not all operations preserve measurability when dealing with uncountable sequences. For instance, the pointwise supremum of uncountably many measurable functions need not be measurable. However, countable suprema are always measurable.
Practical implication: This closure under operations means we can build up complex random variables from simple ones and be confident they remain properly defined (measurable).