BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

More max–min, and related rates

Max–min problems often come with a constraint: the box without a top of fixed volume and least surface area turns out to have a base twice its height, a scale-free answer that implicit differentiation reaches fastest. Related rates use the same skills: write an equation linking quantities that change, differentiate it with respect to time, and only then put in the numbers.

You need this first

Full reading path (9 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
On this page · 6 sections
  1. Minimum value or where the minimum is?
  2. A box without a top
  3. The same problem by implicit differentiation
  4. Related rates: a radar trap
  5. Related rates: filling a cone
  6. Summary

Lecture 12 begins by finishing maximum–minimum problems and then introduces related rates, which use the same skills: turning words into a diagram, naming the quantities, and writing the equations that link them (transcript, pp. 1, 11).

Minimum value or where the minimum is?#

Jerison opens with the wire cut into two squares from the previous page, and uses it for a point of language (transcript, pp. 1–5). Its least area is 132\tfrac1{32}, and it occurs at x=12x = \tfrac12. "What is the minimum?" should be answered with the value, 132\tfrac1{32}; "where is the minimum achieved?" with x=12x = \tfrac12. Some authors mean yet another thing by the "minimum point": the point (12,132)(\tfrac12, \tfrac1{32}) on the graph. So ask, and answer, clearly (pp. 3, 5).

Two more remarks from that example. Search for both the largest and the smallest value, since you do not know which a critical point is until you compare (p. 4). And the "largest area", 116\tfrac1{16}, is only reached in the limit, when one square shrinks to nothing, which is strictly outside the problem's rules: an honest answer says so (p. 4).

A box without a top#

Find the box without a top, of fixed volume VV, with the least surface area (transcript, pp. 5–9). Jerison gives one fact in advance: the best box has a square base. (That is a separate one-variable problem, about the rectangle of least perimeter; doing both at once is a job for multivariable calculus, pp. 6, 9.) Let the base be xx by xx and the height yy:

Volume and area of the open box
V=x2y,A=x2+4xyV = x^2 y, \qquad A = x^2 + 4xy
In words

capital V equals x squared y, capital A equals x squared plus 4 x y

The volume is a constraint: it fixes y=V/x2y = V/x^2, so A=x2+4V/xA = x^2 + 4V/x (p. 6). Then

Critical point
A′=2x−4Vx2=0  ⇒  x3=2V,x=21/3V1/3A' = 2x - \frac{4V}{x^2} = 0 \;\Rightarrow\; x^3 = 2V, \quad x = 2^{1/3}V^{1/3}
In words

capital A prime equals 2 x minus 4 capital V over x squared equals 0 which gives x cubed equals 2 capital V, x equals 2 to the power one third, end of power, capital V to the power one third

[The transcript briefly has 2v/x22v/x^2 and 2x32x^3 in this step; Jerison corrects it to x3=2Vx^3 = 2V.] Is this the best box or the worst? Check the ends: xx runs from 0 to ∞\infty (with VV fixed, nothing limits xx from above), and A→∞A \to \infty at both ends, so the one critical point is the minimum (p. 7). The second derivative agrees, A′′=2+8V/x3>0A'' = 2 + 8V/x^3 > 0, though Jerison does not recommend that test in general (pp. 7–8).

What is the answer? The dimensions are x=21/3V1/3x = 2^{1/3}V^{1/3} and y=V/x2=2−2/3V1/3y = V/x^2 = 2^{-2/3}V^{1/3}, and the least area is

Least area
A=x2+4Vx=3⋅22/3 V2/3A = x^2 + \frac{4V}{x} = 3\cdot 2^{2/3}\,V^{2/3}
In words

capital A equals x squared plus 4 capital V over x equals 3 times 2 to the power two thirds, end of power, capital V to the power two thirds

[The lecture states the area as 3⋅21/3V2/33\cdot 2^{1/3}V^{2/3} and the height as 22/3V1/32^{2/3}V^{1/3} before using 2−2/3V1/32^{-2/3}V^{1/3}; the values here follow from x3=2Vx^3 = 2V. The ratio x/y=2x/y = 2 below is unaffected; the dimensionless area A/V2/3A/V^{2/3} is therefore 3⋅22/33\cdot 2^{2/3}, not the lecture's 3⋅21/33\cdot 2^{1/3}.]

The better answers are dimensionless (pp. 8–9). A/V2/3=3⋅22/3A/V^{2/3} = 3\cdot 2^{2/3} is a pure number, the same in any units and at any scale. Best of all is the shape:

The optimal shape
xy=21/3V1/32−2/3V1/3=2\frac{x}{y} = \frac{2^{1/3}V^{1/3}}{2^{-2/3}V^{1/3}} = 2
In words

x over y equals the quantity 2 to the power one third, end of power, capital V to the power one third, all over the quantity 2 to the power minus two thirds, end of power, capital V to the power one third, equals 2

The best open box has a base twice as wide as it is tall, whatever its size.

The same problem by implicit differentiation#

A faster route to the shape: keep yy as an implicit function of xx (transcript, p. 10). Differentiate the constraint, with VV constant, and the area:

Implicit differentiation
0=2xy+x2y′  ⇒  y′=−2yx;dAdx=2x+4y+4xy′=2x−4y0 = 2xy + x^2 y' \;\Rightarrow\; y' = -\frac{2y}{x}; \qquad \frac{dA}{dx} = 2x + 4y + 4xy' = 2x - 4y
In words

0 equals 2 x y plus x squared y prime which gives y prime equals minus 2 y over x; d capital A over d x equals 2 x plus 4 y plus 4 x y prime equals 2 x minus 4 y

Setting dA/dx=0dA/dx = 0 gives x/y=2x/y = 2 directly. It is faster and lands on the scale-free answer; its drawback is that it does not tell you whether the critical point is a maximum, a minimum or neither (pp. 10–11).

Police sit 30 ft from a straight road. Their radar shows your car 50 ft away, approaching along the line of the radar at 80 ft/s. The speed limit, 65 mph, is about 95 ft/s. Are you speeding (transcript, pp. 11–12; notes, p. 1)?

First, decide what changes. Let xx be the car's distance along the road from the point nearest the police, and DD its distance from the radar. Both change with time tt; the 30 ft does not. Right now D=50D = 50 and, from the 3-4-5 triangle, x=40x = 40. The radar reads D˙=dD/dt=−80\dot D = dD/dt = -80 ft/s, negative because DD is shrinking (notes, p. 1). Do not put in the numbers yet. Write the equation that holds at every moment and differentiate it:

Pythagoras, differentiated
302+x2=D2  ⇒  2x x˙=2D D˙  ⇒  x˙=D D˙x30^2 + x^2 = D^2 \;\Rightarrow\; 2x\,\dot x = 2D\,\dot D \;\Rightarrow\; \dot x = \frac{D\,\dot D}{x}
In words

30 squared plus x squared equals capital D squared which gives 2 x x dot equals 2 capital D capital D dot which gives x dot equals capital D capital D dot over x

Now put in the values: x˙=50×(−80)/40=−100\dot x = 50 \times (-80)/40 = -100 ft/s. At 100 ft/s you are speeding (notes, p. 1). [The transcript sets up this example at the end of the lecture and leaves the computation for next time; the notes complete it.]

The notes compare routes (p. 2): differentiating D=(302+x2)1/2D = (30^2 + x^2)^{1/2} gives the same answer with more work, so differentiate the equation in its simplest algebraic form. The general strategy:

  1. Draw a picture. Set up variables and equations.
  2. Take derivatives.
  3. Put in the given values, only after taking derivatives.

A conical tank, point down, is 10 ft high with a top radius of 4 ft. Water flows in at 2 ft³/min. How fast does the level rise when the water is 5 ft deep (notes, pp. 2–3)?

The water forms a smaller cone of radius rr and height hh, with V=13πr2hV = \tfrac13\pi r^2 h. The key is the cross-section: by similar triangles r/h=4/10r/h = 4/10, so r=25hr = \tfrac25 h and

Volume in terms of height
V=π3(25h)2h=4π75 h3,dVdt=4π25 h2 dhdtV = \frac{\pi}{3}\left(\frac{2}{5}h\right)^2 h = \frac{4\pi}{75}\,h^3, \qquad \frac{dV}{dt} = \frac{4\pi}{25}\,h^2\,\frac{dh}{dt}
In words

capital V equals pi over 3, times ( two fifths h ) squared h equals 4 pi over 75, times h cubed, d capital V over d t equals 4 pi over 25, times h squared d h over d t

With dV/dt=2dV/dt = 2 and h=5h = 5: 2=4π25×25 h˙2 = \tfrac{4\pi}{25} \times 25\,\dot h, so h˙=1/(2π)≈0.16\dot h = 1/(2\pi) \approx 0.16 ft/min (notes, p. 3).

The notes end with two more cases of the same idea (one from Problem Set 3), where the question is how sensitive one measured quantity is to another, as in judging whether an asteroid will hit the Earth (notes, pp. 3–4).

Worked example

A sliding ladder

A 5.0 m ladder leans against a wall. Its foot slides away from the wall at 0.40 m/s. How fast does the top slide down when the foot is 3.0 m from the wall?

Equation

With xx the foot's distance from the wall and yy the top's height: x2+y2=5.02x^2 + y^2 = 5.0^2 at all times.

Differentiate

2xx˙+2yy˙=02x\dot x + 2y\dot y = 0, so y˙=−xx˙/y\dot y = -x\dot x/y.

Values

At x=3.0x = 3.0 m, y=4.0y = 4.0 m: y˙=−3.0×0.40/4.0=−0.30\dot y = -3.0 \times 0.40/4.0 = -0.30 m/s. The top moves down at 0.30 m/s, and faster and faster as the ladder flattens, since yy shrinks in the denominator.

Worked example

Blowing up a balloon

Air is pumped into a spherical balloon at 10 litres per second (0.0100.010 m³/s). How fast is the radius growing when it is 20 cm?

Equation and derivative

V=43πr3V = \tfrac43\pi r^3, so dVdt=4πr2 drdt\dfrac{dV}{dt} = 4\pi r^2\,\dfrac{dr}{dt}.

Values

r˙=0.010/(4π×0.202)≈0.020\dot r = 0.010/(4\pi \times 0.20^2) \approx 0.020 m/s, about 2 cm per second. At twice the radius the surface is four times larger, so the radius grows four times more slowly.

Summary#

  • Distinguish the minimum value from where it is achieved; find both the largest and the smallest values.
  • Constrained problems: use the constraint to remove a variable, then find critical points and check the ends. The open box of fixed volume has base =2×= 2 \times height.
  • The best answers are often dimensionless ratios, valid at every scale. Implicit differentiation reaches them fastest, but does not say whether the point is a maximum or a minimum.
  • Related rates: picture and variables, equation, differentiate with respect to time, then put in the numbers.
  • Radar trap: x˙=DD˙/x=−100\dot x = D\dot D/x = -100 ft/s. Cone: h˙=1/(2π)\dot h = 1/(2\pi) ft/min at h=5h = 5 ft.

Symbols on this page

Show the 30 symbols used here
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ℓ\ell script l.
A length or distance; ℓ_p is a physical distance and ℓ_c a comoving one. Unit: m (a comoving ℓ_c is in notches, Guth's units). Say it: “ell”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⇒\Rightarrow implies.
Implies: what follows is a consequence of what came before. Say it: “which gives”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
aa a.
In the cosmology note, the scale factor a(t). Say it: “a”.
HH H.
In the cosmology note, the Hubble expansion rate, H = ȧ/a. Unit: 1/s. Say it: “capital H”.
ℓc\ell_{c} comoving distance.
A comoving distance: fixed as the universe expands, measured in coordinate units (Guth's notches). Unit: notch (Guth's comoving unit of length). Say it: “ell c”.
xx x.
The side of the box's square base; the car's distance along the road; the ladder's foot from the wall. Say it: “x”.
yy y.
The height of the box; the height of the ladder's top. Say it: “y”.
tt t.
Time. Unit: s (min for the tank). Say it: “t”.
dd d.
The d of a derivative, as in dA/dx and dV/dt. Say it: “d”.
vv v.
In the cosmology note, the speed at which a galaxy recedes. Unit: m/s. Say it: “v”.
rr r.
The radius of the water's surface in the cone; the balloon's radius. Unit: ft (cone), m (balloon). Say it: “r”.
DD D.
The distance from the radar gun to the car. Unit: ft. Say it: “capital D”.
AA A.
The surface area of the box without a top. Say it: “capital A”.
hh h.
The depth of water in the conical tank. Unit: ft. Say it: “h”.
y′y' y prime.
The derivative dy/dx of the box's height with respect to its base, at fixed volume. Say it: “y prime”.
VV V.
The fixed volume of the box; in the tank and balloon, the volume that changes with time. Say it: “capital V”.
A′A' A prime.
The derivative of the area A with respect to x. Say it: “capital A prime”.
a˙\dot{a} a dot.
The rate of change of a with time, ȧ = da/dt: how fast the scale factor grows. Say it: “a dot”.
r˙\dot{r} r dot.
How fast the balloon's radius grows, dr/dt. Unit: m/s. Say it: “r dot”.
x˙\dot{x} x dot.
The rate of change of x with time: the car's velocity along the road (ft/s), or how fast the ladder's foot slides out (m/s). Say it: “x dot”.
D˙\dot{D} D dot.
The rate of change of the radar distance D: −80 ft/s, negative because D shrinks. Unit: ft/s. Say it: “capital D dot”.
A′′A'' A double prime.
The second derivative of the box's area with respect to x. Say it: “capital A double prime”.
h˙\dot{h} h dot.
How fast the water level rises, dh/dt. Unit: ft/min. Say it: “h dot”.
y˙\dot{y} y dot.
How fast the top of the ladder moves, dy/dt (negative: down). Unit: m/s. Say it: “y dot”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 24 words used here

New here

related rates.
Problems in which several quantities change together, and differentiating the equation that links them links their rates of change.
cross section.
The flat shape or area obtained by cutting through a solid, usually at right angles to its length.

Also used

p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
critical point.
A point where a function's derivative is zero, so its graph is level there; maxima and minima are found among such points. Explained in Curve sketching with the first and second derivative.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
constraint.
A condition that limits what is allowed, such as a rope of fixed length that links the motions of the bodies it joins. Explained in Tension in ropes and the spring force.
second derivative.
The derivative of a derivative: how fast a rate of change itself is changing. Explained in Acceleration in one dimension.
dimension.
A measured size of an object, such as its length, width or height.
dimensionless.
Having no unit, because the units cancel: a ratio such as v/c is the same number in any system of units. Explained in Friction and drag.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
derivative.
The rate at which a function changes as its input changes: the slope of its graph at a point. Explained in Position and velocity in one dimension.
galaxy.
A huge system of stars, gas and dust, from thousands to over a trillion stars, held together by gravity inside a dark matter halo. Explained in Towards the universe: weighing the Sun and the Galaxy with orbits.
comoving distance.
The distance between two objects measured on the stretching grid of comoving coordinates, which does not change as the universe expands.
scale factor.
The number a(t) that tells how much distances in the universe have stretched: when it doubles, every distance between galaxies doubles. Explained in Towards the universe: an expanding gas cools.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
Hubble's law.
The rule that galaxies move away from us with speeds proportional to their distances: twice as far, twice as fast. Explained in Towards the universe: from atoms to the observable universe.
implicit differentiation.
Finding dy/dx from an equation that links x and y, by differentiating both sides and solving for dy/dx, without first solving for y. Explained in Implicit differentiation and the derivatives of inverse functions.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
implicit.
Of a function: given by an equation linking x and y, such as x² + y² = 1, not by a formula y = f(x).
problem set.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
derive.
To obtain a result by reasoning or calculation from other known results.
valid.
True or correctly applicable under the stated conditions.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

33 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A box without a top has a square base of side xx, height yy and fixed volume. With least surface area, x/yx/y is…
  2. In a related-rates problem, when should you put in the numerical values?
  3. Radar 30 ft from a road reads your distance D=50D = 50 ft, shrinking at 80 ft/s. How fast are you going along the road?
  4. A 5.0 m ladder leans on a wall. Its foot slides out at 0.40 m/s. When the foot is 3.0 m from the wall, the top moves down at…
0 of 4 answered

Flashcards

1 / 3