Lecture 7
Lecture 7
Hồ Ngọc Kỳ
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 1 / 12
Lecture 7: Extrema of Multivariable Functions
CONTENT
(Chapter 17 of Textbook; Chương 6 trong sách Bài tập)
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 2 / 12
Extrema of Functions of Two Variables
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 3 / 12
Extrema of Functions of Two Variables
Theorem (The necessary condition): If f has a relative extremum at (x0 , y0 ), and
fx (x0 , y0 ), fy (x0 , y0 ) exist, then
In the following, we only consider the functions f such that fx and fy exist.
Definition: When (*) holds, we call (x0 , y0 ) a critical point/ stationary point of f .
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 4 / 12
Sufficient Condition for Extrema
Consider a function of two variables f : D ⊂ Oxy → R. Let
fxx fxy
D1 := fxx and D2 := = fxx fyy − fxy2 .
fyx fyy
Example: Find all relative extrema and saddle points of the function
f (x, y ) = x 4 + y 4 − 4xy + 1.
Example: Find all relative extrema and saddle points of the function
8 x
f (x, y ) = + + y.
x y
Example: Find all relative extrema and saddle points of the function
f (x, y ) = x 3 + y 3 − 3x − 12y .
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 6 / 12
Extrema of z = f (x1 , x2 , ..., xn )
Suppose that z = f (x1 , x2 , ..., xn ) has continuous second-order partial derivatives.
Definition: Hessian matrix of z = f (x1 , x2 , ..., xn ) is the matrix
fx1 x1 fx1 x2 · · · fx1 xn
fx2 x1 fx2 x2 · · · fx2 xn
H= . .. ..
.. . .
fxn x1 fxn x2 · · · fxn xn
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 8 / 12
Method of Reducing to a Function of One Variable
To find the extrema of the function h(x), note that if h attains an extremum
at x0 , then the two-variable function f attains an extremum at (x0 , y (x0 )).
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 9 / 12
Method of Lagrange Multipliers
(*) g (x, y ) = C .
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 10 / 12
Method of Lagrange Multipliers
Step 2 (Check the sufficient condition): Suppose that P(x0 , y0 ) is a stationary
point corresponding to Lagrange multiplier λ0 . Put
0 gx gy
H̄ = gx Lxx Lyx
gy Lxy Lyy
Example:
(1) Find the maximum and minimum values of the function z = x + y with
constraint x 2 + y 2 = 1.
(2) Find the maximum and minimum values of the function z = x + y with
constraint x 2 + y 2 + xy = 1.
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 11 / 12
Example: To produce a certain type of product, two types of raw materials that
can substitute for each other are used. The production output is determined by:
2 1
Q = 3x 3 y 3 ,
where x is the quantity of the first raw material and y is the quantity of the
second raw material. The prices of these two raw materials are P1 = 2 and
P2 = 1, respectively. Find x and y such that the cost of producing 100 units of
output is minimized.
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 7: Extrema of Multivariable Funct. 12 / 12