Partial Derivatives.
Partial Derivatives.
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.
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.
3
The second partials test
Example.
f (x, y) = x4 − x2y + y 2 − 3y + 4
Example.
f (x, y) = 3x + 6y − 3xy − 7 , R is the triangle (0, 0), (0, 3), (5, 0)
4
Lagrange multipliers
~ (a, b) = λ ∇g(a,
∇f ~ b)
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