Lecture 6
Lecture 6
Hồ Ngọc Kỳ
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 1 / 14
Lecture 6: Functions of Several Variables
CONTENT
(Section 14.1 & Chapter 17 of Textbook; Chương 6 trong sách Bài tập)
Partial Derivatives
Differentials
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 2 / 14
Function of two variables
Definition of Function of two variables: A function f of two variables is a rule
that assigns to each ordered pair of real numbers (x, y ) in a set D ⊂ Oxy ≡ R2 a
unique real number f (x, y ). We write f : D ⊂ R2 → R.
D is called the domain of f .
{f (x, y ) : (x, y ) ∈ D} is called the range of f .
Example 2: In 1928, Charles Cobb and Paul Douglas proposed a formula for total
production P (the monetary value of all goods produced in a year) in the form
where L represents the amount of labor (the total number of person-hours worked
in a year) and K represents the amount of capital invested (the monetary value of
all machinery, equipment, and buildings).
Function of n variables: f = f (x1 , x2 , · · · , xn ).
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 3 / 14
Graph of functions of two variable
The graph of a function z = f (x, y ) is the surface in Oxyz formed by the points
(x, y , z) with (x, y ) in the domain of the function and z = f (x, y ).
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 4 / 14
Limit and Continuity
to indicate that
f (x, y ) → L as x → a and y → b.
x2 + y 3 sin(x 2 + y 2 )
Example: lim 2
= and lim = 1.
(x,y )→(1,2) x + y 5 x→0 x2 + y2
y →0
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 5 / 14
Partial Derivatives
Definition: Let z = f (x, y ) be a function of two variables, its partial derivatives
are the functions fx and fy defined by
f (x + h, y ) − f (x, y )
fx (x, y ) = lim ,
h→0 h
f (x, y + h) − f (x, y )
fy (x, y ) = lim .
h→0 h
∂2f
∂ ∂f
fxx (x, y ) ≡ (x, y ) := (x, y )
∂x 2 ∂x ∂x
∂2f
∂ ∂f
fxy (x, y ) ≡ (x, y ) := (x, y )
∂y ∂x ∂y ∂x
∂2f
∂ ∂f
fyx (x, y ) ≡ (x, y ) := (x, y )
∂x∂y ∂x ∂y
∂2f
∂ ∂f
fyy (x, y ) ≡ (x, y ) := (x, y )
∂y 2 ∂y ∂y
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 7 / 14
Higher-Order Partial Derivatives
Example: Find second-order partial derivatives of f (x, y ) = ln(x 2 + y ).
fxy = fyx .
Note: Only care about the number of times we take partial derivatives with
respect to each variable; the order of taking the derivatives is not important.
∂mf
= The partial derivative of f is taken m times
∂x k ∂y m−k
with k times with respect to x and m − k times with respect to y .
∂3f
Example: Find with f (x, y ) = sin(3x + 2y ).
∂x 2 ∂y
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 8 / 14
The Chain Rules
The Chain Rule 1: Let z = f (x, y ) with x = g (t) and y = h(t). Then,
dz ∂z dx ∂z dy
z ′ (t) = = + .
dt ∂x dt ∂y dt
The Chain Rule 2: Let z = f (x, y ) with x = g (s, t) và y = h(s, t). Then,
∂z ∂z ∂x ∂z ∂y ∂z ∂z ∂x ∂z ∂y
= + và = + .
∂s ∂x ∂s ∂y ∂s ∂t ∂x ∂t ∂y ∂t
∂z ∂z
Example: Let z = e x sin y with x = st 2 và y = s 2 t. Evaluate and .
∂s ∂t
The Chain Rule: Let u = f (x1 , · · · , xn ) with xj = xj (t1 , · · · , tm ) (j = 1, · · · , n).
Then, u is a function of t1 , · · · , tm and
∂u ∂z ∂x1 ∂z ∂xn
= + ··· + (i = 1, · · · , m).
∂ti ∂x1 ∂ti ∂xn ∂ti
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 9 / 14
Linear Approximation of One Variable Functions
√
Example: Find a linear approximation f (x) = x + 3 at a = 1.
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 10 / 14
Differentials of One Variable Functions
Differentials: Let ∆x be the increment in x then the increment approximation of
y = f (x) at a is ∆y = f (a + ∆x) − f (a) ≈ f ′ (a)∆x. The differential of y = f (x)
at a is defined as
dy (a) = y ′ (a)∆x.
For y = x we obtain dx(a) = ∆x for all a. Thus, dx = ∆x and we write
dy (a) = y ′ (a)dx or df (a) = f ′ (a)dx. Generally, dy = y ′ dx or df = f ′ dx.
Note: dy represents the change along the tangent, while ∆y represents the
change along the curve y = f (x):
The quatity
dz(a, b) := fx (a, b)∆x + fy (a, b)∆y
is called a total differential of z = f (x, y ) at (a, b) corresponding to the
increments ∆x and ∆y of x and y , respectively.
Hồ Ngọc Kỳ - Institute of Applied Mathematics Lectures on Maths for Economics & Managements Lecture 6: Functions of Several Variables 13 / 14
Total Differentials
Clearly, dx = ∆x and dy = ∆y . Hence,
Generally,
∂z ∂z
dz = fx dx + fy dy = dx + dy .
∂x ∂y
Thus
∆z ≈ dz (i.e., dz is a linear approximation of ∆z).