---
title: Problem set 7
heading: "Problem set 7: sequences and series"
eyebrow: A6 · Problem set 7
type: problems
---

::: hook
These problems use lessons 22 to 31: sequences and their limits, geometric series and feedback, and the tests for convergence. For each series, decide first which test fits, then do the work.
:::

::: pool
pick: 12

::: check
kind: parts
given: r = 0.6 | 0.9; g = 2 | 5

## A digital filter $y_n = \given{r}\,y_{n-1} + (1 - \given{r})x_n$ starts at $y_0 = 0$, and its input steps to $x_n = \given{g}$.

::: part
answer: g

### What value does the output settle to?

::: misses
- [any] At the fixed point $y = ry + (1 - r)g$.
:::
:::

::: part
answer: ceil(ln(0.001)/ln(r))

### How many samples until it's within 0.1% of that value?

::: misses
- [ceil(ln(0.01)/ln(r))] That's 1%. You need 0.1%.
- [any] Solve $r^n < 0.001$, rounding up.
:::
:::
:::

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

## Find these limits.

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

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

::: misses
- [any] Divide by $n^2$.
:::
:::

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

### $\displaystyle\lim_{n\to\infty}\left(1 + \frac{\given{a}}{\given{b}n}\right)^n$

::: misses
- [1] $1^\infty$ is indeterminate.
- [any] $\left(1 + \frac{x}{n}\right)^n \to e^x$.
:::
:::
:::

::: check
kind: parts
given: A = 100 | 1000; beta = 0.01 | 0.1

## An amplifier of gain {A} has negative feedback with $\beta$ = {beta}.

::: part
answer: A/(1 + A*beta)
tolerance: 0.1%

### What is the closed-loop gain?

::: misses
- [1/beta] That's the limit as $A \to \infty$. Use the full formula.
- [any] $\frac{A}{1 + A\beta}$.
:::
:::

::: part
answer: 10/(1 + A*beta)
tolerance: 1%

### $A$ drops by 10%. By about what percent does the closed-loop gain drop?

::: misses
- [10] Feedback divides the drift by $1 + A\beta$.
- [any] The drift shrinks by the factor $1 + A\beta$.
:::
:::
:::

::: check
kind: parts
given: h = 2 | 5; f = 0.5 | 0.8

## A ball dropped from {h} m bounces to {f} of its previous height each time.

::: part
answer: h + 2*h*f/(1 - f)
unit: m
tolerance: 0.5%

### What total distance does it travel?

::: misses
- [h/(1 - f)] Each bounce goes up and comes down: count every rise twice.
- [any] The drop, plus twice the sum of the rises.
:::
:::

::: part
answer: ceil(ln(0.01)/ln(f))

### After how many bounces is its peak height below 1% of {h} m?

::: misses
- [any] Solve $f^n < 0.01$.
:::
:::
:::

::: check
kind: parts
given: p = 3 | 4; N = 5 | 10

## Consider $\sum_{n=1}^\infty 1/n^{\given{p}}$.

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

### After {N} terms, what is the integral bound on the tail, $\int_{\given{N}}^\infty x^{-\given{p}}dx$?

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

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

### What is the integral test's lower bound on the whole sum?

::: misses
- [1 + 1/(p - 1)] That's the upper bound.
- [any] $\int_1^\infty x^{-p}dx$.
:::
:::
:::

::: check
kind: parts
given: N = 1000 | 2000 | 5000 | 10000 | 50000 | 100000

## The harmonic series.

::: part
answer: ln(N) + 0.5772
tolerance: 1%

### Estimate $\sum_{n=1}^{\given{N}}\frac{1}{n}$.

::: misses
- [ln(N)] Add Euler's constant, 0.5772.
- [any] $\ln N + 0.5772$.
:::
:::

::: part
answer: ln(2*N) - ln(N)
tolerance: 1%

### Estimate $\sum_{n=\given{N}+1}^{2\given{N}}\frac{1}{n}$, the next {N} terms.

::: misses
- [any] The difference of two partial sums: $\ln 2N - \ln N$.
:::
:::
:::

::: check
kind: parts
given: c = 3 | 4; k = 2 | 5

## Use the ratio test on $\sum\dfrac{n^{\given{k}}}{\given{c}^n}$ and $\sum\dfrac{\given{c}^n}{n!}$.

::: part
answer: 1/c
tolerance: 0.5%

### What is the ratio limit for the first?

::: misses
- [c] Upside down.
- [any] $\left(\frac{n + 1}{n}\right)^k\frac{1}{c}$.
:::
:::

::: part
answer: exp(c) - 1
tolerance: 0.5%

### What does the second add up to, from $n = 1$?

::: misses
- [exp(c)] That starts at $n = 0$.
- [any] The series for $e^c$ minus its first term.
:::
:::
:::

::: check
kind: parts
given: r = 0.2 | 0.25 | 0.4 | 0.5 | 0.6 | 0.75 | 0.8

## Sums involving $n$.

::: part
answer: r/(1 - r)^2
tolerance: 0.5%

### $\displaystyle\sum_{n=1}^\infty n\,(\given{r})^n$

::: misses
- [r/(1 - r)] That's without the factor $n$.
- [any] $\frac{r}{(1 - r)^2}$.
:::
:::

::: part
answer: r/(1 - r)^2 - r/(1 - r)
tolerance: 0.5%

### $\displaystyle\sum_{n=1}^\infty (n - 1)(\given{r})^n$

::: misses
- [any] Split it: $\sum nr^n - \sum r^n$.
:::
:::
:::

::: check
kind: parts
given: x = 0.1 | 0.2 | 0.3 | 0.4 | 0.5

## Estimate $\ln(1 + \given{x}) = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots$.

::: part
answer: x - x^2/2 + x^3/3
tolerance: 0.01%

### What do three terms give?

::: misses
- [any] Add the three terms.
:::
:::

::: part
answer: x^4/4
tolerance: 0.5%

### What is the alternating series bound on the error?

::: misses
- [x^3/3] That's the last term used.
- [any] The next term.
:::
:::
:::

::: check
kind: parts
given: eps = 0.05 | 0.01 | 0.001 | 0.0001 | 0.00001

## You sum $1 - \frac{1}{3} + \frac{1}{5} - \cdots$ and $1 - \frac{1}{2!} + \frac{1}{4!} - \cdots$ to within {eps}.

::: part
answer: 1/(2*eps)

### How many terms does the first need, by the alternating series bound?

::: misses
- [any] Solve $\frac{1}{2N + 1} \le \varepsilon$.
:::
:::

::: part
answer: 2 + step(1/24 - eps) + step(1/720 - eps) + step(1/40320 - eps)

### How many terms does the second need? (Its terms are $\frac{1}{0!}, \frac{1}{2!}, \frac{1}{4!}, \frac{1}{6!}, \ldots$)

::: misses
- [any] Find the first left-out term below {eps}: $\frac{1}{4!} = 0.042$, $\frac{1}{6!} = 0.0014$, $\frac{1}{8!} = 0.000025$.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 3; N = 99 | 399

## Two series that converge for different reasons.

::: part
answer: 1/sqrt(N + 1)
tolerance: 0.05%

### $\sum\dfrac{(-1)^n}{\sqrt{n}}$ converges only conditionally. After {N} terms, what is the alternating series bound on the error?

::: misses
- [1/sqrt(N)] The bound is the first term left out.
- [any] $\frac{1}{\sqrt{N + 1}}$.
:::
:::

::: part
answer: k
tolerance: 0.5%

### For $\sum\dfrac{\given{k}n + 1}{n^3}$, limit comparison with $\sum\frac{1}{n^2}$ gives what ratio limit?

::: misses
- [any] $\frac{(kn + 1)/n^3}{1/n^2}$.
:::
:::
:::

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

## Use the root test.

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

### What is the limit for $\sum\left(\dfrac{\given{a}n + 2}{\given{b}n}\right)^n$?

::: misses
- [b/a] Upside down.
- [any] Take the $n$th root.
:::
:::

::: part
answer: 0

### What is the limit for $\sum\left(\dfrac{\given{a}}{n}\right)^n$?

::: misses
- [a] The root is $\frac{a}{n}$, which still depends on $n$.
- [any] $\sqrt[n]{(a/n)^n} = a/n$.
:::
:::
:::

::: check
kind: parts
given: p = 0.5 | 1.5 | 3

## The series $\sum\frac{(-1)^n}{n^{\given{p}}}$.

::: part
answer: 2 - step(p - 1.2)
tolerance: 0

### Does it converge absolutely? Answer 1 for yes, 2 for no.

::: misses
- [any] Absolutely when $\sum\frac{1}{n^p}$ converges.
:::
:::
:::

::: check
kind: parts
given: r = 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6

## Sums of $n^kr^n$.

::: part
answer: r/(1 - r)^2
tolerance: 0.5%

### $\sum_{n=1}^\infty n\,\given{r}^n$

::: misses
- [any] $\frac{r}{(1 - r)^2}$.
:::
:::

::: part
answer: r*(1 + r)/(1 - r)^3
tolerance: 0.5%

### $\sum_{n=1}^\infty n^2\given{r}^n$

::: misses
- [any] $\frac{r(1 + r)}{(1 - r)^3}$.
:::
:::
:::

::: check
kind: parts
given: s0 = 0.7 | 0.6; d1 = -0.1 | -0.05; d2 = 0.08 | 0.04

## Three partial sums are {s0}, $\given{s0} + \given{d1}$ and $\given{s0} + \given{d1} + \given{d2}$.

::: part
answer: s0 + d1 + d2 - d2^2/(d2 - d1)
tolerance: 0.01%

### What does Aitken's formula give?

::: misses
- [any] $S_2 - \frac{(S_2 - S_1)^2}{(S_2 - S_1) - (S_1 - S_0)}$.
:::
:::
:::
:::
