Free Mathematics Class 9 CBSE notes · practise this chapter with an AI quiz

← All study notes

Add Every Number to a Hundred in One Line by Folding the List in Half

Learn to test whether a sequence is an arithmetic progression, find its nth term and locate a given value, derive the sum of the first n natural numbers by pairing, and apply the rule to real growing patterns.

How do you add every number from 1 to 100 without adding them?

Write the numbers 11 to 100100 in a row. Underneath, write the same numbers backwards.

1+2+3+⋯+98+99+1001 + 2 + 3 + \cdots + 98 + 99 + 100
100+99+98+⋯+3+2+1100 + 99 + 98 + \cdots + 3 + 2 + 1

Add the two rows column by column. Every column gives the same total:

1+100=101,2+99=101,3+98=101, …1 + 100 = 101, \quad 2 + 99 = 101, \quad 3 + 98 = 101, \ \ldots

There are 100100 columns, each worth 101101, so the two rows together come to 100×101=10100100 \times 101 = 10100. But the two rows are the same sum written twice, so the sum itself is half of that:

1+2+⋯+100=101002=50501 + 2 + \cdots + 100 = \frac{10100}{2} = 5050

One multiplication and one division, in place of ninety-nine additions.

The trick works because the numbers go up in equal steps, so pairing the ends always gives the same total. A list with equal steps is called an arithmetic progression, and this page covers the second part of the CBSE Class 9 Mathematics chapter on sequences — recognising an AP, finding its terms, and the pairing argument that produces the sum formula.

How do you tell whether a sequence is an arithmetic progression?

Subtract each term from the one after it. If every answer is the same, it is an AP, and that shared answer is the common difference dd.

Worked example 1 — an AP. 33, 77, 1111, 1515. Differences: 44, 44, 44. So it is an AP with first term a=3a = 3 and d=4d = 4.

Worked example 2 — not an AP. 22, 55, 99, 1414. Differences: 33, 44, 55. Not constant, so not an AP. These are increasing differences, which the previous part of this chapter identified as the triangular pattern shifted.

Worked example 3 — a decreasing AP. 2020, 1717, 1414, 1111. Differences: −3-3 each time. So a=20a = 20 and d=−3d = -3. A negative common difference is perfectly ordinary, and it is what a falling quantity looks like.

Worked example 4 — fractions. 12\frac{1}{2}, 11, 32\frac{3}{2}, 22. Differences: 12\frac{1}{2} each time, so a=12a = \frac{1}{2} and d=12d = \frac{1}{2}.

Worked example 5 — not an AP, though it looks regular. 33, 66, 1212, 2424. Differences: 33, 66, 1212 — growing. The ratios are constant at 22, which makes it a geometric progression, the subject of the next part of this chapter.

Worked example 6 — the natural numbers themselves. 11, 22, 33, 44 is an AP with a=1a = 1 and d=1d = 1. So is every list of consecutive whole numbers, and that is why the pairing trick from the opening applies to them.

Worked example 7 — finding dd from two given terms. In an AP the third term is 1111 and the seventh is 2727. Between them lie four steps, so

4d=27−11=16⇒d=44d = 27 - 11 = 16 \qquad \Rightarrow \qquad d = 4

and working back two steps from the third term, a=11−2(4)=3a = 11 - 2(4) = 3. The AP is 3,7,11,15,…3, 7, 11, 15, \ldots

Check every difference, not just the first one. The sequence 33, 77, 1111, 1616 has differences 44, 44, 55 — it passes the first test and fails the second, and a student who checked only 7−37 - 3 would call it an AP and then get every later answer wrong. One extra subtraction rules that out.

Constant difference is exactly what makes the pairing argument work. In 3,7,11,153, 7, 11, 15 the ends pair as 3+15=183 + 15 = 18 and 7+11=187 + 11 = 18 — the same total, because moving in from one end adds dd while moving in from the other subtracts it. That cancellation is the whole reason the sum formula in the third section exists, and it fails the moment the differences vary.
Formula

How do you find the nth term of an AP and locate a given value?

Start at the first term and add the common difference n−1n-1 times:

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

The n−1n-1 is the point to be careful about — reaching the fourth term takes three steps, not four.

Worked example 1. For 33, 77, 1111, 1515 with a=3a = 3, d=4d = 4:

a20=3+19×4=3+76=79a_{20} = 3 + 19 \times 4 = 3 + 76 = 79

Check the small cases: a1=3+0=3a_1 = 3 + 0 = 3 and a4=3+12=15a_4 = 3 + 12 = 15. Both correct.

Worked example 2 — a decreasing AP. For 2020, 1717, 1414 with d=−3d = -3:

a15=20+14×(−3)=20−42=−22a_{15} = 20 + 14 \times (-3) = 20 - 42 = -22

Worked example 3 — locating a value. Which term of 33, 77, 1111, …\ldots equals 7979?

3+(n−1)4=79⇒(n−1)4=76⇒n=203 + (n-1)4 = 79 \qquad \Rightarrow \qquad (n-1)4 = 76 \qquad \Rightarrow \qquad n = 20

So 7979 is the twentieth term, agreeing with worked example 1.

Worked example 4 — another location. Which term of 55, 1111, 1717, …\ldots is 9595? Here a=5a = 5, d=6d = 6:

5+(n−1)6=95⇒(n−1)6=90⇒n=165 + (n-1)6 = 95 \qquad \Rightarrow \qquad (n-1)6 = 90 \qquad \Rightarrow \qquad n = 16

Check: 5+15×6=955 + 15 \times 6 = 95. Correct.

Worked example 5 — a value that is not a term. Is 100100 a term of 33, 77, 1111, …\ldots?

3+(n−1)4=100⇒(n−1)4=973 + (n-1)4 = 100 \qquad \Rightarrow \qquad (n-1)4 = 97

But 9797 is not divisible by 44, so nn would not be a whole number. 100100 is not a term of this AP — and that is a complete and correct answer, not a failed calculation.

Worked example 6 — the sum of an AP.
The pairing idea gives the sum of any AP, not just the natural numbers. Pair the first and last terms:

Sn=n2(a+an)=n2[2a+(n−1)d]S_n = \frac{n}{2}\left(a + a_n\right) = \frac{n}{2}\left[2a + (n-1)d\right]

For 33, 77, 1111, …\ldots up to the twentieth term 7979:

S20=202(3+79)=10×82=820S_{20} = \frac{20}{2}(3 + 79) = 10 \times 82 = 820

A negative nn or a fractional nn means the value is not in the list. The formula is solved as an ordinary equation, but only whole-number solutions count, because there is no two-and-a-half-th term. Checking that nn came out a positive whole number is the last step of every location question.

Why does the sum of the first n numbers equal n(n+1)/2?

Because writing the sum forwards and backwards and adding gives nn identical columns, each worth n+1n+1.

The derivation. Let SS be the sum:

S=1+2+3+⋯+(n−1)+nS = 1 + 2 + 3 + \cdots + (n-1) + n
S=n+(n−1)+⋯+3+2+1S = n + (n-1) + \cdots + 3 + 2 + 1

Adding column by column, every column totals n+1n + 1 — the first is 1+n1 + n, the second is 2+(n−1)=n+12 + (n-1) = n+1, and each step forward in one row is cancelled by a step back in the other. There are nn columns, so

2S=n(n+1)⇒S=n(n+1)22S = n(n+1) \qquad \Rightarrow \qquad S = \frac{n(n+1)}{2}

Worked example 1 — the hundred. n=100n = 100:

S=100×1012=50×101=5050S = \frac{100 \times 101}{2} = 50 \times 101 = 5050

Worked example 2. 1+2+⋯+50=50×512=12751 + 2 + \cdots + 50 = \frac{50 \times 51}{2} = 1275.

Worked example 3. 1+2+⋯+20=20×212=2101 + 2 + \cdots + 20 = \frac{20 \times 21}{2} = 210.

Worked example 4 — a sum that does not start at 1. Find 21+22+⋯+5021 + 22 + \cdots + 50. Take the sum to 5050 and remove the sum to 2020:

1275−210=10651275 - 210 = 1065

Check another way. There are 50−20=3050 - 20 = 30 terms, and pairing the ends gives 21+50=7121 + 50 = 71 every time, so

302×71=15×71=1065\frac{30}{2} \times 71 = 15 \times 71 = 1065

The same answer from two independent routes.

Worked example 5 — the sum of the first nn odd numbers. The odds 1,3,5,…1, 3, 5, \ldots form an AP with a=1a = 1, d=2d = 2, so the nnth odd number is 2n−12n - 1. Pairing:

S=n2(1+(2n−1))=n2×2n=n2S = \frac{n}{2}\left(1 + (2n-1)\right) = \frac{n}{2} \times 2n = n^2

Check: 1+3+5+7=16=421 + 3 + 5 + 7 = 16 = 4^2. Correct — and this is the square-number recursion from the previous part of this chapter, now proved rather than observed.

Worked example 6 — the sum of the first nn even numbers. The evens give a=2a = 2, d=2d = 2, and the nnth is 2n2n:

S=n2(2+2n)=n(n+1)S = \frac{n}{2}(2 + 2n) = n(n+1)

Check: 2+4+6+8=202 + 4 + 6 + 8 = 20, and 4×5=204 \times 5 = 20. Correct — exactly twice the sum of the naturals, as it must be.

The formula always gives a whole number, and it has to. Of the two consecutive numbers nn and n+1n+1, exactly one is even, so the product n(n+1)n(n+1) is always even and dividing by 22 leaves no remainder. A fractional answer from this formula is therefore always an arithmetic slip, never a genuine result.

And these sums are the triangular numbers. Tn=n(n+1)2T_n = \frac{n(n+1)}{2} is the same expression, so T10=55T_{10} = 55 and T100=5050T_{100} = 5050. The stacked-dots picture and the pairing argument describe one object — which is why the next section's real-world patterns keep producing them.

How do you solve a growing-pattern problem using an AP?

Find the common difference from the wording, write the nnth term, then use the sum formula if a total is wanted.

Worked example 1 — chairs at tables.
One square table seats 44 people, and each extra table pushed against the row adds seating for 22 more. The sequence is 44, 66, 88, …\ldots with a=4a = 4, d=2d = 2:

an=4+(n−1)2=2n+2a_n = 4 + (n-1)2 = 2n + 2

Check: a1=4a_1 = 4, a3=8a_3 = 8. For twenty tables, a20=42a_{20} = 42 seats.

Worked example 2 — a stack of bricks. The bottom row has 3030 bricks and each row above has 22 fewer. How many rows reach a top row of 22 bricks, and how many bricks are used?

The sequence is 3030, 2828, 2626, …\ldots with a=30a = 30, d=−2d = -2. For the last term 22:

30+(n−1)(−2)=2⇒(n−1)(−2)=−28⇒n=1530 + (n-1)(-2) = 2 \qquad \Rightarrow \qquad (n-1)(-2) = -28 \qquad \Rightarrow \qquad n = 15

So there are 1515 rows. The total is

S15=152(30+2)=152×32=15×16=240 bricksS_{15} = \frac{15}{2}(30 + 2) = \frac{15}{2} \times 32 = 15 \times 16 = 240 \text{ bricks}

Check independently. The rows are all the even numbers from 22 to 3030, which is 2(1+2+⋯+15)=2×120=2402(1 + 2 + \cdots + 15) = 2 \times 120 = 240, using T15=15×162=120T_{15} = \frac{15 \times 16}{2} = 120. The same answer.

Worked example 3 — a salary rising each year. A starting salary of ₹18,000₹18{,}000 per month rises by ₹1,500₹1{,}500 each year. The monthly salary in the eighth year is

a8=18000+7×1500=18000+10500=₹28,500a_8 = 18000 + 7 \times 1500 = 18000 + 10500 = ₹28{,}500

Worked example 4 — a triangular arrangement of logs. Logs are stacked with 2020 in the bottom row and one fewer in each row above, up to a single log at the top. That is 2020 rows, and the total is

T20=20×212=210 logsT_{20} = \frac{20 \times 21}{2} = 210 \text{ logs}

Worked example 5 — handshakes. In a room of nn people, each shakes hands once with every other. Take them one at a time: one shakes n−1n-1 hands, the next adds n−2n-2 new ones, the next n−3n-3, and so on down to 11:

1+2+⋯+(n−1)=(n−1)n2=Tn−11 + 2 + \cdots + (n-1) = \frac{(n-1)n}{2} = T_{n-1}

For 1010 people that is 9×102=45\frac{9 \times 10}{2} = 45 handshakes. Check by counting differently: each of 1010 people shakes 99 hands, giving 9090, but every handshake was counted from both ends, so 902=45\frac{90}{2} = 45. Two routes, one answer.

Worked example 6 — a savings plan. Someone saves ₹100₹100 in the first month and ₹50₹50 more each month than the month before. The total over two years is an AP with a=100a = 100, d=50d = 50, n=24n = 24:

S24=242[2(100)+23(50)]=12[200+1150]=12×1350=₹16,200S_{24} = \frac{24}{2}\left[2(100) + 23(50)\right] = 12\left[200 + 1150\right] = 12 \times 1350 = ₹16{,}200

Read whether the question wants a TERM or a TOTAL. Worked example 2 asks for both, and they are 22 bricks in the top row against 240240 bricks altogether — two very different numbers from the same setup. The words in the fifteenth row and in the whole stack are what distinguish them, and mixing them up is the commonest error in these problems.

Check that the pattern really has a constant difference before using any of this.
A stack whose rows go 3030, 2828, 2525 is not an AP, and both the nnth-term formula and the sum formula would give confident wrong answers.
Exam tip

Exam tip: count the steps, not the terms

The nnth term is a+(n−1)da + (n-1)d — reaching the fourth term takes three steps. Writing a+nda + nd is the single commonest slip in this chapter.

Write aa and dd on their own line before substituting anything. For 20,17,1420, 17, 14 that is a=20a = 20, d=−3d = -3.

Check every difference, not just the first. 3,7,11,163, 7, 11, 16 is not an AP.

A negative dd is normal and is what a decreasing pattern looks like.

For "which term equals kk", solve as an equation and check nn is a positive whole number. If it is not, write "not a term of this AP" — that is the full answer.

Two sum formulas, one idea
: Sn=n2(a+an)S_n = \frac{n}{2}(a + a_n) when you know the last term, and Sn=n2[2a+(n−1)d]S_n = \frac{n}{2}[2a + (n-1)d] when you do not.

Show the pairing derivation when asked for it: write the sum forwards and backwards, note nn columns of n+1n+1, then halve.

1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}, so 11 to 100100 is 50505050. For a sum not starting at 11, subtract: 1275−210=10651275 - 210 = 1065.

Learn the two side results: the first nn odd numbers sum to n2n^2; the first nn even numbers sum to n(n+1)n(n+1).

Read whether a TERM or a TOTAL is wanted — 22 bricks in the top row against 240240 in the stack.

And if the formula returns a fraction, it is a slip: n(n+1)n(n+1) is always even, so the sum is always a whole number.
Did you know

Why every second triangular number is a multiple of the row count

The sum 1+2+⋯+n1 + 2 + \cdots + n can be computed two slightly different ways depending on whether nn is odd or even, and the difference is worth seeing.

When nn is even, the list pairs up perfectly. For n=100n = 100: pair 11 with 100100, 22 with 9999, and so on, giving exactly 5050 pairs of 101101:

50×101=505050 \times 101 = 5050

Every number has a partner and nothing is left over.

When nn is odd, there is a leftover in the middle. For n=9n = 9: pair 11 with 99, 22 with 88, 33 with 77, 44 with 66 — four pairs of 1010 — and the 55 sits alone:

4×10+5=454 \times 10 + 5 = 45

Check with the formula: 9×102=45\frac{9 \times 10}{2} = 45. Correct.

And notice what the lonely middle number is. For n=9n = 9 it is 55, which is the average of the whole list, and the answer is 9×5=459 \times 5 = 45 — the count times the middle value. That works for every odd nn: 11 to 77 gives 7×4=287 \times 4 = 28, and 11 to 1111 gives 11×6=6611 \times 6 = 66.

So for an odd-length list the sum is simply how many times the middle one, and no halving is needed at all. For an even-length list there is no middle number — the average n+12\frac{n+1}{2} falls between two terms, which is exactly why the formula carries a division by 22.

The same reasoning works on any AP, not just the naturals. The sum is always the number of terms times the average of the first and last, which is what n2(a+an)\frac{n}{2}(a + a_n) says. The pairing trick and the average rule are one method described from two sides — and for an odd-length list you can see the average sitting in the middle of the row.
Exam relevance

How is the arithmetic progression tested in JEE Main?

Because the AP is the first of the standard progressions, and its two formulas are assumed without restatement in every later series chapter.

This is the foundation for Class 11 Mathematics Sequences and Series and Class 10 Arithmetic Progressions, both examined in JEE Main. The formulas found here — an=a+(n−1)da_n = a + (n-1)d and Sn=n2[2a+(n−1)d]S_n = \frac{n}{2}[2a + (n-1)d] — are used in exactly that form, and the pairing derivation is the standard proof asked for.

The sum of the first nn naturals becomes a building block. Class 11 gives the standard summations

∑k=1nk=n(n+1)2∑k=1nk2=n(n+1)(2n+1)6∑k=1nk3=[n(n+1)2]2\sum_{k=1}^{n} k = \frac{n(n+1)}{2} \qquad \sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6} \qquad \sum_{k=1}^{n} k^3 = \left[\frac{n(n+1)}{2}\right]^2

and the first is this page's formula. The third is its square, which is a pleasant fact worth noticing: the sum of the first nn cubes equals the square of the sum of the first nn naturals. Questions asking for the sum of a series whose nnth term is a polynomial in nn are solved by splitting into these three, and they are a recurring JEE Main type.

The arithmetic mean comes straight from the pairing idea. Class 11 defines the AM of aa and bb as a+b2\frac{a+b}{2} — the middle term of a three-term AP — and the inequality a+b2≥ab\frac{a+b}{2} \ge \sqrt{ab} pairs it with the geometric mean from the next part of this chapter. That inequality is a standard tool for maxima and minima problems where calculus would be slower.

Where the counting arguments lead. The handshake sum n(n−1)2\frac{n(n-1)}{2} is (n2)\binom{n}{2}, the number of ways to choose two things from nn, which Class 11 Permutations and Combinations treats directly — and the double-counting check used on this page (each handshake counted from both ends) is the standard justification for the division by 22 in that formula.

A common exam construction. Questions often give two terms of an AP, such as the third and the seventh, and ask for a third quantity. The method here — count the steps between them, divide the gap by the number of steps to get dd, then work back to aa — handles every version of it.

What the questions look like. For board work, expect test whether a sequence is an AP and state aa and dd, find a specified term, find which term equals a given value, derive n(n+1)2\frac{n(n+1)}{2} by pairing, and a growing-pattern word problem needing a term or a total. For JEE Main, expect sums of series, problems mixing AP with GP, and the AM-GM inequality.

How board and competitive emphasis differ. A board paper rewards the written derivation
and the identified aa and dd. A competitive paper assumes both formulas and tests whether you can recognise an AP inside a word problem, or split a summation into the standard pieces.

The single trap that costs the most marks. Using a+nda + nd instead of a+(n−1)da + (n-1)d. For 3,7,113, 7, 11 the twentieth term is 3+19(4)=793 + 19(4) = 79, and the wrong version gives 8383 — a plausible number that is one step too far. The defence is to test the formula at n=1n = 1 every time you write it: it must return aa itself, and a+nda + nd returns a+da + d instead.
Key takeaways

Arithmetic progressions and the sum formula: quick revision

- A sequence is an AP when consecutive differences are all equal; that value is the common difference dd.
- 3,7,11,153, 7, 11, 15 is an AP with a=3a = 3, d=4d = 4. 20,17,14,1120, 17, 14, 11 has d=−3d = -3. 12,1,32,2\frac{1}{2}, 1, \frac{3}{2}, 2 has d=12d = \frac{1}{2}.
- 2,5,9,142, 5, 9, 14 is not an AP (differences 3,4,53, 4, 5); nor is 3,6,12,243, 6, 12, 24, which has a constant ratio instead.
- Check every difference: 3,7,11,163, 7, 11, 16 passes the first test and fails the second.
- From two terms: third term 1111, seventh term 2727 gives 4d=164d = 16, so d=4d = 4 and a=11−8=3a = 11 - 8 = 3.
- nnth term: an=a+(n−1)da_n = a + (n-1)d — the fourth term takes three steps.
- a20a_{20} of 3,7,113, 7, 11 is 3+19(4)=793 + 19(4) = 79; a15a_{15} of 20,17,1420, 17, 14 is 20−42=−2220 - 42 = -22.
- Locating a value: 3+(n−1)4=793 + (n-1)4 = 79 gives n=20n = 20; 5+(n−1)6=955 + (n-1)6 = 95 gives n=16n = 16.
- 100100 is not a term of 3,7,11,…3, 7, 11, \ldots, since (n−1)4=97(n-1)4 = 97 has no whole solution.
- Sum by pairing: write the sum forwards and backwards, get nn columns of n+1n+1, then halve.
- 1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}: n=100n = 100 gives 50505050; n=50n = 50 gives 12751275; n=20n = 20 gives 210210.
- A sum not starting at 11: 21+⋯+50=1275−210=106521 + \cdots + 50 = 1275 - 210 = 1065, confirmed as 15×7115 \times 71.
- Sum of any AP: Sn=n2(a+an)=n2[2a+(n−1)d]S_n = \frac{n}{2}(a + a_n) = \frac{n}{2}[2a + (n-1)d]. For 3,7,11,…3, 7, 11, \ldots to the twentieth term, S20=10×82=820S_{20} = 10 \times 82 = 820.
- First nn odd numbers sum to n2n^2: 1+3+5+7=161+3+5+7 = 16. First nn even numbers sum to n(n+1)n(n+1): 2+4+6+8=202+4+6+8 = 20.
- The formula always gives a whole number, since one of nn, n+1n+1 is even.
- These sums are the triangular numbers: T10=55T_{10} = 55, T100=5050T_{100} = 5050.
- Chairs at tables: 4,6,84, 6, 8 gives an=2n+2a_n = 2n+2, so a20=42a_{20} = 42 seats.
- Brick stack 30,28,…,230, 28, \ldots, 2: n=15n = 15 rows and S15=15×16=240S_{15} = 15 \times 16 = 240 bricks.
- Salary ₹18,000₹18{,}000 rising ₹1,500₹1{,}500 a year: a8=₹28,500a_8 = ₹28{,}500. Logs 2020 down to 11: T20=210T_{20} = 210.
- Handshakes among 1010 people: 9×102=45\frac{9 \times 10}{2} = 45, confirmed as 10×92\frac{10 \times 9}{2} after correcting the double count.
- Savings of ₹100₹100 rising ₹50₹50 monthly for 2424 months: S24=12×1350=₹16,200S_{24} = 12 \times 1350 = ₹16{,}200.
- Read whether a TERM or a TOTAL is wanted — 22 bricks against 240240.

Count the rows of seats in your classroom, check whether they grow by a constant amount, and if they do, predict the total without counting every chair.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Predicting What Comes Next: Exploring Sequences and Progressions — Part 2Create a free account
← Back to all articles