---
title: Problem set 2
heading: "Problem set 2: limits and continuity"
eyebrow: A5 · Problem set 2
type: problems
---

::: hook
These problems use lessons 1 to 7: rates of change, limits by algebra, one-sided and infinite limits, continuity, and the precise definition. Show each step on paper; a limit's value is only half the answer, and the reasoning is the other half.
:::

::: pool
pick: 12

::: check
kind: parts
given: v1 = 1.2 | 2.5; v2 = 1.5 | 3.4; dt = 10 | 50

## A scope reads {v1} V and then, {dt} µs later, {v2} V.

::: part
answer: (v2 - v1)/(dt*1e-6)
unit: V/s

### What is the average rate of change of the voltage?

::: misses
- [(v2 - v1)/dt] Put the time in seconds.
- [any] Change in voltage over change in time.
:::
:::

::: part
answer: 1e-6*(v2 - v1)/(dt*1e-6)
unit: A

### If that voltage is across a 1 µF capacitor, what average current flows?

::: misses
- [any] $i = C\,\Delta v/\Delta t$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3 | 4

## Evaluate limits of $f(x) = \dfrac{x^2 - \given{a}^2}{x - \given{a}}$.

::: part
answer: 2*a

### What is $\lim_{x \to \given{a}} f(x)$?

::: misses
- [0] 0/0 is undetermined; factor first.
- [any] Factor and cancel.
:::
:::

::: part
answer: 1
tolerance: 0.5%

### What is $\lim_{x \to \infty} f(x)/x$?

::: misses
- [0] $f(x) = x + \given{a}$ for $x \ne \given{a}$; divide by $x$.
- [any] $(x + a)/x \to 1$.
:::
:::
:::

::: check
kind: parts
given: c = 4 | 9 | 25

## Find these limits.

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

### $\displaystyle\lim_{h \to 0}\frac{\sqrt{\given{c} + h} - \sqrt{\given{c}}}{h}$

::: misses
- [0] Multiply by the conjugate.
- [any] The conjugate leaves $1/(\sqrt{c + h} + \sqrt{c})$.
:::
:::

::: part
answer: 2*sqrt(c)
tolerance: 0.5%

### $\displaystyle\lim_{x \to \given{c}}\frac{x - \given{c}}{\sqrt{x} - \sqrt{\given{c}}}$

::: misses
- [sqrt(c)] $x - c = (\sqrt x - \sqrt c)(\sqrt x + \sqrt c)$.
- [any] Factor the top as a difference of squares.
:::
:::
:::

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

## Find these limits, with angles in radians.

::: part
answer: k/m
tolerance: 0.5%

### $\displaystyle\lim_{x \to 0}\frac{\sin \given{k}x}{\given{m}x}$

::: misses
- [1] Match the sine's argument.
- [any] $\frac{k}{m}\cdot\frac{\sin kx}{kx}$.
:::
:::

::: part
answer: k/m
tolerance: 0.5%

### $\displaystyle\lim_{x \to 0}\frac{\tan \given{k}x}{\given{m}x}$ (use $\tan u = \sin u/\cos u$)

::: misses
- [any] $\frac{\sin kx}{mx} \cdot \frac{1}{\cos kx}$, and $\cos 0 = 1$.
:::
:::
:::

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

## Let $f(x) = \dfrac{\given{a}x^2 + \given{b}}{\given{c}x^2 - x}$.

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

### What is $\lim_{x \to \infty} f(x)$?

::: misses
- [0] Equal degrees.
- [c/a] Top over bottom.
- [any] Ratio of leading coefficients.
:::
:::

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

### Besides $x = 0$, where is $f$'s vertical asymptote?

::: misses
- [c] Solve $\given{c}x^2 - x = 0$: $x(\given{c}x - 1) = 0$.
- [any] Where the bottom is zero.
:::
:::
:::

::: check
kind: parts
given: V = 5 | 9 | 12; tau = 2 | 5

## A capacitor charges as $v(t) = \given{V}(1 - e^{-t/\given{tau}})$ volts, $t$ in ms, for $t \ge 0$, and is at 0 V before.

::: part
answer: 0

### What is $v(0^+)$?

::: misses
- [V] It starts from 0: a capacitor's voltage can't jump.
- [any] Put $t = 0$ in the formula.
:::
:::

::: part
answer: V/tau
unit: V/ms
tolerance: 0.5%

### What is the slope $\lim_{t \to 0^+} v(t)/t$, in V/ms?

::: misses
- [V] Use $1 - e^{-u} \approx u$ for small $u$.
- [any] $\frac{V(1 - e^{-t/\tau})}{t} \to V/\tau$.
:::
:::

::: part
answer: V

### What is $\lim_{t \to \infty} v(t)$?

::: misses
- [any] $e^{-t/\tau} \to 0$.
:::
:::
:::

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

## $f(x) = x^2 - 1$ for $x < \given{a}$ and $\given{m}x + c$ for $x \ge \given{a}$.

::: part
answer: a^2 - 1 - m*a

### What value of $c$ makes $f$ continuous at {a}?

::: misses
- [a^2 - 1] Subtract $\given{m}\given{a}$.
- [any] Match the two pieces at {a}.
:::
:::

::: part
answer: 2*a - m

### With that $c$, the left piece's slope at {a} minus the right piece's slope is how much? (Zero would mean no corner.)

::: misses
- [any] Left slope $2x$ at {a}, right slope {m}.
:::
:::
:::

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

## Let $f(x) = x^3 + \given{b}x - \given{c}$.

::: part
answer: -c

### What is $f(0)$?

::: misses
- [c] Mind the sign.
- [any] Substitute $x = 0$.
:::
:::

::: part
answer: 1 + b - c

### What is $f(1)$?

::: misses
- [any] Substitute $x = 1$.
:::
:::

::: part
answer: 1
tolerance: 0.5

### How many roots does $f$ have between 0 and 1? ($f' = 3x^2 + \given{b} > 0$.)

::: misses
- [0] $f(0)$ and $f(1)$ have opposite signs; continuity guarantees a root.
- [any] Signs at the ends, plus $f$ always increasing.
:::
:::
:::

::: check
kind: parts
given: m = 4 | 10; eps = 0.02 | 0.1

## For $f(x) = \given{m}x + 1$:

::: part
answer: eps/m
tolerance: 0.5%

### What is the largest δ with $|f(x) - f(2)| < \given{eps}$ whenever $|x - 2| < \delta$?

::: misses
- [eps] Divide by the slope.
- [any] $\delta = \varepsilon/|m|$.
:::
:::

::: part
answer: eps/(2*m)
tolerance: 0.5%

### And for $g(x) = 2f(x)$?

::: misses
- [eps/m] $g$ is twice as steep.
- [any] $\delta = \varepsilon/(2m)$.
:::
:::
:::

::: check
kind: parts
given: a = 1 | 3; eps = 0.1 | 0.5

## For $f(x) = x^2$ near $a$ = {a}, use $\delta = \min\left(1, \frac{\varepsilon}{2|a| + 1}\right)$.

::: part
answer: eps/(2*a + 1)
tolerance: 0.5%

### What δ goes with ε = {eps}?

::: misses
- [eps/(2*a)] Use $2|a| + 1$.
- [any] Compute both terms; take the smaller.
:::
:::

::: part
answer: (a + eps/(2*a + 1))^2 - a^2
tolerance: 0.5%

### How far is $f(a + \delta)$ from $f(a)$? (It should be below ε.)

::: misses
- [any] Compute $(a + \delta)^2 - a^2$.
:::
:::
:::

::: check
kind: parts
given: n = 2 | 3 | 5

## Find these limits at infinity.

::: part
answer: 0

### $\displaystyle\lim_{t \to \infty} t^{\given{n}}e^{-t}$

::: misses
- [any] Exponentials beat powers.
:::
:::

::: part
answer: 1
tolerance: 0.5%

### $\displaystyle\lim_{x \to \infty}\frac{x^{\given{n}} + x}{x^{\given{n}} - 1}$

::: misses
- [0] Equal degrees.
- [any] Divide top and bottom by $x^{\given{n}}$.
:::
:::
:::

::: check
kind: parts
given: x0 = 2 | 4; h = 0.1 | 0.01

## For $f(x) = x^3$:

::: part
answer: ((x0 + h)^3 - x0^3)/h
tolerance: 0.1%

### What is the average rate of change from $x$ = {x0} to $x_0 + \given{h}$?

::: misses
- [3*x0^2] That's the limit. Compute the difference quotient with this $h$.
- [any] $\frac{f(x_0 + h) - f(x_0)}{h}$.
:::
:::

::: part
answer: 3*x0^2
tolerance: 0.1%

### What does it approach as $h \to 0$?

::: misses
- [x0^3] That's the value of $f$.
- [any] Expand and let $h \to 0$.
:::
:::
:::

::: check
kind: parts
given: W = 1 | 2; tol = 0.001 | 0.000001

## $x^3 + x - 3$ changes sign on an interval {W} wide, so bisection can find its root.

::: part
answer: ceil(ln(W/tol)/ln(2))
tolerance: 0

### How many halvings until the bracket is no wider than {tol}?

::: misses
- [floor(ln(W/tol)/ln(2))] One more: after that many halvings it's still a little too wide.
- [any] The smallest $n$ with $W/2^n \le$ tol.
:::
:::

::: part
answer: W/2^ceil(ln(W/tol)/ln(2))
tolerance: 0.5%

### How wide is the bracket then?

::: misses
- [any] $W/2^n$.
:::
:::
:::

::: check
kind: parts
given: m = 2 | 5; eps = 0.01 | 0.001; a = 1 | 3

## Choose $\delta$ for these limits.

::: part
answer: eps/m
tolerance: 0.5%

### $|\given{m}x - \given{m}a| < \varepsilon$ whenever $|x - a| < \delta$, with $\varepsilon$ = {eps}: what $\delta$?

::: misses
- [eps*m] Divide by the slope.
- [any] $|mx - ma| = m|x - a|$.
:::
:::

::: part
answer: eps/(2*a + 1)
tolerance: 0.5%

### $|x^2 - \given{a}^2| < \varepsilon$: using $|x - a| < 1$ to bound $|x + a|$, what $\delta$ works (assume it's below 1)?

::: misses
- [eps/(2*a)] With $|x - a| < 1$, $|x + a|$ can be as large as $2a + 1$.
- [any] $|x^2 - a^2| = |x - a||x + a| < (2a + 1)|x - a|$.
:::
:::
:::

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

## $f(x) = \given{a}x + \given{b}$ for $x < \given{m}$, and $f(x) = x^2 + k$ for $x \ge \given{m}$.

::: part
answer: a*m + b - m^2
tolerance: 0.5%

### What $k$ makes $f$ continuous?

::: misses
- [a*m + b] Subtract $m^2$: the right piece is $m^2 + k$ at $x = m$.
- [any] Match the two pieces at $x = m$.
:::
:::

::: part
answer: a*m + b
tolerance: 0.5%

### What is $f(\given{m})$ then?

::: misses
- [any] Either piece, at $x = m$.
:::
:::
:::
:::
