Find the mean and variance for the first n natural numbers
Open in App
Solution
First n natural number are, x=1,2,3,.............n So mean of first n natural number is ¯x=∑xin=n+12 ∴ variance, σ2=∑x2in−(¯x)2 =16n(n+1)(2n+1)n−(n+12)2=112(n+1)(n−1)=n2−112