Random variable

Definition
A random variable is a measurable function:

X:(Ω,Σ)(C,B(C)),

where (Ω,Σ) is a measurable space and B(C) is the Borel σ-algebra.
If (Ω,Σ,P) is a probability space, we call X a random variable on P.

Remarks:

  1. Boundedness: The condition supωΩ|X(ω)|< is often added (e.g., for uniform integrability).
  2. A random variable which only takes the values 0 or 1 encodes the same data as an event (more precisely, it is the indicator function χE of a unique event, which takes the value 1 on E and 0 on its complement). More generally, we can construct events from random variables: for any Borel subset ER the preimage X1(E) is an event (the event that X lies in E), often written XE, and so we can consider its probability P(XE).