Analyzing the Setup
Imagine you are standing on a vast, infinite number line. You are tasked with picking 100 consecutive positive integers, starting from some arbitrary integer a1.
You lay them out as a1,a1+1,a1+2,…,a1+99. At first glance, this seems like a problem that depends heavily on your choice of a1.
However, as we dive into the mathematics, we will uncover a hidden, elegant truth: the spread of these numbers is entirely independent of where you start.
The Center of Gravity
To understand the mean deviation, we must first find the mean, xˉ. The mean is the center of gravity of our data.
For any arithmetic progression, the mean is simply the average of the first and last terms. Our sequence starts at a1 and ends at a1+99.
Thus, the mean is:
xˉ=2a1+(a1+99)=a1+49.5
Notice how the mean sits exactly in the middle of our sequence. It is the anchor point from which we measure the deviation of every other number.
The Magic of Cancellation
Now, let us look at the mean deviation formula: MD=1001∑i=1100∣ai−xˉ∣.
When we substitute our general term ai=a1+i−1 and our mean xˉ=a1+49.5 into this expression, something magical happens:
∣ai−xˉ∣=∣(a1+i−1)−(a1+49.5)∣=∣i−50.5∣
The a1 terms vanish! They cancel out completely.
This is the moment of realization: the mean deviation does not care about the starting value a1. Whether you start at 1 or 1,000,000, the "shape" of the deviation remains identical.
Exploiting Symmetry
We are now left with the sum ∑i=1100∣i−50.5∣. If we write out the first few terms, we see a pattern: ∣1−50.5∣=49.5, ∣2−50.5∣=48.5, and so on.
As we approach the middle, the values shrink, and then they grow again on the other side. The sequence of deviations is perfectly symmetric:
49.5,48.5,…,0.5,0.5,…,48.5,49.5
Instead of summing all 100 terms, we can sum the first 50 and multiply by 2. The sum of the first 50 terms is an arithmetic progression: 0.5+1.5+⋯+49.5.
Using the sum formula Sn=2n(a+l), where n=50, a=0.5, and l=49.5, we get:
Sum=2×[250(0.5+49.5)]=2×(25×50)=2500
The Final Result
Finally, we divide this sum by the total number of observations, 100:
The problem stated that the mean deviation is 25, and we have just proven that it is always 25 for any set of 100 consecutive integers.
Since a1 can be any positive integer, the set S of all possible values for a1 is the set of all natural numbers, N. We have conquered the problem not by brute force, but by understanding the symmetry of the numbers themselves.