MATH 221

Arun Ram
Department of Mathematics and Statistics
University of Melbourne
Parkville, VIC 3010 Australia
aram@unimelb.edu.au

Last updated: 14 August 2014

Lecture 20

Optimization

Critical points are where maxima and minima might occur.

Find the local maxima and minima of f(x)=2x3-24x+107 in the interval [1,3].

The critical points are

(a) points where dfdx is 0,
(b) points where f(x) is not continuous or not differentiable,
(c) points on the boundary of where f(x) is defined or or or...
For f(x)=2x3-24x+107 in the interval [1,3], x=1 and x=3 are critical points of type (c), and dfdx=6x2-24 and 6x2-24=0 when x2=246=4. So x=±2 is when dfdx is 0. So x=2 is a critical point in [1,3].

Critical point x=1: dfdx|x=1 =6x2-24|x=1 =6-24<0. So f(x) is decreasing at x=1. So (from the picture) x=1 is a maximum. 1 3 x y Critical point x=3: dfdx |x=3=6x2 -24|x=3=6· 32-24=30>0. So f(x) is increasing at x=3. So (from the picture) x=3 is a maximum. 1 3 x y Critical point x=2: dfdx|x=2 =0, d2fdx2 |x=2=12x |x=2=24>0. So f(x) is flat and concave up at x=2. So x=2 is a minimum. 1 2 3 x y

An enemy jet is flying along the curve y=x2+2. A soldier is placed at the point (3,2). At what point will the jet be at when the soldier and the jet will be the closest? -1 1 2 3 x 1 2 3 y d (3,2) If the jet is at the point (p,q) the distance between them is d=(p-3)2+(q-2)2. The point (p,q) is on the curve y=x2+2 so q=p2+2. So d=(p-3)2+(p2+2-2)2. We want to minimize d (as the jet moves, i.e. as p changes). The distance d will be minimum at the same time that d2 will be minimum. So we can minimize d2. d2=(p-3)2 +(p2)2= (p-3)2+p4. Find a critical point. When is dd2dp=2(p-3) +4p3=4p3+2p-6= (p-1)(4p2+4p+6) equals to 0?? When p=1. So dd2dp|p=1=0, so p=1 is a critical point. From the picture ew can confirm that when the jet is at (1,3) (i.e. p=1, q=3) the distance to the soldier is minimum.

Maximize the volume of a cone with a given slant height. Show that the angle of inclination is tan-12. h θ r = slant height, θ = angle of inclination, r = sinθ, h = cosθ. Volume of a cone is V=13πr2h=13 π(sinθ)2h= 13π(sinθ)2 cosθ. is fixed (given slant height). We want to maximize V as θ changes dVdθ = d13π3sin2θcosθ dθ = 13π3 ( 2sinθ cos2θ- sin2θ sinθ ) = 13π3sinθ (2cos2θ-sin2θ). A critical point is when dVdθ is zero or when 2cos2θ-sin2θ=0 or sinθ=0. So 2=tan2θ or θ=0.
So 2=tanθ or θ=0.
So θ=tan-12 or θ=0.
When θ=0 the cone looks like which clearly does not have maximum volume. So θ=tan-12 maximizes volume.

Notes and References

These are a typed copy of Lecture 20 from a series of handwritten lecture notes for the class MATH 221 given on October 25, 2000.

page history