Académique Documents
Professionnel Documents
Culture Documents
1. Stationary Points
Definition 1.1. Let D Rn and f : D R. The point a D is said to be:
(1) a local maximum if f (x) 6 f (a) for all points x sufficiently close to a;
(2) a local minimum if f (x) > f (a) for all points x sufficiently close to a;
(3) a global (or absolute) maximum if f (x) 6 f (a) for all points x D;
(4) a global (or absolute) minimum if f (x) > f (a) for all points x D;
(5) a local or global extremum if it is a local or global maximum or minimum.
Definition 1.2. Let D Rn and f : D R. The point a D is said to be a critical
or stationary point if f (a) = 0 and a singular point if f does not exist at a.
Fact 1.3. Let D Rn and f : D R. If f has a local or global extremum at the
point a D, then a must be either:
(1) a critical point of f , or
(2) a singular point of f , or
(3) a boundary point of D.
Fact 1.4. If f is a continuous function on a closed bounded set then f is bounded
and attains its bounds.
Definition 1.5. A critical point a which is neither a local maximum nor minimum
is called a saddle point.
Fact 1.6. A critical point a is a saddle point if and only if there are arbitrarily small
values of h for which f (a + h) f (a) takes both positive and negative values.
Definition 1.7. If f : R2 R is a function of two variables such that all second
order partial derivatives exist at the point (a, b), then the Hessian matrix of f at
(a, b) is the matrix
fxx fxy
H=
,
fyx fyy
where the derivatives are evaluated at (a, b).
If f : R3 R is a function of three variables such that all second order partial
derivatives exist at the point (a, b, c), then the Hessian of f at (a, b, c) is the matrix
Key Points.
A continuous function on a closed bounded set is bounded and achieves
its bounds.
To find the extreme values of a function on a closed bounded set it
is necessary to consider the value of the function at stationary points
(f = 0), singular points (f does not exist) and boundary points
(points on the edge of the set).
Stationary points can be classified as local maxima, local minima or
saddle points.
If The Leading Minor Test 1.9 is not applicable, the stationary point
must be classified by directly applying Definition 1.1 and Fact 1.6. For
example in the two variable case, if f has a stationary point at (a, b)
we consider the sign of
f (a + h, b + k) f (a, b)
for arbitrarily small, positive and negative values of h and k (that are
not both zero).
Example. Find and classify the stationary points of the following functions:
(1) f (x, y, z) = x4 + x2 y + y 2 + z 2 + xz + 1;
(2) f (x, y) = y 2 + (x + 1)2 y + (x + 1)4 .
Solution. (a) f (x, y, z) = x4 + x2 y + y 2 + z 2 + xz + 1, so
f (x, y) = (4x3 + 2xy + z)i + (x2 + 2y)j + (2z + x)k.
Critical points occur when f = 0, i.e. when
(1)
0 = 4x3 + 2xy + z
(2)
0 = x2 + 2y
(3)
0 = 2z + x
12x2 + 2y 2x 1
2x
2 0 .
H=
1
0 2
11/6
6/3 1
H = 6/3
2
0 ,
1
0
2
which has leading minors 11/6 > 0,
11/6
6/3
det
= 11/3 6/9 = 3 > 0
6/3
2
and det H = 22/312/92 = 4 > 0. By the Leading Minor Test, then, ( 6/6, 1/12, 6/12)
is a localminimum.
At ( 6/6, 1/12, 6/12),
11/6
6/3
1
H = 6/3
2
0 ,
1
0
2
which has leading minors 11/6 > 0,
11/6
6/3
det
= 11/3 6/9 = 3 > 0,
6/3
2
and det H = 22/312/92 = 4 > 0. By the Leading Minor Test, ( 6/6, 1/12, 6/12)
is also a local minimum.
0 0 1
H = 0 2 0 .
1 0 2
Since det(H) = 2, we can apply the leading minor test which tells us that this is a
saddle point since the first leading minor is 0. An alternative method is as follows.
In this case we consider the value of the expression
D = f (0, 0, 0) f (0 + h, 0 + k, 0 + l) = h4 + h2 k + k 2 + l2 + hl,
for arbitrarily small values of h, k and l. But for very small h, k and l, cubic
terms and above are negligible in comparison to quadratic and linear terms, so that
D k 2 + l2 + hl. If h, k and l are all positive, D > 0. However, if k = 0 and h < 0
and 0 < l < |h|, then D < 0. Hence close to (0, 0, 0), f both increases and decreases,
so (0, 0, 0) is a saddle point.
(2) f (x, y) = y 2 + (x + 1)2 y + (x + 1)4 so
k
X
i gi (x1 , . . . , xn ).
i=1
Key Points.
To find the extreme values of f subject to the constraint g(x) = 0:
(1) calculate L, remembering that it is a function of the n + 1 variables x1 , . . . , xn and ;
(2) find values of x1 , . . . , xn such that L(x1 , . . . , xn , ) = 0 (you do
not have to explicitly find the corresponding values of ):
(3) evaluate f at these points to find the required extrema.
Note that the equation L = 0 is equivalent to the equations
L
0=
= fxi + gxi , 1 6 i 6 n,
and g(x1 , . . . , xn ) = 0.
xi
So, in the two variable case, we have Lagranian function L(x, y, ) =
f (x, y) + g(x, y) and are solving the equations:
0 = fx + gx ,
0 = fy + gy ,
and
g(x, y) = 0.
Example. Find the rectangular box with the largest volume that fits inside the
ellipsoid x2 /a2 + y 2 /b2 + z 2 /c2 = 1, given that it sides are parallel to the axes
Solution. Clearly the box will have the greatest volume if each of its corners touch
the ellipse. Let one corner of the box be corner (x, y, z) in the positive octant, then
the box has corners (x, y, z) and its volume is V = 8xyz.
We want to maximize V given that x2 /a2 + y 2 /b2 + z 2 /c2 1 = 0. (Note that since
the constraint surface is bounded a max/min does exist). The Lagrangian is
2
x
y2 z2
L(x, y, z, ) = 8xyz + 2 + 2 + 2 1
a
b
c
and this has critical points when L = 0, i.e. when
L
x
0=
= 8yz + 2 2 ,
x
a
L
y
= 8zx + 2 2 ,
0=
y
b
L
z
0=
= 8xy + 2 2 ,
z
c
2
2
x
L
y
z2
0=
=
+ 2 + 2 1 .
a2
b
c
(Note that L will always be the constraint equation.) As we want to maximize V
we can assume that xyz 6= 0 so that x, y, z 6= 0.) Hence, eliminating , we get
yz
zx
xy
= 4a2
= 4b2
= 4c2 ,
x
y
z
so that y 2 a2 = x2 b2 and z 2 b2 = y 2 c2 . But then x2 /a2 = y 2 /b2 = z 2 /c2 so
x2 y 2 z 2
x2
+
+
=
3
a2
b2
c2
a2