The variance of a given event is the "average distance" between each individual event and the average.
Given
The variance for a given random variable
Alternatively it can be written as
When the random variable is squared and then the expected value is applied it ends up just being
, where the probability density function stays unchanged.