Functions of Several Variables
Functions of Several Variables
Limit. Let f (x, y) be a function of two independent variables x and y. f (x, y) is said
to have the limit ℓ as (x, y) tends to (x0 , y0 ), if corresponding to any positive number
ǫ, however small, there is a positive number η such that
x − 2y
lim f (x, y) = lim
(x,y)→(0,0) (x,y)→(0,0) x + 2y
x − 2mx
= lim
x→0 x + 2mx
x(1 − 2m)
= lim
x→0 x(1 + 2m)
1 − 2m
= ,
1 + 2m
which is (different for) lineswith different slopes.
x − 2y x
Also lim lim = lim =1
x→0 y→0 x + 2y
( ) x→0 x !
x − 2y −2y
and lim lim = lim = −1.
y→0 x→0 x + 2y y→0 2y
Hence, as (x, y) approaches (0, 0) along different paths, f (x, y) approaches different
limits. Hence, the two repeated limits are not equal and hence f (x, y) is
discontinuous at the origin.
xy + 1
Example 2.2. Find lim .
x→∞
y→2
x2 + 2y2
x y + 1x y + 1x
xy + 1 2
Solution. lim 2 2
= lim y 2
= lim y 2
= = 0.
x→∞ x + 2y
y→2
x→∞ 2
y→2 x 1 + 2 x
x→∞
y→2 x 1 + 2 x
∞
Function of Several Variables 69
( )
x−y
Example 2.3. If f (x, y) = , show that lim lim f (x, y) , lim lim f (x, y) .
2x + y x→0 y→0 y→0 x→0
Solution.
( ) ( )
x−y
lim lim f (x, y) = lim lim
x→0 y→0 x→0 y→0 2x + y
x 1
= lim = .
x→0 2x 2
( )
x−y
lim lim f (x, y) = lim lim
y→0 x→0 y→0 x→0 2x + y
!
−y
= lim = −1.
y→0 y
∆A = (x + ∆x)y − xy = y∆x.
∂2 u ∂ ∂u ∂2 u ∂ ∂u ∂2 u ∂ ∂u
= , = and = .
∂x2 ∂x ∂x ∂y2 ∂y ∂y ∂z2 ∂z ∂z
∂2 u ∂ ∂u
Also, =
∂x∂y ∂x ∂y
∂2 u ∂ ∂u
and = .
∂y∂x ∂y ∂x
∂2 u ∂2 u
Generally, = .
∂x∂y ∂y∂x
The third and higher orders of the partial derivatives can be obtained similarly.
✎ ☞
Worked Examples
✍ ✌
∂V
Example 2.5. If V = πr2 h where r and h are independent variables, find and
∂r
∂V
.
∂h
Solution. Given: V = πr2 h.
Differentiating partially w.r.t. r,
∂V
= πh × 2r = 2πrh.
∂r
Differentiating partially w.r.t. h,
∂V
= πr2 × 1 = πr2 .
∂h
∂u ∂u
Example 2.6. If u = log(e x + ey ), show that + = 1.
∂x ∂y
Solution. Given: u = log(e x + ey ).
∂u ex
= x .
∂x e +y ey
∂u e
= .
∂y e x + ey
∂u ∂u e + eyx
+ = = 1.
∂x ∂y e x + ey
x ∂z ∂z
Example 2.7. If z = tan−1 , prove that x + y = 0.
y ∂x ∂y
72 Engineering Mathematics - I
x
Solution. Given: z = tan−1 .
y
∂z 1 1 y2 1 y
= = = 2 .
∂x 1 + x2 y x + y y x + y2
2 2 2
y
∂z xy
x= 2 .
∂x x + y2
∂z 1 x xy2 x
= 2
− 2
= − 2 2 2
=− 2
∂y x y y (x + y ) x + y2
1+ 2
y
∂z xy
y =− 2
∂y x + y2
∂z ∂z xy xy
x +y = 2 2
− 2 = 0.
∂x ∂y x + y x + y2
∂u ∂u ∂u
Example 2.8. If u = (x − y)4 + (y − z)4 + (z − x)4 , find the value of + + .
∂x ∂y ∂z
Solution. u = (x − y)4 + (y − z)4 + (z − x)4 .
∂u
= 4(x − y)3 + 4(z − x)3 (−1) = 4(x − y)3 − 4(z − x)3 .
∂x
∂u
= 4(y − z)3 − 4(x − y)3 .
∂y
∂u
= 4(z − x)3 − 4(y − z)3 .
∂z
∂u ∂u ∂u
+ + = 0.
∂x ∂y ∂z
∂u ∂u ∂u 3
Example 2.9. If u = log(x3 + y3 + z3 − 3xyz), prove that + + = .
∂x ∂y ∂z x+y+z
Solution. u = log(x3 + y3 + z3 − 3xyz).
∂u 3x2 − 3yz
= 3 .
∂x x + y3 + z3 − 3xyz
∂u 3y2 − 3xz
= 3 .
∂y x + y3 + z3 − 3xyz
∂u 3z2 − 3yx
= 3 .
∂z x + y3 + z3 − 3xyz
Function of Several Variables 73
3(x2 + y2 + z2 − xy − yz − zx) 3
= 2 2 2
= .
(x + y + z)(x + y + z − xy − yz − zx) x + y + z
∂u ∂u ∂u
Example 2.10. If u = (x − y)(y − z)(z − x), show that + + = 0.
∂x ∂y ∂z
Solution. Given, u = (x − y)(y − z)(z − x).
∂u
= (y − z){(x − y)(−1) + (z − x) · 1}
∂x
= (y − z)(−x + y + z − x)
= (z − x)(z + x − 2y)
= z2 − x2 − 2y(z − x).
∂u
= (x − y){(y − z) · 1 + (z − x) · (−1)}
∂z
= (x − y)(y − z − z + x)
= (x − y)(x + y − 2z)
= x2 − y2 − 2z(x − y).
∂u ∂u ∂u
+ + = y2 − z2 − 2x(y − z) + z2 − x2 − 2y(z − x) + x2 − y2 − 2z(x − y)
∂x ∂y ∂z
= −2{xy − xz + yz − xy + zx − yz} = −2 × 0 = 0.
p ∂2 u ∂2 u
Example 2.11. If u = log x2 + y2 , show that 2 + 2 = 0.
p ∂x ∂y
2 2 1 2 2
Solution. u = log x + y = 2 log(x + y ).
Differentiating partially w.r.t. x we get
∂u 1 1 x
= · 2 2
· 2x = 2 .
∂x 2 x + y x + y2
74 Engineering Mathematics - I
∂2 u (x2 + y2 ) · 1 − x · 2x y2 − x2
= = .
∂x2 (x2 + y2 )2 (x2 + y2 )2
∂u 1 1 y
= · 2 2
· 2y = 2 .
∂y 2 x + y x + y2
∂2 u (x2 + y2 ) · 1 − y · 2y x2 − y2
= = .
∂y2 (x2 + y2 )2 (x2 + y2 )2
∂2 u ∂2 u y2 − x2 + x2 − y2
+ = = 0.
∂x2 ∂y2 (x2 + y2 )2
∂2 u ∂2 u ∂2 u
!
2 2 2
Example 2.12. If u = log(x2 + y2 + z2 ), prove that (x + y + z ) + + = 2.
∂x2 ∂y2 ∂z2
Solution. Given, u = log(x2 + y2 + z2 )
∂u 2x
= 2 .
∂x x + y2 + z2
∂2 u (x2 + y2 + z2 ) · 2 − 2x · 2x
=
∂x2 (x2 + y2 + z2 )2
2x + 2y2 + 2z2 − 4x2
2
=
(x2 + y2 + z2 )2
2y2 + 2z2 − 2x2
= 2
(x + y2 + z2 )2
2(y2 + z2 − x2 )
= 2 .
(x + y2 + z2 )2
Function of Several Variables 75
Similarly, we have
∂2 u 2(x2 + z2 − y2 )
= 2
∂y2 (x + y2 + z2 )2
2
∂ u 2(x2 + y2 − z2 )
and 2 = 2 .
∂z (x + y2 + z2 )2
∂2 u ∂2 u ∂2 u 2[y2 + z2 − x2 + x2 + z2 − y2 + x2 + y2 − z2 ]
Now, + + =
∂x2 ∂y2 ∂z2 (x2 + y2 + z2 )2
2(x2 + y2 + z2 )
= 2
(x + y2 + z2 )2
2
= 2 .
x + y2 + z2
2 ∂2 u ∂2 u
!
2 2 2 ∂ u
∴ (x + y + z ) + + =2
∂x2 ∂y2 ∂z2
∂u 2
2u 2u
! !2
∂ ∂ 1 ∂u
Example 2.13. If u = e xy , show that 2 + 2 = + . [Jan 2013]
∂x ∂y u ∂x ∂y
Solution. u = e xy
∂u
= e xy · y = uy.
∂x
∂2 u ∂u
2
=y· = yuy = uy2 .
∂x ∂x
∂u
= e xy · x = ux.
∂y
∂2 u ∂u
2
= x· = x · ux = ux2 .
∂y ∂y
!2 !2
∂u ∂u
+ = u2 y2 + u2 x2
∂x ∂y
= u[uy2 + ux2 ]
" 2
∂ u ∂2 u
#
=u +
∂x2 ∂y2
!2 !2
1 ∂u ∂u ∂2 u ∂2 u
+ = + .
∂y ∂x2 ∂y2
u ∂x
!
x y ∂u ∂u
Example 2.14. If u = y f +g find the value of x + y . [Dec 2012]
! y x ∂x ∂y
x y
Solution. u = y f +g
y x
76 Engineering Mathematics - I
!
∂u ′ x 1 y −y
= yf · + g′
∂x y y x x2
!
∂u x y y
x = xf′ − g′ . (1)
∂x y x x
! ! !
∂u ′ x −x x ′ y
1
= yf · 2 +f ·1+g · .
∂y y y y x x
! !
∂u ′ x x y y
y = −x f + yf + g′ (2)
∂y y y x x
!
∂u ∂u x
(1) + (2) ⇒ x + y = yf .
∂x ∂y y
∂2 r ∂2 r ∂2 r 2
Example 2.15. If r2 = x2 + y2 + z2 , prove that + + = .
∂x2 ∂y2 ∂z2 r
Solution. Given: r2 = x2 + y2 + z2 .
Differentiating w.r.t. x partially we get,
∂r ∂r x
2r = 2x ⇒ = .
∂x ∂x r
∂r
2 r − x x 2 2
∂ r
= ∂x = r − x r = r − x .
∂x2 r2 r2 r3
2
∂ r r −y2 2
Similarly, 2 =
∂y r3
∂ r r − z2
2 2
and 2 = .
∂z r3
∂2 r ∂2 r ∂2 r 3r2 − (x2 + y2 + z2 )
+ + =
∂x2 ∂y2 ∂z2 r3
2
3r − r 2 2r2 2
= = = .
r3 r3 r
y x ∂2 u x2 − y2
Example 2.16. If u = x2 tan−1 − y2 tan−1 , prove that = 2 .
x y ∂x∂y x + y2
Function of Several Variables 77
∂u 1 1 h 2 1 −x y i
= x2 − y + tan−1 2y
∂y y2 x x2 y2 x
1+ 1+
x2 y2
x3 xy2 −1 y
= + − 2y tan
x2 + y2 x2 + y2 x
2 2
x(x + y ) −1 x −1 x
= 2 − 2y tan = x − 2y tan
x + y2 y y
∂2 u 11 2y2
= 1 − 2y = 1 −
∂x∂y x2 y x2 + y2
1+ 2
y
x + y − 2y2
2 2 x2 − y2
= = .
x2 + y2 x2 + y2
Example 2.17. If u = xy , show that u xxy = u xyx . [Jan 2012, Jun 2008]
Solution. Given: u = ey log x
u = xy
y ∂2 u ∂2 u ∂2 u
Example 2.18. If u = (x − y) f , find the value of x2 2 + 2xy + y2 2 .
x ∂x ∂x∂y ∂y
[May 2001]
y
Solution. u = (x − y) f
x
∂u y −y y
= (x − y) f ′ + f .
∂x x x2 x
∂2 u y
′′ y
−y
′ y
= −(x − y) · f − (x − y) f · y(−2)x−3
∂x2 x2 x x2 x
y y y −y
− 2 · f′ · 1 + f′ .
x x x x2
y2 ′′ y y ′ y
y y y y
= (x − y) 4 f + 2 3 (x − y) f − 2 f′ − 2 f′
x x x x x x x x
2
∂ u y 2 y 2y y y
x2 2 = 2 (x − y) f ′′ + (x − y) f ′ − 2y f ′ . (1)
∂x x x x x x
∂u y 1
y
= (x − y) f ′ · +f (−1)
∂y x x x
y ′ y y
= 1− f −f .
x x x
∂2 u y ′′ y 1 ′ y
−1 ! 1
′ y
= 1 − f · + f − f · .
∂y2 x x x x x x x
(x − y) ′′ y 2 ′ y
= f − f
x2 x x x
2 2 2
2∂ u y ′′ y 2y ′ y
y = 2 (x − y) f − f . (2)
∂y2 x x x x
Function of Several Variables 79
∂u
Differentiating w.r.t. x partially we get
∂y
∂2 u
!
y ′′ y −y ′ y
−1 ′ y
−y
= 1− f + f (−y) − f
∂x∂y x x x2 x x2 x x2
(x − y)y ′′ y y y y y
=− 3
f + 2 f′ + 2 f′
x x x x x x
(x − y) · y ′′ y 2y ′ y
=− f + 2f .
x3 x x x
∂2 u −2y2 4y2 y
′′ y
2xy = 2 (x − y) f + f′ . (3)
∂x∂y x x x x
∂2 u ∂2 u ∂2 u
(1) + (2) + (3) ⇒ x2 2 + 2xy + y2 2 = 0.
∂x ∂x∂y ∂y
Homogeneous function. A function f (x, y) is said to be a homogeneous function
in x and y of degree n if f (tx, ty) = tn f (x, y) for any positive t.
Example
(i) f (x, y) = x2 + y2 + 2xy is a homogeneous function of degree 3 in x and y.
(ii) If tan−1 yx = u then tan u is a homogeneous function of degree 0.
Note. If u = f (x, y) is a homogeneous function of degree n in x and y, then u can
y
be written as u = xn F .
x
3
x +y 3
Example. Let u = .
x+y
t3 x3 + t3 y3 t3 (x3 + y3 ) x3 + y3
u(tx, ty) = = = t2 = t2 u.
tx + ty t(x + y) x+y
u is a homogeneous function of degree 2.
y3
x3 1 + 3
Now u = x
y
x 1+
x
y 3
1 + x
2
=x y
1+
x
y 3
y y 1+
= x2 F where F x
= y .
x x 1+
x
80 Engineering Mathematics - I
∂f ∂f
x +y = n f. (1)
∂x ∂y
Function of Several Variables 81
∂2 f ∂ f ∂2 f ∂f
x + + y =n .
∂x2 ∂x ∂x∂y ∂x
∂2 f ∂2 f ∂f ∂f ∂f
=⇒ x + y =n − = (n − 1) .
∂x2 ∂x∂y ∂x ∂x ∂x
Multiplying both sides by x we get
∂2 f ∂2 f ∂f
x2 2
+ xy = (n − 1)x . (2)
∂x ∂x∂y ∂x
∂2 f ∂2 f ∂ f ∂f
x +y 2 + =n
∂y∂x ∂y ∂y ∂y
∂2 f ∂2 f ∂f ∂f ∂f
x +y 2 =n − = (n − 1) .
∂y∂x ∂y ∂y ∂y ∂y
∂2 f ∂2 f
Since the partial derivatives of f are continuous we have = .
∂x∂y ∂y∂x
∂2 f ∂2 f ∂f
∴x + y 2 = (n − 1) .
∂x∂y ∂y ∂y
∂2 f ∂2 f ∂f
xy + y2 2 = (n − 1)y . (2)
∂x∂y ∂y ∂y
∂2 f ∂2 f 2
2∂ f
∂f ∂f
(1) + (2) =⇒ x2 + 2xy + y = (n − 1) x + y
∂x2 ∂x∂y ∂y2 ∂x ∂y
= (n − 1)n f [By Euler’s theorem]
= n(n − 1) f.
✎ ☞
Worked Examples
✍ ✌
82 Engineering Mathematics - I
∂u ∂u ∂u
Example 2.19. If u = (x − y)(y − z)(z − x) prove that + + = 0 and
∂x ∂y ∂z
∂u ∂u ∂u
x +y +z = 3u.
∂x ∂y ∂z
Solution. u = (x − y)(y − z)(z − x).
∂u
= (y − z) (x − y)(−1) + z − x
∂x
= (y − z)(−x + y + z − x)
= (y − z)(y + z − 2x).
∂u ∂u
Similarly,= (z − x)(z + x − 2y) and = (x − y)(x + y − 2z).
∂y ∂z
∂u ∂u ∂u
+ + = y2 − z2 − 2x(y − z) + z2 − x2 − 2y(z − x) + x2 − y2 − 2z(x − y).
∂x ∂y ∂z
= −2xy + 2xz − 2yz + 2xy − 2xz + 2yz = 0
= t3 (x − y)(y − z)(z − x) = t3 u.
x3 + y3 ∂u ∂u
Example 2.20. If u = log , prove that x + y = 2.
x+y ∂x ∂y
x3 + y3 x3 + y3
Solution. Given: u = log ⇒ eu =
x+y x+y
t3 x3 + t3 y3 t3 (x3 + y3 )
eu(tx,ty) = =
tx + ty t(x + y)
3
x +y 3
= t2 = t2 eu .
x+y
∴ By Euler’s theorem,
∂ u ∂
(e ) + y (eu ) = 2eu .
x
∂x ∂y
∂u ∂u
=⇒ xeu + yeu = 2eu
∂x ∂y
∂u ∂u
eu x + y = 2eu .
∂x ∂y
∂u ∂u
x +y = 2.
∂x ∂y
y z ∂u ∂u ∂u
Example 2.21. If u = + , find the value of x + y + z .
x x ∂x ∂y ∂z
y z
Solution. Given: u = + .
x x
ty tz y z
u(tx, ty, tz) = + = t0 + = t0 u.
tx tx x x
=⇒ u is a homogeneous function in x, y, z of degree 0.
By Euler’s theorem,
∂u ∂u ∂u
x
+y +z = nu = 0.u = 0.
∂x ∂y ∂z
x y z ∂u ∂u ∂u
Example 2.22. If u = + + , then show that x + y + z = 0. [Jun 2012]
y z x ∂x ∂y ∂z
x y z
Solution. u(x, y, z) = + + .
y z x
tx ty tz
u(tx, ty, tz) = + +
ty tz tx
tx y z
= + +
t y z x
= t0 u(x, y, z).
= sin 2u.
x+y ∂u ∂u 1
Example 2.26. If u = sin−1 √ √ prove that x + y = tan u. [Jun 2009]
x+ y ∂x ∂y 2
x+y x+y
Solution. u = sin−1 √ √ ⇒ sin u = √ √ .
x+ y x+ y
sin u is a homogeneous function of degree 21 in x and y.
By Euler’s theorem,
∂ ∂ 1
x (sin u) + y (sin u) = sin u.
∂x ∂y 2
∂u ∂u 1
cos ux + cos uy = sin u
∂x ∂y 2
∂u ∂u 1
x +y = tan u.
∂x ∂y 2
x + y
−1 ∂u ∂u −1
Example 2.27. If u = cos √ √ , prove that x + y = cot u. [Dec 2011]
∂x ∂y 2
x+ y
x + y
Solution. u = cos−1 √ √ .
x + y
x + y
cos u = √ √ .
x+ y
cos u is a homogeneous function of degree 21 in x and y.
∴ By Euler’s theorem
∂ ∂ 1
x (cos u) + y (cos u) = · cos u.
∂x ∂y 2
∂u ∂u 1
x(− sin u) + y(− sin u) = cos u.
∂x ∂y 2
!
∂u ∂ 1
− sin u x + y = cos u.
∂x ∂y 2
∂u ∂ −1 cos u −1
∴ x +y = = cot u.
∂x ∂y 2 sin u 2
x y
Example 2.28. Verify Euler’s theorem for the function u = sin−1 + tan−1 .
x y y x
Solution. Given: u = sin−1 + tan−1 .
y x
tx ty
u(tx, ty) = sin−1 + tan−1
ty tx
86 Engineering Mathematics - I
x y
= t0 sin−1 + tan−1
y x
= t0 u(x, y).
=⇒ u is a homogeneous function of degree 0 in x and y.
∂u ∂u
∴ By Euler’s theorem, x + y = 0.
∂x ∂y
Verification.
∂u 1 1 1 −y
= s +
∂x
x2
y y2 x2
1− 2 1 +
y x2
y 1 x2 y
= p − 2 2 2
y2 − x2 y x (x + y )
1 y
= p − 2 .
2
y −x 2 x + y2
∂u x xy
x = p − 2 (1)
∂x 2
y −x 2 x + y2
∂u 1 −x 1 1
= s 2
+
∂y
x2 y y2 x
1− 2 1 +
y x2
−xy x
= p + 2 2
y2 y2 − x2 x + y
x x
=− p + 2
2
y y −x 2 x + y2
∂u x xy
y =−p + 2 (2)
∂y 2
y −x 2 x + y2
∂u ∂u
(1) + (2) =⇒ = x +y = 0.
∂x ∂y
1 1
Example 2.29. Verify Euler’s theorem for the function u = x 2 + y 2 (xn + yn ).
Solution. It is easy to verify that u is a homogeneous function of degree n + 21 in
x and y.
Function of Several Variables 87
∂u ∂u
x +y = sin 2u. (1)
∂x ∂y
Differentiating (1) partially w.r.t. x we get
∂2 u ∂u ∂2 u ∂u
x· 2 + +y = 2 cos 2u .
∂x ∂x ∂x∂y ∂x
Multiplying by x we get
∂2 u ∂u ∂2 u ∂u
x2 2
+ x + xy = 2 cos 2u · x . (2)
∂x ∂x ∂x∂y ∂x
Function of Several Variables 89
∆z ∆x ∆y
∴ = f x (x + θ1 x, y + ∆y) + fy (x, y + θ2 ∆y) .
∆t ∆t ∆t
dz dx dy
= f x (x, y) + fy (x, y) .
dt dt dt
dz ∂z dx ∂z dy
i.e., = + . (2)
dt ∂x dt ∂y dt
In the same way if u = f (x1 , x2 , . . . , xn ) possesses continuous partial derivatives
with respect to each of the independent variables and if x1 , x2 , . . . , xn are
differentiable functions of an independent variable t, then the total derivative of u
with respect to t is given by
Note. (2) expresses the rate of change of z w.r.t. t along the curve
x = x(t), y = y(t).
Composite functions. Let z = f (u, v) and u and v are themselves functions of the
independent variables x, y so that u = φ(x, y) and v = ψ(x, y).
∂z
To find , we consider y as a constant so that u and v may be supposed to be
∂x
functions of x only. Hence, by the above result we have
∂z ∂z ∂u ∂z ∂v ∂z ∂z ∂u ∂z ∂v
= + . Similarly = + .
∂x ∂u ∂x ∂v ∂x ∂y ∂u ∂y ∂v ∂y
Now, in (2), if we replace t by x then y is a function of x we get
dz ∂z ∂z dy
= + .
dx ∂x ∂y dx
Function of Several Variables 91
dz ∂z dx ∂z
Similarly = + .
dy ∂x dy ∂y
du
Example 2.34. If u = x2 y3 , x = log t, y = et , find . [Jan 2000]
dt
du ∂u dx ∂u dy
Solution. We have = + .
dt ∂x dt ∂y dt
∂u
= y3 2x = 2xy3
∂x
∂u
= x2 3y2 = 3x2 y2
∂y
dx 1 dy
= = et
dt t dt
du 1
= 2xy3 + 3x2 y2 et
dt t
2 log te3t
= + 3(log t)2 e2t et
t
2
= e3t log t + 3 log t
t
e3t log t
= (2 + 3t log t).
t
du
Example 2.35. Find when u = x2 y, x = t2 , y = et .
dt
Solution.
∂u ∂u
= 2xy, = x2
∂x ∂y
dx dy
= 2t = et
dt dt
du ∂u dx ∂u dy
we have = + = 2xy.2t + x2 et
dt ∂x dt ∂y dt
= 4t2 et t + t4 et = 4t3 et + t4 et = t3 et (4 + t).
1 du
Example 2.36. If u = xy + yz + zx where x = , y = et and z = e−t find . [Jun 2013]
t dt
Solution.
∂u ∂u ∂u
= y + z, = x + z, = x+y
∂x ∂y ∂z
dx −1 dy dz
= 2, = et , = −e−t
dt t dt dt
Function of Several Variables 93
du ∂u dx ∂u dy ∂u dz
we have = + +
dt ∂x dt ∂y dt ∂z dt
−1
= (y + z) 2 + (x + z)et + (x + y)(−e−t )
t
et + e−t 1 1
=− 2
+ (e−t + )et − + et e−t
t t t
−2 et e−t
= 2 cos ht + 1 + − −1
t t t
−2 2 sin ht
= 2 cos ht +
t t
2
= 2 (2t sin ht − cos ht).
t
du
Example 2.37. Find when u = sin yx , x = et , y = t2 .
dt
Solution.
∂u x1 ∂u x x
= cos , = − 2 cos
∂x y y ∂y y y
dx dy
= et = 2t
dt dt
du ∂u dx ∂u dy 1 x x x
= + = cos et − cos 2t
dt ∂x dt ∂y dt y y y2 y
x et 2tet ! x 1 2t
!
et (t − 2) et
= cos 2
− 4 = cos et − = cos .
y t t y t2 t4 t3 t2
du 3
Example 2.38. If u = sin−1 (x − y) where x = 3t, y = 4t3 , show that = √ .
dt 1 − t2
Solution.
∂u 1 ∂u −1
= p , = p
∂x 1 − (x − y)2 ∂y 1 − (x − y)2
dx dy
=3 = 12t2
dt dt
94 Engineering Mathematics - I
du ∂u dx ∂u dy
= +
dt ∂x dt ∂y dt
1 1
= p 3− p 12t2
1 − (x − y) 2 1 − (x − y) 2
3 − 12t 2 3 − 12t2
= p = p
1 − (3t − 4t3 )2 1 − (9t2 + 16t6 − 24t4 )
3 − 12t 2 3 − 12t2
= √ = p
1 − 9t2 − 16t6 + 24t4 −(16t6 − 24t4 + 9t2 − 1)
3(1 − 4t2 ) 3(1 − 4t2 )
= p = p
−(t2 − 1)(16t4 − 8t2 + 1) −(t2 − 1)(1 − 4t2 )2
3(1 − 4t2 ) 3
= p = √ .
(1 − 4t2 ) (1 − t2 ) 1 − t2
du
Example 2.39. Find if u = cos(x2 + y2 ) and a2 x2 + b2 y2 = c2 . [Jan 2001]
dx
∂u ∂u
Solution. We have du = dx + dy
∂x ∂y
du ∂u ∂u dy dy
= + = − sin(x2 + y2 )2x − sin(x2 + y2 )2y
dx ∂x ∂y dx dx
Given that a2 x2 + b2 y2 = c2 .
Diff. w.r.t. x we get
dy dy dy a2 x
2a2 x + 2b2 y = 0 ⇒ b2 y = −a2 x ⇒ =− 2
dx dx dx b y
du dy −a2 x
∴ = −2 sin(x2 + y2 ) x + y = −2 sin(x2 + y2 ) x + y 2
dx dx b y
a2 − b2 2(a2 − b2 )x
= 2 sin(x2 + y2 ) xy = sin(x2 + y2 ).
b2 y b2
dz
q
Example 2.40. If z = x2 + y2 and x3 + y3 + 3axy = 5a2 , find the value of when
dx
x = y = a.
p
Solution. Given z = x2 + y2 .
Function of Several Variables 95
We have
∂z ∂z
dz = dx + dy
∂x ∂y
∂z 2x x
Now = p = p
∂x 2 x2 + y2 x2 + y2
∂z y
= p .
∂y x2 + y2
−(x2 + ay)
!
dz ∂z ∂z dy x y
∴ = + = p + p 2
dx ∂x ∂y dx x2 + y2 x2 + y2 y + ax
dz a a −2a2 a a
= √ + √ = √ − √ = 0.
dx x=y=a a 2 a 2 2a2 a 2 a 2
∂z ∂z ∂x ∂z ∂y ∂z u ∂z ∂z u ∂z −u
= + = e + (−e−u ) = e − (e ).
∂u ∂x ∂u ∂y ∂u ∂x ∂y ∂x ∂y
∂z ∂z ∂x ∂z ∂y ∂z ∂z ∂z ∂z
= + = (−e−v ) + (−ev ) = − e−v − (ev ).
∂v ∂x ∂v ∂y ∂v ∂x ∂y ∂x ∂y
∂z ∂z ∂z u ∂z ∂z ∂z
− = (e + e−v ) − (e−u − ev ) = x − y .
∂u ∂v ∂x ∂y ∂x ∂y
96 Engineering Mathematics - I
∂u ∂u
z2 = . (3)
∂z ∂s
∂u ∂u ∂u
(1) + (2) + (3) =⇒ x2 + y2 + z2 = 0.
∂x ∂y ∂z
∂u ∂v
Example 2.44. If u2 + 2v2 = 1 − x2 + y2 and u2 + v2 = x2 + y2 − 2, find and .
∂x ∂x
Solution. Consider u and v as functions of x and y.
u2 + 2v2 = 1 − x2 + y2 .
∂u ∂v
2u + 4v = −2x
∂x ∂x
∂u ∂v
u + 2v = −x. (1)
∂x ∂x
u2 + v2 = x2 + y2 − 2
∂u ∂v
2u + 2v = 2x
∂x ∂x
∂u ∂v
u +v = x. (2)
∂x ∂x
∂v
(1) − (2) ⇒ v = −2x
∂x
∂v −2x
⇒ =
∂x v
∂u (−2x)
(1) ⇒ u + 2v = −x.
∂x v
∂u
u = 3x
∂x
∂u 3x
⇒ = .
∂x u
Solution.
∂z ∂z ∂x ∂z ∂y ∂z ∂z
= + = cos α + sin α.
∂u ∂x ∂u ∂y ∂u ∂x ∂y
∂2 z ∂ ∂z ∂x ∂ ∂z ∂y
= +
∂u2 ∂x ∂u ∂u ∂y ∂u ∂u
∂ ∂z ∂z ∂ ∂z ∂z
= cos α + sin α cos α + cos α + sin α sin α
∂x ∂x ∂y ∂y ∂x ∂y
2
∂ z 2
∂ z 2
∂ z ∂2 z
= 2 cos2 α + sin α cos α + cos α sin α + 2 sin2 α. (1)
∂x ∂x∂y ∂y∂x ∂y
∂z ∂z ∂x ∂z ∂y ∂z ∂z
= + = (− sin α) + cos α.
∂v ∂x ∂v ∂y ∂v ∂x ∂y
∂2 z ∂ ∂z ∂x ∂ ∂z ∂y
= +
∂v2 ∂x ∂v ∂v ∂y ∂v ∂v
∂ ∂z ∂z ∂ ∂z ∂z
= − sin α + cos α (− sin α) + − sin α + cos α cos α.
∂x ∂x ∂y ∂y ∂x ∂y
2
∂ z 2
∂ z 2
∂ z 2
∂ z
= 2 sin2 α − sin α cos α − cos α sin α + 2 cos2 α. (2)
∂x ∂x∂y ∂y∂x ∂y
∂2 z ∂2 z ∂2 z 2 2 ∂2 z
(1) + (2) ⇒ + = (sin α + cos α) + (sin2 α + cos2 α)
∂u2 ∂v2 ∂x2 ∂y2
∂2 z ∂2 z
= + .
∂x2 ∂y2
Example 2.46. If F is u u
2 2
" 2a function2
# of x and y and if x = e sin v, y = e cos v, prove
∂ F ∂ F ∂ F ∂ F
that 2 + 2 = e−2u + 2 [Jan 2013]
∂x ∂y ∂u2 ∂v
∂F ∂F ∂x ∂F ∂y
Solution. = · + ·
∂u ∂x ∂u ∂y ∂u
∂F u ∂F u
= · e sin v + · e cos v.
∂x ∂y
∂2 F
! !
∂ ∂F ∂x ∂ ∂F ∂y
2
= +
∂u ∂x ∂u ∂u ∂y ∂u ∂u
" # " #
∂ ∂F u ∂F u ∂x ∂ ∂F u ∂F u ∂y
= · e sin v + · e cos v + · e sin v + · e cos v
∂x ∂x ∂y ∂u ∂y ∂x ∂y ∂u
" 2
∂2 F u
" 2
∂2 F u
# #
∂ F u u ∂ F u
= · e sin v + · e cos v · e sin v + · e cos v + · e sin v · eu cos v
∂x2 ∂x∂y ∂y2 ∂y∂x
∂2 F ∂2 F 2u ∂2 F 2u ∂2 F
= 2 · e2u sin2 v + · e sin v cos v + · e sin v cos v + 2 · e2u cos2 v (1)
∂x ∂x∂y ∂y∂x ∂y
Function of Several Variables 99
∂F ∂F ∂x ∂F ∂y
= · + · .
∂v ∂x ∂v ∂y ∂v
∂F u ∂F u
= · e cos v − · e sin v.
∂x ∂y
∂2 F
! !
∂ ∂F ∂x ∂ ∂F ∂y
= +
∂v2 ∂x ∂v ∂v ∂y ∂v ∂v
" # " #
∂ ∂F u ∂F u u ∂ ∂F u ∂F u
= · e cos v − · e sin v e cos v + · e cos v − · e sin v (−eu sin v)
∂x ∂x ∂y ∂y ∂x ∂y
∂2 F ∂2 F 2u ∂2 F 2u ∂2 F
= 2 · e2u cos2 v − · e sin v cos v − · e sin v cos v + 2 · e2u sin2 v. (2)
∂x ∂x∂y ∂y∂x ∂y
∂2 F ∂2 F ∂2 F 2u ∂2 F 2u
(1) + (2) ⇒ 2 + 2 = 2 e + 2 · e
∂u ∂v ∂x ∂y
" 2
∂2 F
#
2u ∂ F
=e + 2
∂x2 ∂y
" 2 2
# 2 2
∂ F ∂ F ∂ F ∂ F
e−2u 2
+ 2 = 2 + 2.
∂u ∂v ∂x ∂y
∂z ∂z ∂u ∂z ∂v
= · + ·
∂x ∂u ∂x ∂v ∂x
∂z ∂z
= ·1+ ·1
∂u ∂v
∂z ∂z
= + .
∂u ∂v!
∂2 z
!
∂ ∂z ∂u ∂ ∂z ∂v
= · + ·
∂x2 ∂u ∂x ∂x ∂v ∂x ∂x
! !
∂ ∂z ∂z ∂ ∂z ∂z
= + ·1+ + ·1
∂u ∂u ∂v ∂v ∂u ∂v
∂2 z ∂2 z ∂2 z ∂2 z
= 2+ + + 2
∂u ∂u∂v ∂v∂u ∂v
i.e.,z xx = zuu + zuv + zvu + zvv (1)
∂z ∂z ∂u ∂z ∂v
= · + ·
∂y ∂u ∂y ∂v ∂y
100 Engineering Mathematics - I
∂z ∂z
= (−1) + ·1
∂u ∂v
∂z ∂z
=− + .
∂u !∂v
∂2 z
!
∂ ∂z ∂u ∂ ∂z ∂v
= +
∂y2 ∂u ∂y ∂y ∂v ∂y ∂y
! !
∂ ∂z ∂z ∂ ∂z ∂z
= − + (−1) + − + ·1
∂u ∂u ∂v ∂v ∂u ∂v
∂2 z ∂2 z ∂2 z ∂2 z
= 2− − + 2.
∂u ∂u∂v ∂v∂u ∂v
i.e., zyy = zuu − zuv − zvu + zvv (2)
∂2 z
!
∂ ∂z
=
∂x∂y ∂x ∂y
! !
∂ ∂z ∂u ∂ ∂z ∂v
= +
∂u ∂y ∂x ∂v ∂y ∂x
! !
∂ ∂z ∂z ∂ ∂z ∂z
= − + ·1+ − + ·1
∂u ∂u ∂v ∂v ∂u ∂v
∂2 z ∂2 z ∂2 z ∂2 z
=− 2 + − + 2.
∂u ∂u∂v ∂v∂u ∂v
i.e., z xy = −zuu + zuv − zvu + zvv (3)
∂z ∂z ∂x ∂z ∂y
= · + ·
∂u ∂x ∂u ∂y ∂u
Function of Several Variables 101
∂z ∂z
= · 2u + · 2v.
∂x ∂y
∂2 z
!
∂ ∂z
=
∂u2 ∂u ∂u
! !
∂ ∂z ∂x ∂ ∂z ∂y
= · + · .
∂x ∂u ∂u ∂y ∂u ∂u
" # " #
∂ ∂z ∂z ∂ ∂z ∂z
= · 2u + · 2v 2u + · 2u + · 2v 2v
∂x ∂x ∂y ∂y ∂x ∂y
∂2 z ∂2 z ∂2 z ∂2 z
= 2 · 4u2 + 4uv + 4uv + 2 · 4v2 .
∂x ∂x∂y ∂y∂x ∂y
∂z ∂z ∂x ∂z ∂y
= · + ·
∂v ∂x ∂v ∂y ∂v
∂z ∂z
= · (−2v) + · 2u
∂x ∂y
∂z ∂z
= −2v + 2u .
∂x ∂y
∂2 z
!
∂ ∂z
=
∂v2 ∂v ∂v
! !
∂ ∂z ∂x ∂ ∂z ∂y
= + .
∂x ∂v ∂v ∂y ∂v ∂v
" # " #
∂ ∂z ∂z ∂ ∂z ∂z
= −2v + 2u (−2v) + −2v · + 2u · 2u
∂x ∂x ∂y ∂y ∂x ∂y
∂2 z ∂2 z ∂2 z ∂2 z
= 4v2 2 − 4uv − 4uv + 4v2 2
∂x ∂x∂y ∂y∂x ∂y
∂2 z ∂2 z 2
∂ z 2
∂ z
+ = 2 (4u2 + 4v2 ) + 2 (4u2 + 4v2 )
∂u2 ∂v2 ∂x ∂y
" 2
∂2 z
#
2 2 ∂ z
= 4(u + v ) + .
∂x2 ∂y2
du
Example 2.50. If u = x2 + y2 + z2 and x = e2t , y = e2t cos 3t, z = e2t sin 3t, find .
dt
[Dec 2011]
Solution.
du ∂u dx ∂u dy ∂u dz
= · + · + ·
dt ∂x dt ∂y dt ∂z dt
h i
= 2x · 2e2t + 2y −3e2t sin 3t + 2e2t cos 3t
h i
+ 2z 3e2t cos 3t + 2e2t sin 3t
h i
= 2e2t · 2e2t + 2e2t cos 3t −3e2t sin 3t + 2e2t cos 3t
h i
+ 2e2t sin 3t 3e2t cos 3t + 2e2t sin 3t
= 4e4t − 6e4t cos 3t sin 3t + 4e4t cos2 3t + 6e4t sin 3t cos 3t + 4e4t sin2 3t
dy 2 2 2
Example 2.51. Find if x and y are connected by the relation x 3 + y 3 = a 3 .
dx 2 2 2
Solution. Let f (x, y) = x 3 + y 3 − a 3
∂f 2 1
fx = = x− 3 .
∂x 3
∂f 2 1
fy = = y− 3 .
∂y 3
dy fx x − 13 y 31
Now =− =− =− .
dx fy y x
dy y
Example 2.52. Find if f (x, y) = log(x2 + y2 ) + tan−1 .
dx x
Solution.
∂f 2x 1 y 2x y 2x − y
fx = = 2 + − = 2 − 2 = 2 .
∂x x + y2 y2 x 2 x +y 2 x +y 2 x + y2
1+
x2
∂f 2y 1 1 2y x 2y + x
fy = = 2 + = + 2 = 2 .
∂y x + y2 y2 x x2 +y 2 x +y 2 x + y2
1+
x2
dy fx 2x − y y − 2x
Now =− =− = .
dx fy 2y + x x + 2y
Function of Several Variables 103
∂u ∂u
∂(u, v) u, v ∂x ∂y
or J or J = .
∂(x, y) x, y ∂v ∂v
∂x ∂y
∂u ∂u ∂u
∂x ∂y ∂z
∂(u, v, w) ∂v ∂v ∂v
= ∂x ∂y ∂z
.
∂(x, y, z)
∂w ∂w ∂w
∂x ∂y ∂z
Properties of Jacobians
Property I. If u and v are functions of r and s where r and s are functions of x, y
then
∂(u, v) ∂(u, v) ∂(r, s)
= .
∂(x, y) ∂(r, s) ∂(x, y)
∂u ∂u ∂r ∂u ∂s
ux = = + = ur r x + u s s x .
∂x ∂r ∂x ∂s ∂x
∂u ∂u ∂r ∂u ∂s
uy = = + = ur ry + u s sy .
∂y ∂r ∂y ∂s ∂y
∂v ∂v ∂r ∂v ∂s
vx = = + = vr r x + v s s x .
∂x ∂r ∂x ∂s ∂x
∂v ∂v ∂r ∂v ∂s
vy = = + = vr ry + v s sy .
∂y ∂r ∂y ∂s ∂y
104 Engineering Mathematics - I
∂(u, v) ∂(r, s) ur u s r x ry
Now =
∂(r, s) ∂(x, y) vr v s s x sy
ur u s r x sx
=
vr v s ry sy
ur r x + u s s x ur ry + u s sy
=
vr r x + v s s x vr ry + v s sy
u x uy
=
vx vy
∂(u, v)
= .
∂(x, y)
∂u ∂x ∂u ∂y
1= + = u x xu + uy yu .
∂x ∂u ∂y ∂u
∂u ∂x ∂u ∂y
0= + = u x xv + uy yv .
∂x ∂v ∂y ∂v
v is a function of x and y.
Differentiating with respect to u and v partially we get
∂v ∂x ∂v ∂y
0= + = v x xu + vy yv .
∂x ∂u ∂y ∂v
∂v ∂x ∂v ∂y
1= + = v x xv + vy yv .
∂x ∂v ∂y ∂v
Function of Several Variables 105
∂(u, v) ∂(x, y) u x uy xu xv
Now =
∂(x, y) ∂(u, v) v x vy yu yv
u x uy xu yu
=
vx vy xv yv
u x xu + uy yv u x xv + uy yv
=
v x xu + vy yu v x xv + vy yv
1 0
=
0 1
J1 J2 = 1.
∂F ∂u ∂F ∂v ∂F ∂w
+ + =0
∂u ∂x ∂v ∂x ∂w ∂x
∂F ∂u ∂F ∂v ∂F ∂w
+ + =0
∂u ∂y ∂v ∂y ∂w ∂y
∂F ∂u ∂F ∂v ∂F ∂w
+ + = 0.
∂u ∂z ∂v ∂z ∂w ∂z
∂F ∂F ∂F
Eliminating , and from the above three equations we get
∂u ∂v ∂w
∂u ∂v ∂w
∂x ∂x ∂x
∂u ∂v ∂w = 0.
∂y ∂y ∂y
∂u ∂v ∂w
∂z ∂z ∂z
∂(u, v, w)
=⇒ = 0.
∂(x, y, z)
106 Engineering Mathematics - I
Example 2.53. If x = r cos θ, y = r sin θ, find the Jacobian of x and y w.r.t r and θ.
[Jan 2001]
Solution.
∂x ∂x
x = r cos θ =⇒ = cos θ, = −r sin θ.
∂r ∂θ
∂u ∂u
y = r sin θ =⇒ = sin θ, = r cos θ.
∂r ∂θ
∂x ∂x
∂(x, y) ∂r ∂θ cos θ −r sin θ
Now, = ∂y ∂y
= = r cos2 θ + r sin2 θ = r.
∂(r, θ) sin θ r cos θ
∂r ∂θ
∂x ∂x ∂x
∂r ∂θ ∂ϕ sin θ cos ϕ r cos θ cos ϕ −r sin θ sin ϕ
∂(x, y, z) ∂y ∂y ∂y
= ∂r ∂θ ∂ϕ
= sin θ sin ϕ r sin ϕ cos θ r sin θ cos ϕ
∂(r, θ, ϕ)
∂z ∂z ∂z
∂r ∂θ ∂ϕ cos θ −r sin θ 0
= r2 sin θ sin θ cos ϕ(0 + sin θ cos ϕ) − cos θ cos ϕ(0 − cos θ cos ϕ)
∂(u, v)
Example 2.56. If u = 2xy, v = x2 − y2 , x = r cos θ, y = r sin θ, evaluate without
∂(r, θ)
actual substitution. [Jan 2009]
Solution. Given that u and v are functions of x and y. x and y are functions of r
and θ.
∴ By property (1) of the Jacobians we have
= r cos2 θ + r sin2 θ = r
∂(u, v)
= −4(r2 )r = −4r3 .
∂(r, θ)
u+v ∂(u, v)
Example 2.57. If x = uv, y = , find .
u−v ∂(x, y)
∂(u, v) ∂(x, y) ∂(u, v) 1
Solution. We know that =1⇒ = .
∂(x, y) ∂(u, v) ∂(x, y) ∂(x, y)
∂(u, v)
x = uv.
108 Engineering Mathematics - I
∂x ∂x
= v, = u.
∂u ∂v
u+v
y= .
u−v
∂y u − v − (u + v) u − v − u − v −2v
= 2
= 2
= .
∂u (u − v) (u − v) (u − v)2
∂y (u − v).1 − (u + v)(−1) 2u
= 2
= .
∂v (u − v) (u − v)2
∂(x, y) ∂x ∂x v u
∂u ∂v
= ∂y ∂y
= −2v 2u
∂(u, v)
∂u ∂v (u − v)2 (u − v)2
2uv 2uv 4uv
= 2
+ 2
=
(u − v) (u − v) (u − v)2
∂(u, v) (u − v)2
= .
∂(x, y) 4uv
Example 2.58. If x = u(1 − v), y = uv then compute J1 and J2 and prove that
J1 J2 = 1.
Solution. We have
∂(x, y) ∂(u, v)
J1 = , J2 =
∂(u, v) ∂(x, y)
x = u − uv, y = uv.
∂x ∂x
∂u ∂v 1 − v −u
J1 = ∂y ∂y
= = u − uv + uv = u.
∂u ∂v v u
We shall express u and v interms of x and y.
x = u − uv = u − y ⇒ x + y = u.
y y
y = uv ⇒ v = = .
u x+y
1
we get J2 = .
u
1
Now J1 J2 = u = 1.
u
Function of Several Variables 109
x2 x3 x3 x1 x1 x2 ∂(y1 , y2 , y3 )
Example 2.59. If y1 = , y2 = , y3 = , prove that = 4.
x1 x2 x3 ∂(x1 , x2 , x3 )
[Jan 2014]
∂y1 ∂y1 ∂y1
∂x1 ∂x2 ∂x3
∂(y1 , y2 , y3 ) ∂y2 ∂y2 ∂y2
Solution. = ∂x1 ∂x2 ∂x3
∂(x1 , x2 , x3 )
∂y3 ∂y3 ∂y3
∂x1 ∂x2 ∂x3
−x2 x3 x3 x2
x12 x1 x1
x3 −x3 x1 x1
= x2 x22 x2
x2 x1 −x1 x2
x3 x3 x32
2
x12 x3 x1 x2 x3 x1 x2 x2 x1 x3 x1 x2 x3
−x2 x3 x1 x2 x3
= − − − − + + 2
x12 x22 x32 x2 x3 x1 x2 x32 x2 x3 x1 x2 x3 x2 x3
= −1 + 1 + 1 + 1 + 1 + 1 = 4.
∂(x, y, z)
Example 2.60. If u = x + y + z, uv = y + z, uvw = z, find .
∂(u, v, w)
[Jan 2012, Jan 2010]
Solution. Given u = x + y + z ⇒ u = x + uv ⇒ x = u − uv = u(1 − v).
uv = y + z ⇒ uv = y + uvw ⇒ y = uv − uvw = uv(1 − w), uvw = z.
∂x ∂x ∂x
∂u ∂v ∂w 1−v −u 0
∂(x, y, z) ∂y ∂y ∂y
= ∂u ∂v ∂w
= v(1 − w) u(1 − w) −uv
∂(u, v, w)
∂z ∂z ∂z
∂u ∂v ∂w vw uw uv
1−v −1 0
= u(uv) v(1 − w) 1 − w −1
vw w 1
= u2 v {(1 − v) + (v − vw + vw)}
= u2 v {1 − v + v} = u2 v.
∂(x, y, z)
Example 2.61. If u = xyz, v = x2 + y2 + z2 , w = x + y + z, find .
∂(u, v, w)
110 Engineering Mathematics - I
∂u ∂u ∂u
∂x ∂y ∂z yz xz xy
∂(u, v, w) ∂v ∂v ∂v
= ∂x ∂y ∂z
= 2x 2y 2z
∂(x, y, z)
∂w ∂w ∂w
∂x ∂y ∂z 1 1 1
∂(x, y, z) 1 1
Now, ⇒ = = .
∂(u, v, w) ∂(u, v, w) −2(x − y)(y − z)(z − x)
∂(x, y, z)
∂u ∂u ∂u
= 1, = 2, = 1.
∂x ∂y ∂z
v = x − 2y + 3z.
∂v ∂v ∂v
= 1, = −2, = 3.
∂x ∂y ∂z
∂w ∂w ∂w
= 2y − z, = 2x + 4z, = −x + 4y − 4z.
∂x ∂y ∂z
∂u ∂u ∂u
∂x ∂y ∂z 1 2 1
∂(u, v, w) ∂v ∂v ∂v
= ∂x ∂y ∂z
= 1 −2 3
∂(x, y, z)
∂w ∂w ∂w
∂x ∂y ∂z 2y − z 2x + 4z −x + 4y − 4z
= 2x − 8y + 8z − 6x − 12z + 2x − 8y + 8z + 12y − 6z + 2x + 4z + 4y − 2z = 0.
u2 − v2 = 4w.
We know that for a function f (x) of one single variable x, the Taylor’s expansion
is
h2 ′′ h3 ′′′
f (x + h) = f (x) + h f ′ (x) + f (x) + f (x) + · · ·
2! 3!
∂ ∂
f (a + h, b + k) = f (a, b) + h + k f (a, b)
∂x ∂y
1 ∂ ∂ 2 1 ∂ ∂ 3
+ h +k f (a, b) + h +k f (a, b) + · · · +
2! ∂x ∂y 3! ∂x ∂y
= f (a, b) + h f x (a, b) + k fy (a, b)
1 2
+ h f xx (a, b) + 2hk f xy (a, b) + k2 fyy (a, b)
2!
1 3
+ h f xxx (a, b) + 3h2 k f xxy (a, b) + 3hk2 f xyy (a, b)
3!
+ k3 fyyy (a, b) + · · · .
Put x = a + h, y = b + k then h = x − a, k = y − b.
∴ The Taylor’s series can be written as
f (x, y) = f (a, b) + (x − a) f x (a, b) + (y − b) fy (a, b)
1
+ (x − a)2 f xx (a, b) + 2(x − a)(y − b) f xy (a, b) + (y − b)2 fyy (a, b)
2!
1
+ (x − a)3 f xxx (a, b) + 3(x − a)2 (y − b) f xxy (a, b)
3!
+ 3(x − a)(y − b)2 f xyy (a, b) + (y − b)3 fyyy (a, b) + · · · .
f (x, y) = f (0, 0) + x f x (0, 0) + y fy (0, 0)
1 2
+ x f xx (0, 0) + 2xy f xy (0, 0) + y2 fyy (0, 0)
2!
1 3
+ x f xxx (0, 0) + 3x2 y f xxy (0, 0) + 3xy2 f xyy (0, 0) + y3 fyyy (0, 0) + · · · .
3!
Example 2.63. Expand e x sin y in powers of x and y as far as the terms of third
degree. [Jun 2013]
Solution. f (x, y) = e x sin y f (0, 0) = 0
1 2
Now f (x, y) = f (0, 0) + x f x (0, 0) + y fy (0, 0) + x f xx (0, 0) + 2xy f xy (0, 0) + y2 fyy (0, 0)
2!
1 3
+ x f xxx (0, 0) + 3x2 y f xxy (0, 0) + 3xy2 f xyy (0, 0) + y3 fyyy (0, 0) + · · ·
3!
1
= 0 + x.0 + y.1 + x2 .0 + 2xy.1 + y2 .0
2
1 3
x .0 + 3x y.1 + 3xy2 .0 + y3 (−1) + · · ·
2
6
x2 y y3
= y + xy + − + ··· .
2 6
2e x
fyyy =
(1 + y)3
f (x, y) = e x loge (1 + y)
f (0, 0) = 0
f x (x, y) = e x loge (1 + y)
ex f x (0, 0) = 0
fy (x, y) =
1+y fy (0, 0) = 1
x
f xx = e log(1 + y)
f xx (0, 0) = 0
ex
f xy = f xy (0, 0) = 1
1+y
−e x fyy (0, 0) = −1
fyy =
(1 + y)2
f xxx (0, 0) = 0
f xxx = e x log(1 + y)
ex f xxy (0, 0) = 1
f xxy =
1+y f xyy (0, 0) = −1
−e x
f xyy = fyyy (0, 0) = 2
(1 + y)2
By Maclaurin’s series we have,
= −2 − 6 − 2 = −10.
f x (x, y) = 2xy.
f x (1, −2) = −4.
2
fy (x, y) = x + 3.
fy (1, −2) = 4.
f xx (x, y) = 2y.
f xx (1, −2) = −4.
f xy (x, y) = 2x.
f xy (1, −2) = 2.
fyy (x, y) = 0.
fyy (1, −2) = 0.
f xxx (x, y) = 0.
f xxx (1, −2) = 0.
f xxy (x, y) = 2.
f xxy (1, −2) = 2.
f xyy (x, y) = 0.
f xyy (1, −2) = 0.
fyyy (x, y) = 0.
fyyy (1, −2) = 0.
1h i
= −10 − 4(x − 1) + 4(y + 2) + −4(x − 1)2 + 2(x − 1)(y + 2)
2
1h i
+ 6(x − 1)2 (y + 2) + · · ·
6
= −10 − 4(x − 1) + 4(y + 2) − 2(x − 1)2 + (x − 1)(y + 2) + (x − 1)2 (y + 2) + · · ·
Example 2.66. Find the Taylor’s series expansion of x2 y2 + 2x2 y + 3y2 in powers of
(x + 2) and y − 1 upto third degree terms. [Jan 2012, Jun 2010, Jan 2010]
Solution.
Example 2.67. Use Taylor’s formula to expand the function defined by f (x, y) =
x3 + y3 + xy2 in powers of (x − 1) and (y − 2). [May 2011]
Solution.
1 h
+ (x − a)3 f xxx (a, b) + 3(x − a)2 (y − b) f xxy (a, b)
3!
i
+3(x − a)(y − b)2 f xyy (a, b) + (y − b)3 fyyy (a, b) + · · ·
1h i
x3 + y3 + xy2 = 13 + 7(x − 1) + 16(y − 2) + 6(x − 1)2 + 8(x − 1)(y − 2) + 14(y − 2)2
2
1h i
+ 6(x − 1)3 + 6(x − 1)(y − 2)2 + 6(y − 2)3 + · · ·
6
= 13 + 7(x − 1) + 16(y − 2) + 3(x − 1)2 + 4(x − 1)(y − 2) + 7(y − 2)2
Example 2.68. Expand e−x log y as a Taylor’s series in powers of x and y − 1 upto
third degree terms. [Jun 2011]
Solution.
y
tan−1 = f (1, 1) + (x − 1) f x (1, 1) + (y − 1) fy (1, 1)
x
1
+ (x − 1)2 f xx (1, 1) + 2(x − 1)(y − 1) f xy (1, 1) + (y − 1)2 fyy (1, 1)
2!
π −1 1 1 1
= + (x − 1) + (y − 1) + (x − 1)2 + 2(x − 1)(y − 1)0
4 2 2 2 2
2 (−1)
+ (y − 1) + ···
2
π 1 11 1
= − (x − 1 − y + 1) + (x − 1)2 − (y − 1)2 + · · ·
4 2 2 2 2
π 1 1 2 2
= − (x − y) + (x − y − 2x + 2y) + · · ·
4 2 4
y π 1 1 1 1
tan−1 = − (x − 1) + (y − 1) + (x − 1)2 − (y − 1)2 + · · · .
x 4 2 2 4 4
π 1 1 1 1
f (1.1, 0.9) = − (0.1) + (−0.1) + (0.1)2 − (−0.1)2 approximately
4 2 2 4 4
π
= − 0.1 = 0.685 approximately.
4
π
Example 2.70. Find the Taylor’s series expansion of e x sin y at the point − 1,
4
upto third degree terms. [Jan 2009]
Solution.
π 1
f (x, y) = e x sin y f − 1, = √
4 e 2
π 1
f x (x, y) = e x sin y f x − 1, = √
4 e 2
π 1
fy (x, y) = e x cos y fy − 1, = √
4 e 2
π 1
f xx = e x sin y f xx − 1, = √
4 e 2
π 1
f xy = e x cos y f xy − 1, = √
4 e 2
π 1
fyx = e x cos y fyx − 1, = √
4 e 2
π −1
fyy = −e x sin y fyy − 1, = √
4 e 2
π 1
f xxx = e x sin y f xxx − 1, = √
4 e 2
Function of Several Variables 121
π 1
f xxy = e x cos y f xxy − 1, = √
4 e 2
π −1
f xyy = −e x sin y f xyy − 1, = √
4 e 2
π −1
fyyx = −e x sin y fyyx − 1, = √
4 e 2
π −1
fyyy = −e x sin y
fyyy − 1, = √
4 e 2
π
Example 2.71. Expand e x cos y near the point 1, by Taylor’s series as far as
4
quadratic terms. [Jan 1996]
Solution.
π e
f (x, y) = e x cos y f 1, = √
4 2
π π e
f x (x, y) = e x cos y f x 1, = e cos = √
4 4 2
π e
fy (x, y) = −e x sin y fy 1, =−√
4 2
π e
f xx = e x cos y f xx 1, = √
4 2
π −e
f xy = −e x sin y f xy 1, = √
4 2
π −e
fyy = −e x cos y fyy 1, = √
4 2
f (x, y) f (x, y)
f (a, b)
f (a, b)
X X
(x, y) (a, b) (x, y) (x, y) (a, b) (x, y)
Y Y
f (x, y).
(iv) If rt − s2 = 0, then no conclusion is possible and further investigation is
required.
Working rule to find maxima and minima of f (x, y)
∂f ∂f
step (1). Find f x = and fy = and solve for f x = 0 and fy = 0 as simultaneous
∂x ∂y
equations in x and y.
Let (a, b), (a1 , b1 ), . . . be the solutions which are stationary points of f (x, y).
∂2 f ∂2 f ∂2 f
step (2). Find r = 2 , s = ,t = 2 .
∂x ∂x∂y ∂y
step (3). Evaluate r, s, t at each stationary point.
At the point (a, b) if
(i) rt − s2 > 0 and r < 0 then f (a, b) is a maximum value of f (x, y).
(ii) rt − s2 > 0 and r > 0 then f (a, b) is a minimum value of f (x, y).
(iii) rt − s2 < 0 then (a, b) is called a saddle point.
(iv) rt − s2 = 0, no conclusion can be made, further investigation is required.
Critical Point
A point (a, b) is a critical point of f (x, y) if f x = 0 and fy = 0 at (a, b) or f x and fy do
not exist at (a, b).
Maxima or Minima occur at a critical point.
✎ ☞
Worked Examples
✍ ✌
f x = 3x2 − 12 fy = 3y2 − 3
r = f xx = 6x s = f xy = 0 t = fyy = 6y
Stationary points are (2, 1), (2, −1), (−2, 1) and (−2, −1).
rt − s2 = 6x6y − 0 = 36xy.
At (2, 1), rt − s2 = 36 × 2 × 1 = 72 > 0.
At (2, 1), r = 6(2) = 12 > 0.
∴ (2, 1) is a minimum point.
Minimum value is f (2, 1) = 8 + 1 − 24 − 3 + 20 = 29 − 27 = 2.
At (2, −1), rt − s2 = 36 × 2 × −1 = −72 < 0.
∴ (2, −1) is a saddle point.
At (−2, 1), rt − s2 = 36 × (−2) × 1 = −72 < 0.
∴ (−2, 1) is a saddle point.
At (−2, −1), rt − s2 = 36 × −2 × −1 = 72 > 0.
r = 6(−2) = −12 < 0.
∴ (−2, −1) is a maximum point.
Maximum value f (−2, −1) = −8 − 1 + 24 + 3 + 20 = 47 − 9 = 38.
f x = 3x2 − 3ay
fy = 3y2 − 3ax
r = f xx = 6x
a2
x=a⇒y= a = a.
Stationary points are (0, 0) and (a, a).
At (0, 0), rt − s2 = 6x6y − 9a2 = 36xy − 9a2 = −9a2 < 0.
r = 6x = 0.
∴ No maximum or minimum at (0, 0).
∴ (0, 0) is a saddle point.
At (a, a), rt − s2 = 36a2 − 9a2 = 27a2 > 0 if a , 0.
r = 6x = 6a.
If a < 0, r < 0.
∴ (a, a) is a maximum point if a < 0.
If a > 0, r > 0.
∴ (a, a) is a minimum point if a > 0.
Maximum value = a3 + a3 − 3a3 = −a3 if a < 0
Minimum value = −a3 if a > 0.
= x2 y2 [−4x − 3y + 3].
fy = 0 ⇒ x3 y(2 − 2x − 3y) = 0.
x = 0, y = 0, 2x + 3y = 2.
Solving 4x + 3y = 3 (1)
2x + 3y = 2 (2)
1
we get 2x = 1 ⇒ x = .
2
1 1
When x = , (1) ⇒ 2 + 3y = 3 ⇒ 3y = 1 ⇒ y = .
2 3
1 1
∴ The stationary points are (0, 0), , .
2 3
At (0, 0), rt − s2 = 0.0 − 0 = 0.
We can not say maximum or minimum. Further investigation is required.
1 1
At , ,
2 3
1 1 1 1 1
r= − 12 × − 6 × × + 6 ×
9 4 2 3 2
1 1 1
= − 3 − 1 + 3 = (−1) − .
9 9 9
1 1 11 1 1 1 1
t =2 −2 −6 = − − =− .
8 16 83 4 8 4 8
11 11 1 1 2 1 1 1 2
2
s = 6 −8 −9 = − −
43 83 49 2 3 4
1 1 2 1 2 1
= − = − = .
4 3 12 144
1 1 1
rt − s2 = − − −
9 8 144
1 1 2−1
= − = > 0 and r < 0.
72 144 144
1 1
∴ , is a maximum point.
2 3
1 1 1 1 1 1 1 6 − 3 − 2 1 1
Maximum value is f , = 1− − = = = .
2 3 89 2 3 72 6 72 × 6 432
Example 2.75. Find the extreme values of the function f (x, y) = x4 + y2 + x2 y.
Solution. Given: f (x, y) = x4 + y2 + x2 y.
fy = 2y + x2 . s = f xy = 2x. t = fyy = 2.
At (0, 0), rt − s2 = 0.
We can not say maximum or minimum.
We shall investigate the nature of the function in a neighbourhood of (0, 0).
We have f (0, 0) = 0. In a neighbourhood of (0, 0) on the x−axis, take the point (h, 0),
f (h, 0) = h4 > 0.
On the y−axis take the point (0, k), f (0, k) = k2 > 0.
On y = mx, for any m, take the point (h, mh).
f x = 2x − y − 2.
fy = −x + 2y + 1.
r = f xx = 2.
s = f xy = −1.
t = fyy = 2.
For stationary points, solve f x = 0, fy = 0
2x − y − 2 = 0. (1)
−x + 2y + 1 = 0. (2)
(1) ⇒ y = 2x − 2.
(2) ⇒ −x + 2(2x − 2) + 1 = 0
−x + 4x − 4 + 1 = 0
3x − 3 = 0
3x = 3
x = 1.
∴ y = 2 − 2 = 0.
Example 2.77. Find the extreme values of the function f (x, y) = x3 +y3 −3x−12y+20.
[Jan 2012]
Solution. f (x, y) = x3 + y3 − 3x − 12y + 20.
130 Engineering Mathematics - I
f x = 3x2 − 3.
fy = 3y2 − 12.
r = f xx = 6x.
s = f xy = 0.
t = fyy = 6y.
For stationary points, solve f x = 0, fy = 0.
3x2 − 3 = 0. 3y2 − 12 = 0.
x2 = 1. y2 = 4.
x = ±1. y = ±2.
The stationary points are (1, 2), (−1, 2), (1, −2), (−1, −2).
At (1, 2), rt − s2 = 36xy = 36 × 1 × 2 = 72 > 0.
r = 6 > 0.
∴ (1, 2) is a minimum point.
Minimum value of f = 1 + 8 − 3 − 24 + 20 = 2.
At (−1, 2), rt − s2 = 36xy = 36 × (−1) × 2 = −72 < 0.
∴ (−1, 2) is a saddle point.
At (1, −2), rt − s2 = 36xy = 36 × 1 × (−2) = −72 < 0.
∴ (1, −2) is a saddle point.
At (−1, −2), rt − s2 = 36xy = 72 > 0.
r = 6 × (−1) = −6 < 0.
∴ (−1, −1) is a maximum point.
Maximum value of f = −1 − 8 + 3 + 24 + 20 = 38.
Maxima = 38.
Minima = 2.
Function of Several Variables 131
Example 2.78. Test for maxima and minima of the function f (x, y) = x3 y2 (6 − x − y).
[Jan 2013]
Solution. f (x, y) = x3 y2 (6 − x − y)
= 6x3 y2 − x4 y2 − x3 y3 .
f x = 18x2 y2 − 4x3 y2 − 3x2 y3 .
x2 y2 (18 − 4x − 3y) = 0
x3 y(12 − 2x − 3y) = 0
2x + 3y = 12. (2)
(1) − (2) ⇒ 2x = 6
x = 3.
(1) ⇒ 12 + 3y = 18
3y = 6
y = 2.
The stationary point is (3, 2)
At (3, 2),
132 Engineering Mathematics - I
r = 36 × 3 × 4 − 12 × 9 × 4 − 6 × 3 × 8
= −144 < 0.
t = 12 × 9 − 2 × 81 − 6 × 27 × 2
= −378.
s = 34 × 9 × 2 − 8 × 27 × 2 − 9 × 9 × 4
= −144.
rt − s2 = (−144)(−378) − (−144)2
= 54432 − 20736
= 33696 > 0
Since rt − s2 > 0 and r < 0, (3, 2) is a maximum point.
∴ Maximum value of f = 27 × 4(6 − 3 − 2) = 108.
Example 2.79. Examine for minimum and maximum values sin x + sin y + sin(x + y).
Solution. We have f (x, y) = sin x + sin y + sin(x + y).
r = f xx = − sin x − sin(x + y)
s = f xy = − sin(x + y)
=⇒x = y
cos 2x = cos(π − x)
=⇒2x = π − x.
i.e., 3x = π
π
x= .
3
π π
When x = , y = .
π π 3 3
∴ , is a stationary point.
3 3
π π
At ,
3 3
√ √
π 2π − 3 3 √
r = − sin − sin = − = − 3 < 0.
3 √3 2 √ 2√
2π 3 3 3 √
s = − sin =− ,t = − − = − 3.
3 2 2 2
2 3 9
rt − s = 3 − = > 0.
4 4
π π
Since rt − s2 > 0 and r < 0, f (x, y) has a maximum value at , .
√ 3√ 3 √ √
π π π π 2π 3 3 3 3 3
∴ Maximum value = f , = sin + sin + sin = + + = .
3 3 3 3 3 2 2 2 2
Example 2.80. Find the maximum and minimum values of
sin x sin y sin(x + y), 0 < x, y < π. [Jan 1997]
Solution. Given f (x, y) = sin x sin y sin(x + y).
If 2x + y = π (1)
and x + 2y = π (2)
then x − y = 0 ⇒ x = y.
π
∴ (1) ⇒ 3x = π ⇒ x = .
3
π
∴y= .
3 π π
∴ one stationary point is , .
3 3
If 2x + y = π and x + 2y = 2π then, x − y = −π ⇒ x = y − π.
∴ 2(y − π) + y = π ⇒ 3y − 2π = π ⇒ 3y = 3π ⇒ y = π,
which is not admissible since y , π.
Similarly, 2x + y = 2π and x + 2y = π is also not possible.
Now take 2x + y = 2π and x + 2y = 2π
⇒ x−y=0⇒ x=y
2π
⇒ 3x = 2π ⇒ x =
3
2π
∴y= .
3
Function of Several Variables 135
2π 2π
∴ Another stationary point is , .
π π 3 3
At , .
3 3 √
π 3(−1)
r = 2 sin cos π = 2 < 0.
3 2
√
4π π π 3
s = sin = sin π + = − sin = − .
3 3 3 2
√
π 2 3(−1) √
t = 2 sin cos π = = − 3.
3 2
√
√ √ − 3 2 3 9
rt − s2 = (− 3)(− 3) − = 3 − = > 0.
2 4 4
π π
∴ , is a maximum point.
3 3 √ √
π π π π 2π 3 3 π
Maximum value = f , = sin . sin sin = sin π −
√3 √ 3 √ 3 √ 3 3 2 2 3
3 3 3 3 3
= = .
2 2 2 8
2π 2π
At ,
3 3 √
2π 6π 3 √
r = 2 sin cos =2 .1 = 3 > 0.
3 3 2
2π 6π √
t = 2 sin cos = 3.
3 3 √
8π π 3
s = sin = sin 3π − = .
3 √ 3 2
√ √ 3 2 3 9
rt − s2 = 3 3 − = 3 − = > 0.
2 4 4
2π 2π
∴ , is a minimum point.
3 3 √ √ √ √
2π 2π 2π 2π 4π 3 3 3 −3 3
Minimum value = f , = sin sin sin = − = .
3 3 3 3 3 2 2 2 8
Example 2.81. In a plane triangle, find the maximum value of cos A cos B cos C.
[Jan 2000]
Solution. The angles of the ∆le ABC satisfy 0 < A, B, C < π and A + B + C = π,
=⇒ C = π − (A + B). Replacing C, we get
f (A, B) = cos A cos B cos(π − (A + B)) = − cos A cos B cos(A + B), 0 < A, B < π.
fA = − cos B[cos A(− sin(A + B)) + cos(A + B)(− sin A)] = cos B sin(2A + B).
136 Engineering Mathematics - I
Finally 2A + B = 2π and A + 2B = 2π ⇒ A − B = 0 ⇒ A = B.
2π 2π
3A = 2π ⇒ A = ,B = .
3 3
2π 2π π
A+B= + = 4 > π not possible.
3 3 3 π π
∴ The only stationary point is , .
π π 3 3
At , ,
3 3
π 1
r = 2 cos cos π = 2 (−1) < 0.
3 2
π
t = 2 cos cos π = −1.
3
4π π 1
s = cos = cos π + =− .
3 3 2
2
−1 2 1 3
rt − s = (−1)(−1) − = 1 − = > 0.
π π 2 4 4
∴ , is a maximum point.
3 3
π π π π π 1
∴ Maximum value of f is f , = cos cos cos = .
3 3 3 3 3 8
Example 2.82. A flat circular plate is heated so that the temperature at any
point (x, y) is U(x, y) = x2 + 2y2 − x. Find the coldest point on the plate. [Jan 2005]
Solution. Given U = x2 + 2y2 − x.
U x = 2x − 1 Uy = 4y.
r = U xx = 2. s = U xy = 0. t = Uyy = 4.
Lagrange’s Method
Let f (x, y, z) be the function for which the extreme values are to be found subject to
the condition
φ(x, y, z) = 0. (1)
F = xm yn z p + λ(x + y + z − a).
F x = 0 ⇒ mxm−1 yn z p = −λ.
Function of Several Variables 139
φ = 2x + y + 3z − a = 0. (1)
Fy = 0 ⇒ x2 z3 = −λ.
Therefore
xyz3 = x2 z3 = x2 yz2
140 Engineering Mathematics - I
xyz3 = x2 z3 ⇒ y = x.
x2 z3 = x2 yz2 ⇒ y = z.
x = y = z.
a
(1) ⇒ 2x + x + 3x = a ⇒ 6x = a ⇒ x = = y = z.
6
a a a
∴ The stationary point is , , .
6 6 6
a 2 a a 3 a6 a 6
Minimum value = = 6 = .
6 6 6 6 6
Example 2.85. If u = x2 + y2 + z2 where ax + by + cz − p = 0, find the stationary value
of u. [Jan 2006]
Solution. Given f = x2 + y2 + z2 .
φ = ax + by + cz − p = 0. (1)
F = x2 + y2 + z2 + λ(ax + by + cz − p).
−aλ −a2 λ
2x + λa = 0 ⇒ x = ⇒ ax = .
2 2
Similarly
−b2 λ −c2 λ
by = , cz = .
2 2
−a2 λ b2 λ c2 λ
(1) ⇒ − − =p
2 2 2
a2 + b2 + c2 −2p
λ = −p ⇒ λ = 2 .
2 a + b2 + c2
ap bp cp
∴x= 2 2 2
,y = 2 2 2
,z = 2 .
a +b +c a +b +c a + b2 + c2
Function of Several Variables 141
Stationary value of u is
a2 p2 b2 p2 c2 p2
u= + +
(a2 + b2 + c2 )2 (a2 + b2 + c2 )2 (a2 + b2 + c2 )2
p2 (a2 + b2 + c2 ) p2
= = .
(a2 + b2 + c2 )2 a2 + b2 + c2
T = 400xyz2 (1)
subject to φ = x2 + y2 + z2 − 1 = 0. (2)
1 √ 1 1
∴ y = ± ,z = ± 2 = ± √ .
2 2 2
1 1 1
The stationary points are given by x = ± , y = ± , z = ± √ .
2 2 2
To have maximum value, we must have xy positive.
1 1 1 1 1 −1 −1 −1 1 −1 −1 −1
∴ The points are , , √ , , , √ , , , √ , , , √ .
2 2 2 2 2 2 2 2 2 2 2 2
111 0
∴ Maximum T = 400 = 50 C.
222
Example 2.87. Find the shortest and longest distance from the point (1, 2, −1) to
the sphere x2 + y2 + z2 = 24 using Lagrange’s method of constrained maxima and
minima. [Jun 2011, Jan 2002]
Solution. Let P(x, y, z) be any point on the sphere.
Let A be the point (1, 2, −1).
q
AP = (x − 1)2 + (y − 2)2 + (z + 1)2 .
1 2 1 2
Taking 1 − = 1 − we get = ⇒ y = 2x.
x y x y
1 1
Taking 1 − = 1 + we get z = −x.
x z
2 1 −y
Taking 1 − = 1 + we get z = = −x.
y z 2
We have x2 + y2 + z2 = 24 ⇒ x2 + 4x2 + x2 = 24 ⇒ 6x2 = 24 ⇒ x2 = 4 ⇒ x = ±2.
When x = 2, y = 4, z = −2, the first point is (2, 4, −2). Let this point be P1 .
When x = −2, y = −4, z = 2, the second point is (−2, −4, 2). Let this point be P2 .
√ √ √ √ √
P1 A = 1 + 4 + 1 = 6, P2 A = 9 + 36 + 9 = 54 = 3 6
√
∴ Shortest distance = 6
√
Longest distance = 3 6.
Example 2.88. A rectangular box open at the top is to have a volume of 32cc.
Find the dimensions of the box which requires least amount of material for its
construction. [Jun 2012, Dec 2011, Jun 2010, Jan 2005]
Solution. Let the dimensions of the box be Length = x, Breadth = y, height = z.
Given: Volume = 32cc.
=⇒ xyz = 32, x, y, z > 0. (1)
We have to minimize the amount of material used for the construction of the box.
Let S be the surface area of the box whose top is open
By Lagrange’s method
Let F = s + λφ = xy + 2yz + 2xz + λ(xyz − 32) where λ is the Lagrange’s multiplier.
F x = y + 2z + λyz, Fy = x + 2z + λxz, Fz = 2y + 2x + λxy.
To find the stationary points, solve
F x = 0, Fy = 0, Fz = 0, φ = 0
F x = 0 ⇒ y + 2z + λyz = 0
=⇒ y + 2z = −λyz
144 Engineering Mathematics - I
y 2z
⇒ + = −λ
yz yz
1 2
⇒ + = −λ (3)
z y
Fy = 0 ⇒ x + 2z + λxz = 0
=⇒ x + 2z = −λxz
(3) − (5) ⇒
1 2
− =0
z x
1 2
=
z x
⇒ x = 2z (7)
∴ x = 4, y = 4.
The stationary point is (4, 4, 2).
The dimensions are 4cm, 4cm, 2cm.
Example 2.89. Find the dimensions of the rectangular box open at the top of
maximum capacity whose surface area is 432 sq.m. [Jun 2013]
Solution. Let the dimensions of the box be x, y, z.
Given, surface area= 432.
By lagrange’s method
F = V + λφ, where λ is the lagrange multiplier.
F x = yz + λ(y + 2z).
Fy = xz + λ(x + 2z).
Fz = xy + λ(2x + 2y).
F x = 0 ⇒ yz + λ(y + 2z) = 0
Fy = 0 ⇒ xz + λ(x + 2z) = 0
Fz = 0 ⇒ xy + λ(2x + 2y) = 0
146 Engineering Mathematics - I
3xyz + 2λ × 432 = 0
3xyz = −864λ
3xyz xyz
λ=− =−
864 288
Substituting the value of λ in F x = 0 we get
xyz
yz − (y + 2z) = 0
288
x
1− (y + 2z) = 0
288
x
1= (y + 2z)
288
xyz
Fy = 0 ⇒ xz − (x + 2z) = 0
288
y
1− (x + 2z) = 0
288
y y
1− (x + 2z) = 0, 1 = (x + 2z)
288 288
xyz
Fz = 0 ⇒ xy − (2x + 2y) = 0
288
z z
1− (2x + 2y) = 0, 1 = (2x + 2y)
288 288