What is an Arithmetic Sequence (also called an Arithmetic Series or an Arithmetic Progression)?
An arithmetic sequence is an ordered set of numbers in which the difference between any consecutive terms is the same. This difference is called the common difference of the arithmetic sequence. The ordered numbers are called the terms of the sequence.
- Examples of a arithmetic sequences:
- 2, 4, 6, 8, 10. The common difference is 4 - 2 = 6 - 4 = 8 - 6 = 10 - 8 = 2.
- 1, 5, 9, 13, 17, 21, 25. The common difference is 5 - 1 = 9 - 5 = 13 - 9 = 17 - 13 = 21 - 17 = 25 - 21 = 4.
The difference between an arithmetic sequence and an arithmetic series.
When the terms of the ordered set of numbers are written as a comma separated string, we call this an arithmetic sequence.
When the same terms are written as a summation, then we call this an arithmetic series.
What does an arithmetic sequence look like, in general?
- If we call a = the first term of an arithmetic sequence, d = the common difference, n = the number of terms in the sequence, then the terms of the arithmetic sequence will be:
- The first term: a
- The second term:
a2 = a + d - The third term:
a3 = a2 + d = a + d + d = a + 2 × d - The fourth term:
a4 = a3 + d = a + 2 × d + d = a + 3 × d - ...
- The kth term:
ak = ak-1 + d = a + (k - 2) × d + d = a + (k - 1) × d - The nth term, the last one:
an = an-1 + d = a + (n - 2) × d + d = a + (n - 1) × d
How to get to the formula for the Sum Sn of an arithmetic series terms?
- We write the arithmetic series in two ways.
- First we write it from the term a to the term an, then we write it "inverted", from the term an to a:
- Sn = a + a2 + a3 + ... + a(n-2) + a(n-1) + an
- Sn = an + a(n-1) + a(n-2) + ... + a3 + a2 + a
- Then we add up these two identical series Sn, that were written differently:
- Sn + Sn = (a + an) + (a2 + a(n-1)) + (a3 + a(n-2)) + ... + (a(n-2) + a3) + (a(n-1) + a2) + (an + a) =>
- 2 × Sn = (a + a + (n - 1) × d) + (a + d + a + (n - 2) × d) + (a + 2 × d + a + (n - 3) × d) + ... + (a + (n - 3) × d + a + 2 × d) + (a + (n - 2) × d + a + d) + (a + (n - 1) × d + a) =>
- 2 × Sn = (2 × a + (n - 1) × d) + (2 × a + (n - 1) × d) + (2 × a + (n - 1) × d) + ... + (2 × a + (n - 1) × d) + (2 × a + (n - 1) × d) + (2 × a + (n - 1) × d) =>
- 2 × Sn = n × (2 × a + (n - 1) × d) =>
- Sn = n/2 × (2 × a + (n - 1) × d)
The formula for the sum of an arithmetic series:
- Sn = n/2 × (2 × a + (n - 1) × d)
- n = the number of terms in the arithmetic series
- a = the first term of the arithmetic series
- d = the common difference of the arithmetic series
- an = the last term of the arithmetic series
- ...
- Furthermore, knowing that an = a + (n - 1) × d
- We can also write the sum Sn in the form:
- Sn = n/2 × (a + an)
Given the First Term, the Common Difference and the Last Term, How to Calculate the Sum of the Terms of the Arithmetic Series?
We need to calculate the number of terms in the series first - We use the formula of the last term, an:
- an = a + (n - 1) × d =>
- an - a = (n - 1) × d =>
- (an - a) ÷ d = (n - 1) =>
- (an - a) ÷ d + 1 = n =>
- n = (an - a) ÷ d + 1