Q.Find the mean and variance for the first n natural numbers.
Kerala DhseTextbookSubjective· 3mImportance★★★★★est
16% · 14/90 Questions
✓ Free question
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.
Tip
A quick memory aid: For the first n natural numbers, mean is 2n+1 and variance is 12n2−1. Notice the denominator 12 — it’s the same as the variance of a continuous uniform distribution over [0,1], which is 1/12.
Common Exam Pitfall
Watch out
Do not confuse the variance of the first n natural numbers with the variance of a sample from a larger population. Here, the set {1,2,…,n} is the entire population, so we divide by n, not n−1. If a problem says “variance of the first n natural numbers,” use 12n2−1.
Quick Check
For n=1: mean = 1, variance = 0 (only one number, no spread). Formula gives 1212−1=0 — correct.
For n=2: numbers 1,2, mean = 1.5, variance = 2(1−1.5)2+(2−1.5)2=20.25+0.25=0.25. Formula gives 124−1=0.25 — correct.
You now have the complete picture: from intuition to derivation to exam-ready formulas.
Mean and Variance of the First n Natural Numbers is a classic result taught in the NCERT Class 11 Mathematics chapter on Statistics, matching searches like "mean and variance of natural numbers formula" or "statistics important questions class 11 maths". Because it combines the sum-of-squares formula with statistics, it's a frequently asked derivation-and-apply question in both CBSE boards and JEE Main.
Concept: Mean & Variance of Natural Numbers
The first n natural numbers are 1,2,3,…,n. Their sum is 2n(n+1), and sum of squares is 6n(n+1)(2n+1).
The mean of the first n natural numbers is 2n+1, and the variance is 12n2−1. This follows from summing an arithmetic progression and using the formula for the sum of squares.
The first n natural numbers are 1,2,3,…,n. The mean is just the average — but the variance measures how spread out these numbers are around that average. Since the numbers are equally spaced, both quantities have neat closed forms.
Let’s derive them step by step.
Mean (average)
The sum of the first n natural numbers is the classic arithmetic series:
1+2+⋯+n=2n(n+1)
The mean xˉ is this sum divided by n:
xˉ=n1⋅2n(n+1)=2n+1
So the mean sits exactly halfway between 1 and n.
Variance — the definition
Variance is the average of the squared deviations from the mean. For a population (which these n numbers are), we use:
σ2=n1∑i=1n(xi−xˉ)2
A more convenient computational form is:
σ2=n1∑i=1nxi2−xˉ2
This avoids subtracting the mean from each term individually.
Sum of squares
The sum of squares of the first n natural numbers is a standard result:
∑i=1ni2=6n(n+1)(2n+1)
So the average of the squares is:
n1∑i=1ni2=6(n+1)(2n+1)
Plug into the variance formula
Using xˉ=2n+1, we have xˉ2=4(n+1)2. Therefore:
σ2=6(n+1)(2n+1)−4(n+1)2
Simplify
Factor out (n+1):
σ2=(n+1)[62n+1−4n+1]
Find a common denominator (12):
62n+1=124n+2,4n+1=123n+3
Subtract:
124n+2−(3n+3)=12n−1
So:
σ2=(n+1)⋅12n−1=12n2−1
Watch out
A common mistake is to use the sample variance formula (dividing by n−1) instead of the population variance. Here, since we are considering the entire set of the first n natural numbers, we divide by n, not n−1. Using n−1 would give 12n(n+1), which is incorrect for this problem.
Tip
Notice that the variance grows roughly as n2/12 — so the spread increases quadratically with n, while the mean grows linearly. This makes sense: as n gets larger, the numbers are more spread out relative to their average.
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
KEAM 2026Set eng-2026-04214 marksMCQ
Q.If the variance of 1,2,3,…,n is 10, then the value of n is
(A) 5
(B) 9
(C) 11
(D) 13
(E) 15
›Reveal solutionSolution
12n2−1=10 gives n2=121, so n=11.
The variance of the first n natural numbers is 12n2−1. Setting it to 10:
12n2−1=10⇒n2−1=120⇒n2=121⇒n=11.
✓Final answer
The correct option is (C).
KEAM 2025Set eng-2025-04264 marksMCQ
Q.The standard deviation of 1,2,3,…,100 is
(A) 213333
(B) 413333
(C) 613333
(D) 813333
(E) 411111
›Reveal solutionSolution
For 1,2,…,n the variance is 12n2−1; with n=100 this is 129999, giving SD =213333.
The standard deviation of the first n natural numbers satisfies σ2=12n2−1. For n=100:
σ2=121002−1=129999=43333.
Therefore σ=43333=213333.
✓Final answer
The correct option is (A).
KEAM 2024Set eng-2024-06054 marksMCQ
Q.Variance of 6,7,8,9 is
(A) 41
(B) 43
(C) 32
(D) 31
(E) 45
›Reveal solutionSolution
Variance =n1∑(xi−xˉ)2=45.
Mean xˉ=46+7+8+9=7.5.
Deviations: −1.5,−0.5,0.5,1.5; squares: 2.25,0.25,0.25,2.25, summing to 5.
Variance =45.
✓Final answer
The correct option is (E).
KEAM 2023Set eng-2023-P2-B24 marksMCQ
Q.A six faced fair die is rolled for a large number of times. Then, the mean value of the outcomes is
(A) 4.5
(B) 2.5
(C) 3.5
(D) 1.5
(E) 3
›Reveal solutionSolution
By the law of large numbers the mean tends to the expected value 3.5.
Concept and Intuition
Each face 1–6 is equally likely, so the long-run average of outcomes converges to the theoretical mean E(X).
Step-by-Step Solution
E(X) = (1+2+3+4+5+6)/6 = 21/6.
= 3.5.
Over many rolls, the sample mean → 3.5.
Common Mistakes
Guessing 3 (the middle-ish value) instead of the true average 3.5.
✓Final answer
The correct option is (C) — 3.5.
ANSWER: C
KEAM 2023Set eng-2023-P2-B24 marksMCQ
Q.Let the probability distribution of random variable x be given by: X takes values −2,−1,1,2,3 with P(X=x) equal to k,2k,2k,k,3k respectively. Then, the value of E(X2) is
(A) 919
(B) 313
(C) 935
(D) 311
(E) 37
›Reveal solutionSolution
With k = 1/9, E(X²) = 39k = 13/3.
Concept and Intuition
First find k from the fact that probabilities sum to 1, then compute Σ x²·P(x).
Step-by-Step Solution
Sum of probabilities: k + 2k + 2k + k + 3k = 9k = 1 ⇒ k = 1/9.
E(X²) = 4k + 1·2k + 1·2k + 4·k + 9·3k.
= 4k + 2k + 2k + 4k + 27k = 39k.
= 39/9 = 13/3.
Common Mistakes
Forgetting to square the negative values or mismatching probabilities.
✓Final answer
The correct option is (B) — 13/3.
ANSWER: B
KEAM 2021Set eng-2021-P2-B14 marksMCQ
Q.If X is a random variable with E(X)=6 and V(X)=3, then E(X2) is equal to
(A) 33
(B) 36
(C) 39
(D) 42
(E) 27
›Reveal solutionSolution
E(X2)=39.
Concept and Intuition
The variance identity links the second moment to the variance and the square of the mean, so rearranging gives E(X2).
Step-by-Step Solution
V(X)=E(X2)−[E(X)]2.
E(X2)=V(X)+[E(X)]2.
E(X2)=3+62=3+36=39.
Common Mistakes
Subtracting instead of adding, or using E(X) rather than [E(X)]2.