Partial Differentiation (Notes)
Partial Differentiation (Notes)
Partial Differentiation (Notes)
Partial Differentiation
2z
= x − y sin xy + cos xy = cos xy − xy sin xy ,
xy
2z
= y − x sin xy + cos xy = cos xy − xy sin xy .
yx
x+ y
(d) z =
x− y
z
=
(x − y ) 1 − (x + y ) 1 = − 2 y ,
x (x − y )2 (x − y )2
z
=
(x − y ) 1 − (x + y ) (− 1) = 2 x ,
y (x − y )2 (x − y )2
2z 4y 2z 4x
= , = ,
x 2
(x − y )3 y 2
(x − y )3
2 z (x − y ) 2 − 2 x 2(x − y ) (1) − 2 x 2 + 2 y 2
2
= =
xy (x − y )4 (x − y )4
− 2(x + y )(x − y ) − 2(x + y )
= = ,
(x − y )4 (x − y )3
2 z (x − y ) (− 2) − 2 y 2(x − y ) (− 1) − 2 x 2 − y 2
=
2
=
( )
yx (x − y )4 (x − y )4
− 2(x + y )(x − y ) − 2(x + y )
= = .
(x − y )4 (x − y )3
2z 2z z z
Note: = if & are continuous and z has a 2nd partial differential.
xy yx x y
z z
Example: If z = ln (e x + e y ) , show that + = 1.
x y
z ex z ey
Solution: = , = ,
x e x + e y y e x + e y
z z ex ey
+ = x + = 1.
x y e + e y e x + e y
z z
Example: If z = f (x 2 + y 2 ) , show that x −y = 0.
y x
z z
Solution:
x
( )
= f ' x 2 + y 2 (2 x ) ,
y
(
= f ' x 2 + y 2 (2 y ) ,)
z z
x −y
y x
( ) (
= xf ' x 2 + y 2 (2 y ) − yf ' x 2 + y 2 (2 x ) )
= 2 xy f ' (x 2 + y 2 ) − f ' (x 2 + y 2 ) = 0
z z
Example: If z = xf ( xy ) , express x −y in the simplest form.
x y
z V
Solution: = xf ' (xy )( y ) + f (xy ) , = xf ' (xy )(x ) = x 2 f ' (xy ) ,
x y
z z
x −y
x y
( )
= x 2 yf ' (xy ) + xf (xy ) − yx 2 f ' x 2 + y 2 = xf (xy ) = z .
Small Increment
V
V = r 2 h ; = 2rh ………(1)
r
V
= r 2 ………(2)
h
If both r and h change simultaneously, i.e.,
r ' = r + δr ,
h ' = h + δh ,
then V ' = V + δV
V ' = r ' h '
2
V + δV = (r + δr ) (h + δh )
2
( )
= r 2 + 2rδr + δr 2 (h + δh )
V + δV = r 2 h + 2rhδr + hδr 2 + r 2 δh + 2rδrδh + δr 2 δh
δV = 2rhδr + hδr 2 + r 2 δh + 2rδrδh + δr 2 δh
hδr 2 + 2rδrδh + δr 2 δh → 0 ,
δV 2rhδr + r 2 δh ………………(3)
Putting (1) & (2) into (3),
V V
δV = δr + δh
r h
= 20 − 2.5
= 54 .96 cm 3 .
Example: The two sides forming the right-angled of a right-angled triangle are
denoted by a and b. The hypotenuse is h. If there are possible errors of
0.5% in measuring a and b, find the maximum possible error in
calculating: (i) the area of the triangle;
(ii) the length of h.
Solution: (i)
1 A 1 A 1
A= ab , = b, = a,
2 a 2 b 2
δ a = 0 .5 % a , δb = 0 . 5 % b ,
A A
δb = b( 0.5%a ) + a( 0.5%b )
1 1
δA = δa +
a b 2 2
= ab( 0.5% + ( 0.5%).) = 1% A
1
2
δA = 1% of A.
h a h b
(ii) h = a 2 + b 2 , = , = ,
a a2 + b2 b a2 + b2
h h a2 b2
δh = δa + δb = ( 0.5%) + ( 0.5%)
a b a2 + b2 a2 + b2
a2 + b2
= (0.5%) = ( 0.5%) a 2 + b 2 = 0.5%h
a +b
2 2
δh = 0.5% of h.
Example: Given P = w 2 hd . If errors of up to 1% (plus or minus) are possible in the
measured values of w, h and d, find the maximum possible percentage
error in the calculated value of P.
P P P
Solution: P = w 2 hd , = 2whd , = w2 d , = w2 h ,
w h d
δw = 1% w , δh = 1% h , δd = 1 % d ,
P P P
δP = δw + δh + δd
w h d
= 2whd ( 1% w) + w 2 d ( 1%h ) + w 2 h( 1%d )
= w 2 hd (2% + 1% + 1% )
= 4% P
The maximum possible error of P is 4% .
Rates Of Change
V V
V = r 2 h ; = 2rh , = r 2
r h
V V
δV = δr + δh
r h
( δt ) : δV = V δr + V δh
δt r δt h δt
δV dV
as t → 0 , =
δt dt
δr dr
=
δt d t
δh dh
=
δt d t
dV V dr V dh
= +
dt r dt h dt
Example: The radius of a cylinder increases at the rate of 0.2 cm/sec while the height
decreases at the rate of 0.5cm/sec. Find the rate at which the volume is
changing at the instant when r = 8 cm and h = 12 cm.
V V
Solution: V = r 2 h ; = 2rh , = r 2 ,
r h
dr dh
r = 5 cm, h = 12 cm, = 0.2 cm, = −0.5 cm.
dt dt
dV V dr V dh
= +
dt r dt h dt
= 2rh(0.2) + r 2 (− 0.5)
= 0.4(8)(12 ) + (8 2 )(− 0.5)
= 20 .11 cm 3 /sec.
Example: The total surface area, S of a cone of base radius, r and perpendicular
height, h is given by S = r 2 + r r 2 + h 2 . If r and h are each increasing
at the rate of 0.25cm/sec, find the rate at which S is increasing at the
instant when r = 3 cm and h = 4 cm.
Solution: S = r 2 + r r 2 + h 2 ,
S r 2
= 2r + r 2 + h 2 + ,
r r 2 + h2
S rh
= ,
h r 2 + h2
S 64 S 12
when r = 3 cm and h = 4 cm, = and =
r 5 h 5
dr dh
= = 0.25
dt dt
dS S dr S dh
= +
dt r dt h dt
= (0.25) + (0.25)
64 12
5 5
= 11 .938 cm /sec.
2
z z
In general, if z = f ( x, y ) , δz = δx + δy
x y
δz z δx z δy
( δt ) : = +
δt x δt y δt
dz z dx z dy
as t → 0 , = +
dt x dt y dt
dz z dx z dy z dw
If z = f ( x, y, w) , then = + + .
dt x dt y dt w dt
Chain Rule
Implicit Functions
dy
- Differential coefficient of implicit functions (finding from z)
dx
z z
If z = f ( x, y ) , δz = δx + δy
x y
( δx ) : δz = z δx + z δy
δx x δx y δx
dz z z dy
as x → 0 , = +
dx x y dx
dz z
−
dy dx x
=
dx z
y
dz
But, we can’t find as we don’t know the value of z.
dx
In general, z is usually given, for example, f ( x, y ) = 0 , then z = 0 .
If z = f ( x, y ) = 0 , then
dz z
=0 −
dx
= x
dy
dx z
y
dy
Example: If e xy + x + y = 1 , evaluate at (0, 0).
dx
Solution: e xy + x + y − 1 = 0 . Let z = e xy + x + y − 1 , then z = 0 .
z z dz
= ye xy + 1 , = xe xy + 1 , =0
x y dx
z
−
ye xy + 1
= x = − xy
dy
dx z xe + 1
y
dy ye xy + 1
At (0, 0), = − xy = −1
dx xe + 1
dy
Example: Find an expression for when x tan y = y sin x .
dx
Solution: x tan y − y sin x = 0 , z = x tan y − y sin x z = 0
z z dz
= tan y − y cos x , = x sec 2 y − sin x , =0
x y dx
z
−
tan y − y cos x
= x = −
dy
dx z x sec 2 y − sin x
y
dy
Example: If e x + y = x 2 y 2 , find an expression for .
dx
Solution: z = e x+ y − x 2 y 2 = 0 ,
z z dz
= e x + y − 2xy 2 , = e x+ y − 2 x 2 y , =0
x y dx
z
−
dy x e x + y − 2 xy 2
= = − x+ y
dx z e − 2x 2 y
y
Change Of Variables
If z = f ( x, y ) ,
z z
then δz = δx + δy ……………(4)
x y
If x and y are functions of 2 other variables u and v, then z can be expressed as a
z z
function of u and v. Therefore we need to find and .
u v
δz z δx z δy
Divide (4) with δu , = + .
δu x δu y δu
δz z
As u → 0 and v is kept constant, then =
δu u
δx x
=
δu u
δy y
=
δu u
z z x z y
= +
u x u y u
When the same manipulation is done for variable v, then
z z x z y
= +
v x v y v
z z
Example: Given z = x 2 + y 2 , x = r cos and y = r sin 2 . Find and .
r
z z
Solution: = 2 x = 2r cos , = 2 y = 2r sin 2 ,
x y
x y
= −r sin , = 2r cos 2 ,
x y
= cos , = sin 2 ,
r r
z
= 2r cos (cos ) + 2r sin 2 (sin 2 ) = 2r cos 2 + 2r sin 2 2
r
z
= 2r cos (− r sin ) + 2r sin 2 (2r cos 2 ) = r 2 (2 sin 4 − sin 2 )
z z
Example: Given z = e xy , x = ln (u + v ) and y = sin (u − v ) , find and .
u v
z z
Solution: = ye xy , = xe xy ,
x y
x 1 x 1
= , = ,
u u + v v u + v
y y
= cos(u − v ) , = − cos(u − v ) ,
v v
z 1
= ye xy + xe cos(u − v )
xy
u u + v
y
= e xy + x cos(u − v )
u + v
z 1
= ye xy − xe cos(u − v )
xy
v u + v
y
= e xy − x cos(u − v )
u + v
Extreme VaLues and SaddLe Points
Exercises