Definition The Variance of RV X∼f is defined as Var(X)=E{(X−E{X})2}=E{X2}−(E{X})2 by using the Expectation.