Variance
The variance of a random variable is defined as , where is the expectation of .
Notation
Since the square root of the variance is the standard deviation, if we have a simple notation for the standard deviation, such as , then we can denote the variance as .
Motivation
In several books I have seen the following three-step motivation for the variance. I'm not sure I'm convinced this is all that can be said to motivate the variance, but it seems to be a start.
- We want to measure the spread of the data. For each data point, we can subtract the mean from it to see how "deviant" it is. So one a priori reasonable approach is to calculate these deviations and find the average deviation. If we do this, however, we get which is useless.
 - We then have the idea to take the absolute values of these deviations, to prevent them from adding up to zero. So we get . But the absolute value is not smooth enough for us to be able to do all the things we would like (e.g. differentiation). However, note that this measure of the spread is also used.
 - Finally, building off the previous idea, we decide to square things, and we get , which is the definition of variance.