Two more curve sketches, (x + 1)/(x + 2) and x/ln x, lead to a general strategy: discontinuities and ends first, then critical points, with the signs of f′ and f″ as checks. Then maxima and minima: the largest and smallest values are found among the critical points, the endpoints and the discontinuities. Examples: the open can with least surface, and a wire cut into two squares.
Lecture 11 is two lectures in one. Jerison first finishes curve sketching with two more examples and a general strategy, and then begins the subject in the title: finding the largest and smallest values of a function (transcript, pp. 1, 11). The notes for this lecture contain only the maximum–minimum part, so the sketching half here follows the transcript.
Sketch f(x)=(x+1)/(x+2). Its derivative is f′(x)=1/(x+2)2, which is never zero: there are no critical points (transcript, p. 1). The lesson: do not freeze. Go back to precalculus and plot points, and the most important point to plot is the one that is not there, x=−2, where f is undefined (p. 1).
Approach −2 from each side. The notation(−2)+ means "a little more than −2", and (−2)− "a little less" (pp. 1–2):
One-sided values at the singularity
f((−2)+)=0+−1=−∞,f((−2)−)=0−−1=+∞
In words
f ((-2) plus ) equals minus 1 over 0 plus equals minus infinity, f ((-2) minus ) equals minus 1 over 0 minus equals plus infinity
Then the ends, x→±∞: divide top and bottom by x to get (1+1/x)/(1+2/x)→1 (p. 3). So there is a vertical asymptote at x=−2 and a horizontal one at y=1. Can the graph cross the level 1 and come back? No: that would need a horizontal tangent, and f′ is never zero, so the graphcannot backtrack (p. 3).
Two checks (pp. 4–5). Writing f(x)=1−1/(x+2) shows at once that f′=1/(x+2)2>0 and that the graph is a hyperbola. And
Second derivative
f′′(x)=(x+2)3−2
In words
f double prime (x) equals minus 2 over the quantity x plus 2, all cubed
A warning (p. 4): f is increasing on x<−2 and on x>−2, but it is not increasing on the whole line, since it jumps from +∞ down to −∞ at x=−2. Ignoring that point is like ignoring Mount Everest, the most important feature of the function. And a remark (p. 5): f′>0 always means increasing, but not the reverse; a function can increase while f′ is zero at a few points, like x3 at 0.
Decide the sign of f′ on each interval between critical points and discontinuities. If steps 1 and 2 worked, this is only a double check, and a valuable one: an error here shows up as a graph that does not fit.
Step 1. The singularity is where lnx=0, at x=1: f(1+)=+∞ and f(1−)=−∞. The ends: f(0+)=0+/ln(0+)=0+/(−∞)=0; and at x=1010, f=1010/(10ln10)≈1010/23, huge, so f→∞ as x→∞ (p. 7). [The transcript says the denominator is "maybe 230"; 10ln10≈23. The conclusion is the same.]
It vanishes at x=e, with critical valuef(e)=e/lne=e. With only one critical point, the graph is fixed: from 0 it goes down to −∞ at x=1; from +∞ it comes down to(e,e) and turns back up (pp. 8–9). The second form also shows that f′→0 as x→0+: the graph starts out horizontally (p. 10).
Step 3 (the check): f′<0 on 0<x<1 and 1<x<e, f′>0 for x>e: down, down, up (p. 9).
y=x/lnx, computed from the formula (left out very close to the asymptote x=1). It falls from 0 to −∞ as x approaches 1 from the left, comes down from +∞ to its local minimum (e,e)≈(2.72,2.72), and bends from concave up to concave down at the inflection point (e2,e2/2)≈(7.39,3.69).
Given a sketch, finding the largest and smallest values is easy. But a sketch is a lot of work, and the goal is to find the maximum and minimum with shortcuts, without the second derivative or any decoration (transcript, p. 11).
The key idea: look at the critical points, but not only there. The sentence does not end there (p. 11; notes, p. 1):
Where extremes can be
the largest and smallest values of f occur at critical points (f′(x)=0), endpoints, or points of discontinuity
In words
the largest and smallest values of f occur at critical points ( f prime (x) equals 0 ), endpoints, or points of discontinuity
In the sketch of x/lnx there are five candidate places for extreme behaviour (the ends at 0 and at infinity, the two sides of the asymptote, and the critical point), and only one of them is a critical point (transcript, p. 11).
The notes add a warning on language (notes, p. 1). For y=lnx/x from the previous lecture, the maximum value is 1/e, and it is achieved atx=e. So "what is the maximum?" is answered by 1/e, not by e. Finding x=e is the calculus step, but a full answer gives the value too, and the two together locate the top of the graph at (e,1/e).
The notes then work two problems; the first is set out in numbered steps, condensed here (notes, pp. 2–3). Find the open-topped can (a cylinder with a bottom but no top) of fixed volume V with the least surface area.
Draw the picture; name the variables: radius r, height h, volume V, area S.
Write the constraint and the quantity to minimise:
Constraint and surface area
V=πr2h=constant,S=πr2+2πrh
In words
V equals pi r squared h equals constant, S equals pi r squared plus 2 pi r h
At both ends S→∞ (the 2V/r term as r→0, the πr2 term as r→∞), so the minimum is at the critical point. There h=V/(πr2)=(V/π)1/3 and S=3π1/3V2/3. The neatest form of the answer is the shape: h/r=1, the height equals the radius (notes, p. 3).
Loading graph…
Surface area of an open can of volume V as a function of its radius, computed from S=πr2+2V/r. It goes to infinity at both ends, so the one critical point is the minimum: for V=1 it is at r=(1/π)1/3≈0.683, where S≈4.39.
Cut a wire of length 1 at x and bend each piece into a square: sides x/4 and (1−x)/4 (notes, pp. 4–5). The total area is
Area of the two squares
A=(4x)2+(41−x)2,A′=8x−81−x=0⇒x=21
In words
capital A equals ( x over 4 ) squared plus ( the quantity 1 minus x, all over 4 ) squared, capital A prime equals x over 8 minus the quantity 1 minus x, all over 8 equals 0 which gives x equals one half
At x=21, A=2×(1/8)2=1/32. But the endpoints give A(0)=A(1)=1/16, which is larger. So the critical point is the minimum, and the maximum is at the endpoints: use all the wire for one square. The moral: if you look only at critical points, you may find the worst answer rather than the best (notes, p. 5).
Worked example
A closed can
A can with a lid must hold 1.0 litre (1000 cm³). What radius and height use the least metal, and how much?
Area in terms of r
Now there are two discs: S=2πr2+2πrh, and h=V/(πr2) gives S=2πr2+2V/r.
Critical point
dS/dr=4πr−2V/r2=0 gives r3=V/(2π), so r=(1000/2π)1/3≈5.42 cm. Again S→∞ at both ends, so this is the minimum.
Shape and area
h=V/(πr2)=2r≈10.8 cm: the height equals the diameter. S=6πr2≈554 cm².
Worked example
A square and a circle
A wire of length 1 is cut at x; the first piece makes a square, the second a circle. Where should you cut to make the total area as small as possible, and as large as possible?
Area
The square has side x/4; the circle has circumference 1−x, so radius (1−x)/(2π) and area (1−x)2/(4π). Then A=x2/16+(1−x)2/(4π).
Critical point
A′=x/8−(1−x)/(2π)=0 gives x=4/(π+4)≈0.560, with A=1/(4(π+4))≈0.0350: the minimum.
Endpoints
A(1)=1/16=0.0625 (all square) and A(0)=1/(4π)≈0.0796 (all circle). The maximum is at an endpoint: put all the wire into the circle.
When there are no critical points, go back to precalculus: plot discontinuities (from each side), the ends, and easy points. A function with f′=0 cannot turn back.
Sketching strategy: (1) discontinuities, ends, easy points; (2) critical points and values; (3) sign of f′ as a check; (4) sign of f′′ only if asked; (5) combine.
Do not say a function is increasing across a discontinuity.
Maxima and minima occur at critical points, endpoints or discontinuities. Give both where the extreme is achieved and its value.
Open can of fixed volume with least area: h=r. Two squares from one wire: the critical point is the minimum; the maximum is at an endpoint.
In the cosmology note, the development angle of the closed universe: 0 at the Big Bang, π at maximum size. Unit: rad.Say it: “theta” (sounds like “thay-ta or thee-ta”).
An open curve with two separate branches: the set of points whose distances from two fixed points differ by the same amount. Explained in Quadratics and power laws.
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.
A universe with more than the critical density, whose space curves back on itself like a sphere, so it is finite. Explained in Open, closed and flat universes.
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.
Guth's name for the parameter θ of the closed-universe solution, running from 0 at the Big Bang to 2π at the Big Crunch. Explained in The closed universe as a cycloid.
The general lesson to take away from an example or argument.
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).