A2 · Lesson 12 · Sequences and geometric series
Infinitely many trips round a loop, and a finite answer
Feed a signal into a loop that passes 60% of it back around to the input. The signal goes in, 0.6 of it comes back and adds on, 0.6 of that comes back again, and so on forever. Infinitely many contributions, yet the total settles at exactly 2.5 times the input. Sums like this, where each term is the last one times a fixed ratio, are geometric series. They're behind feedback, echoes on cables, and the binary weights of a digital-to-analog converter.
Play
- The staircase is the running total after terms of . The dashed line is .
- Set to 0.5, then to 0.9. How many terms does it take to get close to the line each time?
- Change . Does it change how fast the staircase closes in?
Predict
A loop passes 60% of a signal back to its input, where it adds to the next pass. In total, how many times the input does the signal build up to?
2.5. The total is . The terms shrink fast enough that the sum settles. If the loop passed back 100% or more, the terms wouldn't shrink and the signal would grow without limit, which is how oscillators start.
Name it
Sequences
A sequence is a list of numbers . Two kinds come up constantly.
- Arithmetic: each term adds the same difference . The th term is , and the first terms add to , the number of terms times the average of the first and last.
- Geometric: each term multiplies by the same ratio . The th term is .
Geometric series
Add the first terms of a geometric sequence:
Multiply by and subtract; everything cancels except the ends: . So
When , shrinks toward zero as grows, and the infinite sum settles:
When the terms don't shrink, and the sum has no finite value.
How many terms to get close? The gap to the limit after terms is times the limit. To get within 1%, you need , so . With that's 7 terms; with , 44.
In circuits
- A loop with gain : a signal that goes round a loop, passing of itself back each time, totals times the input when . That's the first view of feedback, which C6 develops.
- Binary weights: a digital-to-analog converter adds of its reference, one term for each bit that's on. With every bit on, bits give of the reference, just short of all of it.
Worked example
Find to five terms, and forever.
Show the solution
- First term and ratio. , .
- Five terms.
- Forever.
- Compare. Five terms are already within of the limit.
Answer five terms sum to 5.8125, and the whole series to 6.
Worked example
A digital-to-analog converter has 8 bits and a 2.5 V reference. Its most significant bit adds half the reference, the next a quarter, and so on. What does it put out with every bit on?
Show the solution
- Name the series. It's a geometric series with V and , 8 terms.
- Sum it.
- Compare with the reference. That's one step (1 LSB) short of the reference: the output can reach of it but never all of it.
Answer with every bit on, it puts out 2.490 V.
Worked example
A digital filter's impulse response is 1, 0.9, 0.81, and so on, each value 0.9 times the last. What's its total, which sets the filter's gain for a steady input? How much of it do the first 20 values hold?
Show the solution
- Name the series. It's a geometric series with and .
- Total. A steady input of 1 comes out as 10.
- First 20 values. about 88% of the total.
- What the tail means. The tail matters: a filter like this takes many samples to settle, and that's the price of its smoothing.
Answer the total is 10, so a steady input comes out 10 times larger, and the first 20 values hold 8.78 of it, about 88%.
Check
A geometric sequence starts at 3 and multiplies by 2 each step. What is its 6th term?
Check
What is the sum of the first 7 terms of ?
Check
What is , forever?
Check
A loop passes 0.75 of a signal back to its input each time round. A steady input of 1 V goes in. What does the signal build up to?
Check
A resistor ladder's sections step up by 10 Ω, starting at 100 Ω. What do 25 sections add to, in series?
Check
A geometric series has ratio 0.7. How many terms until its sum is within 1% of the infinite total?
Check
A capacitor is charged toward 5 V in steps. Each step closes 10% of the gap that remains, starting from 0 V.
(a)
What is its voltage after 8 steps?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
How much does step 8 alone add?
(c)
After how many steps is it first within 1% of 5 V?
Check
Derive the sum of a geometric series, .
Step 1
Write out and subtract it from . Almost every term cancels. What is ?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Solve for .
Step 3
What does approach as grows, for ?
Explain why
Why does settle to a finite value when , but not when ?
With each term is a fixed fraction of the one before, so the terms shrink so fast that what's left to add after terms, , goes to zero. The partial sums close in on . With every term is 1, so after terms the sum is , which keeps growing however far you go.
Practice
Keep practicing
13 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.