Question:medium

The p.m.f. of a random variable \( X \) is: \[ P(X) = \frac{2x}{n(n+1)}, \quad x = 1, 2, 3, \ldots, n \] \[ P(X) = 0, \quad \text{Otherwise.} \] Then \( E(X) \) is:

Show Hint

For discrete random variables, calculate \( E(X) \) by summing \( x \cdot P(X = x) \), and use known summation formulas for efficiency.
Updated On: Nov 26, 2025
  • \( \frac{n+1}{3} \)
  • \( \frac{2n+1}{3} \)
  • \( \frac{n+2}{3} \)
  • \( \frac{2n-1}{2} \)
Hide Solution

The Correct Option is B

Solution and Explanation

The expected value \( E(X) \) is calculated as:\[E(X) = \sum_{x=1}^n x \cdot P(X = x).\]Substituting \( P(X = x) = \frac{2x}{n(n+1)} \) yields:\[E(X) = \sum_{x=1}^n x \cdot \frac{2x}{n(n+1)}.\]This simplifies to:\[E(X) = \frac{2}{n(n+1)} \sum_{x=1}^n x^2.\]Step 1: Apply the sum of squares formula.
The sum of the squares of the first \( n \) natural numbers is given by:\[\sum_{x=1}^n x^2 = \frac{n(n+1)(2n+1)}{6}.\]Substituting this into the expression for \( E(X) \):\[E(X) = \frac{2}{n(n+1)} \cdot \frac{n(n+1)(2n+1)}{6}.\]Further simplification results in:\[E(X) = \frac{2(2n+1)}{6}.\]Which reduces to:\[E(X) = \frac{2n+1}{3}.\] Final Answer:\[\boxed{\frac{2n+1}{3}}\]
Was this answer helpful?
0