Maths · Ch 5 · Topic 3 of 5The nth term
Topic 3 of 5

The nth term

About 60 minutes · 3 things to learn
By the end you can…
  • Derive the nth term formula a_n = a + (n − 1)d.
  • Find a term, a, d or n; decide whether a given number is a term of an AP.
  • Find an AP from two of its terms; find the middle term(s) and the nth term from the end; count the multiples of a number in a range.

The front row of a cinema hall has 14 seats; the row behind it has 17, the one behind that 20 — every row has 3 more seats than the row in front. How many seats are in row 40? Adding 3 thirty-nine times would work, but it is slow and easy to get wrong. One short formula answers it in a single line — and the same formula tells you whether some row could have exactly 100 seats.

Deriving the formula for the nth term

Let the AP have first term a and common difference d. Build the terms one at a time:

Statement Reason
a1=aa_1 = a The first term is called a.
a2=a1+d=a+da_2 = a_1 + d = a + d In an AP, each term is the term before it plus d.
a3=a2+d=a+2da_3 = a_2 + d = a + 2d Add d again.
a4=a3+d=a+3da_4 = a_3 + d = a + 3d Add d again.
The number of d's is always one less than the term number. Going from term 1 to term n takes n−1n - 1 steps, and each step adds one d.
an=a+(n−1)da_n = a + (n - 1)d So the nth term is a plus (n−1)(n - 1) lots of d.

ana_n is also called the general term. For a finite AP with n terms, the last term is l=an=a+(n−1)dl = a_n = a + (n - 1)d.

Why n−1n - 1 and not n? Think of a staircase: you stand on step 1. To reach step 5 you climb 4 steps, not 5. The first term already "uses up" position 1 without adding any d.

Back to the cinema: row 40 has 14+39×3=13114 + 39 \times 3 = 131 seats. No row has exactly 100, because 100=14+(n−1)×3100 = 14 + (n - 1) \times 3 gives n−1=863n - 1 = \dfrac{86}{3}, which is not a whole number.

One formula, four jobs

an=a+(n−1)da_n = a + (n - 1)d links four quantities: a, d, n and ana_n. If you know any three, you can find the fourth.

  • Is a number a term? Put ana_n equal to that number and solve for n. The number is a term only if n comes out as a positive whole number.
  • Two terms given? For the pth and qth terms, aq−ap=(q−p)da_q - a_p = (q - p)d: subtract to find d, then find a.

Counting from the end, and the middle term

  • Number of terms in a finite AP: put l=a+(n−1)dl = a + (n - 1)d and solve for n.
  • kth term from the end: it is the (n−k+1)(n - k + 1)th term from the start. Or write the AP backwards: its first term is l and its common difference is −d-d, so the kth term from the end is l−(k−1)dl - (k - 1)d.
  • Middle term: if n is odd, there is one middle term, the (n+12)\left(\dfrac{n + 1}{2}\right)th. If n is even, there are two middle terms, the (n2)\left(\dfrac{n}{2}\right)th and the (n2+1)\left(\dfrac{n}{2} + 1\right)th.

Counting multiples in a range

The multiples of a number m form an AP with d=md = m. Find the first and last multiple inside the range, then use the formula to find n.

Quick reminder (Chapter 1). A number that is a multiple of both 4 and 6 is a multiple of their LCM, 12 — not of their product, 24. (LCM = product only when the two numbers have no common factor other than 1.)

Visuals

Staircase: from a₁ to aₙ takes n − 1 steps A staircase of 6 bars of equal width, heights a, a + d, a + 2d, a + 3d, a + 4d and a + 5d drawn to scale for a = 2 and d = 1.5. Step 1 is labelled a₁ = a and step 6 is labelled a₆ = a + 5d. Each of the 5 risers between neighbouring steps is labelled +d, and a bracket under the five risers reads '5 steps of d (not 6)'. Below, a number line from a to a + 5d with six dots for the terms and five equal arcs labelled d. Box: From a₁ to aₙ: n − 1 steps → aₙ = a + (n − 1)d. Second strip: d can be negative: the stairs go down — bars 10, 7, 4, 1 with three equal risers labelled −3. a a + d a + 2d a + 3d a + 4d a + 5d +d +d +d +d +d a1 = a a6 = a + 5d 5 steps of d (not 6) d d d d d a a + d a + 2d a + 3d a + 4d a + 5d From a1 to an: n − 1 steps an = a + (n − 1)d d can be negative: the stairs go down 10 7 4 1 −3 −3 −3
Staircase: from a₁ to aₙ takes n − 1 stepsThe single picture behind the "n − 1": the first term uses up position 1, and every later step adds one d.

The AP explorer lets you set a, d and n with sliders and watch the terms grow as bars. Try a negative d, and d=0d = 0, and see the nth term and the bars change together.

AP explorer AP explorer at its start values a = 3, d = 4, n = 5, in the terms view: the AP 3, 7, 11, 15, 19; sliders for a, d and n; five bars of heights 3, 7, 11, 15 and 19 standing on a zero line, the third (11) outlined and labelled 'middle term'; read-out aₙ = a + (n − 1)d = 3 + (5 − 1) × 4 = 19. In the interactive version you move the sliders and the bars, the nth term, the middle term(s) and the sums update; a 'sum' view shows the running sum and how the terms pair up. AP explorer terms sum 3, 7, 11, 15, 19 a 3 d 4 n 5 0 10 20 3 7 11 15 19 middle term an = a + (n − 1)d = 3 + (5 − 1) × 4 = 19
AP explorer (interactive)Each bar is the one before it plus d, that the nth bar needs n − 1 steps, and how a negative or zero d changes the list.

Worked examples

Worked example 1

Finding a term

Question. Find (a) the 25th term of the AP 8,15,22,…8, 15, 22, \ldots (b) the 15th term of the AP 52,2,32,…\dfrac{5}{2}, 2, \dfrac{3}{2}, \ldots

Given: two APs. Asked: a25a_{25} and a15a_{15}.

Concept used: an=a+(n−1)da_n = a + (n - 1)d. Why it applies: we know a and d, and the position n.

  1. 1

    (a)

    a=8a = 8, d=15−8=7d = 15 - 8 = 7, n=25n = 25.

  2. 2

    Substitute into an=a+(n−1)da_n = a + (n - 1)d.

    a25=8+(25−1)×7a_{25} = 8 + (25 - 1) \times 7
  3. 3

    Work out the bracket and multiply.

    a25=8+168a_{25} = 8 + 168
  4. 4

    Add.

    a25=176a_{25} = 176
  5. 5

    (b)

    a=52a = \dfrac{5}{2}, d=2−52=−12d = 2 - \dfrac{5}{2} = -\dfrac{1}{2}, n=15n = 15.

  6. 6

    Substitute.

    a15=52+(15−1)(−12)a_{15} = \dfrac{5}{2} + (15 - 1)\left(-\dfrac{1}{2}\right)
  7. 7

    Multiply: 14×(−12)=−714 \times \left(-\dfrac{1}{2}\right) = -7.

    a15=52−7a_{15} = \dfrac{5}{2} - 7
  8. 8

    Subtract.

    a15=−92a_{15} = -\dfrac{9}{2}
  9. Check: (a) going back from the 25th term: 176−24×7=176−168=8176 - 24 \times 7 = 176 - 168 = 8 ✔. (b) the terms fall by 12\dfrac{1}{2} each time; from 52\dfrac{5}{2}, 14 steps down is 52−7=−92\dfrac{5}{2} - 7 = -\dfrac{9}{2} ✔.

  10. Answer (a) 176176 (b) −92-\dfrac{9}{2}

    Common trap: Writing a+nd=8+25×7=183a + nd = 8 + 25 \times 7 = 183. That is the 26th term. From the 1st term to the 25th there are only 24 steps.

Worked example 2

Which term?

Question. Which term of the AP 7,16,25,…7, 16, 25, \ldots is 214?

Given: a=7a = 7, d=16−7=9d = 16 - 7 = 9, an=214a_n = 214. Asked: n.

Concept used: an=a+(n−1)da_n = a + (n - 1)d, solved for n. Why it applies: we know the term's value but not its position.

  1. 1

    Substitute.

    214=7+(n−1)×9214 = 7 + (n - 1) \times 9
  2. 2

    Subtract 7 from both sides.

    207=(n−1)×9207 = (n - 1) \times 9
  3. 3

    Divide both sides by 9.

    23=n−123 = n - 1
  4. 4

    Add 1 to both sides.

    n=24n = 24
  5. Check: a24=7+23×9=7+207=214a_{24} = 7 + 23 \times 9 = 7 + 207 = 214 ✔.

  6. Answer 214 is the 24th term.

    Common trap: Stopping at step 3 and answering "the 23rd term". n−1=23n - 1 = 23 counts the steps, not the position.

Worked example 3

Is it a term?

Question. (a) Is 250 a term of the AP 4,11,18,…4, 11, 18, \ldots? (b) Is −1-1 a term of the AP 38,35,32,…38, 35, 32, \ldots? If it is, which term?

Given: two APs and two numbers. Asked: whether each number is a term.

Concept used: solve an=a_n = the number for n; it is a term only if n is a positive whole number. Why it applies: positions are 1st, 2nd, 3rd, … — never 361736\dfrac{1}{7}th.

  1. 1

    (a)

    a=4a = 4, d=7d = 7. Suppose 250 is the nth term.

    250=4+(n−1)×7250 = 4 + (n - 1) \times 7
  2. 2

    Subtract 4 from both sides.

    246=(n−1)×7246 = (n - 1) \times 7
  3. 3

    Divide by 7.

    n−1=2467n - 1 = \dfrac{246}{7}
  4. 4

    Add 1.

    n=2537=3617n = \dfrac{253}{7} = 36\dfrac{1}{7}
  5. 5

    n is not a whole number, so 250 is not a term.

  6. 6

    (b)

    a=38a = 38, d=35−38=−3d = 35 - 38 = -3. Suppose −1-1 is the nth term.

    −1=38+(n−1)(−3)-1 = 38 + (n - 1)(-3)
  7. 7

    Subtract 38 from both sides.

    −39=(n−1)(−3)-39 = (n - 1)(-3)
  8. 8

    Divide by −3-3.

    13=n−113 = n - 1
  9. 9

    Add 1.

    n=14n = 14
  10. Check: (a) the 36th and 37th terms are 4+35×7=2494 + 35 \times 7 = 249 and 256256; 250 lies between them, so it is skipped ✔. (b) a14=38+13×(−3)=38−39=−1a_{14} = 38 + 13 \times (-3) = 38 - 39 = -1 ✔.

  11. Answer (a) No — n would be 2537\dfrac{253}{7}, not a whole number. (b) Yes — −1-1 is the 14th term.

    Common trap: In (a), rounding 2537\dfrac{253}{7} to 36 and saying "250 is the 36th term". A term number must come out exactly whole.

Worked example 4

Finding the AP from two terms

Question. The 6th term of an AP is 37 and the 15th term is 82. Find the AP and its 30th term.

Given: a6=37a_6 = 37, a15=82a_{15} = 82. Asked: a, d, the AP and a30a_{30}.

Concept used: aq−ap=(q−p)da_q - a_p = (q - p)d, then an=a+(n−1)da_n = a + (n - 1)d. Why it applies: from the 6th term to the 15th term there are 15−6=915 - 6 = 9 steps of d.

  1. 1

    Subtract the two terms.

    a15−a6=82−37a_{15} - a_6 = 82 - 37
  2. 2

    The left side is 9 steps of d.

    9d=459d = 45
  3. 3

    Divide by 9.

    d=5d = 5
  4. 4

    Use a6=a+5da_6 = a + 5d.

    37=a+5×537 = a + 5 \times 5
  5. 5

    Subtract 25 from both sides.

    a=12a = 12
  6. 6

    The AP is 12,17,22,27,…12, 17, 22, 27, \ldots

  7. 7

    The 30th term.

    a30=12+29×5=12+145=157a_{30} = 12 + 29 \times 5 = 12 + 145 = 157
  8. Check: a15=12+14×5=82a_{15} = 12 + 14 \times 5 = 82 ✔ and a6=12+5×5=37a_6 = 12 + 5 \times 5 = 37 ✔.

  9. Answer The AP is 12,17,22,…12, 17, 22, \ldots (a=12a = 12, d=5d = 5); a30=157a_{30} = 157.

    Common trap: Dividing 45 by 15 or by 6 instead of by 15−6=915 - 6 = 9. Count the steps between the two terms.

Worked example 5

Counting from the end, and the middle term

Question. For the AP 6,11,16,…,1566, 11, 16, \ldots, 156, find (a) the number of terms (b) the 8th term from the end (c) the middle term. (d) If one more term, 161, is added at the end, what are the middle terms now?

Given: a=6a = 6, d=5d = 5, l=156l = 156. Asked: n, the 8th term from the end, and the middle term(s).

Concept used: l=a+(n−1)dl = a + (n - 1)d; kth from the end =l−(k−1)d= l - (k - 1)d; middle term(s) from whether n is odd or even. Why it applies: the AP is finite and its last term is known.

  1. 1

    (a)

    Put l=156l = 156.

    156=6+(n−1)×5156 = 6 + (n - 1) \times 5
  2. 2

    Subtract 6.

    150=(n−1)×5150 = (n - 1) \times 5
  3. 3

    Divide by 5.

    30=n−130 = n - 1
  4. 4

    Add 1.

    n=31n = 31
  5. 5

    (b)

    Read the AP backwards: first term 156, common difference −5-5.

  6. 6

    The 8th term from the end.

    156+(8−1)(−5)=156−35=121156 + (8 - 1)(-5) = 156 - 35 = 121
  7. 7

    (c)

    n=31n = 31 is odd, so the middle term is the 31+12=16\dfrac{31 + 1}{2} = 16th term.

    a16=6+15×5=81a_{16} = 6 + 15 \times 5 = 81
  8. 8

    (d)

    Now n=32n = 32, which is even: the middle terms are the 16th and 17th.

  9. 9

    a16=81a_{16} = 81 (as before) and a17=81+5=86a_{17} = 81 + 5 = 86.

  10. Check: (b) the 8th from the end of 31 terms is the 31−8+1=2431 - 8 + 1 = 24th from the start: 6+23×5=1216 + 23 \times 5 = 121 ✔. (c) 15 terms lie before the 16th and 31−16=1531 - 16 = 15 after it ✔.

  11. Answer (a) 31 terms (b) 121 (c) 81 (d) 81 and 86

    Common trap: For (b), using a+(k−1)d=6+7×5=41a + (k - 1)d = 6 + 7 \times 5 = 41 — that is the 8th term from the start. Or using l−kd=156−40=116l - kd = 156 - 40 = 116, one step too many.

Worked example 6

Counting multiples in a range

Question. (a) How many numbers between 100 and 500 are divisible by 13? (b) How many numbers between 1 and 200 are divisible by both 4 and 6?

Given: two ranges. Asked: how many multiples lie in each.

Concept used: multiples of m form an AP with d=md = m; the first and last multiples give n. Why it applies: counting by listing would take too long.

  1. 1

    (a)

    First multiple of 13 above 100: 13×8=10413 \times 8 = 104. Last below 500: 13×38=49413 \times 38 = 494.

  2. 2

    The AP is 104,117,…,494104, 117, \ldots, 494 with d=13d = 13. Put l=494l = 494.

    494=104+(n−1)×13494 = 104 + (n - 1) \times 13
  3. 3

    Subtract 104.

    390=(n−1)×13390 = (n - 1) \times 13
  4. 4

    Divide by 13.

    30=n−130 = n - 1
  5. 5

    Add 1.

    n=31n = 31
  6. 6

    (b)

    Divisible by both 4 and 6 means divisible by LCM(4,6)=12\text{LCM}(4, 6) = 12.

  7. 7

    The AP is 12,24,…,19212, 24, \ldots, 192 (since 12×16=19212 \times 16 = 192 and 12×17=204>20012 \times 17 = 204 > 200).

    192=12+(n−1)×12192 = 12 + (n - 1) \times 12
  8. 8

    Subtract 12 from both sides.

    180=(n−1)×12180 = (n - 1) \times 12
  9. 9

    Divide by 12.

    15=n−115 = n - 1
  10. 10

    Add 1.

    n=16n = 16
  11. Check: (a) the multiples are 13×813 \times 8 up to 13×3813 \times 38, which is 38−8+1=3138 - 8 + 1 = 31 numbers ✔. (b) 12×112 \times 1 up to 12×1612 \times 16: 16 numbers ✔.

  12. Answer (a) 31 numbers (b) 16 numbers

    Common trap: In (b), using 4×6=244 \times 6 = 24: the list 24,48,…,19224, 48, \ldots, 192 has only 8 numbers and misses 12, 36, 60, … — which are divisible by both 4 and 6.

6 examples · they get harder as you go

Quick check

Answer without scrolling up
Quick check · 1 of 4MCQ1 mark

The 10th term of the AP 4,9,14,…4, 9, 14, \ldots is:

Quick check · 2 of 4Very short answer1 mark

Which term of the AP 3,8,13,…3, 8, 13, \ldots is 98?

Quick check · 3 of 4MCQ1 mark

The 5th term from the end of the AP 2,5,8,…,622, 5, 8, \ldots, 62 is:

Quick check · 4 of 4Short answer2 marks

An AP has first term a and common difference d. Show that its nth term is an=a+(n−1)da_n = a + (n - 1)d. (2 marks)

Key points

  • an=a+(n−1)da_n = a + (n - 1)d: from the 1st term to the nth there are n−1n - 1 steps of d.
  • Know any three of a, d, n, ana_n → find the fourth.
  • A number is a term only if n comes out a positive whole number.
  • aq−ap=(q−p)da_q - a_p = (q - p)d; kth from the end =l−(k−1)d= l - (k - 1)d.
  • Middle term: n odd → the (n+12)\left(\dfrac{n + 1}{2}\right)th; n even → the (n2)\left(\dfrac{n}{2}\right)th and (n2+1)\left(\dfrac{n}{2} + 1\right)th.
  • Multiples of both p and q are the multiples of LCM(p, q).
My notesComing soon