Concept understanding — Mean Variance Natural Numbers
Mean and Variance of Natural Numbers
Let’s start with something you already know: the mean (average) and variance (spread) of a set of numbers. If I give you the first five natural numbers — 1, 2, 3, 4, 5 — you can compute their mean and variance easily. But what if I ask: What is the mean of all natural numbers? That’s infinite, so it doesn’t make sense directly. Instead, we ask: What is the mean of the first n natural numbers? And then we see how it behaves as n grows.
That’s the core idea: we study the mean and variance of the first n natural numbers as a function of n, and often look at what happens when n becomes very large.
Intuition First
Imagine you line up the numbers 1,2,3,…,n on a number line. Their average is somewhere in the middle — roughly n/2. More precisely, the mean of the first n natural numbers is 2n+1. For n=5, that’s 3, which matches your intuition.
Now, variance measures how spread out the numbers are around that mean. For small n, the spread is small; for large n, the spread grows. The variance of the first n natural numbers turns out to be 12n2−1. For n=5, that’s 1225−1=2, which is a moderate spread.
Note
These formulas assume we are using population variance (dividing by n, not n−1). In exam contexts, always check which variance definition is expected — but for natural numbers, population variance is standard.
Precise Statement
Let X be a random variable that takes values 1,2,3,…,n with equal probability 1/n. Then:
Mean: μn=2n+1
Variance: σn2=12n2−1
These are exact formulas for any positive integer n.
Derivation (Why These Formulas?)
Mean
The sum of the first n natural numbers is 1+2+⋯+n=2n(n+1).
Since there are n numbers, the mean is:
μn=n1⋅2n(n+1)=2n+1
Variance
Variance is the average of squared deviations from the mean:
σn2=n1∑k=1n(k−μn)2
A cleaner way uses the identity: σ2=E[X2]−(E[X])2.
First, E[X2]=n1∑k=1nk2. The sum of squares formula is ∑k=1nk2=6n(n+1)(2n+1). So:
E[X2]=n1⋅6n(n+1)(2n+1)=6(n+1)(2n+1)
Now, (E[X])2=(2n+1)2=4(n+1)2.
Therefore:
σn2=6(n+1)(2n+1)−4(n+1)2
Factor (n+1):
σn2=(n+1)[62n+1−4n+1]
Compute the bracket: common denominator 12:
122(2n+1)−3(n+1)=124n+2−3n−3=12n−1
Thus:
σn2=(n+1)⋅12n−1=12n2−1
What This Tells You
The mean grows linearly with n — roughly half of n.
The variance grows quadratically — roughly n2/12 for large n.
For large n, the standard deviation σn≈12n≈0.2887n, meaning the spread is about 29% of the range. …
The standard deviation of the first n natural numbers is 12n2−1. This comes from the fact that variance is the average of squares minus the square of the average, and for natural numbers both the mean and the mean of squares have neat closed forms.
The first n natural numbers are 1,2,3,…,n. When we talk about standard deviation, we're measuring how spread out these numbers are around their mean. For equally spaced data like this, the spread depends only on n and the spacing (which is 1). The formula turns out to be surprisingly clean.
The key insight: standard deviation is the square root of variance. And variance can be computed as:
Variance=n1∑i=1nxi2−(n1∑i=1nxi)2
This is often easier than summing squared deviations directly. So we just need two things: the mean of the numbers, and the mean of their squares.
Find the mean of the first n natural numbers.
The sum of the first n natural numbers is 2n(n+1). So the mean is:
xˉ=n1⋅2n(n+1)=2n+1
Find the mean of the squares.
The sum of squares of the first n natural numbers is 6n(n+1)(2n+1). So the mean of the squares is: