---
title: Problem set 6
heading: "Problem set 6: sequences, series and feedback"
eyebrow: A6 · Problem set 6
type: problems
---

::: hook
These problems use lessons 22 to 24: sequences and their limits, series and their partial sums, and geometric series in feedback loops. Most come down to a ratio: what each term or each trip around the loop multiplies by.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 2 | 3 | 5; b = 1 | 4

## Find the limits of these sequences.

::: part
answer: a/b
tolerance: 0.5%

### $\displaystyle\frac{\given{a}n^2 + 1}{\given{b}n^2 - n}$

::: misses
- [b/a] Upside down.
- [any] Divide the top and bottom by $n^2$.
:::
:::

::: part
answer: exp(a)
tolerance: 0.5%

### $\left(1 + \frac{\given{a}}{n}\right)^n$

::: misses
- [any] Its log tends to {a}.
:::
:::
:::

::: check
kind: parts
given: T = 5 | 8 | 10

## The harmonic sum grows like $H_N \approx \ln N + 0.5772$.

::: part
answer: exp(T - 0.5772)
tolerance: 3%

### About how many terms does it take to reach {T}?

::: misses
- [exp(T)] Subtract Euler's constant first.
- [any] Solve $\ln N + 0.5772 = T$.
:::
:::
:::

::: check
kind: parts
given: c = 2 | 5 | 10; x0 = 1 | 3

## The iteration $x_{n+1} = \frac12\left(x_n + \frac{\given{c}}{x_n}\right)$ starts at {x0}.

::: part
answer: 0.5*(x0 + c/x0)
tolerance: 0.5%

### What is $x_1$?

::: misses
- [any] Put $x_0$ in.
:::
:::

::: part
answer: sqrt(c)
tolerance: 0.5%

### What does it converge to?

::: misses
- [c/2] A fixed point satisfies $x = \frac12(x + c/x)$, so $x^2 = c$.
- [any] Solve the fixed-point equation.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 5; r = 0.3 | 0.6; N = 5 | 10

## A geometric series starts at {a} with ratio {r}.

::: part
answer: a*(1 - r^N)/(1 - r)
tolerance: 0.5%

### What is the sum of its first {N} terms?

::: misses
- [any] $a\frac{1 - r^N}{1 - r}$.
:::
:::

::: part
answer: a*r^N/(1 - r)
tolerance: 0.5%

### How much is left in the tail after them?

::: misses
- [a*r^N] The tail is itself a geometric series: divide by $1 - r$.
- [any] The infinite sum minus the partial sum.
:::
:::
:::

::: check
kind: parts
given: A = 1000 | 100000; b = 0.01 | 0.1

## An amplifier has open-loop gain {A} and feedback fraction {b}.

::: part
answer: A/(1 + A*b)
tolerance: 0.5%

### What is its closed-loop gain?

::: misses
- [any] $\frac{A}{1 + A\beta}$.
:::
:::

::: part
answer: 100/(1 + A*b)
tolerance: 0.5%

### By what percentage does the closed-loop gain fall short of $1/\beta$?

::: misses
- [any] $\frac{1/\beta - G}{1/\beta} = \frac{1}{1 + A\beta}$.
:::
:::
:::

::: check
kind: parts
given: A = 1000 | 10000; b = 0.01 | 0.05; d = 10 | 30

## The same kind of amplifier ($A$ = {A}, $\beta$ = {b}) loses {d}% of its open-loop gain as it warms.

::: part
answer: d/(1 + A*b)
tolerance: 1%

### By about what percentage does its closed-loop gain change?

::: misses
- [d] The feedback divides the change by $1 + A\beta$.
- [any] Sensitivity $\frac{1}{1 + A\beta}$ times {d}%.
:::
:::
:::

::: check
kind: parts
given: x = 0.27 | 0.36 | 0.45

## A decimal repeats the two digits of {x} forever: for 0.27, that's 0.272727…

::: part
answer: 100*x/99
tolerance: 0.01%

### What number is it?

::: misses
- [any] $\frac{x}{1 - 0.01}$.
:::
:::
:::

::: check
kind: parts
given: N = 5 | 9 | 10 | 20 | 50 | 99 | 100

## Telescope $\displaystyle\sum_{n=1}^N\frac{1}{n(n + 1)}$.

::: part
answer: 1 - 1/(N + 1)
tolerance: 0.5%

### What is the sum up to $N$ = {N}?

::: misses
- [any] $\frac1n - \frac{1}{n + 1}$ telescopes.
:::
:::

::: part
answer: 1/(N + 1)
tolerance: 0.5%

### How far is it from the infinite sum?

::: misses
- [any] The infinite sum is 1.
:::
:::
:::

::: check
kind: parts
given: g = 0.5 | 0.8 | 0.9; d = 1 | 10

## An echo returns {g} of the signal every {d} ms.

::: part
answer: 1/(1 - g)
tolerance: 0.5%

### What is the total of all the echoes, counting the original as 1?

::: misses
- [g/(1 - g)] That leaves out the original.
- [any] A geometric series with ratio {g}.
:::
:::

::: part
answer: d*ceil(ln(0.001)/ln(g))
unit: ms
tolerance: 0.5%

### After how long are the echoes below 0.1% of the original?

::: misses
- [any] The first $n$ with $g^n < 0.001$, times {d} ms.
:::
:::
:::

::: check
kind: parts
given: r = 0.5 | 0.9; e = 0.01 | 0.001

## A sequence $x_n = r^n$ with $r$ = {r}.

::: part
answer: ceil(ln(e)/ln(r))
tolerance: 0

### What is the first $n$ with $x_n < \given{e}$?

::: misses
- [floor(ln(e)/ln(r))] One more: at that $n$ it's still just above.
- [any] Solve $r^n < e$.
:::
:::
:::

::: check
kind: parts
given: a = 1..10 int

## A digital filter computes $y_n = 0.5y_{n-1} + x_n$, starting from $y_{-1} = 0$, with a steady input $x_n$ = {a}.

::: part
answer: 2*a
tolerance: 0.5%

### What does $y_n$ settle to?

::: misses
- [a] The feedback adds: the steady state is $a/(1 - 0.5)$.
- [any] Set $y = 0.5y + a$.
:::
:::

::: part
answer: a*(2 - 0.5^4)
tolerance: 0.5%

### What is $y_3$?

::: misses
- [any] $a(1 + 0.5 + 0.25 + 0.125)$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; b = 2 | 3

## Sum $\displaystyle\sum_{n=0}^\infty\left(\frac{1}{\given{b}}\right)^n + \sum_{n=0}^\infty\left(\frac{-1}{\given{b}}\right)^n$.

::: part
answer: b/(b - 1) + b/(b + 1)
tolerance: 0.5%

### What is it?

::: misses
- [any] Two geometric series: $\frac{1}{1 - 1/b}$ and $\frac{1}{1 + 1/b}$.
:::
:::
:::

::: check
kind: parts
given: Gm = 0.5 | 0.8; L = 2 | 4

## A ball (or a signal in a mismatched cable) loses height so that each bounce reaches {Gm} of the last. It's dropped from {L} m.

::: part
answer: L*(1 + Gm)/(1 - Gm)
unit: m
tolerance: 0.5%

### What total distance does it travel?

::: misses
- [L/(1 - Gm)] Each bounce goes up and comes back down: count both.
- [any] $L + 2L(g + g^2 + \cdots)$.
:::
:::
:::

::: check
kind: parts
given: k = 1 | 2 | 4

## Consider $a_n = \frac{n^{\given{k}}}{2^n}$.

::: part
answer: 0.5
tolerance: 0.5%

### What does $a_{n+1}/a_n$ approach?

::: misses
- [any] $\frac{(n + 1)^k}{2n^k} \to \tfrac12$.
:::
:::

::: part
answer: (10^k/2^10)
tolerance: 0.5%

### What is $a_{10}$?

::: misses
- [any] Compute it.
:::
:::
:::

::: check
kind: parts
given: x = 0.2 | 0.3 | 0.5 | 0.6 | 0.8 | 0.9

## Use the geometric series $\frac{1}{1 - x} = \sum x^n$ at $x$ = {x}.

::: part
answer: 1/(1 - x)
tolerance: 0.5%

### What is its sum?

::: misses
- [any] $\frac{1}{1 - x}$.
:::
:::

::: part
answer: x^10/(1 - x)
tolerance: 0.5%

### What is left after 10 terms?

::: misses
- [any] The tail from $x^{10}$.
:::
:::
:::
:::
