0% found this document useful (0 votes)
121 views6 pages

Partial Derivatives.

This document discusses finding maxima and minima (extrema) of functions of two variables. It defines relative and absolute extrema, and explains that a function's extrema occur at critical points where the partial derivatives are zero. The second derivative test is presented to determine if a critical point is a relative max, min or saddle point. Methods for finding absolute extrema over a bounded region are described, including using Lagrange multipliers to handle optimization problems with constraints.

Uploaded by

Sk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
121 views6 pages

Partial Derivatives.

This document discusses finding maxima and minima (extrema) of functions of two variables. It defines relative and absolute extrema, and explains that a function's extrema occur at critical points where the partial derivatives are zero. The second derivative test is presented to determine if a critical point is a relative max, min or saddle point. Methods for finding absolute extrema over a bounded region are described, including using Lagrange multipliers to handle optimization problems with constraints.

Uploaded by

Sk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1 Maxima and minima of functions of two variables

Definition. A function f
of two variables is said to have a
relative maximum (minimum)
at a point (a, b) if there is a disc
centred at (a, b) such that
f (a, b) ≥ f (x, y) (f (a, b) ≤ f (x, y))
for all points (x, y) that lie inside
the disc.
A function f is said to have an
absolute maximum (minimum)
at (a, b) if
f (a, b) ≥ f (x, y) (f (a, b) ≤ f (x, y))
for all points (x, y) that lie inside
in the domain of f .
If f has a relative (absolute)
maximum or minimum at (a, b)
then we say that f has a relative
(absolute) extremum at (a, b).
relative ↔ local

1
The extreme-value theorem. If f (x, y) is continuous on a closed
and bounded set R, then f has both absolute maximum and an abso-
lute minimum on R.

Finding relative extrema


Theorem. If f has a relative extremum at (a, b), and if the first-order
derivatives of f exist at this point, then
fx(a, b) = 0 and fy (a, b) = 0
Definition. A point (a, b) in the domain of f (x, y) is called a crit-
ical point of f if fx(a, b) = 0 and fy (a, b) = 0, or if one or both
partial derivatives do not exist at (a, b).

Example. f (x, y) = y 2 − x2 is a
hyperbolic paraboloid.
fx = −2x, fy = 2y ⇒ (0, 0) is critical
but it is not a relative extremum.
It is a saddle point.

2
We say that a surface z = f (x, y) has a saddle point at (a, b) if
there are two distinct vertical planes through this point such that the
trace of the surface in one of the planes has a relative maximum at
(a, b), and the trace in the other has a relative minimum at (a, b).

Example.

How to determine whether a critical point is a max or min?

3
The second partials test

Theorem. Let f (x, y) have continuous second-order partial


derivatives in some disc centred at a critical point (a, b), and let
2
D = fxx(a, b)fyy (a, b) − fxy (a, b)

1. If D > 0 and fxx(a, b) > 0, then f has a relative minimum at


(a, b).
2. If D > 0 and fxx(a, b) < 0, then f has a relative maximum at
(a, b).
3. If D < 0, then f has a saddle point at(a, b).
4. If D = 0, then no conclusion can be drawn.

Example.
f (x, y) = x4 − x2y + y 2 − 3y + 4

How to find the absolute extrema of a continuous function of two


variables on a closed and bounded set R?
1. Find the critical points of f that lie in the interior of R.
2. Find all the boundary points at which the absolute extrema can
occur.
3. Evaluate f (x, y) at the found points. The largest of these values is
the absolute maximum, and the smallest the absolute minimum.

Example.
f (x, y) = 3x + 6y − 3xy − 7 , R is the triangle (0, 0), (0, 3), (5, 0)

4
Lagrange multipliers

Extremum problems with constraints:


Find max or min of the function f (x1, . . . , xn) subject to constraints
gα (x1, . . . , xn), α = 1, . . . , m

Consider f (x, y) and g(x, y) = 0.


The graph of g(x, y) = 0 is a curve.
Consider level curves of f : f (x, y) = k.
At (a, b) the curves just touch, and thus have
~ (a, b)
a common tangent line at (a, b). Since ∇f
is normal to the level curve at (a, b), and
~
∇g(a, b) is normal to the constraint curve
~ (a, b)||∇g(a,
at (a, b), we get ∇f ~ b)

~ (a, b) = λ ∇g(a,
∇f ~ b)

for some scalar λ called the Lagrange multiplier.


Proof. Parametrise g(x, y) = 0.
Then, f (x, y) = f (x(t), y(t)) is a function of t
and its local extrema are at

d ∂f 0 ∂f 0
f (x(t), y(t)) = x + y
dt ∂x ∂y
= ∇f~ · (x0 ~i + y 0 ~j) = ∇f
~ · T~
~ and ∇g
Thus, both ∇f ~ are ⊥ to T~ .

5
In general, we introduce a Lagrange multiplier λα for each of the con-
straint gα , and the equations are
m
X
~ =
∇f ~ α.
λα ∇g
α=1

Example. Find the points on the sphere x2 + y 2 + z 2 = 36 that are


closest to and farthest from the point (1, 2, 2).

You might also like