Question
Question: A random variable X, accept any one integer out of 1 to 100 and its probabilities are equal. Then fi...
A random variable X, accept any one integer out of 1 to 100 and its probabilities are equal. Then find E(X), E (X2) and Var (X) of X.
Solution
Hint : It is given to us that X can accept any one integer out of 1 to 100 and its probabilities are equal. Thus, we will find the probability of each substitution of the value of X. Then we will find the Mean E(X) as the sum of the products of the value of X and its probabilities. We can find E (X2) as the sum of the product of the squares of the value of X and its probability. To find the Var(X), we need to find the difference of E (X2) and square of E(X).
Complete step-by-step answer :
The random variable X can take any value out of 1 to 100. That is, it can take 1 or 2 or 3 and so on up to 100 and the probability of accepting any value is equal.
Thus, there are 100 values that X can take.
This means, the probability of taking the value 1 will be P(X = 1) = 1001 . Similarly, probability of taking the value 2 will be P(X = 2) = 1001 .
Now, we can find the mean E(X) as the sum of the products of the value of X and its probabilities.
⇒ E(X) = ∑XP(X)
⇒ E(X) = 1(1001)+2(1001)+3(1001)+...+100(1001)
⇒ E(X) = 1001(1+2+3+....+100)
As we know, the sum of the first n natural number is given 2n(n+1) .
So, 1 + 2 + 3 + …. + 100 = 2100(100+1)
⇒ 1 + 2 + 3 +…. + 100 = 5050
⇒ E(X) = 1001(5050)
⇒ E(X) = 50.5
Now, to find E (X2) , we will find the sum of the product of the squares of the value of X and its probability.