Lesson
The theory β Sequence & Series Basics
A sequence is the list; a series is what you get by adding the list up. This page shows both at once β an is the nth item of the list, Sn is the running total of the first n of them β and confusing the two is the most common mistake in this topic.
What each symbol means
d- the common difference of an arithmetic sequence β what gets added each step.
2here, giving 3, 5, 7, 9, β¦ r- the common ratio of a geometric sequence β what it gets multiplied by. Switch mode and
r = 1.5gives 3, 4.5, 6.75, β¦ Sβ- the sum of the first n terms. For the arithmetic defaults,
Sβ = 80whileaβis only17.
Where the formula comes from
- Write the arithmetic sum forwards and then backwards, one under the other:
aβ + (aβ+d) + β― + anabovean + (anβd) + β― + aβ. - Add the two rows column by column. Every column gives the same total,
aβ + an, because each step up on one row is matched by a step down on the other β and there are n columns. - So twice the sum is
n(aβ + an), givingSn = (n/2)(aβ + an). At the defaults,(8/2)(3 + 17) = 80β the formula in the table above, and the trick a young Gauss is said to have used on the numbers 1 to 100. - Now switch the mode selector to geometric: the terms become 3, 4.5, 6.75, β¦ and both formulas in the table change. This sum needs a different trick, because its terms do not pair up β each is a multiple of the last, not a fixed step from it. Write the sum out, and underneath it write r times the same sum:
Sn = aβ + aβr + β― + aβrnβ1aboverΒ·Sn = aβr + aβrΒ² + β― + aβrn. - Subtract the second line from the first. Every term in the middle appears in both and cancels, leaving only the ends:
Sn β rΒ·Sn = aβ β aβrn. Factor both sides and divide by(1 β r):Sn = aβ(1 β rn)/(1 β r)β the expression the table shows in geometric mode, giving147.773438ataβ = 3,r = 1.5,n = 8.
- Assumes
- A constant difference or a constant ratio, forever. Any real sequence that merely looks arithmetic for a few terms will part company from these formulas immediately.
- Breaks when
- The arithmetic formula has no failure of this kind:
Sn = (n/2)(aβ + an)divides only by 2, and 2 is never zero. The geometric one divides by(1 β r), which is exactly why it catches people. Switch to geometric and setr = 1: the sequence becomes 3, 3, 3, β¦, and the formula shown changes toSn = nΒ·aβ, giving8 Γ 3 = 24. That is not a patch, it is the correct limit β when nothing grows, the sum is just the term repeated.
Practice
Check yourself
Predict the answer first, then use the controls above to find out. Reveal only after you have committed to a guess β that is what makes it practice.
-
Press geometric decay, then set the ratio to
0.99, then to1.01. The eight terms barely differ between the two. Which one has a finite infinite sum β and can you tell from the terms on screen?Set it up:
Show answer
0.99converges and1.01does not, and nothing in the terms or the eight-term sum gives it away: eighth terms of18.641307against21.442707, sums of154.510611against165.713411. Only the infinite-sum row flips, fromSβ = 2000to Diverges. Convergence is settled by the ratio alone, and no finite stretch of a sequence can reveal it. -
Stay at
r = 0.99, where the infinite sum is2000and eight terms have reached154.510611. Guess how far along the way that is.Set it up:
Show answer
About 7.7% β under a thirteenth. Comparer = 0.7, where the same eight terms reach62.823466of an infinite66.666667, or 94%. Both series converge. One is essentially finished after eight terms and the other has hardly begun, so convergence promises a destination and says nothing whatever about the speed of arrival. -
Press geometric growth and push n to
30. The thirtieth term on its own is255668.078977. Predict the sum of all thirty.Set it up:
Show answer
767000.236932β almost exactly three times that single last term, so the twenty-nine terms of history together are worth only twice the newest one. Read the sum backwards to see why: atr = 1.5each term is two thirds of the one after it, making the totalaββΒ·(1 + 2/3 + 4/9 + β―) = 3aββ, a geometric series in its own right.
Problems solved in full
-
The 8 terms adding up to 80 without adding 8 numbers 5 steps
The 8 terms 3, 5, 7, 9, 11, 13, 15, 17 add up to 80. Get there without adding 8 numbers, then work out what happens to the sum when the list is twice as long.
-
The term formula counts steps, not terms. Getting from a1 to a8 takes 7 steps of 2, not 8, and that off-by-one is the only awkward part of the whole topic.
-
Pair the list from the outside in. 3 and 17 make 20, and so do 5 and 15, 7 and 13, 9 and 11. They have to: moving one place right adds 2 and moving one place left takes 2 away, so each pair loses exactly what the other gains.
-
8 terms make 4 pairs, and every pair is worth 20. Nobody added 8 numbers.
-
Nothing in that argument used 3 or 2. Any arithmetic list of n terms splits into n/2 pairs each worth a1 + an, and for this list the algebra collapses to n(n + 2).
-
Test the closed form somewhere it matters. Doubling the list to 16 terms gives 16 Γ 18 = 288, which is 3.6 times the sum of 8 terms rather than twice it.
Answer
The panel prints a8 = 17 and S8 = 80, and the 4 pairs of 20 are the reason. Doubling the length multiplies the sum by 4(n + 1)/(n + 2), which is 3.6 here and creeps toward 4 as the list grows β an arithmetic sum is quadratic in the number of terms, because a longer list is also a list of bigger terms. Push the closed form past anything on the page and it stays sharp: n(n + 2) hits 9999 exactly at n = 99, and first clears 10000 at n = 100. This page will not take more than 30 terms, where the sum is only 960, so almost everything this sequence does happens past the last value the input accepts.
-
-
Where pairing the ends broke on a sequence that returns 86.588344 6 steps
Pairing the ends worked on an arithmetic list. Try it on 20, 14, 9.8, 6.86, 4.802, 3.3614, 2.35298, 1.647086 and it returns 86.588344 β more than this sequence can reach if you let it run forever. Find the real sum, and find where the pairing broke.
-
Check the pairs instead of assuming them. The outer pair is 21.647086 and the next one in is 16.35298. Stepping inward multiplies one side by 0.7 and divides the other by 0.7, and a factor gained is not a factor lost β that cancellation only works for adding and subtracting.
-
What does work is a shift. Write the sum out, then write 0.7 times the sum underneath it, lined up one place to the right. Every term in the second row is already sitting in the first.
-
Subtract the rows and everything in the middle annihilates. Only the two overhanging ends survive: the leading 20 from the top and the trailing 20 Γ 0.78 from the bottom. Divide by 1 β r and you have a closed form for any first term and any ratio.
-
Substitute. 0.78 = 0.05764801, so the numerator is 20 Γ 0.94235199 and the divisor is 1 β 0.7 = 0.3.
-
Now let the list run on. Each extra term multiplies rn by 0.7, so it heads to 0 and the numerator settles at 1. The sum has a ceiling, which is the one thing an arithmetic series can never have.
-
The gap between the 8-term sum and that ceiling is 3.843201, and it is exactly 66.666667 Γ 0.78. So the fraction of the total still missing after n terms is rn β the same number that measures how fast the terms shrink also measures how much is left.
Answer
The panel prints a8 = 1.647086, S8 = 62.823466 and a ceiling of Sβ = 66.666667. The missing-fraction result is what to keep, because it turns βconvergesβ from a promise into a schedule: 0.7n β€ 0.01 needs n β₯ 12.9114, so 13 terms puts you within 1% of everything this series will ever be. Move the ratio and the schedule moves violently while the ceiling stays finite β at r = 0.9 that same 1% costs 44 terms, at r = 0.99 it costs 459. And the 86.588344 the pairing produced was refutable before any of this: a partial sum of positive terms cannot beat the total of all of them, so a method that says otherwise is wrong on sight.
-
Learning path
Money over time
References (1)
- On the Gauss schoolroom story, which the derivation deliberately hedges: B. Hayes, "Gauss's Day of Reckoning." American Scientist 94(3), 200, 2006.