Introduction To Xy - Plane & Xyz-Space: Continuity
Introduction To Xy - Plane & Xyz-Space: Continuity
2 Limits
3 Continuity
4 Partial derivatives
6 Approximations
Definition (1.)
Let f (x, y ) be a function defined in a domain D ⊂ R2 and (a, b) ∈ D.
The function f is said to be continuous at (a, b) if
Definition (2.)
A polynomial of two variables is a function of the form
p(x, y ) = c0 + c1 x + c2 y + c3 xy + c4 x 2 + c5 y 2 + · · · + ck x n y m .
2 Limits
3 Continuity
4 Partial derivatives
6 Approximations
f (t, b) − f (a, b)
fx (a, b) = lim .
t→a t −a
Other notations:
∂f
fx (a, b) = fx (x, y ) = .
x=a,y =b ∂x x=a,y =b
Solution. We have
f (t, y ) − f (x, y ) t 2y 3 − x 2y 3
fx (x, y ) = lim = lim
t→x t −x t→x t −x
t 2 − x2
= y 3 lim = y 3 lim (t + x) = 2xy 3 .
t→x t − x t→x
∂f
We also write: = 2xy 3 .
∂x
Definition (4.)
For a function of two variables f (x, y ), partial derivative of f w.r.t. y is
the function fy defined as follows:
f (x, t) − f (x, y )
fy (x, y ) = lim ,
t→y t −y
(keeping x as a constant).
f (a, t) − f (a, b)
fy (a, b) = lim .
t→b t −b
We also have
The partial derivative fy (a, b) is the slope of the tangent to the
curve z = f (a, y ) at y = b.
Other notations:
∂f
fy (a, b) = fy (x, y ) = .
x=a,y =b ∂y x=a,y =b
f (x, y + h) − f (x, y )
fy (x, y ) = lim .
h→0 h
Definition (5.)
For a function f (x, y , z) of three variables, its partial derivative w.r.t. x
is defined as
f (x + h, y , z) − f (x, y , z)
fx (x, y , z) = lim
h→0 h
and it is obtained by regarding y and z as constants and differentiating
f with respect to x.
Definition (6.)
For a function f (x1 , x2 , . . . , xn ) of n variables, the partial derivative w.r.t.
to the variable xi is defined by
fxi (x1 , x2 , . . . , xn )
f (x1 , . . . , xi + h, . . . , xn ) − f (x1 , . . . , xi , . . . , xn )
= lim .
h→0 h
∂f
Other notations: , or simply, fi (x1 , x2 , . . . , xn ).
∂xi
f (t, y ) − f (x, y )
fx (x, y ) = lim
t→x t −x
tells us that it is the usual derivative of the function f (x, y ) w.r.t. x.
Solution. We have
∂ 3
fx (x, y ) = x + x 2 y 3 − 2y 2 = 3x 2 + 2xy 3 ,
∂x
∂ 3
fy (x, y ) = x + x 2 y 3 − 2y 2 = 3x 2 y 2 − 4y .
∂y
Then
Solution. Using the Chain Rule for functions of one variable, we have
(keep y as a constant)
∂f x ∂ x 1 x
= cos = cos ,
∂x 1 + y ∂x 1 + y y +1 y +1
Example (9.)
p
For f (x, y , z) = x sin y + e3x y 2 + 9z, compute fx , fy , and fz .
Solution. We have
p
fx (x, y , z) = sin y + 3e3x y 2 + 9z,
e3x y
fy (x, y , z) = x cos y + p ,
y 2 + 9z
9e3x
fz (x, y , z) = p .
2 y 2 + 9z
Solution. We have
∂ xy
fx (x, y , z) = (e ln z) = yexy ln z,
∂x
∂ xy
fy (x, y , z) = (e ln z) = xexy ln z,
∂y
∂ xy exy
fz (x, y , z) = (e ln z) = .
∂z z
Then we can consider their partial derivatives: (fx )x , (fx )y , (fy )x , and
(fy )y , which are called second partial derivatives of f .
∂2f
We use the notation fxy , or to indicate that we first differentiate f
∂y ∂x
with respect to x followed by differentiating with respect to y :
∂2f
∂ ∂f
fxy = (fx )y and = .
∂y ∂x ∂y ∂x
∂2f
∂ ∂f
(fx )x = fxx = , =
∂x ∂x∂x 2
∂2f
∂ ∂f
(fx )y = fxy = = ,
∂y ∂x ∂y ∂x
∂2f
∂ ∂f
(fy )x = fyx = = ,
∂x ∂y ∂x∂y
∂2f
∂ ∂f
(fy )y = fyy = = .
∂y ∂y ∂y 2
f (x, y ) = x 3 + x 2 y 3 − 2y 2 .
fx = 3x 2 + 2xy 3 , fy = 3x 2 y 2 − 4y .
Now we have
∂2f xexy
∂ ∂f ∂
= = (xexy ln z) = .
∂z∂y ∂z ∂y ∂z z
Next, to compute fzxy = (fz )x y
, we evaluate
exy yexy
fz = =⇒ (fz )x = .
z z
Hence,
exy + y (xexy ) exy (1 + xy )
fzxy = (fz )x y
= = .
z z
CALCULUS II - AY2022-23 66 / 123
• Gradient Vector
Definition (14.)
1 For a function f of two variables x and y , the gradient of f is the
vector ∇f defined by
∂f ∂f
∇f (x, y ) = fx , fy = i+ j.
∂x ∂y
2 For a function f of three variables x, y , and z, the gradient of f is
the vector ∇f defined by
∂f ∂f ∂f
∇f (x, y , z) = fx , fy , fz = i+ j+ k.
∂x ∂y ∂z
Hence,
∇f (x, y ) = fx (x, y ), fy (x, y ) = (2x − 3, −1),
∇f (P0 ) = (2x − 3) , −1 = (2 · 1, −1) =
x=1,y =−1 x=1,y =−1
(−1, −1).
Solution. We have
x 2z
Fx (x, y , z) = , Fy (x, y , z) = 2y , and Fz (x, y , z) = .
2 9
Hence,
x 2z
∇F (x, y , z) = , 2y , .
2 9
Definition (17.)
If f is a function of n variables x1 , x2 , . . . , xn , then the gradient vector (or
simply, gradient) of f is the vector ∇f defined by
∂f ∂f ∂f
∇f (x1 , x2 , . . . , xn ) = , ,..., .
∂x1 ∂x2 ∂xn