Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

What is the formula for the variance of a probability distribution?

Answer
VerifiedVerified
441k+ views
like imagedislike image
Hint: We know the variance of a random variable X is the mean or expected value of the squared deviation from the mean of X. Using this definition, we can arrive at a simpler formula for variance, both for continuous and discrete random variables.

Complete step-by-step answer:
We know that the variance measures how far a set of numbers is spread out, from their average value. Also, we are aware that variance is the square of standard deviation. The variance of a random variable X is represented by σ2,s2 or Var(X).
Using the definition of variance, for a random variable X, we can write the variance as
Var(X)=E[(XE[X])2]
where, E(X) represents the expected value or mean for the random variable X.
We can expand the above equation as
Var(X)=E[X22XE[X]+E[X]2]
Hence, we can write
Var(X)=E[X2]2E[X]E[X]+E[X]2
Thus, we can simplify this to get
Var(X)=E[X2]E[X]2...(i)
Hence, we can also say that the variance of X is equal to the difference of the mean of the square of X and the square of the mean of X.
We know that for a continuous random variable X, the total probability is
P(aXb)=abf(x)dx=1.
Also, we can write the expected value as,
E(X)=abxf(x)dx.
Hence, we can write the variance using equation (i) as
Var(X)=abx2f(x)dx{abxf(x)dx}2.
Similarly, for a discrete random variable X, we have the total probability as,
i=1nP(xi)=1.
Also, we can write the expectation of X as,
E(X)=i=1nxiP(xi).
Thus, we can write the variance using equation (i) as
Var(X)=i=1nxi2P(xi){i=1nxiP(xi)}2.

Note: We must take care that in the above explanation, we have assumed that the probability distribution of continuous random variable to be defined from a to b, and the discrete random variable is assumed to have n different possibilities.

Latest Vedantu courses for you
Grade 11 Science PCM | CBSE | SCHOOL | English
CBSE (2025-26)
calendar iconAcademic year 2025-26
language iconENGLISH
book iconUnlimited access till final school exam
tick
School Full course for CBSE students
PhysicsPhysics
ChemistryChemistry
MathsMaths
₹41,848 per year
Select and buy