Properties of variance
Contents
Properties of variance¶
The variance operator satisfies certain important properties. Let’s go over the most important once with some proofs. In what follows \(X\) is either a discrete or a continuous random variable and \(\mu = \mathbb{E}[X]\) is its expected value.
Variance Property 1: The variance of a random variable times a scalar is the square of the scalar times the variance of the random variable¶
Let \(\lambda\) be any scalar value. Then:
To prove this, we need to invoke the definition of the variance. First, notice from from the first property of expectations, we have:
So, the variance of \(\lambda X\) is by definition:
Variance Property 2: The variance of a random variable plus a constant is the variance of the random variable¶
Let \(\lambda\) be any number. Then:
And here is the proof. The expectation of \(X + \lambda\) is (see the third property of expectations):
Then, by definition, the variance of \(X + \lambda\) is:
Variance Property 3: The variance is the expectation of the square minus the expectation of a random variable¶
Mathematically, we have:
Going through the proof of this property can help you develop your understanding of the mathematics. Here we go:
Now you may wonder why on Earth you need to know this property. Well, it turns out that this property offers one of the easiest ways to calculate the variance of random variables by hand. Let’s look at some examples.