What is the mathematical formula for the variance of a continuous random variable?

1 Answer
Nov 3, 2015

The formula is the same whether it is a discrete random variable or a continuous random variable.

Explanation:

irrespective of the type of random variable, the formula for variance is σ2 = E(X2) - [E(X)]2.
However, if the random variable is discrete, we use the process of summation.

In the case of a continuous random variable, we use the integral.
E(X2) = x2f(x)dx.
E(X) = xf(x)dx.
From this, we get σ2 by substitution.