Q.Find the mean and variance for the first n natural numbers.
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.
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.
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
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).
Step 1 – Mean
xˉ=nSum=nn(n+1)/2=2n+1
Step 2 – Variance
Variance σ2=n∑xi2−(xˉ)2
=nn(n+1)(2n+1)/6−(2n+1)2=6(n+1)(2n+1)−4(n+1)2
Step 3 – Simplify
Take LCM 12:
σ2=122(n+1)(2n+1)−3(n+1)2=12(n+1)[4n+2−3n−3]=12(n+1)(n−1)=12n2−1
The mean is 2n+1 and the variance is 12n2−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
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.
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.
The mean is 2n+1 and the variance is 12n2−1.
- TG EAPCET 2025Set eng-2025-05-03-AN1 markMCQQ.If the mean and variance of a binomial distribution are 34 and 910 respectively, then P(X≥6)= (A) 6841 (B) 68741 (C) 1−68741 (D) 1−6841
›Reveal solutionSolution
For a binomial distribution, the mean is np and the variance is np(1−p). Solving np=34 and np(1−p)=910 gives n=8, p=61. Then P(X≥6)=P(X=6)+P(X=7)+P(X=8)=68741, so the correct option is (B).
Concept & Intuition
The binomial distribution models the number of successes in n independent trials, each with success probability p. Its mean is np and variance is np(1−p). When given these two numbers, we can solve for n and p uniquely. Once we know the distribution, computing P(X≥6) is just summing the probabilities for X=6,7,8 (since n turns out to be small). The trick is to notice that the variance is less than the mean, which forces p<1/2 and gives a neat fraction.
Step-by-step solution
- Set up equations from given mean and variance Mean: np=34 Variance: np(1−p)=910 Divide variance by mean:
npnp(1−p)=1−p=4/310/9=910⋅43=3630=65
So 1−p=65, hence p=61.
- Find n From np=34 and p=61, we have
n⋅61=34⇒n=34⋅6=8.
So the distribution is X∼Binomial(n=8,p=61).
- Write the probability mass function
P(X=k)=(k8)(61)k(65)8−k.
- Compute P(X≥6)
This is P(X=6)+P(X=7)+P(X=8).
- For k=6: (68)=28, so
P(6)=28(61)6(65)2=28⋅6825.
- For k=7: (78)=8, so
P(7)=8(61)7(65)1=8⋅685.
- For k=8: (88)=1, so
P(8)=1⋅(61)8=681.
- Sum them
P(X≥6)=6828⋅25+8⋅5+1=68700+40+1=68741.
TipNotice that 28⋅25=700 is quick: 28×20=560, plus 28×5=140, total 700. Always look for such mental shortcuts.
Watch outA common mistake is to forget that P(X≥6) includes X=8, not just 6 and 7. Also, be careful with the binomial coefficient: (68)=(28)=28, not 28? Yes, it's correct.
✓Final answerThe correct option is (B).
ANSWER: B
- TG EAPCET 2025Set eng-2025-05-03-FN1 markMCQQ.If the mean and variance of a binomial distribution are 34 and 910 respectively, then P(X≥6)= (A) 6841 (B) 1−6841 (C) 68741 (D) 1−68741
›Reveal solutionSolution
Solving np=34 and np(1−p)=910 gives n=8, p=61. Then P(X≥6)=68741, option (C).
For X∼Bin(n,p): mean =np, variance =np(1−p).
Find p: divide variance by mean,
1−p=npnp(1−p)=4/310/9=910⋅43=65⇒p=61.
Find n: np=34⇒n⋅61=34⇒n=8. So q=1−p=65.
Compute P(X≥6)=P(6)+P(7)+P(8):
(68)p6q2=28⋅6852=68700,
(78)p7q=8⋅685=6840,
(88)p8=681.
Adding,
P(X≥6)=68700+40+1=68741.
✓Final answerP(X≥6)=68741 — option (C).
- TG EAPCET 2023Set eng-2023-05-13-AN1 markMCQQ.If M and σ2 represent respectively the mean deviation from the mean and the variance for the data 1, 3, 5, 7, 11, 13, 17, 19, 23 then 3(σ2−M)= (A) 232 (B) 112 (C) 224 (D) 136
›Reveal solutionSolution
Mean =11, so M=956 and σ2=9464, giving 3(σ2−M)=136.
Data: 1,3,5,7,11,13,17,19,23 (nine values).
Mean: xˉ=91+3+5+7+11+13+17+19+23=999=11.
Mean deviation from the mean M: the absolute deviations ∣xi−11∣ are
10,8,6,4,0,2,6,8,12, whose sum is 56, so
M=956.
Variance σ2: the squared deviations (xi−11)2 are
100,64,36,16,0,4,36,64,144, whose sum is 464, so
σ2=9464.
Required value:
3(σ2−M)=3(9464−956)=3⋅9408=3408=136.
✓Final answer3(σ2−M)=136 — option (D).
- TG EAPCET 2023Set eng-2023-05-14-AN1 markMCQQ.A random variable X has the following distribution.
[!FORMULA] X=xiP(X=xi)−20.1−1k00.212k23k3k
Then the variance of this distribution is (A) 2.64 (B) 2.8 (C) 2.16 (D) 1.86›Reveal solutionSolution
Solve ∑P=1 for k=0.1, then Var =E(X2)−[E(X)]2=2.8−0.64=2.16 (option C).
Step 1 — Find k. Total probability is 1:
0.1+k+0.2+2k+3k+k=1⟹0.3+7k=1⟹k=0.1
So the probabilities are:
xi −2 −1 0 1 2 3 P 0.1 0.1 0.2 0.2 0.3 0.1 Step 2 — Mean.
E(X)=∑xiPi=(−0.2)+(−0.1)+0+0.2+0.6+0.3=0.8
Step 3 — E(X2).
E(X2)=∑xi2Pi=0.4+0.1+0+0.2+1.2+0.9=2.8
Step 4 — Variance.
Var(X)=E(X2)−[E(X)]2=2.8−(0.8)2=2.8−0.64=2.16
✓Final answerThe variance of the distribution is 2.16 — option (C).
- TG EAPCET 2022Set eng-2022-07-19-FN1 markMCQQ.The mean deviation from the mean for the observations 1, 3, 5, 7, 11, 13, 17, 19, 23 is (A) 6 (B) 11\dfrac{4}{9} (C) 11 (D) 6\dfrac{2}{9}
›Reveal solutionSolution
To find the mean deviation from the mean, we first calculate the mean of the observations, then find the absolute difference of each observation from this mean, and finally average these absolute differences. The mean deviation from the mean for the given observations is 692.
The mean deviation is a measure of dispersion that tells us, on average, how much the observations in a dataset differ from a central value (in this case, the mean). We use absolute values for the deviations because we are interested in the magnitude of the difference, regardless of whether an observation is above or below the mean. If we didn't take absolute values, the sum of deviations from the mean would always be zero, which wouldn't give us any useful information about spread.
Here's how to calculate it step-by-step:
- Calculate the mean (xˉ) of the observations. The given observations are 1,3,5,7,11,13,17,19,23. There are n=9 observations. The sum of observations is: 1+3+5+7+11+13+17+19+23=99 The mean is:
xˉ=n∑xi=999=11
-
Calculate the absolute deviation (∣xi−xˉ∣) for each observation.
This means finding the absolute difference between each observation and the mean we just calculated.
- ∣1−11∣=∣−10∣=10
- ∣3−11∣=∣−8∣=8
- ∣5−11∣=∣−6∣=6
- ∣7−11∣=∣−4∣=4
- ∣11−11∣=∣0∣=0
- ∣13−11∣=∣2∣=2
- ∣17−11∣=∣6∣=6
- ∣19−11∣=∣8∣=8
- ∣23−11∣=∣12∣=12
-
Sum the absolute deviations (∑∣xi−xˉ∣).
Add all the absolute deviations calculated in the previous step:
∑∣xi−xˉ∣=10+8+6+4+0+2+6+8+12=56
- Calculate the mean deviation from the mean.
The mean deviation from the mean is the sum of the absolute deviations divided by the number of observations.
The mean deviation from the mean is given by:
MD(xˉ)=n∑i=1n∣xi−xˉ∣
Using our calculated values:
MD(xˉ)=956
To express this as a mixed fraction:956=692
✓Final answerThe mean deviation from the mean for the given observations is 692.
- TG EAPCET 2022Set eng-2022-07-18-FN1 markMCQQ.If x is the mean of n observations x1,x2,...,xn then the mean of the absolute deviations of these observations from x is (A) the variance of the data (B) the mean proportion of the data (C) the standard deviation of the data (D) the mean deviation of the data
›Reveal solutionSolution
The mean of the absolute deviations from the mean is, by definition, the mean deviation (also called the mean absolute deviation). The correct option is (D).
Concept and Intuition
When we talk about "spread" or "dispersion" in a data set, there are several common measures: variance, standard deviation, and mean deviation. Each captures how far the observations are from the center (usually the mean), but they differ in how they treat the distances.
- Variance averages the squared deviations: n1∑(xi−x)2.
- Standard deviation is the square root of variance.
- Mean deviation (or mean absolute deviation) averages the absolute deviations: n1∑∣xi−x∣.
The question literally asks: "What is the mean of the absolute deviations from x?" That is exactly the definition of the mean deviation. No calculation is needed — it's a matter of recognizing the terminology.
Step-by-Step Reasoning
- Identify what is being described The phrase "mean of the absolute deviations of these observations from x" translates directly to:
n1∑i=1n∣xi−x∣
This is a standard statistical formula.
-
Match the formula to the options
- (A) Variance: n1∑(xi−x)2 — uses squares, not absolute values.
- (B) Mean proportion: Not a standard measure of dispersion; irrelevant here.
- (C) Standard deviation: n1∑(xi−x)2 — again, squares and a square root.
- (D) Mean deviation: Exactly n1∑∣xi−x∣ — matches perfectly.
-
Confirm by elimination
The only option that uses absolute values (not squares) is the mean deviation. The other options involve squaring, which changes the nature of the measure (e.g., giving more weight to larger deviations).
TipA common pitfall is confusing "mean deviation" with "standard deviation." Remember:
- Mean deviation uses ∣xi−x∣ (absolute values).
- Standard deviation uses (xi−x)2 (squares) and then takes a square root. They are not the same — the mean deviation is always less than or equal to the standard deviation.
✓Final answerThe correct option is (D).
ANSWER: D
- TG EAPCET 2021Set eng-2021-08-05-AN1 markMCQQ.If M1 and M2 are the mean deviations from mean and median of the first 15 even integers then M1+M2= (A) 15112 (B) 15224 (C) 1556 (D) 1528
›Reveal solutionSolution
We first identify the dataset as the first 15 even integers. We then calculate the mean and median, finding both to be 16. Subsequently, we compute the mean deviation from the mean (M1) and the mean deviation from the median (M2), which are both 15112. Their sum is 15224.
The problem asks us to calculate the sum of the mean deviation from the mean (M1) and the mean deviation from the median (M2) for the first 15 even integers.
Concept and Intuition
Mean deviation is a measure of dispersion, indicating the average absolute difference between each data point and a central value (either the mean or the median). It helps us understand how spread out the data points are around that central tendency.
- Mean (xˉ): The arithmetic average of all observations. It is calculated as the sum of all observations divided by the number of observations.
- Median (M): The middle value of a dataset when arranged in ascending or descending order. For an odd number of observations, it is the single middle value.
- Mean Deviation from Mean (M1): This is the average of the absolute differences between each observation and the mean of the dataset.
- Mean Deviation from Median (M2): This is the average of the absolute differences between each observation and the median of the dataset.
For a symmetric distribution, such as an arithmetic progression, the mean and median often coincide. If they do, the mean deviation from the mean and the mean deviation from the median will be identical.
Step-by-Step Calculation
-
Identify the Data Set
The first 15 even integers are 2,4,6,….
This is an arithmetic progression with the first term a=2, common difference d=2, and number of terms n=15.
The last term is l=a+(n−1)d=2+(15−1)2=2+14×2=2+28=30.
So, the data set is {2,4,6,8,10,12,14,16,18,20,22,24,26,28,30}.
-
Calculate the Mean (xˉ)
The sum of an arithmetic progression is Sn=2n(a+l).
S15=215(2+30)=215(32)=15×16=240.
The mean is xˉ=nSn=15240=16.
-
Calculate M1 (Mean Deviation from Mean)
The formula for mean deviation from the mean is:
M1=n∑i=1n∣xi−xˉ∣
Here, xˉ=16. We need to find the sum of absolute deviations from 16.
The deviations are:
∣2−16∣=14
∣4−16∣=12
∣6−16∣=10
∣8−16∣=8
∣10−16∣=6
∣12−16∣=4
∣14−16∣=2
∣16−16∣=0
∣18−16∣=2
∣20−16∣=4
∣22−16∣=6
∣24−16∣=8
∣26−16∣=10
∣28−16∣=12
∣30−16∣=14
Sum of absolute deviations ∑∣xi−xˉ∣=(14+12+10+8+6+4+2)+0+(2+4+6+8+10+12+14).
This sum can be written as 2×(2+4+6+8+10+12+14).
The sum of an arithmetic progression 2+4+⋯+14 (7 terms) is 27(2+14)=27(16)=7×8=56.
So, ∑∣xi−xˉ∣=2×56=112.
Therefore, M1=15112.
-
Calculate the Median (M)
Since there are n=15 observations (an odd number), the median is the (2n+1)-th term.
Median = (215+1)-th term = 8-th term.
The terms are 2,4,6,8,10,12,14,16,….
The 8th term is 2×8=16.
So, the median M=16.
-
Calculate M2 (Mean Deviation from Median)
The formula for mean deviation from the median is:
M2=n∑i=1n∣xi−M∣
Here, M=16.
Since the median is 16, which is the same as the mean, the sum of absolute deviations from the median will be identical to the sum of absolute deviations from the mean calculated in step 3.
∑∣xi−M∣=∑∣xi−16∣=112.
Therefore, M2=15112.
-
Calculate M1+M2
M1+M2=15112+15112=15112+112=15224.
✓Final answerThe sum M1+M2 is 15224.
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.