EZ Tuitions Logo
EZ Tuitions

Sum of an AP: use both formulas and make them agree

There are two forms: S = n/2 × (2a + (n − 1)d) and S = n/2 × (first + last). If you can find the last term, do both. When they match, the sum and the last term are both right. When they do not, the slip is in the term count or the last term.

All the progressions below are invented for practice. For the full chapter, see the Class 10 arithmetic progressions chapter page.

The method

  1. Write a, d and n. If n is missing, find it from the last term.
  2. Last term: a + (n − 1)d.
  3. Sum with 2a + (n − 1)d, then again with first + last.
  4. The two sums must be equal.

Example 1: a rising AP

AP: 7, 12, 17, ... n = 15. Last term: 77. Sum by 2a + (n − 1)d: 630. Sum by first + last: 630.

The first term is 7 and the common difference is 5. The 15th term is 7 + (15 − 1) × 5 = 7 + 70 = 77. Formula one: 15/2 × (2 × 7 + 14 × 5) = 15/2 × 84 = 630. Formula two: 15/2 × (7 + 77) = 15/2 × 84 = 630.

Check: Both formulas give 630. They must, because the second one is the first one with a + (n − 1)d replaced by the last term.

Example 2: a falling AP

AP: 90, 83, 76, ... n = 12. Last term: 13. Sum by 2a + (n − 1)d: 618. Sum by first + last: 618.

The difference is 83 − 90 = −7. The 12th term is 90 + 11 × (−7) = 90 − 77 = 13. Formula one: 12/2 × (180 + 11 × (−7)) = 6 × 103 = 618. Formula two: 12/2 × (90 + 13) = 6 × 103 = 618.

Check: The terms stay positive down to 13, so the sum is a sensible positive number. The sign of d only changes the last term, not the method.

Example 3: given the first and last terms

AP: 4 to 100, difference 6, n = 17. Last term: 100. Sum by 2a + (n − 1)d: 884. Sum by first + last: 884.

The number of terms is not given. From 100 = 4 + (n − 1) × 6 we get (n − 1) × 6 = 96, so n − 1 = 16 and n = 17. Formula two: 17/2 × (4 + 100) = 17/2 × 104 = 884. Formula one: 17/2 × (8 + 16 × 6) = 17/2 × 104 = 884.

Check: The n found here is a whole number, which it must be if 100 really is a term of the AP.

The trap: n − 1 terms and a + nd for the last term

AP: 3, 8, 13, ... n = 10. Correct last term: 48. Slip: 53. Correct sum: 255. Slip sum: 280.

For the first 10 terms of 3, 8, 13, ... the last term is 3 + (10 − 1) × 5 = 48. A common slip is to write a + nd = 3 + 10 × 5 = 53, which is the 11th term. Then formula two gives 10/2 × (3 + 53) = 280, while formula one gives 10/2 × (6 + 9 × 5) = 255. The two formulas disagree, and that is the sign of a slip. The correct formula two is 10/2 × (3 + 48) = 255. The other slip is to treat n − 1 as the number of terms. The count is n, and n − 1 is the number of steps of d between the first and last terms.

Try two yourself

First: find the sum of the first 20 terms of 5, 9, 13, ... both ways. Second: find the sum of 6, 10, 14, ..., 70.

Show the worked self-check

First: a = 5, d = 4, n = 20. The last term is 5 + 19 × 4 = 81. Formula one: 20/2 × (10 + 76) = 860. Formula two: 20/2 × (5 + 81) = 860.

Second: 70 = 6 + (n − 1) × 4, so n − 1 = 16 and n = 17. The sum is 17/2 × (6 + 70) = 646.

Limits of this page

  • It covers finite APs, where the number of terms is a whole number.
  • Agreement of the two formulas shows consistency. It does not show that a and d were read correctly from the list.
  • The progressions are practice values, not a textbook exercise key.

Common questions

Why do the two sum formulas always agree?

The second formula, n/2 times first plus last, is the first formula with the last term a + (n − 1)d put in. They are the same result written two ways. If your two answers differ, one of them has an arithmetic or term-count slip.

Is the last term a + nd or a + (n − 1)d?

It is a + (n − 1)d. The first term already has no d added, so the nth term has n − 1 differences added. Writing a + nd gives the term after the last one. Check with n = 1, where the last term must equal a.

How do I find n when only the first and last terms are given?

Use last = a + (n − 1)d, so n = (last − a) ÷ d + 1. It must come out as a whole number. If it does not, the last term is not in the AP, and the sum would not be a sum of the AP terms.

Does the sum formula work when d is negative?

Yes. Put the negative d in as it is, and the last term is smaller than the first. The two formulas agree as before. Example 2 on this page has d = −7 and gives 618 both ways.

Sources and scope

Source checked . It gives the nth term a + (n − 1)d and the sum of the first n terms, including the form with the last term. The progressions, traps and practice here are original EZT work.

Class 10 arithmetic progressions practiceTuition and practice