This is my first piece of writing here, and what better way to start than by talking about one of my favorite stories in the mathematical world?
I usually narrate this story to my students in Discrete Math at the Stony Brook University Tutoring Center because I feel it makes seemingly boring mathematics more fun and relatable.
So, let us start the story.
According to a famous mathematical anecdote, the legendary mathematician Carl Friedrich Gauss was in grade 3 at this time. He was in his classroom when the teacher asked all the students to compute the following summation:
The teacher wanted to keep the students busy and quiet for a long time with the help of this problem.
But little did the teacher know that one of the greatest mathematicians to ever exist was sitting in that classroom.
To everyone’s surprise, Gauss was able to compute the sum in mere seconds.
The teacher was shocked and asked Gauss to explain how he had computed it so quickly.
The young Gauss explained:
I realized that the sum of the first and last numbers is (). Similarly, the sum of the second and second-to-last numbers is (). Again, the sum of the third and third-to-last numbers is also (). And so on. This means every such pair sums to . There are terms in total, so there are such pairs. This gives us the sum .
The teacher was astonished, flabbergasted, and whatever other adjectives you could think of in this regard.
This led to the birth of the arithmetic progression formula.
Let us generalize the formula.
Let us say we have a sequence of the following form:
Here, is the first term and is the common difference.
In the story, you can notice that (the first term is ) and (the difference between two consecutive terms is ). Also, because there are terms.
So, let us compute using the idea Gauss proposed:
Behold!
We can rewrite as:
Add (i) and (ii):
Realize that we are using the same idea: the sums of the pairs are all the same.
Now, since the total number of terms is , the total number of terms on the right-hand side of the equation is also .
Rewriting our equation:
And this, ladies and gentlemen, is the generalized formula for the sum of an arithmetic progression.
We can also express it in terms of the first and last terms. If the last term is , then the formula becomes:
In other words, the sum of an arithmetic progression is the number of terms multiplied by the average of the first and last terms.
That is it! The main idea of this article was to share the beauty of mathematics and show that it is not as boring as people might generally think.
To end, here is a quote attributed to Gauss:
“Mathematics is the queen of the sciences, and number theory is the queen of mathematics.”
— Carl Friedrich Gauss