When Is a Random Variable Almost Surely Constant?
At a glance
- 1. Check independence
If X is independent of itself, then every event determined by X has probability zero or one.
- 2. Use rational thresholds
Apply this to events where X is at most a rational number.
- 3. Locate the cut
The threshold probabilities switch from zero to one at a single value c.
- 4. Conclude constancy
Those threshold events imply that X equals c with probability one.
A real-valued random variable is almost surely constant if there is a fixed number such that . Its value may differ from on a probability-zero set; that does not affect the claim.
A standard result is that if is independent of itself, then it is almost surely constant. The proof uses events such as for rational numbers . The rational thresholds are enough to pin down the distribution without relying on an uncountable collection of events.
What “independent of itself” means
Two random variables are independent when events specified by their values are independent. Thus, for every pair of Borel sets ,
When both variables are the same , take . The event on the left is just , so
The only probabilities satisfying are and . Therefore every event determined by has probability either zero or one. In the language of sigma-algebras, is independent of itself.
Proof using rational thresholds
Define the distribution function . For every rational number , the event is determined by . The preceding argument gives
Because is real-valued, it is finite with probability one. Consequently, is zero for sufficiently small rational thresholds and one for sufficiently large ones. Define
This is a finite real number. If , then by the definition of the infimum. If , there is a rational with and ; since is nondecreasing, as well.
These facts imply that almost surely. For example, choose rational numbers increasing to . Each event has probability zero, and their union is , so . Choose rational numbers decreasing to . Each event has probability one, and their intersection is , so . Together, these give .
The converse also holds: if almost surely, then events determined by have probability zero or one, and is independent of itself. Null events in do not change that conclusion.
Worked example: a Bernoulli random variable
Suppose is Bernoulli with and . If is independent of itself, the event must be independent of itself. Hence
So or . In either case, is constant with probability one: it equals when and equals when . Any value rules out independence of from itself.
Other common ways to establish constancy
Self-independence is only one criterion. If has a finite second moment, then
If this variance is zero, the nonnegative random variable has expectation zero, so it is zero almost surely. Thus almost surely. Conversely, an almost surely constant variable with finite second moment has variance zero.
More generally, if is a nonnegative measurable function and , then almost surely. For example, taking proves that a finite second moment around equal to zero forces almost surely.
Common mistakes
- Confusing self-independence with an independent copy. An independent copy of can have the same non-degenerate distribution as . The result concerns and itself, not and a separately constructed copy.
- Thinking equal distributions imply independence. Two random variables may have the same distribution and still be dependent. A variable and itself are generally dependent unless it is almost surely constant.
- Ignoring “almost surely.” The result does not require at every point of the sample space; exceptional outcomes with probability zero are allowed.
- Applying the zero-variance criterion without its assumptions. The usual variance argument requires a finite second moment. Self-independence, by contrast, gives the conclusion for any real-valued random variable, whether or not its expectation or variance exists.
References
- Patrick Billingsley, Probability and Measure
- Olav Kallenberg, Foundations of Modern Probability
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.