Arithmetic progression is calculated from the first term and common difference, the sum of the progression of the specified range is displayed.
- Front page
- Calculate progression
- Sum of arithmetic progression
Sum of arithmetic progression
About the calculation of Sum of arithmetic progression
Enter the first term, the common difference, and the range of the progression you want to calculate and click the button "Calculate sum of arithmetic progression". The sum of the arithmetic progression in the specified range is calculated.
It also shows how to calculate the sum of an arithmetic sequence.
Please enter up to 15 digits for First term and Common difference, and up to 15 digits for nth term.
What is Arithmetic progression?
An arithmetic progression is a sequence in which the difference between adjacent terms is equal.
The first term in a sequence is called the initial term, and the difference between each adjacent term is called the common difference.
For example, the following sequence has a first term of 1 and a common difference of 2.
The common difference is 2, so the difference between all adjacent terms is 2.
How to calculate Sum of arithmetic progression
Sum of the first to nth terms
Calculates the sum from the first term to the nth term.
If the first term is a1, the nth term is an, and the common difference is d, the sequence is as follows.
a1, a1+d, a1+2d, a1+3d ... an−d, an
If the sum of the first through nth terms of this sequence is Sn, then Sn can be expressed as follows:
Sn = a1 + (a1+d) + (a1+2d) + (a1+3d) + ... + (an−d) + an
Also, if you consider this sequence with the order reversed, the sum will be the same since only the order has changed.
Therefore, Sn can also be expressed as follows:
Sn = an + (an−d) + (an−2d) + ... + (a1+2d) + (a1+d) + a1
Add the left and right sides of these two equations together.
Sn | = | a1 | + | (a1+d) | + | (a1+2d) | + ... + | (an−d) | + | an | |
+ | Sn | = | an | + | (an−d) | + | (an−2d) | + ... + | (a1+d) | + | a1 |
2Sn | = | (a1+an) | + | (a1+an) | + | (a1+an) | + ... + | (a1+an) | + | (a1+an) |
On the right-hand side, all the numbers added together become (a1 + an), and since the number of items is n and can be expressed as (a1 + an) × n, we get 2Sn = n(a1 + an).
Dividing both sides of this equation by 2 gives us Sn = 12n(a1 + an).
Therefore
Also, the nth term is a1 +(n − 1)d, so by substituting an = a1 +(n − 1)d, we get
Sn = 12n(2a1 +(n − 1)d).
Therefore
Sum of nth through mth term
To calculate the sum from the nth term to the mth term, you similarly reverse the sequence and add both sides.
Sm−n | = | an | + | (an+d) | + | (an+2d) | + ... + | (am−d) | + | am | |
+ | Sm−n | = | am | + | (am−d) | + | (am−2d) | + ... + | (an+d) | + | an |
2Sm−n | = | (an+am) | + | (an+am) | + | (an+am) | + ... + | (an+am) | + | (an+am) |
On the right-hand side, all the numbers added are (an+am), and the number of items is (m−n+1), so it can be expressed as (an+am) × (m−n+1), and therefore 2Sm−n = (m−n+1) × (an+am).
Dividing both sides of this equation by 2 gives us Sm−n = 12(m−n+1)(an+am).
Therefore