PrepShorts · Study sheet · Class 9 Mathematics · Chapter 8, Predicting What Comes Next: Exploring Sequences and ProgressionsPrepShorts

Chapter 8 · Predicting What Comes Next: Exploring Sequences and Progressions

Pairing from both ends: a closed form for 1 + 2 + ⋯ + n

यह वीडियो हिंदी में भी · Watch in Hindi

Adding an AP up10 min

This video could not be loaded. Reload the page to try again.

Sign in with Google

10 min.

Also recorded in Hindi.Englishहिन्दी

Adding 1 to 1000 by hand costs 999 additions and one slip ruins the lot. Stop reading the list forwards and it costs one multiplication.

The idea

Pairing the ends of the sum works for a reason that can be stated in one line: walk one step inward from the left and you gain 1, walk one step inward from the right and you lose 1, so every pair you form has the same total. Writing the sum twice, once forwards and once backwards, is simply a way of making all those equal pairs visible at the same moment — and it sidesteps the awkward question of what to do when there is an odd number of terms, because doubling the sum guarantees the pairing comes out even. That is why 2S = n(n + 1) is the honest form of the result and the halving comes last.

What you should be able to do

  • Add the first ten counting numbers by pairing from both ends, without adding term by term
  • Explain why every such pair has the same total
  • Derive 2S = n(n + 1) by writing the sum forwards and backwards, and state the closed form for S
  • Justify the same result from a rectangular array of two interlocking staircases
  • Compute a stated triangular number from the closed form
  • Find the total of a run of consecutive numbers that does not start at 1, by subtracting one closed form from another
  • Count how many terms such a run contains
  • Restate the result as an average multiplied by a count, and say when that version applies

Words to know

TermDefinition in one lineFirst introduced
sumthe total of a stated run of terms, written S or Sₙ hereprinted throughout §8.5, pp. 183–185
Sₙthe chapter's notation for the total of the first n counting numbersprinted in §8.5, p. 184 — read on p. 184, since a subscript does not extract
triangular numbera running total of the counting numbers, so n(n + 1)/2printed in §8.1 and again in the p. 185 reflection box
rectangular arraythe grid of circles the picture argument builds, 7 by 6 hereprinted in the text beside Fig. 8.5, p. 184
averagethe value halfway between the two end terms, in Āryabhaṭa's versionprinted in §8.5, p. 185
ĀryabhaṭīyaĀryabhaṭa's work, cited here for the earliest written statementprinted in italics in §8.5, p. 185
pairing from the endsthe method of adding the first to the last, the second to the second-last, and so onan added phrasing; the chapter performs it without a name

Where people slip up

  • "Halve first, then pair." Halving early is where the arithmetic goes wrong. Double the sum, pair the columns, and divide at the very end — that ordering is what makes the odd-n case behave, since 2S always has an even number of terms to pair.
  • **"The pair total is n + 1 by coincidence."** It is forced. The first pair is 1 + n; moving inward adds 1 on the left and subtracts 1 on the right, so no pair can differ from the first. Show two or three columns changing in opposite directions.
  • "This gives the total of any progression." It gives the total of the counting numbers only. The chapter derives nothing else — a general AP total is not stated anywhere in the chapter, summary included. What it does supply is enough to reach every printed question anyway, and the honest count of items needing more than §8.5 gives directly is one: Exercise Set 8.2 item 5, and even that yields to factoring out a 3. Item 7 of the same set is 1 + 2 + ⋯ + 25, which is S₂₅ itself, and End-of-Chapter problem 6 is a difference of two S values — the very move p. 185 demonstrates on the run from 25 to 58. So the route the chapter leaves you is to reduce a run to counting numbers, by factoring out a common multiplier or by subtracting one closed form from another, and that route is never blocked.
  • "25 to 58 is 33 terms, since 58 − 25 = 33." It is 34. Both ends are included, so the count is 58 − 24. This is the same fence-post that put the (n − 1) in the nth-term formula, and it is worth naming as the same mistake.
  • **"Subtract S₂₅ to remove everything below 25."** That removes 25 as well. You want S₂₄.
  • "The average trick works for any list." It works when the terms are evenly spaced, so that the middle of the list coincides with the average of the ends. Āryabhaṭa's phrasing is a statement about progressions, not about arbitrary numbers.
  • **"The formula only works when n is even, because you need to pair terms up."** The doubling is precisely what removes that worry. Try it on n = 7 and let the class see 2S = 7 × 8 come out clean.
Transcript1,421 words

Add up the counting numbers from one to ten. You can just do it. One and two is three, and three is six, and four is ten, and so on down the line. Nine additions later you have fifty-five. Now add up the counting numbers from one to a thousand. The same method still works. It just costs nine hundred and ninety-nine additions, and one slip anywhere ruins the lot.

So the question is not whether it can be done. It is whether the answer has a shape. And it does. The shape is easiest to see if you stop reading the list from left to right, and read it from both ends at once. Take the first number and the last number, and add them. One and ten is eleven. Now step inward. Two and nine. That is eleven again.

Three and eight. Four and seven. Five and six. Eleven, eleven, eleven. Ten numbers make five pairs, and every pair comes to the same total. So the whole sum is five elevens, which is fifty-five. The same answer, in one multiplication instead of nine additions. That is not a coincidence. Step one place inward from the left, and the number you are holding goes up by one. Step one place inward from the right, and the number you are holding goes down by one.

Up by one, down by one. The two changes are equal and opposite, so the total cannot move. Every pair inherits the total of the first pair. The pairs agree because they are forced to. And notice what is doing the work. It is the constant step of one. Take a list whose steps are uneven, say one, two, three, ten. Step inward and the left gains one while the right loses seven.

Nothing cancels. The pairs disagree, and the trick has nothing to stand on. There is a snag, and the honest thing is to walk straight into it. Add the counting numbers from one to seven. One and seven is eight. Two and six is eight. Three and five is eight. Three pairs of eight. And four, sitting in the middle, with nobody to pair with. Twenty-four, plus the four left over, is twenty-eight. Correct, but clumsy.

And this is not a rare accident. Of the first hundred runs, exactly fifty hold a term back. Every odd one of them does. Half the time the neat picture has a loose end. A method that works cleanly half the time and needs an apology the other half is not finished. Here is the repair. Write the sum out. Then underneath it, write the same sum backwards. One to ten along the top. Ten down to one along the bottom.

Now every number has a partner directly below it. Nothing is stranded, whatever the length. Read the columns. One and ten, eleven. Two and nine, eleven. Three and eight, eleven. All the way along, ten columns, every one of them eleven. Ten elevens is a hundred and ten. But that is two copies of the sum, not one. You wrote it twice, so you have twice the answer. Twice the sum is a hundred and ten, so the sum is fifty-five.

Now do that with a length of n instead of ten. The top row runs one to n. The bottom row runs n back down to one. Each column holds n plus one, and there are n columns. So twice the sum is n times n plus one. And only now do you halve. The sum is n times n plus one, over two. The doubled form is the one the picture actually gives you.

The halving is a step you take at the end, once the awkward case has already been dealt with. The same argument again, in dots this time. Build a staircase. Six dots in the top row, five in the next, four in the next, down to a single dot. That staircase holds twenty-one dots, which is the sum of one to six. Now take a second staircase, exactly the same, turn it half a turn, and slide it in against the first.

The steps interlock. The jagged edges fit together and the gaps vanish. What is left is a plain rectangle, six across and seven down. Six sevens is forty-two, and forty-two is twice twenty-one. The picture says the same thing as the two rows of writing. Two copies of the sum make a rectangle, and the rectangle is n by n plus one. One loose thread. If twice the sum is n times n plus one, is that always an even number?

It has to be, or the halving would leave a remainder and the whole formula would be suspect. Look at the two numbers being multiplied. They are neighbours. Neighbours never share a parity. One of any two consecutive numbers is even, always. For ten and eleven, it is the ten. For seven and eight, it is the eight. So one of the two factors is even, the product is even, and the halving is exact every single time.

Which is also why halving first is a habit worth breaking. For seven, halving first gives three and a half times eight, and you are carrying a fraction through a problem that has none. Multiply first. Then halve. Every number you write stays whole. Now a run that does not begin at one. Add every number from twenty-five to fifty-eight. The formula only knows about runs that start at one, so use two of them and subtract.

One to fifty-eight comes to seventeen hundred and eleven. Take away the part you do not want, which is one up to twenty-four. Not twenty-five. Twenty-four. Subtract the total up to twenty-five and you have thrown away the twenty-five as well, and your answer is short by exactly that. Three hundred, taken from seventeen hundred and eleven, is fourteen hundred and eleven. And how many numbers is that? Thirty-four, not thirty-three. Fifty-eight minus twenty-four, the same fencepost as the subtraction.

There is a second way to say all of this. Take the average of the two ends. Multiply by how many terms there are. For one to ten, the ends are one and ten, so the average is five and a half. Five and a half, ten times, is fifty-five. For twenty-five to fifty-eight, the average of the ends is forty-one and a half. Forty-one and a half, thirty-four times, is fourteen hundred and eleven. The same answer as before.

It is not a different rule. It is the pairing rule with the halving already folded in. Each pair is worth twice the average, and there are half as many pairs as terms. Does the average of the ends work on any list? Try nought, one, five, six, seven. The ends are nought and seven, the average is three and a half, and there are five terms. Three and a half, five times, is seventeen and a half.

The true total is nineteen. The estimate is short by one and a half. Notice that this list starts with a step of one and ends with a step of one. The ends look perfectly ordinary. It is the middle that misbehaves, and the ends cannot see the middle. The average of the ends is the average of the whole list only when the steps are all the same. Then, and not otherwise.

And one more limit worth stating plainly. Everything here is about the counting numbers, one, two, three, and up. It is not a formula for adding any evenly spaced list you like. Three quick uses. First. Add every two-digit multiple of three. Those are twelve, fifteen, and so on to ninety-nine. Divide each by three and you get the counting numbers four to thirty-three. So the total is three times five hundred and sixty-one, less three times six.

That is sixteen hundred and sixty-five, and there were thirty numbers. Second. Start adding one, two, three, and keep going. When does the running total first pass a thousand? At forty-four you have nine hundred and ninety. At forty-five you have a thousand and thirty-five. So the answer is forty-five. Third, and the prettiest. Which runs of consecutive counting numbers add to exactly one hundred? Two of them. Eighteen through twenty-two, and nine through sixteen. Search every starting point and there are no others.

All of it from one idea. Fold the list onto itself, and the untidy sum turns into a rectangle.

Where this fits

Taken from the notes each video was made from, not from the reading order — these are the ideas this one rests on and the ones that later rest on it.

Builds on

Either side of this one

The book

Open in a new tab