Professional Documents
Culture Documents
Example 8: Solution:: Z X Xy y
Example 8: Solution:: Z X Xy y
z
x 4 y 3 cos( xy 3 ) 4 x3 sin( xy 3 )
x
z 4
x sin( xy 3 )
y y
x 4 sin( xy 3 ) sin( xy 3 ) ( x 4 )
y y
x 4 cos( xy 3 ) 3xy 2 sin( xy 3 ).0
3x 5 y 2 cos( xy 3 )
Example 9: Find the partial derivatives of z cos ( x 5 y 4 ) with respect to x and y.
Solution:
z = cos(x5 y4)
z
sin( x 5 y 4 ) ( x 5 y 4 )
x x
5 x 4 y 4 sin( x 5 y 4 )
z
sin( x 5 y 4 ) ( x5 y 4 )
y y
4 x y sin( x5 y 4 )
5 3
If a point starting from P, changes its position on the surface such that y is constant, then the
locus of this point is the curve of intersection of z = f(x, y) and y = constant. On this curve,
z
is a derivative of z = f(x, y) with respect to x with y constant.
x
z z
Thus, = slope of the tangent to this curve at P. Similarly, is the gradient of the tangent at
x y
P to this curve of intersection of z = f(x, y) and x = constant. As shown in the figure below
(left). Also together these tangent lines are shown in figure below (right).
1
y
z x x
1 y x x
arc sin 2 2 2
y y y x y y
2
y x y y y 2 x2
1
y
2 z z 1 2 2 23 2 2 1 y
yx y x 2
y x
y
y x 3
2y 3
2 y x
2 2 2
y x
2 2 2
2 z z 1 x 1 2 x y2 x2 x2 y
3
xy x y y y x y 2 2 2 2 3 3
2 2
y x y y 2
x 2 2
y 2
x 2 2
z
2
z
2
Here, you can see that
yx xy
2 f 2 f 2 f 2 f
Example 2: Find , , and for f ( x, y ) x cos y y e x .
x 2 y 2 y x xy
f
Solution :
x
x
x cos y y e x cos y y e x
f
y
y
x cos y y e x x sin y e x
2 f f
cos y y e 0 y e y e
x x x
x 2
x x x
2 f f
cos y y e x sin y e x
yx y x y
2 f f
x sin y e x sin y e x
xy x y x
2 f f
x sin y e x x cos y
y 2
y y y
Laplace’s Equation
For a function w f ( x, y, z ) , the equation
2 f 2 f 2 f
0
x 2 y 2 z 2
is called Laplace’s equation.
Example 3: Show that the function f ( x, y ) e x sin y e y cos x satisfies the Laplace’s equation.
Solution: f ( x, y ) e x sin y e y cos x
f
e x sin y e y cos x e x sin y e y sin x
x x
f
e x sin y e y cos x e x cos y e y cos x
y y
2 f f x
e sin y e sin x e sin y e cos x
y x y
x 2
x x x
2 f f x
e cos y e cos x e sin y e cos x
y x y
y 2
y y y
Adding both partial second order derivatives, we have
2 f 2 f
2 e x sin y e y cos x e x sin y e y cos x 0
x 2
y
Euler’s Theorem
The Mixed Derivative Theorem
If f(x, y) and its partial derivatives f x , f y , f xy and f yx are defined throughout an open region
containing a point (a, b) and are all continuous at (a, b), then
f xy ( a, b) f yx ( a, b )
Advantage of Euler’s theorem
ey
w xy
y2 1
2w
The symbol tells us to differentiate first with respect to y and then with respect to x.
x y
However, if we postpone the differentiation with respect to y and differentiate first with respect
to x, we get the answer more quickly.
w ey
xy 2 y 0 y
x x y 1
2 w w
and y 1
yx y x y
Overview of lecture# 7
Chapter # 16 Partial derivatives
Page # 790 Article # 16.3
LECTURE No. 8
In general, the order of differentiation in an nth order partial derivative can be changed
without affecting the final result whenever the function and all of its partial derivatives of
order less than n are continuous.
For example, if f and its partial derivatives of the first, second and third orders are
continuous on an open set, then at each point of the set,
f xyy f yxy f yyx
3 f 3 f 3 f
or in another notation,
y 2 x yxy xy 2
Order of Differentiation
For a function f ( x, y ) y 2 x 4 e x 2
5 f
If we are interested to find , that is, differentiating in the order firstly w.r.t. x
y 3x 2
and then w.r.t. y , then the calculation will involve many steps making the job difficult.
But if we differentiate this function with respect to y first, and then with respect to x
secondly then the value of this fifth order derivative can be calculated in a few steps.
f
y
y
y 2 x 4e x 2 x 4e x y 2 2 x 4e x 2 y 0 2 yx 4e x
y y
2 f f
y 2
y y y
y
2 yx 4e x 2 x 4e x y 2 x 4e x 1 2 x 4e x
3 f 2 f 4 f 3 f
y 3
y y 2 y
2 x 4 x
e 0,
xy 3 x y 3 x
0 0
5 f 4 f
0 0
x 2y 3 x xy 3 x
x y
EXAMPLE 1 : Let f ( x, y ) . Find f x and f y .
x y
x y x y x y x y x y 2 y
Solution : f x f x x
x x x y x y x y
2 2
x y
x y x y x y x y
y y 2x
fy f
y y x y x y x y
2 2
EXAMPLE 2: If f ( x, y ) x 3 e y y 3 sec x , then find the partial derivatives of f(x, y)
with respect to x and y.
Solution:
f ( x, y ) x 3 e y y 3 sec x
fx f e y 3 x 2 y 3 sec x tan x x
x x
1
3 x 2 e y y 3 sec x tan x
2 x
fy f x 3 e y sec x 3 y 2 x3e y 3 y 2 sec x
y
EXAMPLE 3: If f ( x, y ) x 2 y e xy , then find the partial derivatives of f(x, y) with
respect to x and y at (1, 1).
Solution : f ( x, y ) x 2 y e xy
f x ( x, y ) f y x 2 e xy x 2 e xy y 2 x e xy x 2 e xy xy
x x x x
f x ( x, y ) xye 2 xy
xy
x x
w w
2
20 4 x 3 y 2 z
4
yx y x y
3
20 4 4 x 3 y 2 z 4 x 3 y 2 z 240 4 x 3 y 2 z
3
y
3w
2w
zyx z yx z
240 4 x 3 y 2 z
3
2
240 3 4 x 3 y 2 z 4 x 3 y 2 z 1440 4 x 3 y 2 z
2
z
w w
4 3
1440 4 x 3 y 2 z
2
z yx z zyx z
2
1440 2 4 x 3 y 2 z 4 x 3 y 2 z 5760 4 x 3 y 2 z
z
Chain Rule
I - Chain Rule in function of One Variable
The function f ( x) depends on one variable x , and x depends on single variable t .
dw
Given that w f x and x g t , we find as follows:
dt
dw dx
From w f x , we get , From x g t , we get
dx dt
dw dw dx
Then
dt dx dt
dw
Example 6: Let w x 4, x Sin t . Find , using the chain rule.
dt
Solution : w x 4, x Sin t
dw d dx d
x 4 1 0 1, Sin t cos t
dx dx dt dx
dw dw dx
By Chain Rule, 1 cos t cos t
dt dx dt