---
title: Problem set 6
heading: "Problem set 6: extremes, shapes and optimization"
eyebrow: A5 · Problem set 6
type: problems
---

::: hook
These problems use lessons 27 to 31: maxima and minima, the mean value theorem, curve sketching and optimization. Most are design questions: what value of a part gives the most power, the least cost or the best response? Set up the quantity to optimize in one variable first; the calculus is usually the short part.
:::

::: pool
pick: 12

::: check
kind: parts
given: a = 12 | 27; lo = -3 | -4; hi = 5 | 6

## Find the extremes of $f(x) = x^3 - \given{a}x$ on $[\given{lo}, \given{hi}]$.

::: part
answer: sqrt(a/3)
tolerance: 0.5%

### Where is the positive critical point?

::: misses
- [sqrt(a)] $f' = 3x^2 - a$.
- [any] Set $f'(x) = 0$.
:::
:::

::: part
answer: -2*(a/3)^1.5
tolerance: 0.5%

### What is $f$ there?

::: misses
- [any] Put $x = \sqrt{a/3}$ in.
:::
:::

::: part
answer: hi^3 - a*hi
tolerance: 0.5%

### What is $f$ at the right end, {hi}?

::: misses
- [any] Compare it with the critical values to find the true maximum.
:::
:::
:::

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

## Apply the mean value theorem to $\ln x$ on $[\given{a}, \given{b}]$.

::: part
answer: ln(b/a)/(b - a)
tolerance: 0.5%

### What is the average slope?

::: misses
- [any] $\frac{\ln b - \ln a}{b - a}$.
:::
:::

::: part
answer: (b - a)/ln(b/a)
tolerance: 0.5%

### At what $c$ does $1/c$ equal it?

::: misses
- [(a + b)/2] Not the midpoint: solve $1/c$ = the average slope.
- [any] $c = 1/(\text{average slope})$.
:::
:::
:::

::: check
kind: parts
given: Vs = 10 | 24; Rs = 2 | 5; Rp = 10 | 20

## A {Vs} V source with {Rs} Ω in series has a {Rp} Ω resistor across its output. A load $R$ connects there.

::: part
answer: Rs*Rp/(Rs + Rp)
unit: Ω
tolerance: 0.5%

### What load takes the most power? (Replace the source and resistors with their Thevenin equivalent.)

::: misses
- [Rs] The shunt resistor is in parallel with the series one, as seen by the load.
- [any] $R = R_\text{th} = R_s \parallel R_p$.
:::
:::

::: part
answer: (Vs*Rp/(Rs + Rp))^2/(4*Rs*Rp/(Rs + Rp))
unit: W
tolerance: 0.5%

### What is that power?

::: misses
- [Vs^2/(4*Rs)] The Thevenin voltage is smaller than {Vs} V: $V_\text{th} = V_s\frac{R_p}{R_s + R_p}$.
- [any] $V_\text{th}^2/(4R_\text{th})$.
:::
:::
:::

::: check
kind: parts
given: L = 30 | 60 | 120

## An open-top box is folded from a square sheet {L} cm on a side, by cutting squares of side $x$ from the corners.

::: part
answer: L/6
tolerance: 0.5%

### What $x$ gives the largest volume?

::: misses
- [L/4] $V = x(L - 2x)^2$; its derivative is zero at $L/6$ (and at $L/2$, where the volume is zero).
- [any] Set $\frac{d}{dx}x(L - 2x)^2 = 0$.
:::
:::

::: part
answer: 2*L^3/27
unit: cm³
tolerance: 0.5%

### What is that volume, in cm³?

::: misses
- [any] Put $x = L/6$ into $x(L - 2x)^2$.
:::
:::
:::

::: check
kind: parts
given: a = 50 | 100; L = 300 | 500; k = 2 | 3

## A cable must run from a building {a} m back from a road to a point {L} m along the road. Underground cable costs {k} times as much per meter as cable along the road. It runs underground to a point $x$ m along the road, then along the road.

::: part
answer: a/sqrt(k^2 - 1)
unit: m
tolerance: 0.5%

### What $x$ minimizes the cost?

::: misses
- [a/k] Setting the derivative to zero gives $\frac{kx}{\sqrt{a^2 + x^2}} = 1$.
- [any] Cost $\propto k\sqrt{a^2 + x^2} + (L - x)$.
:::
:::

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

### What is the cost, in road-meters (the cost of that many meters along the road)?

::: misses
- [any] Put the best $x$ into the cost.
:::
:::
:::

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

## Sketch $f(x) = x^4 - 6\given{a}^2x^2$.

::: part
answer: a*sqrt(3)
tolerance: 0.5%

### Where is the positive local minimum?

::: misses
- [any] $f' = 4x^3 - 12a^2x$.
:::
:::

::: part
answer: a
tolerance: 0.5%

### Where is the positive inflection point?

::: misses
- [a*sqrt(3)] That's the minimum. Inflections are where $f''$ changes sign.
- [any] $f'' = 12x^2 - 12a^2$.
:::
:::

::: part
answer: -9*a^4
tolerance: 0.5%

### What is the minimum value?

::: misses
- [any] Put $x = a\sqrt3$ in.
:::
:::
:::

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

## Let $f(x) = xe^{-x/\given{a}}$ for $x \ge 0$.

::: part
answer: a
tolerance: 0.5%

### Where is its maximum?

::: misses
- [any] $f' = e^{-x/a}(1 - x/a)$.
:::
:::

::: part
answer: a*exp(-1)
tolerance: 0.5%

### What is the maximum value?

::: misses
- [any] $f(a) = a/e$.
:::
:::

::: part
answer: 2*a
tolerance: 0.5%

### Where is its inflection point?

::: misses
- [any] $f'' = e^{-x/a}\left(\frac{x}{a^2} - \frac{2}{a}\right)$.
:::
:::
:::

::: check
kind: parts
given: SR = 0.5 | 2 | 13; A = 5 | 10

## An op amp slews at most {SR} V/µs.

::: part
answer: SR*1e6/(2*pi*A)
unit: Hz
tolerance: 0.5%

### What is the highest frequency at which it can produce a {A} V amplitude sine without slew distortion?

::: misses
- [SR*1e6/A] The sine's largest slope is $2\pi fA$.
- [any] Set $2\pi fA$ equal to the slew rate, in V/s.
:::
:::

::: part
answer: SR*1e6/(2*pi*20000)
unit: V
tolerance: 0.5%

### What is the largest amplitude it can produce at 20 kHz?

::: misses
- [any] $A = \frac{SR}{2\pi f}$.
:::
:::
:::

::: check
kind: parts
given: a = 100 | 300; w = 1000 | 2000

## An underdamped response is $v = 1 - e^{-\given{a}t}\cos(\given{w}t)$, starting at 0.

::: part
answer: (pi - atan(a/w))/w
unit: s
tolerance: 0.5%

### When is its first peak? (Set $v' = 0$; the first solution after $t = 0$ has $\tan\omega t = -a/\omega$.)

::: misses
- [pi/w] That's the undamped peak; damping shifts it a little earlier.
- [any] $v' = e^{-at}(a\cos\omega t + \omega\sin\omega t)$.
:::
:::

::: part
answer: 1 - exp(-a*(pi - atan(a/w))/w)*cos(pi - atan(a/w))
tolerance: 0.5%

### What is $v$ at that peak?

::: misses
- [any] Put the peak time in.
:::
:::
:::

::: check
kind: parts
given: r = 1 | 2 | 5

## A rectangle sits inside a semicircle of radius {r}, with its base on the diameter.

::: part
answer: r/sqrt(2)
tolerance: 0.5%

### What half-width $x$ gives the largest area? (The height is $\sqrt{r^2 - x^2}$.)

::: misses
- [r/2] Maximize $2x\sqrt{r^2 - x^2}$.
- [any] It's easier to maximize the area squared.
:::
:::

::: part
answer: r^2
tolerance: 0.5%

### What is the largest area?

::: misses
- [any] $2x\sqrt{r^2 - x^2}$ at $x = r/\sqrt2$.
:::
:::
:::

::: check
kind: parts
given: E = 6 | 12; r = 0.5 | 2

## A battery with EMF {E} V and internal resistance {r} Ω delivers $P = EI - rI^2$.

::: part
answer: E^2/(4*r)
unit: W
tolerance: 0.5%

### What is the most power it can deliver?

::: misses
- [any] At $I = E/2r$.
:::
:::

::: part
answer: 0.5
tolerance: 0.5%

### At that point, what fraction of the battery's total power, $EI$, reaches the load?

::: misses
- [1] The internal resistance takes $rI^2$, which at this current is half.
- [any] Load power over $EI$ at $I = E/2r$.
:::
:::
:::

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

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

::: part
answer: a
tolerance: 0.5%

### Where is its maximum?

::: misses
- [any] $f' = \frac{a^2 - x^2}{(x^2 + a^2)^2}$.
:::
:::

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

### What is the maximum value?

::: misses
- [any] $f(a) = \frac{a}{2a^2}$.
:::
:::
:::

::: check
kind: parts
given: V1 = 12.6 | 4.2; d = 0.5 | 0.8; T = 2 | 5; let V2 = V1 - d

## A battery's voltage falls from {V1} V to {V2} V over {T} hours, smoothly.

::: part
answer: (V2 - V1)/T
unit: V/h
tolerance: 0.5%

### At some moment its voltage was changing at exactly what rate, in V/h?

::: misses
- [(V1 - V2)/T] It's falling, so the rate is negative.
- [any] The mean value theorem: the average rate.
:::
:::

::: part
answer: (V1 - V2)/T*1000/60
tolerance: 0.5%

### If it fell at a steady rate, how many millivolts would it lose each minute?

::: misses
- [(V1 - V2)/T*60] Going from V/h to mV/min multiplies by 1000 and divides by 60.
- [any] Convert V/h to mV/min.
:::
:::
:::

::: check
kind: parts
given: a = 8 | 12; b = 0.004 | 0.01

## A solar panel delivers $P(V) = \given{a}V - \given{b}V^3$ watts.

::: part
answer: sqrt(a/(3*b))
unit: V
tolerance: 0.5%

### At what voltage is $P$ largest?

::: misses
- [any] $P' = a - 3bV^2$.
:::
:::

::: part
answer: -6*b*sqrt(a/(3*b))
tolerance: 0.5%

### What is $P''$ there, confirming a maximum?

::: misses
- [any] $P'' = -6bV$.
:::
:::

::: part
answer: 2*a/3*sqrt(a/(3*b))
unit: W
tolerance: 0.5%

### What is the maximum power?

::: misses
- [any] Put the best voltage into $P$.
:::
:::
:::

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

## Let $f(x) = x^{\given{n}}e^{-\given{k}x}$ for $x \ge 0$.

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

### Where is its maximum?

::: misses
- [any] $f' = x^{n-1}e^{-kx}(n - kx)$.
:::
:::

::: part
answer: (n/k)^n*exp(-n)
tolerance: 0.5%

### What is the maximum value?

::: misses
- [any] Put $x = n/k$ in.
:::
:::
:::
:::
