A random variable X has the distribution law as given below: X 1 2 3 P(X = x) 0.3 0.4 0.3 The variance of the distribution is:
0.6
The question asks us to find the variance of a discrete random variable X, given its probability distribution law. The distribution provides the possible values of X and their corresponding probabilities.
The given probability distribution is:
| X = x | 1 | 2 | 3 |
| P(X = x) | 0.3 | 0.4 | 0.3 |
First, let's verify if the probabilities sum to 1:
$$ \sum P(X=x) = 0.3 + 0.4 + 0.3 = 1.0 $$
The probabilities sum to 1, so this is a valid probability distribution.
The expected value, or mean ($\mu$), of a discrete random variable is calculated as the sum of each value multiplied by its probability:
$$ E(X) = \mu = \sum_{i} x_i P(X=x_i) $$
Using the given distribution:
$$ E(X) = (1 \times 0.3) + (2 \times 0.4) + (3 \times 0.3) $$
$$ E(X) = 0.3 + 0.8 + 0.9 $$
$$ E(X) = 2.0 $$
So, the mean of the distribution is 2.0.
To find the variance, we also need the expected value of X squared. This is calculated by summing the square of each value multiplied by its probability:
$$ E(X^2) = \sum_{i} x_i^2 P(X=x_i) $$
Using the given distribution:
$$ E(X^2) = (1^2 \times 0.3) + (2^2 \times 0.4) + (3^2 \times 0.3) $$
$$ E(X^2) = (1 \times 0.3) + (4 \times 0.4) + (9 \times 0.3) $$
$$ E(X^2) = 0.3 + 1.6 + 2.7 $$
$$ E(X^2) = 4.6 $$
So, the expected value of X squared is 4.6.
The variance ($Var(X)$) is calculated using the formula:
$$ Var(X) = E(X^2) - [E(X)]^2 $$
Substituting the values we calculated:
$$ Var(X) = 4.6 - (2.0)^2 $$
$$ Var(X) = 4.6 - 4.0 $$
$$ Var(X) = 0.6 $$
The variance of the given distribution is 0.6. Comparing this result with the options provided, option 2 matches our calculated value.
A continuous random variable x has a probability density function \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {6x\left( {1 - x} \right),}&{0 < x \le 1}\\ {0,}&{otherwise} \end{array}} \right.\) Then the variance of x is:
X is a non-negative integer valued random variable with
\( P(X = x) =\left\{ \begin{matrix} \dfrac {x+1}{2^{(x+2)}} & x = 0, 1, 2... \\\ 0 & \rm{otherwise} \end{matrix} \right.\)
Then, mean and variance of X are respectively