---
title: Problem set 6
heading: "Problem set 6: sequences of functions"
eyebrow: A14 · Problem set 6
type: problems
---

::: hook
These problems use lessons 25 to 28: pointwise and uniform convergence, what uniform convergence preserves, power series, and the Weierstrass approximation theorem.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 0.6 | 0.85; n = 10 | 40; e = 0.0003 | 0.000002

## $x^n$ on [0, {a}].

::: part
answer: a^n
tolerance: 0.5%

### Sup norm for n = {n}?

::: misses
- [any] $a^n$.
:::
:::

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

### Smallest n with sup norm below {e}?

::: misses
- [any] $a^n < \varepsilon$.
:::
:::
:::

::: check
kind: parts
given: n = 16 | 900; e = 0.0071 | 0.0009

## $\frac{x}{1 + nx^2}$ on ℝ.

::: part
answer: 1/(2*sqrt(n))
tolerance: 0.1%

### Sup norm for n = {n}?

::: misses
- [any] At $x = 1/\sqrt n$.
:::
:::

::: part
answer: floor(1/(4*e^2)) + 1
tolerance: 0

### Smallest n with sup norm below {e}?

::: misses
- [any] $\frac{1}{2\sqrt n} < \varepsilon$.
:::
:::
:::

::: check
kind: parts
given: n = 3 | 30; N = 50 | 500

## Bumps and the M-test.

::: part
answer: exp(-1)
tolerance: 0.1%

### $\sup_{x\ge 0}\given{n}xe^{-\given{n}x}$?

::: misses
- [any] The same for every n.
:::
:::

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

### Worst error of $\sum_{k\le \given{N}}\frac{\cos kx}{k^2}$, by the bound $\frac1N$ on the tail?

::: misses
- [any] $\sum_{k>N}1/k^2 < 1/N$.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 4; L = 1 | 2; s = 0.003 | 0.04

## Spikes and integrals.

::: part
answer: 1 - exp(-n^2)
tolerance: 0.01%

### $\int_0^12n^2xe^{-n^2x^2}dx$ for n = {n}?

::: misses
- [any] $1 - e^{-n^2}$.
:::
:::

::: part
answer: L*s
tolerance: 0.1%

### On an interval of length {L} with sup error {s}, how far apart can the integrals be?

::: misses
- [any] Length times sup.
:::
:::
:::

::: check
kind: parts
given: n = 20 | 200; x = 0.4 | 0.75

## $f_n = \frac{\sin(n^2x)}{n}$.

::: part
answer: 1/n
tolerance: 0.1%

### $\lVert f_n\rVert_\infty$ for n = {n}?

::: misses
- [any] $\frac1n$.
:::
:::

::: part
answer: n*cos(n^2*x)
tolerance: 0.5%

### $f_n'(\given{x})$?

::: misses
- [any] $n\cos(n^2x)$.
:::
:::
:::

::: check
kind: parts
given: x = 0.3 | -0.6; y = 0.5 | 0.8

## Term-by-term integration.

::: part
answer: -ln(1 - x)
tolerance: 0.01%

### $\sum_{k\ge 1}\frac{x^k}{k}$ at x = {x}?

::: misses
- [any] $-\ln(1 - x)$.
:::
:::

::: part
answer: atan(y)
tolerance: 0.01%

### $\sum_{k\ge 0}\frac{(-1)^ky^{2k+1}}{2k + 1}$ at y = {y} (integrate $\frac{1}{1 + t^2}$)?

::: misses
- [any] $\arctan y$.
:::
:::
:::

::: check
kind: parts
given: c = 3 | 0.25; m = 2 | 4; a = 2.5 | 6

## Radii of convergence.

::: part
answer: c
tolerance: 0.01%

### $\sum\frac{k^{\given{m}}x^k}{(\given{c})^k}$?

::: misses
- [any] R = c.
:::
:::

::: part
answer: a
tolerance: 0.01%

### The series of $\frac{1}{\given{a}^2 + x^2}$ about 0?

::: misses
- [any] Distance to $\pm ja$.
:::
:::
:::

::: check
kind: parts
given: b = 2 | 7; c = -1 | 0.5; x = 0.6 | 0.85; N = 4 | 12

## Centers and errors.

::: part
answer: abs(b - c)
tolerance: 0.01%

### Radius of the series of $\frac{1}{x - \given{b}}$ about {c}?

::: misses
- [any] $\lvert b - c\rvert$.
:::
:::

::: part
answer: x^(2*N + 2)/(1 + x^2)
tolerance: 0.5%

### Error of the $\frac{1}{1 + x^2}$ series through $x^{2N}$, N = {N}, at x = {x}?

::: misses
- [any] $\frac{x^{2N+2}}{1 + x^2}$.
:::
:::
:::

::: check
kind: parts
given: n = 15 | 300; e = 0.0017 | 0.00011

## Bernstein polynomials of $x^2$.

::: part
answer: 1/(4*n)
tolerance: 0.1%

### Largest error for degree {n}?

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

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

### Smallest degree for error below {e}?

::: misses
- [any] $n > \frac{1}{4\varepsilon}$.
:::
:::
:::

::: check
kind: parts
given: w = 4 | 9; n = 30 | 600; x = 0.2 | 0.7

## Bernstein bounds and values.

::: part
answer: w^2/(8*n)
tolerance: 0.1%

### Error bound for $\cos(\given{w}x)$, degree {n}?

::: misses
- [any] $\frac{\omega^2}{8n}$.
:::
:::

::: part
answer: x^2 + x*(1 - x)/n
tolerance: 0.01%

### $B_n(x^2)$ at x = {x} for degree {n}?

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

::: check
kind: parts
given: x = 0.5 | 0.9; n = 6 | 25; a = 3 | -2; b = 2 | 5

## More Bernstein.

::: part
answer: (1 - x + x*exp(1/n))^n
tolerance: 0.01%

### $B_n(e^x)$ at x = {x}, degree {n}?

::: misses
- [any] $(1 - x + xe^{1/n})^n$.
:::
:::

::: part
answer: a*x + b
tolerance: 0.01%

### $B_n$ of $\given{a}x + \given{b}$ at x = {x}?

::: misses
- [any] Lines are reproduced exactly.
:::
:::
:::

::: check
kind: parts
given: e = 0.0001 | 0.000001; x = 0.95 | 0.6

## How many terms?

::: part
answer: ceil((ln(e*(1 + x^2))/ln(x) - 2)/2)
tolerance: 0

### Smallest N for an error below {e} at x = {x} in the $\frac{1}{1 + x^2}$ series?

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

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

### For comparison: $\sum_{k\ge 1}x^{2k}$ at x = {x}?

::: misses
- [any] Geometric with ratio $x^2$.
:::
:::
:::

::: check
kind: parts
given: n = 1 | 4 | 9 | 16 | 25 | 100

## $f_n(x) = \frac{x}{1 + nx^2}$.

::: part
answer: 1/(2*sqrt(n))
tolerance: 0.5%

### What is its sup norm on [0, ∞)?

::: misses
- [any] At $x = 1/\sqrt n$.
:::
:::
:::

::: check
kind: parts
given: n = 10 | 100; e = 0.5 | 0.1

## The family $x^n$ near x = 1.

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

### What δ does $x^{\given{n}}$ need at 1 for ε = {e}?

::: misses
- [any] Solve $x^n = 1 - \varepsilon$.
:::
:::
:::

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

## $\sum(\given{a}^k + \given{b}^k)x^k$.

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

### What is its radius of convergence?

::: misses
- [1/a] The faster growth wins.
- [any] $\lim(a^k + b^k)^{1/k} = b$.
:::
:::
:::
:::
