Partial Differentiation
Partial Differentiation
∂ ∂f ∂ f
2
∂y ∂ y
= = f yy
∂y 2
∂ ∂ f = ∂ f = f
2
∂x ∂ y ∂ x∂ y xy
∂ ∂f ∂2 f
∂y ∂ x = = f yx
∂ y∂ x
Note
If f, f x , f y are continuous then f xy= f yx
4.3.3 Homogeneous Function
A function f(x , y) of two independent variable x and y
is said to be homogeneous in x and y of degree n if
f(tx , ty)=t n f(x , y) for t > 0.
4.3.4 Euler’s Theorem on Homogeneous Function
Theorem : Let f be a homogeneous function in x and y of
degree n, then
∂f ∂f
x +y = n f.
∂x ∂y
Corrollary : In general if f(x 1 , x 2, x 3 ...xm ) is a homogeneous function
of degree n in variables x 1 , x 2 , x 3 ...x m , then,
∂f ∂f ∂f ∂f
x1 + x2 + x3 + ... + x m = n f.
∂x1 ∂ x2 ∂x3 ∂x m
Example 20
It u(x, y) = 1000 − x3 − y2 + 4x3 y6 + 8y, find each of the
following.
∂ 2u
(i) ∂u (ii) ∂u (iv) ∂ u2 (v) ∂ u (vi) ∂ u
2 2 2
(iii)
∂x ∂y ∂x 2 ∂y ∂ x∂ y ∂ y∂ x
Solution :
u(x, y) = 1000 − x 3 − y2 + 4x 3 y6 + 8y
159
(i) ∂u = ∂ (1000 − x 3 − y2 + 4x 3 y6 + 8y)
∂x ∂x
= 0 − 3x 2 − 0 + 4 (3x 2 )y6 + 0
= −3x 2 + 12x 2 y6 .
∂u ∂
(ii) ∂y = ∂ y (1000 − x 3 − y2 + 4x 3 y6 + 8y)
= 0 − 0 − 2y + 4x 3 (6y5 ) + 8
= −2y + 24x 3 y5 + 8
∂ 2u
(iii) = ∂ ∂ u
∂x 2 ∂x ∂ x
= ∂ (−3x 2 + 12x 2 y6 )
∂x
= −6x +12(2x)y6
= −6x + 24xy 6.
∂ 2u ∂
(iv) = ∂y ∂u
∂y 2 ∂y
∂
= ∂ y (−2y + 24x 3 y5 + 8)
= −2 + 24x 3 (5y4 ) + 0
=-2 + 120x 3 y4
(v) ∂ 2 u = ∂ ∂ u
∂ x∂ y ∂ x ∂y
= ∂ (−2y + 24x 3 y5 + 8)
∂x
= 0 + 24(3x 2 )y5 + 0
= 72x 2 y5 .
(vi) ∂ 2 u = ∂ ∂u
∂ y∂ x ∂y ∂x
∂
= ∂ y (−3x 2 + 12x 2 y6 )
= 0 + 12x 2 (6y5 ) = 72x 2 y5
160
Example 21
If f(x, y) = 3x 2 + 4y 3 + 6xy − x 2 y 3 + 5 find (i) f x (1, -1)
(ii) fyy (1, 1) (iii) fx y (2, 1)
Solution :
(i) f(x, y) = 3x 2 + 4y3 + 6xy − x 2 y3 + 5
∂ 2u
= ∂ ∂ u
∂x 2 ∂x ∂x
∂ x ( x 2 + y 2 + z 2 )(1) − x( 2 x)
= ∂ x 2
2 =
x +y +z (x 2 + y 2 + z2 )2
2
x2 + y2 + z2 − 2x2 − x2 + y 2 + z 2
= =
( x 2 + y 2 + z 2 )2 ( x 2 + y 2 + z 2 )2
Differentiating (1) partially with respect to y we get,
∂u x
∂y = x2 + y2 + z 2
∂ 2u ( x 2 + y 2 + z 2 )(1) − y (2 y ) − y2 + z2 + x2
= = 2
∂y (x 2 + y 2 + z 2 ) 2 ( x + y 2 + z 2 )2
2
∂ 2u ∂ 2u ∂ 2u − x + y + z − y + z + x − z + x + y
2 2 2 2 2 2 2 2 2
+ + =
∂x 2 ∂y 2 ∂z 2 (x 2 + y 2 + z2 )2
x 2 + y2 + z 2 1
= 2 2 2 =
x + y2 + z 2
(x + y + z )
2 2
Example 23
Verify Euler’s theorem for the function
u(x, y) = x3 + y3 + x2 y.
Solution :
We have u(x, y) = x 3 + y3 + x 2 y ---------(1)
u(tx , ty)= t x + t y + t x (ty)
3 3 3 3 2 2
162
= t 3 (x 3 + y3 + x 2 y) = t 3 u(x, y)
∴ u is a homogeneous function of degree 3 in x and y.
∂u
We have to verify that x ∂u +y ∂ y = 3u.
∂x
Differentiating (1) partially with respect to x, we get
∂u = 3x 2 + 2xy
∂x
∴ x ∂u = 3x 3 + 2x 2 y
∂x
Differentiating (1) partially with respect to y, we get
∂u
∂y = 3y2 + x 2
∂u
∴ y ∂ y = 3y3 + x 2 y
∂u
∴ x ∂u + y ∂ y = 3x 3 + 2x 2 y + 3y3 + x 2 y
∂x
= 3(x 3 + x 2 y + y3 ) = 3u
Thus Euler’s Theorem is verified, for the given function.
Example 24
x4 + y 4
Using Euler’s theorem if u = log x − y
∂u
show that x ∂ u + y ∂ y = 3.
∂x
Solution :
x 4 + y4
u = log x − y
x 4 + y4
⇒ eu = x−y
This is a homogeneous function of degree 3 in x and y
∴ By Euler’s theorem,
∂
x ∂ (eu ) + y ∂y (eu ) = 3eu
∂x
163
∂u
x eu ∂u + ye u ∂ y = 3eu
∂x
∂u
dividing by eu we get x ∂u + y ∂ y = 3
∂x
Example 25
Without using Euler’s theorem prove that
∂u
x ∂ u + y ∂ y + z ∂∂uz = 4u, if u = 3x2 yz + 4xy 2 z + 5y4
∂x
Solution :
We have u = 3x 2 yz + 4xy 2 z + 5y4 --------(1)
Differentiating partially with respect to x, we get
∂u = 3(2x)yz + 4(1)y2 z + 0
∂x
= 6xyz + 4y2 z
Differentiating (1) partially with respect to y, we get
∂u
∂y = 3x 2 (1)z + 4x(2y)z + 20y3
= 3x 2 z + 8xyz + 20y3
Differentiating (1) partially with respect to z, we get
∂u = 3x 2 y(1) + 4xy 2 (1) + 0
∂z
= 3x 2 y + 4xy2
∂u
∴ x ∂u + y ∂ y + z ∂u
∂x ∂z
= 6x yz + 4xy z + 3x 2 yz + 8xy 2 z + 20y4 + 3x 2 yz + 4xy 2 z
2 2
165