---
title: Problem set 4
heading: "Problem set 4: derivatives and integrals"
eyebrow: A14 · Problem set 4
type: problems
---

::: hook
These problems use lessons 15 to 18: the mean value theorem and its error bounds, Taylor's theorem with remainder, upper and lower sums, and the fundamental theorem of calculus.
:::

::: pool
pick: 12

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

## The mean value theorem on [{a}, {b}].

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

### Where's c for $x^2$?

::: misses
- [any] The midpoint.
:::
:::

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

### Where's c for $x^3$?

::: misses
- [any] Solve $3c^2 = a^2 + ab + b^2$.
:::
:::
:::

::: check
kind: parts
given: L = 2 | 8; d = 0.005 | 0.04; k = 3 | 12

## Slope bounds.

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

### $\lvert f'\rvert \le$ {L}, input error {d}: output error bound?

::: misses
- [any] $L\Delta$.
:::
:::

::: part
answer: k*d
tolerance: 0.1%

### Change bound for $\cos(\given{k}x)$ over the same input error?

::: misses
- [any] $k\Delta$.
:::
:::
:::

::: check
kind: parts
given: R = 22 | 330; V = 3.4 | 9.1; d = 0.05 | 0.2

## $P = V^2/R$, R = {R} Ω, V up to {V} V.

::: part
answer: 2*V/R
unit: W/V
tolerance: 0.1%

### What's the largest slope dP/dV, in W/V?

::: misses
- [any] $\frac{2V_{max}}{R}$.
:::
:::

::: part
answer: 2*V/R*d*1000
unit: mW
tolerance: 0.5%

### Bound the error in P for a {d} V error in V.

::: misses
- [any] Slope bound times ΔV.
:::
:::
:::

::: check
kind: parts
given: x = 0.5 | 1.5; n = 2 | 4

## Taylor polynomials of $e^x$ about 0.

::: part
answer: exp(x)*x^(n + 1)/(n + 1)!
tolerance: 0.1%

### Lagrange bound for degree {n} at x = {x}?

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

::: part
answer: x^(n + 1)/(n + 1)!
tolerance: 0.1%

### The first neglected term at x = {x}?

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

::: check
kind: parts
given: x = 0.2 | 0.6; p = 0.5 | 3

## Small-angle approximations.

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

### Error bound of $\sin x \approx x - x^3/6$ at x = {x}?

::: misses
- [any] $\frac{x^5}{120}$.
:::
:::

::: part
answer: sqrt(6*p/100)
unit: rad
tolerance: 0.5%

### Largest θ for which $\sin\theta \approx \theta$ is good to {p}%?

::: misses
- [any] $\sqrt{6p/100}$.
:::
:::
:::

::: check
kind: parts
given: M = 0.4 | 6; h = 0.02 | 0.25

## Linearization with $\lvert f''\rvert \le$ {M}.

::: part
answer: M*h^2/2
tolerance: 0.1%

### Error bound at distance {h}?

::: misses
- [any] $\frac{Mh^2}{2}$.
:::
:::

::: part
answer: M*(2*h)^2/2
tolerance: 0.1%

### And at twice that distance?

::: misses
- [any] Four times as much.
:::
:::
:::

::: check
kind: parts
given: n = 4..50 int

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

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

### Upper sum?

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

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

### Upper minus lower?

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

::: check
kind: parts
given: d = 3 | 7.5; e = 0.0035 | 0.00031; K = 2 | 6

## Strips needed on [0, 1].

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

### An increasing f rises by {d}: equal strips for $U - L < \given{e}$?

::: misses
- [any] $U - L = d/n$.
:::
:::

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

### A Lipschitz f with constant {K}: strips that guarantee $U - L < \given{e}$ by the bound $K/n$?

::: misses
- [any] $U - L \le \frac{K(b - a)^2}{n}$.
:::
:::
:::

::: check
kind: parts
given: x = 0.7 | 1.2; b = 2 | 5

## The fundamental theorem.

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

### $\frac{d}{dx}\int_0^{x^2}\sin t\,dt$ at x = {x}?

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

::: part
answer: b^3/3
tolerance: 0.01%

### $\int_0^{\given{b}}t^2\,dt$?

::: misses
- [any] $b^3/3$.
:::
:::
:::

::: check
kind: parts
given: I = 2 | 4; tau = 0.3 | 1; T = 0.6 | 1.5; C = 22 | 100

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

::: part
answer: I*tau/C*(1 - exp(-T/tau))*1000
unit: mV
tolerance: 0.1%

### Its voltage at {T} ms?

::: misses
- [any] $\frac{I\tau}{C}(1 - e^{-T/\tau})$.
:::
:::

::: part
answer: I*tau/C*1000
unit: mV
tolerance: 0.1%

### Its final voltage?

::: misses
- [any] $\frac{I\tau}{C}$.
:::
:::
:::

::: check
kind: parts
given: b = 2 | 6; M = 3 | 8; d = 0.02 | 0.5

## Averages and running integrals.

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

### Average of $t^2$ on [0, {b}]?

::: misses
- [any] $b^2/3$.
:::
:::

::: part
answer: M*d
tolerance: 0.1%

### $\lvert f\rvert \le$ {M}: how much can $\int_0^xf$ change when x moves by {d}?

::: misses
- [any] $M\Delta x$.
:::
:::
:::

::: check
kind: parts
given: e = 0.01 | 0.001 | 0.0001 | 0.00001 | 0.000001 | 0.00000001

## Terms of $\sum 1/k!$ for e.

::: part
answer: 5 + step(3/720 - e) + step(3/5040 - e) + step(3/40320 - e) + step(3/362880 - e) + step(3/3628800 - e) + step(3/39916800 - e) + step(3/479001600 - e) + step(3/6227020800 - e)
tolerance: 0

### Smallest degree n with $\frac{3}{(n + 1)!} < \given{e}$?

::: misses
- [any] Try n = 7, 8, 9, ...
:::
:::

::: part
answer: 3/(5 + step(3/720 - e) + step(3/5040 - e) + step(3/40320 - e) + step(3/362880 - e) + step(3/3628800 - e) + step(3/39916800 - e) + step(3/479001600 - e) + step(3/6227020800 - e) + 1)!
tolerance: 0.5%

### What's the bound $\frac{3}{(n + 1)!}$ at that n?

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

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

## $\cos x \approx 1 - \frac{x^2}{2}$ at x = {x}.

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

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

::: misses
- [any] The next nonzero term.
:::
:::
:::

::: check
kind: parts
given: x = 0.5 | 0.8 | 1 | 1.5 | 2 | 2.5

## $F(x) = \int_x^{x^2}e^{-t^2}dt$.

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

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

::: misses
- [2*x*exp(-x^4)] Subtract the lower limit's contribution.
- [any] $f(x^2)\cdot 2x - f(x)$.
:::
:::
:::

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

## Upper and lower sums for $e^{-x}$ on [0, 1].

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

### What is the upper sum with {n} strips?

::: misses
- [any] A geometric sum of left-end values.
:::
:::
:::
:::
