Sum of First n Terms of an AP: Formula, Derivation and Questions
Updated 13 October 2026 · Fact-checked
The sum of the first n terms of an AP is n/2 times the bracket 2a + (n - 1)d, or n/2 times the first term plus the last term. The board asks you to derive it, find sums of terms and multiples, find a or d from given sums, and find n from a given sum using a quadratic.
Write the AP forwards and backwards: every column totals a + l, so two copies of S make n columns, and S is half of that.
Illustration drawn for QuestionBuddy.
Understand Sum of First n Terms of an AP
An arithmetic progression keeps adding the same common difference . Often you need the total of its terms, not just one term. Adding 40 terms one by one is slow and error-prone, so you need a formula for , the sum of the first terms.
The idea is to write the sum twice, once forwards and once backwards: and . Add the two lines column by column. In each column one term has gone up by while its partner has gone down by , so every column adds to the same value, . There are columns, so , giving .
The last term is , so the bracket is also . That gives the second form . Read it as: number of terms times the average of the first and last terms. Use this form when the last term is known, as in sums of multiples in a range.
The sum formula connects to the th term formula. To use for a range, you first find from . When two sums are given, each gives an equation in and , so you solve a pair of linear equations. When the sum is given and is unknown, the formula gives a quadratic in .
Conditions: the formula works only for terms of an AP, and must be a natural number. The terms may be negative or fractions, and may be negative, so a sum can even be zero or negative. When comes out of a quadratic, keep only natural-number roots. A special case is , , which gives .
Sum of First n Terms of an AP: formulas to remember
- nth term
- Used in almost every sum question, for example to find or before you sum.
- Sum of first n terms
- Use when , and are known, or to form equations or a quadratic in .
- Sum using the last term
- Use when the first and last terms are known. Here .
- Number of terms from a to l
- Needed before summing a range of multiples. Do not forget the .
- Sum of a block of terms
- For terms from the 11th to the 30th, use .
- nth term from the sum
- The block-sum idea with a single term. For the first term, .
- Sum of first n natural numbers
- Special case with , .
- Sum of first n odd numbers
- Special case with , . Useful as a quick check.
How to solve Sum of First n Terms of an AP questions
Every sum question reduces to knowing , and either or . Use this routine on any board question.
- 1Write down what is given: , , , or , and what is asked.
- 2If a range is given (for example multiples of 7 between two numbers), find the first and last terms that actually lie in the range.
- 3Find any missing value: , or from .
- 4Choose the form: if is known, otherwise .
- 5If sums are given and , are unknown, write one equation per sum and solve the pair.
- 6If is given and is unknown, form the quadratic, factorise, and reject roots that are not natural numbers with a reason.
- 7Check: substitute your answer back, or recompute with the other form of the formula, and write units.
Sum of First n Terms of an AP in real life
Each concept, met in an everyday situation. Read the situation, try the problem, then check the solution. The one-line hook is what to remember.
Sum of the first n terms and its derivation
Imagine a potato race on your school sports day. A bucket sits at the starting point. The first potato is 5 m from the bucket and there are 10 potatoes in a straight line, each 3 m beyond the previous one. A runner must fetch each potato one at a time and drop it in the bucket.
How far does the runner travel in total to put all 10 potatoes in the bucket?
Try it first, then show the solutionSolution
- Distances of potatoes from the bucket: , an AP with , , .
- Last potato: m.
- For each potato the runner goes there and back, so the distance is twice the potato's distance.
- Total .
- m.
Answer: The runner travels 370 m.
Memory hook: Potato race: there and back doubles the AP sum.
Sum of the first n terms and its derivation
Suppose your uncle repays a loan of ₹79,000 in 40 monthly instalments. The first instalment is ₹1,000 and each instalment is a fixed amount more than the one before.
Find the last instalment and the fixed increase in each instalment.
Try it first, then show the solutionSolution
- Instalments form an AP with , , .
- .
- .
- .
- Check: .
Answer: The last instalment is ₹2,950 and each instalment rises by ₹50.
Memory hook: Loan total = number of instalments times the average of first and last.
Tricks to remember Sum of First n Terms of an AP
Short memory aids. Say each one aloud once, then use it on a question the same day.
Forwards plus backwards
Write the sum, then write it reversed. Each column gives first + last, and there are n columns, so twice the sum is n(first + last).
Use it when: Rebuild the derivation in the exam even if you forget the formula.
Count times average
Sum = how many terms x average of first and last.
Use it when: Quick sums of multiples and ranges with the a + l form.
Fence posts
From 12 to 248 in steps of 4 there are 59 gaps but 60 numbers: always add 1.
Use it when: Finding n before summing a range.
Half goes outside
The n/2 multiplies the whole bracket, never just 2a.
Use it when: Avoiding the commonest arithmetic slip.
Sum of First n Terms of an AP: solved examples
Ordered from board level to HOTS. Try each one before you open the solution.
Example 1: Sum with a negative common difference · 2 marks · Very short answerBoard level
Find the sum of the first 22 terms of the AP
Try it first, then show the solutionSolution
- , , . (½)
- (½)
- (½)
- (½)
Answer:
Example 2: MCQ: nth term from the sum · 1 mark · MCQBoard level
The sum of the first terms of an AP is . Its 10th term is
(a) 320
(b) 59
(c) 61
(d) 57
Try it first, then show the solutionSolution
- and .
- . (1)
- Check: , so . Option (a) is , the sum, not the term.
Answer: (b) 59
Example 3: MCQ: sum of a block of terms · 1 mark · MCQBoard level
The sum of the 11th to 30th terms of the AP is
(a) 1577
(b) 1620
(c) 1830
(d) 2040
Try it first, then show the solutionSolution
- , . Sum of the 11th to 30th terms .
- and .
- Required sum . (1)
- Check: , , 20 terms: . Option (a) is , which wrongly drops the 11th term.
Answer: (b) 1620
Example 4: Assertion-reason: odd and natural numbers · 1 mark · Assertion-reasonBoard level
Assertion (A): The sum of the first 20 odd natural numbers is 400.
Reason (R): The sum of the first natural numbers is .
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true.
Try it first, then show the solutionSolution
- A: odd numbers form an AP with , , so . A is true.
- R: with , , . R is true.
- R is about natural numbers, not odd numbers (it gives 210 for ), so it does not explain A. (1)
Answer: (b) Both A and R are true but R is not the correct explanation of A.
Example 5: Derivation of the sum formula (model answer) · 3 marks · Short answerBoard level
Show that the sum of the first terms of an AP with first term and common difference is . Hence write in terms of the last term .
Try it first, then show the solutionSolution
- Let ... (i) (½)
- Writing the terms in reverse order: ... (ii) (½)
- Adding (i) and (ii) term by term, each pair is , because one term rises by as its partner falls by . (1)
- There are such pairs, so , giving . (½)
- Since , the bracket is , so . (½)
Answer:
Example 6: Find the AP from two sums · 3 marks · Short answerHarder board level
The sum of the first 7 terms of an AP is 49 and the sum of its first 17 terms is 289. Find the sum of its first terms.
Try it first, then show the solutionSolution
- . (1)
- . (½)
- Subtracting: , so . (½)
- . (½)
- Check: and . Both match. (½)
Answer:
Example 7: Using first term, last term and sum · 3 marks · Short answerBoard level
The first and last terms of an AP are 5 and 45, and the sum of all its terms is 400. Find the number of terms and the common difference.
Try it first, then show the solutionSolution
- . (1)
- . (½)
- . (½)
- . (½)
- Check: . (½)
Answer: 16 terms, common difference
Example 8: Two-digit numbers divisible by 3 or 7 · 5 marks · Long answerHarder board level
Find the sum of all two-digit numbers that are divisible by 3 or by 7.
Try it first, then show the solutionSolution
- Two-digit multiples of 3: ; . (1)
- Their sum . (1)
- Two-digit multiples of 7: ; , sum . (1)
- Numbers divisible by both 3 and 7 are multiples of 21: ; , sum . (1)
- These were counted in both lists, so required sum . (1)
Answer: 2183
Example 9: Proof with general terms · 5 marks · Long answerHarder board level
In an AP, the th term is and the th term is , where . Show that the sum of the first terms is .
Try it first, then show the solutionSolution
- ... (i) and ... (ii) (1)
- (i) − (ii): . (1)
- Since , divide by : . (½)
- From (i): . (1)
- (½)
- . Hence proved. (1)
Answer: , as required.
Example 10: Proof: sums that swap · 5 marks · Long answerHOTS / competency
The sum of the first terms of an AP is and the sum of its first terms is , where . Show that the sum of its first terms is .
Try it first, then show the solutionSolution
- ... (i), and similarly ... (ii) (1)
- (i) − (ii): . (1)
- Since , divide by : . (1)
- . (1)
- Using (i) and : . Hence proved. (1)
Answer: , as required.
Example 11: Case study: cycling practice · 4 marks · Case-basedHarder board level
Suppose Meera trains for a cycle race. She rides 2 km on day 1 and increases her ride by 0.5 km every day.
(i) How far does she ride on day 15? (1 mark)
(ii) On which day does she first ride 12 km? (1 mark)
(iii) After how many days will her total distance be 65 km? (2 marks)
Try it first, then show the solutionSolution
- (i) , : km. (1)
- (ii) , so day 21. (1)
- (iii) . (½)
- or . (½)
- Days cannot be negative, so . (½)
- Check: km. (½)
Answer: (i) 9 km (ii) Day 21 (iii) 13 days
Example 12: Case study: auditorium seats · 4 marks · Case-basedHOTS / competency
Suppose your school auditorium has 15 rows of seats. The front row has 40 seats and each row behind it has 2 seats fewer than the row in front of it.
(i) How many seats are in the last row? (1 mark)
(ii) Which row has 20 seats? (1 mark)
(iii) For a charity show, each seat in the front 5 rows costs ₹200 and every other seat costs ₹150. Find the total number of seats and the money collected if every seat is sold. (2 marks)
Try it first, then show the solutionSolution
- (i) , : seats. (1)
- (ii) , so row 11. (1)
- (iii) Total seats: . (½)
- Front 5 rows: , so seats; the other rows have seats. (½)
- Money in rupees . (½)
- , that is ₹67,500. (½)
Answer: (i) 12 seats (ii) Row 11 (iii) 390 seats, ₹67,500
Where students lose marks in Sum of First n Terms of an AP
The slips examiners see most often, and what to write instead.
Mistake: Applying n/2 to only part of the bracket
The formula is copied without brackets.
Wrong working
Right working
Do this: Always write the square bracket and multiply n/2 by the whole of it.
Usually costs: The final answer mark and often the step mark.
Mistake: Sign error with negative d
is computed without brackets.
Wrong working
, :
Right working
Do this: Substitute d in brackets: .
Usually costs: 1 to 2 marks.
Mistake: Wrong count of terms in a range
Forgetting the +1, or using the endpoints of 'between' as terms.
Wrong working
Multiples of 7 between 50 and 300: , , , so
Right working
, so
Do this: List the actual first and last multiples (56 and 294, not 50 and 300, which would give , not a whole number), then use .
Usually costs: The whole answer goes wrong: 5950 instead of 6125.
Mistake: Keeping an impossible root
Both roots of the quadratic are written as answers.
Wrong working
or , so 13 or −20 days
Right working
is rejected as the number of terms must be a natural number, so
Do this: Write a one-line reason for rejecting every root.
Usually costs: ½ to 1 mark.
Exam tips
- The derivation of the sum formula can be asked directly; practise writing the forwards-backwards proof in 4 to 5 clean lines.
- When two sums are given, simplify each equation (for example to ) before solving; it saves time and errors.
- For sums of multiples or ranges, show the line finding n separately; examiners give a step mark for it.
- In case studies, read whether each part asks for a single value () or a total () before choosing a formula.
- Finish with a check using the other form of the sum formula; it takes seconds and catches sign slips.
Practice questions on Sum of First n Terms of an AP
Write each answer on paper first. Open the hint only if you are stuck, and the answer only when you have finished.
Q1 · 3 marks · Short answerHarder board level
Find the sum of all three-digit numbers that are divisible by 7 but not by 14.
Hint
Divisible by 7 but not by 14 means odd multiples of 7. They form an AP with d = 14.
Answer
Odd three-digit multiples of 7: with . . Sum . Check: all three-digit multiples of 7 add to , multiples of 14 add to , and .
Q2 · 3 marks · Short answerHarder board level
How many terms of the AP must be taken so that their sum is 78? Explain the double answer.
Hint
Form a quadratic in n; d is negative.
Answer
. So or . Both work because terms 5 to 13 () add to 0.
Q3 · 3 marks · Short answerHarder board level
The sum of the first 6 terms of an AP is 42. The ratio of its 10th term to its 30th term is . Find the first term and the 13th term.
Hint
Cross-multiply the ratio to relate a and d first.
Answer
. , . .
Q4 · 5 marks · Long answerHarder board level
An AP has 21 terms. The sum of its three middle terms is 129 and the sum of its last three terms is 237. Find the AP and the sum of all its terms.
Hint
The middle three are the 10th, 11th, 12th terms; their sum is 3 times the 11th term.
Answer
; . So , . AP: with last term 83. .
Q5 · 2 marks · Short answerBoard level
A student finds like this: ", so ." Find the error and give the correct sum.
Hint
Count the terms with the fence-post idea.
Answer
The student forgot the : . Correct sum , which also equals .
Q6 · 1 mark · MCQBoard level
If the sum of the first terms of an AP is , then its third term is
(a) 3
(b) −1
(c) 1
(d) −3Hint
Use .
Answer
(b) −1, since and , so .
Q7 · 5 marks · Long answerHarder board level
The sum of the first 9 terms of an AP is 144 and the sum of its first 15 terms is 375. Find the AP. Hence find how many terms of the AP are less than 100, and the sum of all these terms.
Hint
Simplify each sum to an equation like a + 4d = 16, then solve a_n < 100 for the largest natural n.
Answer
; . So , ; AP: . , so 32 terms, the last being 97. Their sum .
Q8 · 3 marks · Short answerHOTS / competency
Suppose a full water tank holds 1200 litres and develops a leak. It loses 100 litres in the first hour, 95 litres in the second hour, and 5 litres less in each hour after that. After how many hours will 975 litres have leaked out, and how much water is then left? Explain why one root of your equation is rejected.
Hint
The amount lost in an hour can never be negative.
Answer
. At the loss in that hour would be litres, which is impossible (the hourly loss reaches 0 in hour 21), so . Check: . Water left litres.
Test your recall
Answer in your head or on paper first, then open the card. Pulling an answer out of memory makes it stick far better than re-reading.
1.State the sum of the first n terms with a and d.Show answer
2.State the sum using the last term.Show answer
3.Sum of the first 100 natural numbers?Show answer
4.Sum of the first 20 odd numbers?Show answer
5.How do you find the sum of terms 11 to 30?Show answer
6.Why does every column add to the same value in the derivation?Show answer
One term rises by d while its partner falls by d, so each pair equals .
Sum of First n Terms of an AP: frequently asked questions
Which sum formula should I use in the exam?
Use n/2 times (first term plus last term) when the last term is known. Otherwise use n/2 times the bracket 2a plus (n minus 1)d. Both give the same answer, so you can use one to check the other.
Do I need to learn the derivation of the sum formula?
Yes. The syllabus asks for the derivation of the sum of the first n terms, so it can be asked as part of a question. Learn the method of writing the sum forwards and backwards and adding.
Can the sum of an AP be negative or zero?
Yes. If the common difference is negative, later terms become negative and can cancel the positive ones. That is also why a sum question can have two valid values of n.
Is Exercise 5.4 tested in the board exam?
Exercise 5.4 is marked optional in the NCERT book and is not assessed. It is still good practice for harder problems.