---
title: Midterm exam
heading: "Midterm exam: limits and derivatives"
eyebrow: A5 · Midterm exam
type: problems
---

::: hook
Twelve problems from lessons 1 to 24, like a first calculus midterm. Give yourself two hours, work without the lessons open, and write your working before you check an answer. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 2 | 5; c = 9 | 16

## Evaluate these limits.

::: part
answer: 3*a^2

### $\displaystyle\lim_{x \to \given{a}}\frac{x^3 - \given{a}^3}{x - \given{a}}$

::: misses
- [0] Factor first.
- [any] $x^3 - a^3 = (x - a)(x^2 + ax + a^2)$.
:::
:::

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

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

::: misses
- [any] Multiply by the conjugate.
:::
:::
:::

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

## Evaluate these limits.

::: part
answer: k
tolerance: 0.5%

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

::: misses
- [1] Match the argument.
- [any] $k\frac{\sin kx}{kx}$.
:::
:::

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

### $\displaystyle\lim_{x \to \infty}\frac{\given{a}x^2 - x}{\given{b}x^2 + 7}$

::: misses
- [0] Equal degrees.
- [any] Ratio of leading coefficients.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; m = 3 | 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 $c$ makes $f$ continuous?

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

::: part
answer: 2*a - m

### With that $c$, by how much do the slopes from the left and right differ at {a}?

::: misses
- [any] $2a - m$.
:::
:::
:::

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

## Let $f(x) = \dfrac{\given{a}x + 1}{x + \given{b}}$.

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

### What is $f'(\given{x0})$?

::: misses
- [a] Quotient rule.
- [any] $(f'g - fg')/g^2$.
:::
:::

::: part
answer: a
tolerance: 0.5%

### What does $f$ approach as $x \to \infty$?

::: misses
- [any] Ratio of leading coefficients.
:::
:::
:::

::: check
kind: parts
given: A = 10 | 325; f = 50 | 400

## $v(t) = \given{A}\cos(2\pi \cdot \given{f}\,t)$ volts.

::: part
answer: A*2*pi*f
unit: V/s

### What is the largest rate of change of $v$?

::: misses
- [A*f] Use $\omega = 2\pi f$.
- [any] $A\omega$.
:::
:::

::: part
answer: A*(2*pi*f)^2
unit: V/s²

### What is the largest second derivative?

::: misses
- [A*2*pi*f] One more factor of $\omega$.
- [any] $A\omega^2$.
:::
:::
:::

::: check
kind: parts
given: a = 2 | 3; w = 4 | 10

## Let $y = e^{-\given{a}t}\sin(\given{w}t)$.

::: part
kind: expression
answer: exp(-a*t)*(w*cos(w*t) - a*sin(w*t))
vars: t = 0..1

### What is $y'$?

::: misses
- [-a*exp(-a*t)*sin(w*t)] Product rule: include the sine's derivative.
- [any] Product rule, chain rule on each factor.
:::
:::

::: part
answer: w

### What is $y'(0)$?

::: misses
- [any] Substitute $t = 0$.
:::
:::
:::

::: check
kind: parts
given: x0 = 6 | 5; y0 = 8 | 12

## A circle centered at the origin passes through $(\given{x0}, \given{y0})$.

::: part
answer: -x0/y0
tolerance: 0.5%

### What is $dy/dx$ there?

::: misses
- [x0/y0] Mind the sign.
- [any] $-x/y$.
:::
:::

::: part
answer: y0 + x0^2/y0
tolerance: 0.5%

### Where does the tangent line there cross the $y$ axis?

::: misses
- [any] $y = y_0 - \frac{x_0}{y_0}(x - x_0)$ at $x = 0$.
:::
:::
:::

::: check
kind: parts
given: I = 0.2 | 2; R = 47 | 100

## A diode ($V_T$ = 25.85 mV) in series with {R} Ω carries {I} mA.

::: part
answer: 25.85/I
unit: Ω

### What is the diode's small-signal resistance?

::: misses
- [any] $V_T/I$.
:::
:::

::: part
answer: R + 25.85/I
unit: Ω

### What is the pair's incremental resistance?

::: misses
- [any] Add the series resistor.
:::
:::
:::

::: check
kind: parts
given: A = 2 | 8; d = 0.2 | 0.5; s = 1 | 3

## A capacitor ({A} cm², gap {d} mm) has its plates separating at {s} mm/s.

::: part
answer: -8.854e-12*A*1e-4*s*1e-3/(d*1e-3)^2
unit: F/s

### How fast is its capacitance changing?

::: misses
- [8.854e-12*A*1e-4*s*1e-3/(d*1e-3)^2] It falls as the gap grows.
- [any] $-\varepsilon_0 A\dot d/d^2$.
:::
:::

::: part
answer: s/d*100
unit: %/s
tolerance: 0.5%

### With the charge held fixed, at what percent per second does its voltage rise?

::: misses
- [any] $\dot V/V = -\dot C/C = \dot d/d$.
:::
:::
:::

::: check
kind: parts
given: x = 0.02 | 0.05; n = 4 | 8

## Use the linear approximation $(1 + x)^n \approx 1 + nx$.

::: part
answer: 1 + n*x
tolerance: 0.01%

### Estimate $(1 + \given{x})^{\given{n}}$.

::: misses
- [1 + x] Multiply by {n}.
- [any] $1 + nx$.
:::
:::

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

### The next term is $\frac{n(n - 1)}{2}x^2$. About what percent is it?

::: misses
- [any] Compute $\frac{n(n - 1)}{2}x^2$ and express it in percent.
:::
:::
:::

::: check
kind: parts
given: b = 6 | 9; c = 2 | 5

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

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

### Where is its inflection point?

::: misses
- [any] $f'' = 6x - 2b = 0$.
:::
:::

::: part
answer: 6*(b/3 + 1) - 2*b
tolerance: 0.5%

### What is $f''$ one unit to the right of it?

::: misses
- [any] $f''(x) = 6x - 2b$.
:::
:::
:::

::: check
kind: parts
given: m = 5 | 20; eps = 0.05 | 0.2

## For $f(x) = \given{m}x - 2$ near $x = 1$:

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

### What is the largest δ that keeps $|f(x) - f(1)| < \given{eps}$?

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

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

### What is the largest δ for $3f(x)$, with the same tolerance on its output?

::: misses
- [any] Three times as steep.
:::
:::
:::

::: check
kind: parts
given: L = 2 | 20; I = 1 | 3; T = 5 | 50

## The current in a {L} mH inductor ramps from 0 to {I} A in {T} µs.

::: part
answer: L*1e-3*I/(T*1e-6)
unit: V

### What voltage is across it during the ramp?

::: misses
- [any] $v = L\,di/dt$.
:::
:::

::: part
answer: 0.5*L*1e-3*I^2
unit: J

### How much energy does it store at the end, $\frac{1}{2}LI^2$?

::: misses
- [L*1e-3*I^2] Include the half.
- [any] $\frac{1}{2}LI^2$.
:::
:::
:::

::: check
kind: parts
given: k = 2 | 3; x0 = 1 | 2

## Let $f(x) = \ln(1 + x^2)$ and $g(x) = \tan^{-1}(\given{k}x)$.

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

### What is $f'(\given{x0})$?

::: misses
- [1/(1 + x0^2)] Multiply by $2x$.
- [any] $g'/g$.
:::
:::

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

### What is $g'(\given{x0})$?

::: misses
- [any] Chain rule with $\frac{1}{1 + u^2}$.
:::
:::
:::

::: check
kind: parts
given: R = 4.7 | 10; C = 10 | 22; dR = 2 | 5; dC = -3 | 4

## An RC filter uses {R} kΩ and {C} nF. Its corner is $1/(2\pi RC)$.

::: part
answer: 1/(2*pi*R*1e3*C*1e-9)
unit: Hz
tolerance: 0.5%

### Where is its corner?

::: misses
- [any] $f_c = 1/(2\pi RC)$.
:::
:::

::: part
answer: -dR - dC
tolerance: 0.5%

### $R$ drifts by {dR}% and $C$ by {dC}%. By about what percentage does the corner move?

::: misses
- [dR + dC] Both sensitivities are $-1$.
- [any] $S = -1$ for each part.
:::
:::
:::

::: check
kind: parts
given: a = 100 | 500; L = 200 | 300

## A cable hangs as $y = \given{a}\cosh(x/\given{a})$ across a {L} m span.

::: part
answer: a*(cosh(L/(2*a)) - 1)
unit: m
tolerance: 0.5%

### What is its sag?

::: misses
- [any] $a(\cosh\frac{L}{2a} - 1)$.
:::
:::

::: part
answer: sinh(L/(2*a))
tolerance: 0.5%

### What is its slope at the towers?

::: misses
- [cosh(L/(2*a))] The slope of $\cosh$ is $\sinh$.
- [any] Differentiate and put $x = L/2$.
:::
:::
:::
:::
