Beruflich Dokumente
Kultur Dokumente
ii) Notation : x 2
y 2
f
2
f
2
xy yx
Differentiate
f2
f
i) twice with respect
x 2
x x to x
STEP 2 STEP 1
f
2
f Differentiate
ii )
twice with respect
y 2
y y to y
STEP 2 STEP 1
Differentiate first
f
2
f
i) with respect to y
xy x y and then with
respect to x
STEP 2 STEP 1
f
2
f Differentiate first
ii ) with respect to x
yx y x and then with
respect to y
STEP 2 STEP 1
EXAMPLE 1 : f ( x, y ) x 3 x y 3xy y
3 2 2 2
Determine : 2 f f
2
i) ii )
x 2 xy
Solution: i) To find 2 f f
STEP 1
x 2
x x
f
Step 1 : find ,let y constant
x
f
x 3x y 3xy y
3 2 2 2
x x
f 3 2
x 3 x y 3 xy y
2 2
x x x x x
Take out the coefficients
constant
3 2 2 2
x 3y x 3y x y
x x x x
3x 3 y 2 x 3 y 1 0
2 2
f
First order partial 3 x 6 xy 3 y
2 2
derivative is x
Therefore, the second partial derivatives is
f
2
f
x 2
x x Answer from step 1
3x 2 6 xy 3 y 2
x
2
3
x
x 6 y x
x
3y 2
x constant
3 2 x 6 y 1 0 6 x 6 y
Solution: i) Short-cut
Given f ( x, y ) x 3x y 3xy y
3 2 2 2
f
1 order :
st
3x 3(2 x) y 3(1) y (0)
2 2
x
3x 6 xy 3 y
2 2
f
2
2nd order : 6 x 6(1) y 0
x 2
6x 6 y
f 2
f
Solution: ii) To find STEP 1
yx y x
From part (i),
f
first partial derivatives is 3 x 6 xy 3 y
2 2
x
yx y
Apply sum and different formula and take out the coefficients
2
y
2
3x 6 x y 3
y y
y
constant
(0) 6 x1 3 2 y
6 x 6 y
Equality of Mixed Second Order
Partial Derivative Theorem
f
2
f 2
xy yx
EXAMPLE 2
2:Given f ( x, y ) e xy
f
2
f
STEP 1
xy x y
Step 1 : find first partial derivative f
let x constant
y
f
y y
e xy 2
Recalling that :
d f ( x)
e
e f ( x ) . f ' ( x)
dx
e xy 2
y
2
xy
Take out the coefficients x
e xy 2 2
x
y
y e
xy 2
x 2 y 2 xye xy 2
Therefore, the second order partial derivatives is
f
2
f
xy x y Answer from step 1
x
2 xye xy 2
Take out the coefficients 2y
2y
x
xexy 2
Product Rule
f
2
xy 2
2y xe
xy x
Product rule
2 y u v uv ' '
2 y (1)(e xy 2
) ( x)(e xy 2
)( y ) 2
2y e 1 xy
xy 2 2 Factorize
common
e xy 2
1 xy
factor
xy 2
2 ye 2
SOLUTION : CONTINUE………
f
2
Find the right hand side
yx
f
2
f
STEP 1
yx y x
Step 1 : find first partial derivative f
let x constant
x
f
e xy 2
x x dx
e
d f ( x)
e . f ' ( x)
f ( x)
e xy 2
x
2
xy
Take out the coefficients
e xy 2 2
y
x
x e y (1)
xy 2 2
y e2 xy 2
Therefore, the second order partial derivatives is
f
2
f
yx y x
Answer from step 1
y
2 xy 2
y e Product Rule
f 2 xy 2
2
y e
yx y
Product rule
u v uv ' '
2 xy 2
y (e ) ( y ) e
2 xy 2 2
xy
y y
(2 y )(e xy 2 xy 2 2
) ( y ) e x2
y
y
xy 2 xy 2
(2 y )(e ) ( y )(e 2
) x(2 y )
2 2
2 ye 2 xy e
xy 3 xy
Factorize
2
2 ye 1 xy
xy 2
common
factor 2 ye xy 2
Hence :
f f
1 xy
2 2
xy 2
xy yx
2 ye 2
Verify !
y
EXAMPLE 3 : Given f (x, y) ln
x
2
f f f
2 2 2
, evaluate 2 2 at x 2, y 1
x y xy
Solution:
y
f (x, y) ln rewrite f (x, y) lny lnx
x
The first partial derivatives are :
f 1 f 1
x x y y
So, the second partial derivatives are :
Answer of first order partial derivative
f
2
f 1
x 2
1 1
x 2
x x x x x x
Answer of first order partial derivative
1
y 2
f
2
f 1 1
y y y y y y y
2
1 1
2 2 0
2
x y
when x 2, y 1
1 1
2 2
2 1
1 1
1
4 4
EXAMPLE 4 : (Choosing The Order of Differentiation)
ey 2z
Given z xy 2 determine
y 1 x y
2z
Solution: The symbol tell us to differentiate first
xy
with respect y and then respect to x.
.
The equality of mixed partial derivative theorem:
2z 2z
xy yx
z2
z
STEP 1
yx y x
Step 1 : find first partial derivative f
let y constant x
z ey
xy 2
y 1
x x
y 1 0 1
z
y
x
Remark : If we differentiate first we respect to
y, we have to use quotient rule and
we are for significantly more work !
z ey
xy 2
y 1
y y
ey
xy 2
y y y 1
Quotient rule
Homework !
More Higher Order Derivatives
(3rd Order, 4th Order…. )
EXAMPLE 5 : Let f ( x, y ) y e y
2 x
find 3 f
y 2 x
x
Differentiate w.r.to y Copy coefficient
Step 2 : 2 nd
order f
2
2y e x
(diff. w.r.to y) yx
y x
2
Chain Rule for functions of multiple intermediate
variables and 1 independent variable
dw w dx w dy
t
dt x dt y dt
w
Remark : i) Notice that both partial derivative
x
and single-variable derivatives dx
are involved. dt
Example 1 :Suppose that wx y 2
where
xt 2
and y t 3
dw
Use the chain rule to find dt
and check the result by expressing w
and differentiating
as a function of t
directly.
Solution : By using the chain
rule
Form dw w dx w dy
ula : substit
dt x dt y dt ute
2 d 2 2 d 3
Given
(x y) (t ) (x y) (t )
x dt y dt
wx y 2
(2xy)(2t) (x .1)(3t )
2 2
xt 2
Answer in term
of t
yt 3
(2t .t )(2t) (t )(3t )
2 3 4 2
4t 3t
6 6
7t 6
Solution :
Continue……….
method 2: We can express w
directly as a function of t
S
w x 2
y o,
substit
ute wt 7
(t ) (t )
2 2 3
dw
7t 6
dt
(t )(t ) t
4 3 7
d d
( xy y ) (cos ) ( xy y ) (sin )
Chain
x dt y dt
rule
1 1
xy y 2 (1. y 0)( sin ) xy y 2 ( x.1 1)(cos )
1 1
2 2
Solution : Continue………………
dz 1 1
xy y ( y )( sin ) xy y 2 ( x 1)(cos )
1 1
2
d 2 2
( y )( sin ) ( x 1)(cos ) simplify
2 xy y 2 xy y
dz (1)(1) (0 1)(0)
d 2 (0)(1) 1
dz 1 0 1
d 2 0 1 2
Method 2 : If we express z directly as a
, we
function of obtain :
z xy y substitute x cos
y sin
I w f ( x, y , z ) is differentiable and
f
x ,y and z are differentiable functions of t,
CHAIN dw w dx w dy w dz
RULE : dt x dt y dt z dt
Example :Given w xy z where
x cos t , y sin t , zt
dw
Find when t 0
dt
Solution
:
dw w dx w dy w dz
substitut dt x dt y dt z dt
e
d d d
( xy z ) (cos t ) ( xy z ) (sin t ) ( xy z ) (t )
x dt y dt z dt
( y )( sin t ) ( x )(cos t ) 1
Answer in term of t
(sin t )( sin t ) (cos t )(cos t ) 1
(sin t ) 2 (cos t ) 2 1 simplify
(0) (1) 1
2 2
2
A FORMULA FOR IMPLICIT
DIFFERENTIATION
Case 1 : F ( x, y ) is differentiable
Suppose
and the equation F ( x, y ) 0
defines y implicitly as a differentiable
function of x. Then, at any point where
F
0 , we obtain that :
y
F
dy
x
dx F
y
Example 1:
Given x xy y 7
2 2
F ( x, y ) 0
Must be
Step 1: zero
Let F ( x, y ) x xy y 7 0
2 2
F
dy x
dx F
y
Solution : Continue………………
Let F ( x, y ) x xy y 7
2 2
F
x
2 x (1) y 0 0 2 x y
F
0 x(1) 2 y 0 x 2 y
y
dy
F 2x y y 2x
Formula
F
x
dx
y x 2y 2y x
simplify
Method 2: differentiating the given equation
x xy y 7
2 2
,implicitly
d 2 d
( x xy y )
2
(7)
dx dx
Solve it by your-self
dy y 2 x
dx 2 y x
Remark: The calculation which using formula for
implicit differentiation is significantly shorter than the
single-variable calculation which we learned in Diploma
course.
Case 2 : For 3 variables x, y, z
Now suppose
that
z is given implicitly as
F , we obtain
0 that :
z
F F
z z y
x and
x F y F
z z
Example 2 : Given 3x 2 y z xyz 2
3 3 3
z z
find and
dx dy
Solution: Must be
The given equation can be written as zero
F ( x, y, z ) 3x 2 y z xyz 2 0
3 3 3