Question:

Find the mean and variance for the first n natural numbers.

Updated On: Oct 20, 2023
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

The mean of first n natural numbers is calculated as follows.

\(Mean=\frac{sum\,of\,all\,observations}{Number\,of\,all\,observations}\)

Mean = \(\frac{n(n+1)}{n}=\frac{n+1}{2}\)

Variance(σ2)= \(\frac{1}{2}\sum_{i=1}^n(x_i-\bar{x})^2\)

=\(\frac{1}{2}\sum_{i=1}^nx_i^2-\frac{1}{n}\sum_{i=1}^n2(\frac{n+1}{2})X_i+\frac{1}{n}\sum_{i=1}^{n}(\frac{n+1}{2})^2\)

=\(\frac{1}{2}\frac{n(n+1)(2n+1)}{6}-(\frac{n+1}{n})[\frac{n(n+1)}{2}]+\frac{(n+1)^2}{4n}×n\)

=\(=\frac{(n+1)(2n+1)}{6}-\frac{(n+1)^2}{4}+\frac{(n+1)^2}{4}\)

\(=\frac{(n+1)(2n+1)}{6}-\frac{(n+1)^2}{4}\)

\(=(n+1)[\frac{4n+2-3n-3}{12}]\)

\(\frac{(n+1)(n-1)}{12}\)

\(=\frac{n^2-1}{12}\)

 

Was this answer helpful?
0
0

Concepts Used:

Variance and Standard Deviation

Variance:

According to layman’s words, the variance is a measure of how far a set of data are dispersed out from their mean or average value. It is denoted as ‘σ2’.

Variance Formula:

Read More: Difference Between Variance and Standard Deviation

Standard Deviation:

The spread of statistical data is measured by the standard deviation. Distribution measures the deviation of data from its mean or average position. The degree of dispersion is computed by the method of estimating the deviation of data points. It is denoted by the symbol, ‘σ’.

Types of Standard Deviation:

  • Standard Deviation for Discrete Frequency distribution
  • Standard Deviation for Continuous Frequency distribution

Standard Deviation Formulas:

1. Population Standard Deviation

2. Sample Standard Deviation