Let X be a discrete random variable, then the variance of X is :

Answer: The variance of a discrete random variable XX is given by the formula Var(X)=E[X2]−(E[X])2\text{Var}(X) = E[X^2] - (E[X])^2.

Step-by-step solution

Step 1: Define Variance

The variance of a discrete random variable XX, denoted as Var(X)\text{Var}(X), is defined as the expected value of the squared difference between the random variable and its mean. This measures how far the values of the random variable are spread out from the mean.

Step 2: Expand the Expectation

We can expand the squared term inside the expectation. Let E[X]=μE[X] = \mu. Then (X−μ)2=X2−2Xμ+μ2(X - \mu)^2 = X^2 - 2X\mu + \mu^2.

Step 3: Apply Linearity of Expectation

Using the linearity property of expectation, E[aY+bZ]=aE[Y]+bE[Z]E[aY + bZ] = aE[Y] + bE[Z], and E[c]=cE[c] = c for a constant cc. Here, E[X]E[X] is a constant, so E[2XE[X]]=2E[X]E[X]E[2XE[X]] = 2E[X]E[X] and E[(E[X])2]=(E[X])2E[(E[X])^2] = (E[X])^2.

Step 4: Simplify the Expression

Combining the terms, we get the commonly used formula for the variance of a discrete random variable: the expected value of X2X^2 minus the square of the expected value of XX.

More from this chapter

All Probability solutions →

Solve your own maths question free →