Question
Question: 148. A r.v. X assumes values 1, 2, 3, ... n with equal probabilities. what will be n if Var(X) = E(X...
- A r.v. X assumes values 1, 2, 3, ... n with equal probabilities. what will be n if Var(X) = E(X)?
A
1
B
6
C
2
D
7
Answer
7
Explanation
Solution
For a discrete uniform distribution from 1 to n, we have:
E(X)=2n+1andVar(X)=12n2−1Setting Var(X)=E(X):
12n2−1=2n+1Multiply both sides by 12:
n2−1=6(n+1)Simplify:
n2−6n−7=0Solving the quadratic equation:
n=26±36+28=26±8Taking the positive value:
n=7