---
title: Problem set 1
heading: "Problem set 1: completeness, sequences and series"
eyebrow: A14 · Problem set 1
type: problems
---

::: hook
These problems use lessons 1 to 5: suprema and completeness, the ε–N definition of a limit, monotone and Cauchy sequences, and series with their remainder bounds. Several ask for an N; give the smallest one that works.
:::

::: pool
pick: 12

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

## The set $\{\given{a} + \frac{\given{b}}{n} : n = 1, 2, \ldots\}$.

::: part
answer: a + b
tolerance: 0

### What's its supremum?

::: misses
- [any] The elements decrease; the first is largest.
:::
:::

::: part
answer: a
tolerance: 0

### What's its infimum?

::: misses
- [any] The limit as n grows; it's never reached.
:::
:::
:::

::: check
kind: parts
given: c = 7 | 13; e = 0.03 | 0.0011

## The sequence $\frac{\given{c}}{n}$ with ε = {e}.

::: part
answer: floor(c/e)
tolerance: 0

### Smallest N with $\lvert a_n\rvert < \varepsilon$ for all n > N?

::: misses
- [any] $\lfloor c/\varepsilon\rfloor$.
:::
:::

::: part
answer: floor(c/e) + 1
tolerance: 0

### And the first index n that's inside the band?

::: misses
- [any] One after N.
:::
:::
:::

::: check
kind: parts
given: e = 0.045 | 0.03 | 0.013 | 0.007 | 0.0013 | 0.00023

## The sequence $\frac{2n + 3}{n + 1} \to 2$.

::: part
answer: floor(1/e - 1)
tolerance: 0

### Smallest N for ε = {e}?

::: misses
- [any] $\lvert a_n - 2\rvert = \frac{1}{n + 1}$.
:::
:::

::: part
answer: 1/(floor(1/e - 1) + 2)
tolerance: 0.5%

### How far from 2 is the term just after N?

::: misses
- [any] $\frac{1}{n + 1}$ at n = N + 1.
:::
:::
:::

::: check
kind: parts
given: r = 0.8 | 0.95; e = 0.001 | 0.0000013

## The sequence $(\given{r})^n$.

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

### Smallest N with $r^n < \given{e}$ for all n > N?

::: misses
- [any] $\lfloor\ln\varepsilon/\ln r\rfloor$.
:::
:::

::: part
answer: r^(floor(ln(e)/ln(r)) + 1)
tolerance: 0.5%

### What's the first term below ε?

::: misses
- [any] $r^{N+1}$.
:::
:::
:::

::: check
kind: parts
given: c = 2..40 int

## $x_1 = 0$, $x_{n+1} = \sqrt{\given{c} + x_n}$.

::: part
answer: (1 + sqrt(1 + 4*c))/2
tolerance: 0.01%

### What's the limit?

::: misses
- [any] Solve $L = \sqrt{c + L}$.
:::
:::

::: part
answer: sqrt(c + sqrt(c))
tolerance: 0.01%

### What's $x_3$?

::: misses
- [any] $x_2 = \sqrt c$, then one more step.
:::
:::
:::

::: check
kind: parts
given: q = 0.5 | 0.7; d = 1 | 3; e = 0.0001 | 0.00000013

## A contraction with factor {q}, first step {d}.

::: part
answer: q^10/(1 - q)*d
tolerance: 0.5%

### What's the a priori bound after 10 steps?

::: misses
- [any] $\frac{q^n}{1 - q}d$.
:::
:::

::: part
answer: ceil(ln(e*(1 - q)/d)/ln(q))
tolerance: 0

### How many steps guarantee an error below {e}?

::: misses
- [any] Smallest n with $\frac{q^nd}{1 - q} < \varepsilon$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 4; r = 0.3 | -0.5; N = 4 | 9

## The geometric series $\sum_{k\ge 0}\given{a}(\given{r})^k$.

::: part
answer: a/(1 - r)
tolerance: 0.01%

### What's its sum?

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

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

### How far is the partial sum through k = {N} from the full sum?

::: misses
- [any] The tail $\frac{ar^{N+1}}{1 - r}$, in size.
:::
:::
:::

::: check
kind: parts
given: p = 2 | 3; n = 20 | 200

## The p-series $\sum 1/k^{\given{p}}$ after {n} terms.

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

### Upper bound on the tail, from $\int_n^\infty$?

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

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

### Lower bound on the tail, from $\int_{n+1}^\infty$?

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

::: check
kind: parts
given: e = 0.0003 | 0.000017; m = 3 | 6

## Alternating series and ratios.

::: part
answer: floor(1/e)
tolerance: 0

### Terms of $\sum\frac{(-1)^{k+1}}{k}$ needed for a guaranteed error below {e}?

::: misses
- [any] Need $\frac{1}{N + 1} < \varepsilon$.
:::
:::

::: part
answer: 0.5
tolerance: 0.5%

### Limit of $a_{k+1}/a_k$ for $a_k = k^{\given{m}}/2^k$?

::: misses
- [any] $\frac12(1 + 1/k)^m \to \frac12$.
:::
:::
:::

::: check
kind: parts
given: a = 3 | 8; c = 2 | 5; e = 0.0007 | 0.000031

## Limits and Cauchy bounds.

::: part
answer: a/c
tolerance: 0.01%

### $\lim\frac{\given{a}n^3 - n}{\given{c}n^3 + 7}$?

::: misses
- [any] Leading terms.
:::
:::

::: part
answer: floor(1/e)
tolerance: 0

### For $\sum 1/k^2$, with $\lvert a_m - a_n\rvert < \frac1n$, what N makes every later pair closer than {e}?

::: misses
- [any] $\lfloor 1/\varepsilon\rfloor$.
:::
:::
:::

::: check
kind: parts
given: a = 0.13 | 0.007; b = 20 | 50

## Archimedes and density.

::: part
answer: floor(b/a) + 1
tolerance: 0

### Smallest whole n with $n\cdot\given{a} > \given{b}$?

::: misses
- [any] $\lfloor b/a\rfloor + 1$.
:::
:::

::: part
answer: floor(b/a) + 1
tolerance: 0

### Smallest whole n with $\frac{1}{n} < \frac{\given{a}}{\given{b}}$?

::: misses
- [any] The same inequality, rearranged.
:::
:::
:::

::: check
kind: parts
given: k = 12 | 25; c = 3 | 7

## Bisection and suprema.

::: part
answer: 2^(-k)
tolerance: 0.5%

### Bisection on [1, 2]: bracket width after {k} halvings?

::: misses
- [any] $2^{-k}$.
:::
:::

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

### $\sup\{x : x^2 < \given{c}\}$?

::: misses
- [any] $\sqrt c$.
:::
:::
:::

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

## $S = \left\{\given{a} - \frac{\given{b}}{n} : n \ge 1\right\}$.

::: part
answer: a
tolerance: 0.5%

### What is sup S?

::: misses
- [a - b] That's the inf, at n = 1.
- [any] The terms increase toward a without reaching it.
:::
:::

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

### What is inf S?

::: misses
- [any] The first term.
:::
:::
:::

::: check
kind: parts
given: c = 2..30 int

## $x_1 = 0$, $x_{n+1} = \sqrt{\given{c} + x_n}$.

::: part
answer: (1 + sqrt(1 + 4*c))/2
tolerance: 0.5%

### What is the limit?

::: misses
- [sqrt(c)] The limit solves $L = \sqrt{c + L}$.
- [any] $L^2 - L - c = 0$.
:::
:::
:::

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

## Bound $\sum_{k>N}\frac{1}{k^2}$, with N = {N}.

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

### What upper bound does the integral test give?

::: misses
- [1/(N + 1)] That's the lower bound.
- [any] $\int_N^\infty x^{-2}dx$.
:::
:::
:::
:::
