---
title: Problem set 5
heading: "Problem set 5: derivatives, integrals and improper integrals"
eyebrow: A14 · Problem set 5
type: problems
---

::: hook
These problems use lessons 15 to 22: the mean value theorem, Taylor's theorem with remainder, the Riemann integral and its sums, the fundamental theorem, improper integrals, differentiating under the integral sign, and the lab's computations. Each bound asked for is the one the stated theorem gives, even when a sharper one exists.
:::

::: pool
pick: 12

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

## Mean value points on [{a}, {b}].

::: part
answer: (a + b)/2
tolerance: 0.5%

### Where is the mean value point for $x^2$?

::: misses
- [any] $2c = \frac{b^2 - a^2}{b - a} = a + b$.
:::
:::

::: part
answer: sqrt((a^2 + a*b + b^2)/3)
tolerance: 0.5%

### And for $x^3$?

::: misses
- [any] $3c^2 = \frac{b^3 - a^3}{b - a} = a^2 + ab + b^2$.
:::
:::
:::

::: check
kind: parts
given: L = 2 | 5; d = 0.01 | 0.001

## A function has $\lvert f'\rvert \le$ {L}, and its input is off by at most {d}.

::: part
answer: L*d
tolerance: 0.5%

### How far off can the output be?

::: misses
- [d/L] Multiply: the output moves at most L times as far.
- [any] By the mean value theorem, $\lvert\Delta f\rvert \le L\lvert\Delta x\rvert$.
:::
:::
:::

::: check
kind: parts
given: x = 0.5 | 1 | 0.2

## $\sin x \approx x - \frac{x^3}{6}$ at x = {x}.

::: part
answer: x^5/120
tolerance: 0.5%

### What bound does Taylor's theorem give on the error?

::: misses
- [x^4/24] The $x^4$ term of sine is zero; the remainder starts at $x^5$.
- [any] $\frac{\lvert x\rvert^5}{5!}$.
:::
:::

::: part
answer: abs(sin(x) - x + x^3/6)
tolerance: 1%

### What is the actual error?

::: misses
- [any] Compute $\sin x - x + \frac{x^3}{6}$.
:::
:::
:::

::: check
kind: parts
given: f = 6 | 120 | 5040

## The degree-n Taylor polynomial of $e^x$ at 0 is used at x = 1, where (n + 1)! = {f}.

::: part
answer: exp(1)/f
tolerance: 0.5%

### What is the Lagrange bound on its error?

::: misses
- [1/f] Use M = e on [0, 1].
- [any] $\frac{e}{(n + 1)!}$.
:::
:::
:::

::: check
kind: parts
given: n = 4 | 10 | 100

## Riemann sums for $x^2$ on [0, 1] with {n} equal strips.

::: part
answer: (n + 1)*(2*n + 1)/(6*n^2)
tolerance: 0.5%

### What is the upper sum?

::: misses
- [any] $\frac{1}{n^3}\sum_{k=1}^nk^2$.
:::
:::

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

### What is U − L?

::: misses
- [any] $\frac{f(1) - f(0)}{n}$ for an increasing function.
:::
:::
:::

::: check
kind: parts
given: x = 1 | 1.5; c = 1 | 3

## $F(x) = \int_0^{x^2}\sin(\given{c}t)\,dt$.

::: part
answer: 2*x*sin(c*x^2)
tolerance: 0.5%

### What is F′ at x = {x}?

::: misses
- [sin(c*x^2)] The chain rule multiplies by the inner derivative 2x.
- [any] $f(x^2) \cdot 2x$.
:::
:::
:::

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

## $f(t) = t^2 + \given{c}$ on [0, {b}].

::: part
answer: b^3/3 + c*b
tolerance: 0.5%

### What is its integral?

::: misses
- [any] $\frac{b^3}{3} + cb$.
:::
:::

::: part
answer: b^2/3 + c
tolerance: 0.5%

### What is its average value?

::: misses
- [any] Integral over length.
:::
:::
:::

::: check
kind: parts
given: C = 10 | 47; I = 1 | 2; tau = 0.5 | 1; t = 1 | 2

## A {C} µF capacitor at 0 V is charged by $\given{I}e^{-t/\tau}$ mA with τ = {tau} ms.

::: part
answer: I*tau/C*(1 - exp(-t/tau))
unit: V
tolerance: 0.5%

### What is its voltage at t = {t} ms?

::: misses
- [I*tau/C] That's the final voltage; it hasn't arrived yet.
- [any] $V = \frac1C\int_0^ti\,dt$.
:::
:::
:::

::: check
kind: parts
given: p = 1.25 | 1.5 | 2 | 2.5 | 3 | 4

## Power integrals with exponent {p}.

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

### What is $\int_1^\infty x^{-p}\,dx$?

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

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

### What is $\int_1^\infty\frac{\ln x}{x^p}dx$?

::: misses
- [any] By parts, $\frac{1}{(p - 1)^2}$.
:::
:::
:::

::: check
kind: parts
given: p = 0.1 | 0.25 | 0.3 | 0.5 | 0.7 | 0.9

## A singular integrand on [0, 1].

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

### What is $\int_0^1x^{-\given{p}}\,dx$?

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

::: check
kind: parts
given: b = 0.5 | 2 | 5

## Gamma-type integrals.

::: part
answer: 2/b^3
tolerance: 0.5%

### What is $\int_0^\infty t^2e^{-\given{b}t}dt$?

::: misses
- [1/b^3] $\Gamma(3) = 2$.
- [any] $\frac{\Gamma(3)}{b^3}$.
:::
:::

::: part
answer: sqrt(pi/b)
tolerance: 0.5%

### What is $\int_0^\infty t^{-1/2}e^{-\given{b}t}dt$?

::: misses
- [any] $\frac{\Gamma(1/2)}{\sqrt b}$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 2; e = 0.2 | 0.5

## Continuity of $x^2$ at a = {a} with ε = {e}.

::: part
answer: sqrt(a^2 + e) - a
tolerance: 0.5%

### What is the largest δ?

::: misses
- [a - sqrt(a^2 - e)] That's the left side's room; the right side is tighter.
- [any] Solve $(a + \delta)^2 = a^2 + \varepsilon$.
:::
:::
:::

::: check
kind: parts
given: m = 9 | 20; M = 11 | 25; d = 40 | 100

## A sensor's slope is between {m} and {M} mV/K, and its reading changed by {d} mV.

::: part
answer: d/M
unit: K
tolerance: 0.5%

### What is the smallest temperature change it could mean?

::: misses
- [any] Divide by the largest slope.
:::
:::

::: part
answer: d/m
unit: K
tolerance: 0.5%

### And the largest?

::: misses
- [any] Divide by the smallest slope.
:::
:::
:::

::: check
kind: parts
given: k = 1..20 int

## Lobes of $\int\frac{\lvert\sin x\rvert}{x}$.

::: part
answer: 2/((k + 1)*pi)
tolerance: 0.5%

### What lower bound does $\frac1x \ge \frac{1}{(k + 1)\pi}$ give for the lobe from $k\pi$ to $(k + 1)\pi$?

::: misses
- [any] Area 2 times the smallest value of $\frac1x$ there.
:::
:::
:::

::: check
kind: parts
given: n = 10 | 50 | 100 | 500 | 1000 | 10000

## Strips for a monotone function with total rise $1 - e^{-1}$ on [0, 1].

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

### With {n} strips, what is U − L?

::: misses
- [any] Rise times width over n.
:::
:::
:::

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

## Differentiate under the integral sign.

::: part
answer: 2/a^3
tolerance: 0.5%

### From $\int_0^\infty e^{-ax}\,dx = 1/a$, find $\int_0^\infty x^2e^{-\given{a}x}\,dx$.

::: misses
- [1/a^3] Two derivatives of $1/a$ give $2/a^3$.
- [-2/a^3] The signs from two derivatives cancel the $(-x)^2$: the integrand is positive.
- [any] Not yet. Differentiate $1/a$ twice with respect to $a$.
:::
:::

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

### From $\int_0^1 x^t\,dx = 1/(t + 1)$, find $\int_0^1 x^{\given{n}}\ln x\,dx$.

::: misses
- [1/(n + 1)^2] On $(0, 1)$, $\ln x < 0$, so the integral is negative.
- [any] Not yet. Differentiate $1/(t + 1)$ once.
:::
:::

::: right
Right. On these ranges the derivatives inside are dominated by integrable functions, so the swaps are justified.
:::
:::
:::
