Question:

Let \( X \) be the random variable taking values \( 1, 2, \dots, n \) for a fixed positive integer \( n \). If \( P(X = k) = \frac{1}{n} \) for \( 1 \leq k \leq n \), then the variance of \( X \) is:

Show Hint

For uniform discrete distributions, use known formulas: \( E(X) = \frac{n+1}{2} \), \( E(X^2) = \frac{(n+1)(2n+1)}{6} \), and \( \text{Var}(X) = E(X^2) - [E(X)]^2 \).
Updated On: Jun 6, 2025
  • \( \frac{n^2 - 1}{12} \)
  • \( \frac{n^2 + 1}{12} \)
  • \( \frac{n^2 - 1}{6} \)
  • \( \frac{(n+1)(n+2)}{6} \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Given that \( X \) takes values \( 1, 2, \dots, n \) with equal probability, this is a discrete uniform distribution. \[ P(X = k) = \frac{1}{n}
\text{for } k = 1, 2, \dots, n \] Step 2: The mean of a discrete uniform distribution is: \[ \mu = E(X) = \frac{1 + 2 + \dots + n}{n} = \frac{n(n+1)/2}{n} = \frac{n+1}{2} \] Step 3: Compute \( E(X^2) \): \[ E(X^2) = \frac{1^2 + 2^2 + \dots + n^2}{n} = \frac{n(n+1)(2n+1)}{6n} = \frac{(n+1)(2n+1)}{6} \] Step 4: Use the formula for variance: \[ \text{Var}(X) = E(X^2) - [E(X)]^2 \] \[ = \frac{(n+1)(2n+1)}{6} - \left( \frac{n+1}{2} \right)^2 = \frac{(n+1)}{6} \left( 2n+1 - \frac{3(n+1)}{2} \right) = \frac{n^2 - 1}{12} \]
Was this answer helpful?
0
0

Top Questions on Probability

View More Questions

Questions Asked in AP EAPCET exam

View More Questions

AP EAPCET Notification