📐 Class 10 Math Formula Sheets

5.5 Last Term Formula – Determine last term accurately always correctly

Start MCQ Practice →

5.5 Last Term Formula – Determine last term accurately always correctly

Subject: Class 10 Mathematics Chapter: Arithmetic Progressions Topic: Last Term Formula

1. The Last Term is the nth Term

The last term of an arithmetic progression is exactly the nth term of that progression when the progression contains n terms. If an AP has n terms, then the last term l is given by the formula l = a + (n – 1)d, where a is the first term and d is the common difference. This formula is nothing more than the nth term formula applied at the final position, yet it deserves its own careful study because the examination uses the phrase last term in many subtle and easily confused ways.

Students frequently wonder why the last term needs a separate formula at all. The answer is that the last term plays a special role in the second sum formula S(n) = n/2 × (a + l), and it is also the key to counting how many terms lie in a given range. If you can determine the last term accurately, you can then compute the sum of the whole progression using the short formula S(n) = n/2 × (a + l), which avoids the slightly longer bracket form. In this way the last term is the bridge between the nth term formula and the sum formula, and getting it right is essential for full marks.

There are three distinct situations in which you will use the last term formula. In the first situation, you are told the number of terms and asked to find the last term directly. In the second situation, you are told the last term and asked to find the number of terms. In the third situation, you must discover the last term yourself from a range of numbers, such as all two-digit numbers divisible by 6, before doing anything else. Mastering all three situations is the goal of this note.

2. The Last Term Formula in Detail

The formula l = a + (n – 1)d can be derived in exactly the same way as the nth term formula. The first term is a. The second term is a + d. The third term is a + 2d. Continuing this pattern, the kth term is a + (k – 1)d, and therefore the nth term, which is the last term, is a + (n – 1)d. There is nothing mysterious here; the last term is simply the term that sits at position n.

The formula can also be read as a statement about growth. To go from the first term to the last term, you must add the common difference exactly (n – 1) times. The number (n – 1) counts the gaps between the n terms, and this counting of gaps is the source of nearly every student error. Between term 1 and term 2 there is one gap; between term 1 and term 3 there are two gaps; between term 1 and term n there are (n – 1) gaps. Every time you add a term to the progression, you add one more gap, and the last term formula records precisely that fact.

A very useful rearrangement of the last term formula gives the common difference: d = (l – a) ÷ (n – 1). This rearranged version is what you use when a question gives you the first term, the last term, and the number of terms, and asks for the common difference. Another rearrangement gives the first term: a = l – (n – 1)d, used when you know the last term, the common difference, and the count. Because a single linear equation can be rearranged in any of these ways, one formula actually answers four different types of questions.

3. Using the Last Term Formula to Count Terms

The most famous use of the last term formula is counting how many terms lie in a given range. For example, how many terms are there in the AP 5, 9, 13, ..., 89? Here a = 5, d = 4, and the last term l = 89. Substituting into l = a + (n – 1)d gives 89 = 5 + (n – 1) × 4. Subtracting 5 gives 84 = (n – 1) × 4, so n – 1 = 21, and therefore n = 22. The progression has exactly 22 terms.

The same method solves range questions. To count the three-digit numbers divisible by 5, first find the smallest such number, which is 100, and the largest, which is 995. These form an AP with a = 100, d = 5, and l = 995. Then 995 = 100 + (n – 1) × 5 gives (n – 1) × 5 = 895, so n – 1 = 179 and n = 180. There are 180 three-digit numbers divisible by 5.

The method works identically for negative progressions. To count the terms of the AP 30, 25, 20, ..., –10, set a = 30, d = –5, and l = –10. Then –10 = 30 + (n – 1) × (–5), so (n – 1) × (–5) = –40, giving n – 1 = 8 and n = 9. The progression has 9 terms. Notice that the sign of d carries through the whole calculation, and the final n comes out as a positive integer, confirming that the last term genuinely belongs to the sequence.

<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
  <rect x="0" y="0" width="800" height="600" fill="#ffffff"/>
  <text x="400" y="45" font-size="26" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e" font-weight="bold">Counting Terms in a Range with the Last Term Formula</text>
  <text x="400" y="75" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">Three-digit numbers divisible by 5 run from 100 to 995 with d = 5</text>
  <line x1="80" y1="220" x2="730" y2="220" stroke="#1a1a2e" stroke-width="3"/>
  <g font-family="Arial, sans-serif" text-anchor="middle">
    <circle cx="100" cy="220" r="16" fill="#cc4444"/><text x="100" y="226" font-size="14" fill="#fff" font-weight="bold">100</text>
    <circle cx="190" cy="220" r="16" fill="#4a90e2"/><text x="190" y="226" font-size="14" fill="#fff">105</text>
    <circle cx="280" cy="220" r="16" fill="#4a90e2"/><text x="280" y="226" font-size="14" fill="#fff">110</text>
    <text x="370" y="228" font-size="22" fill="#1a1a2e">...</text>
    <circle cx="640" cy="220" r="16" fill="#4a90e2"/><text x="640" y="226" font-size="13" fill="#fff">990</text>
    <circle cx="715" cy="220" r="16" fill="#2e7d32"/><text x="715" y="226" font-size="13" fill="#fff" font-weight="bold">995</text>
  </g>
  <text x="145" y="265" font-size="16" font-family="Arial, sans-serif" text-anchor="middle" fill="#cc4444" font-weight="bold">First term a = 100</text>
  <text x="678" y="265" font-size="16" font-family="Arial, sans-serif" text-anchor="middle" fill="#2e7d32" font-weight="bold">Last term l = 995</text>
  <text x="400" y="320" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">Each gap equals the common difference d = 5</text>
  <rect x="120" y="360" width="560" height="110" rx="12" fill="#eef4fb" stroke="#4a90e2" stroke-width="2"/>
  <text x="400" y="398" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e">n = (l - a) / d + 1</text>
  <text x="400" y="426" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e">n = (995 - 100) / 5 + 1 = 180</text>
  <text x="400" y="454" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e">There are 180 three-digit numbers divisible by 5</text>
  <text x="400" y="525" font-size="17" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">Count the gaps and add 1: the endpoints are both included</text>
  <text x="400" y="555" font-size="17" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">The same method works for negative d, such as 30, 25, ..., -10</text>
</svg>

The flowchart below shows the complete procedure for counting the terms of an AP from a and d and l.

flowchart TD
    A[Write the last term formula l = a + (n-1)d] --> B[Substitute the values of a, d, and l]
    B --> C[Subtract a from both sides]
    C --> D[Divide both sides by d]
    D --> E[Add 1 to obtain n]
    E --> F{n is a positive integer?}
    F -- Yes --> G[The AP has n terms]
    F -- No --> H[Data is inconsistent; recheck the values]

This flowchart reduces every counting question to four mechanical steps: subtract a, divide by d, add 1, check. Because the operations are so simple, this is one of the most reliably scoring questions in the chapter, provided you do not make sign errors along the way.

4. Finding the Last Term from the First Term and Count

When you are given the first term, the common difference, and the number of terms, the last term is obtained by a direct substitution into the formula. For example, an AP has a = 7, d = 4, and n = 18. Then l = 7 + (18 – 1) × 4 = 7 + 17 × 4 = 7 + 68 = 75. The last term is 75, and the whole progression runs from 7 to 75.

This direct substitution is usually worth one or two marks, and the working is so simple that students sometimes lose marks through carelessness rather than difficulty. The classic error is to multiply by n instead of (n – 1). In the example above, using n = 18 instead of (n – 1) = 17 gives l = 7 + 72 = 79, which is wrong by exactly one common difference. Always compute (n – 1) explicitly and write it down before multiplying.

Another classic error is to confuse the position n with the value of the last term. In the example above, n = 18 is a position, and l = 75 is a value. Students sometimes write the answer as 18 because they have confused the two ideas. Always ask yourself whether the number you have found represents a position in the sequence or a term value, and label your answer accordingly.

The table below shows how the last term formula changes depending on which quantity is unknown.

Unknown quantity Formula to use Example data Answer
Last term l l = a + (n – 1)d a = 7, d = 4, n = 18 l = 75
Number of terms n n = (l – a) ÷ d + 1 a = 5, d = 4, l = 89 n = 22
Common difference d d = (l – a) ÷ (n – 1) a = 5, l = 89, n = 22 d = 4
First term a a = l – (n – 1)d l = 89, d = 4, n = 22 a = 5

Every row of this table is the same equation rearranged. If you can manipulate the equation l = a + (n – 1)d fluently in all four directions, you can answer every question that involves the last term of an arithmetic progression.

5. Last Term in Sum Problems

The last term is the key ingredient of the second sum formula S(n) = n/2 × (a + l). In many examination problems, you must first find the last term and then use it to compute the sum. For example, find the sum of the AP 2, 5, 8, ..., 50, which has 17 terms. First compute l directly, l = 2 + 16 × 3 = 50, then the sum is S = (17/2) × (2 + 50) = 8.5 × 52 = 442.

There are also problems in which you are given the sum, the first term, and the number of terms, and asked to find the last term. Using S(n) = n/2 × (a + l), you substitute the known values and solve for l. For example, if the sum of the first 12 terms of an AP is 318 and the first term is 8, then 318 = (12/2) × (8 + l) = 6 × (8 + l). Dividing by 6 gives 8 + l = 53, so l = 45. The last term is 45, and the common difference is (45 – 8) ÷ 11 = 37 ÷ 11, which is not an integer, a fact worth noticing but not required by the question.

A related problem asks for the last term when the nth term and the common difference are known for a sequence of a certain length. Suppose the 10th term of an AP is 34 and the common difference is 3, and the progression has 15 terms. The first term is a = 34 – 9 × 3 = 34 – 27 = 7, and the last term is l = 7 + 14 × 3 = 49. In this way, the last term formula works hand in hand with the nth term formula and the first term formula, and fluency with all three makes these combination problems easy.

flowchart TD
    A[Question involves the last term l] --> B{What data is given?}
    B -- a, d, and n --> C[Compute l = a + (n-1)d directly]
    B -- S, a, and n --> D[Rearrange S = n/2 x (a + l) to isolate l]
    B -- a, d, and l --> E[Count terms: n = (l - a) / d + 1]
    C --> F[Use l inside the sum formula S = n/2 x (a + l)]
    D --> F
    E --> F
    F --> G[Write the final answer]

The diagram below shows an AP of 10 terms with a = 3 and d = 4, marking the first term, the last term, and the nine gaps between them.

<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
  <rect x="0" y="0" width="800" height="600" fill="#ffffff"/>
  <text x="400" y="45" font-size="26" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e" font-weight="bold">First Term, Last Term and the Gaps Between Them</text>
  <text x="400" y="75" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">AP with a = 3, d = 4, n = 10: last term l = 3 + 9 x 4 = 39</text>
  <line x1="70" y1="260" x2="730" y2="260" stroke="#1a1a2e" stroke-width="3"/>
  <g font-family="Arial, sans-serif" text-anchor="middle">
    <circle cx="80" cy="260" r="18" fill="#cc4444"/><text x="80" y="266" font-size="15" fill="#fff" font-weight="bold">3</text>
    <circle cx="152" cy="260" r="18" fill="#4a90e2"/><text x="152" y="266" font-size="15" fill="#fff">7</text>
    <circle cx="224" cy="260" r="18" fill="#4a90e2"/><text x="224" y="266" font-size="15" fill="#fff">11</text>
    <circle cx="296" cy="260" r="18" fill="#4a90e2"/><text x="296" y="266" font-size="15" fill="#fff">15</text>
    <circle cx="368" cy="260" r="18" fill="#4a90e2"/><text x="368" y="266" font-size="15" fill="#fff">19</text>
    <circle cx="440" cy="260" r="18" fill="#4a90e2"/><text x="440" y="266" font-size="15" fill="#fff">23</text>
    <circle cx="512" cy="260" r="18" fill="#4a90e2"/><text x="512" y="266" font-size="15" fill="#fff">27</text>
    <circle cx="584" cy="260" r="18" fill="#4a90e2"/><text x="584" y="266" font-size="15" fill="#fff">31</text>
    <circle cx="656" cy="260" r="18" fill="#4a90e2"/><text x="656" y="266" font-size="15" fill="#fff">35</text>
    <circle cx="712" cy="260" r="18" fill="#2e7d32"/><text x="712" y="266" font-size="15" fill="#fff" font-weight="bold">39</text>
  </g>
  <text x="80" y="330" font-size="17" fill="#cc4444" font-weight="bold">First term a = 3</text>
  <text x="712" y="330" font-size="17" fill="#2e7d32" font-weight="bold">Last term l = 39</text>
  <text x="400" y="400" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">There are 9 gaps between the 10 terms, each gap equals d = 4</text>
  <text x="400" y="435" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">l = a + (n - 1) x d = 3 + 9 x 4 = 39</text>
  <text x="400" y="470" font-size="18" font-family="Arial, sans-serif" text-anchor="middle" fill="#333333">Sum = n/2 x (a + l) = 10/2 x (3 + 39) = 210</text>
  <rect x="160" y="500" width="480" height="55" rx="12" fill="#eef4fb" stroke="#4a90e2" stroke-width="2"/>
  <text x="400" y="528" font-size="17" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e">The gaps count is (n - 1), never n.</text>
  <text x="400" y="548" font-size="17" font-family="Arial, sans-serif" text-anchor="middle" fill="#1a1a2e">This is why l = a + (n - 1)d and not a + nd.</text>
</svg>

6. Practical Applications of the Last Term

The last term formula is invaluable in realistic problems. Suppose a construction company digs a trench in stages, each stage being 2 metres longer than the previous one. If the first stage is 10 metres and there are 15 stages, the last stage is l = 10 + 14 × 2 = 38 metres. Suppose a library has shelves with books arranged so that each row holds 3 more books than the previous row. If the first row holds 20 books and there are 12 rows, the last row holds l = 20 + 11 × 3 = 53 books.

The counting application is even more practical. A security guard patrols a road and checks every 200 metres from the 500 metre mark to the 4500 metre mark. The checkpoints form an AP with a = 500, d = 200, and l = 4500, so the number of checkpoints is n = (4500 – 500) ÷ 200 + 1 = 4000 ÷ 200 + 1 = 21. Getting this number exactly right is essential for scheduling the guard's route, which shows that the last term formula is not just a classroom exercise but a genuinely useful tool.

7. Common Mistakes with the Last Term

The single most common mistake is using (n) instead of (n – 1) in the formula, which makes the last term too large by exactly one common difference. Always compute the number of gaps, not the number of terms, before multiplying by d. The second most common mistake is a sign error in d when the sequence is decreasing. In the AP 40, 36, 32, ..., 4, the common difference is –4, and the formula must be applied with d = –4 throughout.

The third common mistake is confusing the value of the last term with the position n. When you solve l = a + (n – 1)d for n and obtain a fractional value, the given last term does not belong to the sequence at all, and you must say so rather than rounding n. The fourth common mistake is ignoring the phrase inclusive when counting numbers in a range. To count integers from 100 to 200 that are divisible by 7, you must include both endpoints correctly, and the last term formula with the exact endpoint values is the safest way to do it.

8. Solved Examples

Example 1: Find the last term of the AP 4, 9, 14, 19 which has 25 terms.

Solution: Here a = 4, d = 5, and n = 25. Then l = 4 + (25 – 1) × 5 = 4 + 120 = 124. The last term is 124.

Example 2: How many terms are there in the AP 1, 6, 11, 16, ..., 201?

Solution: Here a = 1, d = 5, and l = 201. Then 201 = 1 + (n – 1) × 5, so (n – 1) × 5 = 200, giving n – 1 = 40 and n = 41. There are 41 terms.

Example 3: The last term of an AP with 10 terms is 50 and the first term is 5. Find the common difference.

Solution: Using d = (l – a) ÷ (n – 1), we get d = (50 – 5) ÷ 9 = 45 ÷ 9 = 5. The common difference is 5.

Example 4: Find the sum of all two-digit numbers divisible by 4.

Solution: The two-digit numbers divisible by 4 start at 12 and end at 96, forming an AP with a = 12, d = 4, and l = 96. First, n = (96 – 12) ÷ 4 + 1 = 84 ÷ 4 + 1 = 22. Then the sum is S = (22/2) × (12 + 96) = 11 × 108 = 1188. The sum is 1188.

9. Exam Strategy for Last Term Questions

Write the formula l = a + (n – 1)d before substituting, so the examiner can follow your method. Compute (n – 1) explicitly and underline it before multiplying by d, to guard against the most common error. When counting terms, always verify that your n is a positive integer, and when the answer must be a whole number, never round. When a question gives you the sum and the first term, rearrange S = n/2 × (a + l) to isolate l; this is a favourite one-liner in the board paper. Finally, whenever you compute a last term, sanity check it against the nth term formula for the same progression, since the two must agree perfectly.

10. Conclusion

The last term formula l = a + (n – 1)d is not a new idea but the nth term formula applied at the final position, and it is one of the most frequently examined ideas in Chapter 5. It is the bridge that connects the nth term formula to the sum formula S(n) = n/2 × (a + l), and it is the essential tool for counting the number of terms in any given range of an AP. Because it appears in counting questions, sum questions, and case-study questions every single year, mastery of the last term formula is guaranteed to earn you marks in the board examination. Practise all four rearrangements of the equation, pay unrelenting attention to the (n – 1) factor and to signs, and the last term will always be determined accurately and correctly.