Calculus Ii: Chapter 1: Functions of Several Variables
Calculus Ii: Chapter 1: Functions of Several Variables
LE THAI THANH
ñ x exy « x ` y
so
f p1.1, ´0.1q « 1.1 ´ 0.1 “ 1
Compare this with the actual value of f p1.1, ´0.1q “
1.1 e´0.11 “ 0.98542.
Definition 2: For a differentiable function of two variables,
z “ f px , y q, we define the differentials dx and dy to be
independent variables; that is, they can be given any values.
Then the differential dz, also called the total differential, is
defined by
Bf Bf
dz “ fx px , y qdx ` fy px , y qdy “ dx ` dy
Bx By
Solution :
(a) We have fx “ 2x ` 3y , fy “ 3x ´ 2y , and so
2π ¨ 10 ¨ 25 π ¨ 102
dV “ 0.1 ` 0.1 “ 20π
3 3
Thus the maximum error in the calculated volume is about
20π cm3 « 62.83 cm3 .
THE CHAIN RULE
The Chain Rule (Case 1)
BF BF
Bz Fx Bz By Fy
“ ´ Bx “ ´ ; “´ “´
Bx BF Fz By BF Fz
Bz Bz
DIRECTIONAL DERIVATIVES
Suppose that we now wish
to find the rate of change
of z “ f px , y q at px0 ; y0 q in
the direction of an arbitrary
unit vector Ñ Ý
u “ pa; bq.
f px , y q “ x 3 ´ 3xy ` y 3
ˆ? ˙
Ñ
Ý 3 1
in the direction of unit vector u “ ; . What is
2 2
DÝu f p1, 2q?
Ñ
Solution : We have
fx “ 3x 2 ´ 3y , fy “ 3y 2 ´ 3x
and
?
2 3 2 1
DÝ
u f px , y q “ p3x ´ 3y q 2 ` p3y ´ 3x q 2
Ñ
Therefore
? ?
2 3 2 1 9´3 3
u f p1, 2q “ p3 ¨ 1 ´ 3 ¨ 2q 2 ` p3 ¨ 2 ´ 3 ¨ 1q 2 “
DÝ
Ñ
2
THE GRADIENT VECTOR
Definition 4: If f is a function of two variables x and y , then
the gradient of f is the vector function ∇f defined by
Bf Ñ
Ý Bf Ñ
Ý
∇f px , y q “ pfx px , y q; fy px , y qq “ i ` j
Bx By
Ñ
Ý Ñ
Ý Ñ
Ý Ñ Ý
∇f px , y q “ 2xy 3 i `p3x 2 y 2 ´4q j ñ ∇f p2, ´1q “ ´4 i `8 j
?
Note that ÑÝv is not a unit vector, but since |Ñ
Ý
v | “ 29, the
unit vector Ñ
Ýu in the direction of Ñ
Ýv is
Ñ
Ý
v 2 ÑÝ 5 ÑÝ
Ñ
Ý
u “ Ñ “? i `? j
Ý
|v| 29 29
Therefore, we have
Ñ
Ý
u f p2, ´1q “ ∇f p2, ´1q ¨ u ˆ
DÝ
Ñ
˙
Ñ
Ý Ñ
Ý 2 ÑÝ 5 ÑÝ
“ p´4 i ` 8 j q ¨ ? i ` ? j
29 29
´4 ¨ 2 ` 8 ¨ 5 32
“ ? “?
29 29
Theorem 3: Suppose f is a differentiable function of two
variables. The maximum value of the directional derivative
DÝ Ñ
Ý
Ñu f px , y q is |∇f px , y q| and it occurs when u has the same
direction as the gradient vector ∇f px , y q.
Example 7:
(a) If f px , y q “ x ey , find the rate of change of f at the
point Pp2; 0q in the direction from P to Qp1{2; 2q.
(b) In what direction does f have the maximum rate of
change? What is this maximum rate of change?
(a) We first compute the gradient vector:
∇f px , y q “ă ey , x ey ą ñ ∇f p2, 0q “ p1; 2q
ÝÑ
The unit vector in the direction of PQ “ p´1.5; 2q is
Ñ
Ý
u “ p´3{5; 4{5q, so the rate of change of f in the
direction from P to Q is
Ñ
Ý
u f p2, 0q “ ∇f p2, 0q ¨ u “ p1; 2q ¨ p´3{5; 4{5q “ 1
DÝ
Ñ
...