Definition 18.12 High School Mathematics · Chapter 18 — Probability and Random Variables The variance of XXX measures the spread of its values around the expectation m=E(X)m = \E(X)m=E(X): V(X)=E((X−m)2)=∑i=1kP(X=xi) (xi−m)2,σ(X)=V(X).\V(X) = \E\bigl((X - m)^2\bigr) = \sum_{i=1}^{k} \P(X = x_i)\,(x_i - m)^2, \qquad \sigma(X) = \sqrt{\V(X)} .V(X)=E((X−m)2)=i=1∑kP(X=xi)(xi−m)2,σ(X)=V(X). Read in context →