Unit II Maths
Unit II Maths
Satish Shukla 1 of 31
Engg. Math. I
Unit-II
Partial differentiation
Suppose, a particle is moving parallel to the earth surface, then at any instant its energy
depends only upon its velocity (surely, we neglect the effect of other celestial and terrestrial
bodies on the energy of particle). Precisely, the energy of particle
1
E(v) = mv 2 + K0
2
where v is the velocity of particle and K0 is its potential energy (which is constant).
Thus, the E(v) depends only on the velocity v. We say that the energy E of particle is
an output, while its velocity is the input for this output function, and for various values
of input we obtain the different outputs.
Now consider same particle but with a different situation. Suppose, the particle is
moving in such a way that its hight from the earth surface changes continuously. Then,
at any instant its energy depends upon its velocity v, as well as, its hight h from the earth
surface. Precisely, the energy of particle
1
E(v, h) = mv 2 + mgh.
2
What we see? We now see that the output function E depends on the two inputs, namely,
the velocity v and the hight h of the particle.
We say that the energy function E is a function of a single variable v, while the energy
function E is a function of two variables v, h.
In general, we say that a quantity y is a function f of n variables if its value depends
on n variables x1 , x2 , . . . , xn . Mathematically, we represent this fact by:
y = f (x1 , x2 , . . . , xn ).
Y
Z
0.2
5
−5
X −5
−1 −0.5 0.5 1
5 X
5 −5
−0.2 Y
We call the inputs as independent variable and the output as dependent variable. Now
consider a different case, when the dependent variable z is a function of two independent
variables (x, y). We write z = f (x, y). Now if we draw the graph of this function by
taking the values of x, y and z on three mutually perpendicular axes, we obtain a three
dimensional surface. Then, apart from the previous case the independent variables (x, y)
(the inputs) now can change in the XY -plane in any direction (right or left, up or down;
or in any direction different from these two), and so, we can find the rate of change of
z along any such direction. Such rate of change is called the directional derivative of f .
In particular, we are interested in finding the rate of change (directional derivative) of f
in two directions (i) along X-axis; and (ii) along Y -axis, and so, we get two directional
derivatives along these two axes. The rate of change of f (or z) along X-axis is called
∂f
the partial derivative of f (or z) with respect to x and it is denoted by . Similarly,
∂x
the rate of change of f (or z) along Y -axis is called the partial derivative of f (or z) with
∂f
respect to y and it is denoted by .
∂y
∂f
Because, in moving along X-axis y remains constant, and is the rate of change of
∂x
f along X axis, we have:
∂f f (x + h, y) − f (x, y)
= lim .
∂x h→0 h
∂f
Similarly, in moving along Y -axis x remains constant, and is the rate of change of f
∂y
along Y axis, we have:
∂f f (x, y + k) − f (x, y)
= lim .
∂y k→0 k
In similar way, we can define the partial derivatives of higher orders.
Example 1. Find the first and second partial derivatives of the function z = x3 +
y 3 − 3axy.
and
x2 + 2xy − y 2 y 2 + 2xy − x2
∂z ∂z
4 1− − = 4 1− −
∂x ∂y (x + y)2 (x + y)2
(x + y)2 − (x2 + 2xy − y 2 ) − (y 2 + 2xy − x2 )
= 4
(x + y)2
2
(x + y 2 + 2xy) − (x2 + 2xy − y 2 ) − (y 2 + 2xy − x2 )
= 4
(x + y)2
2
x + y 2 − 2xy
= 4
(x + y)2
4(x − y)2
= .
(x + y)2
2
∂z ∂z ∂z ∂z
Therefore: − =4 1− − .
∂x ∂y ∂x ∂y
∂ 2u x2 − y 2
y
2 −1 2 −1 x
Example 3. If u = x tan − y tan , then show that = 2
x y ∂x∂y x + y2
∂ 2u ∂ 2u
and = .
∂x∂y ∂y∂x
∂ 2u
∂ −1 x
= x − 2y tan
∂x∂y ∂x y
1 1
= 1 − 2y × 2
×
1 + (x/y) y
2 2
x −y
= 2 .
x + y2
∂u y
Similarly, = 2x tan−1 − y. Differentiating with respect to y we get:
∂x x
∂ 2u 1 1 x2 − y 2
= 2x × × −1= 2 .
∂y∂x 1 + (y/x)2 x x + y2
Therefore:
∂ 2u ∂ 2u x2 − y 2
= = 2 .
∂x∂y ∂y∂x x + y2
−1/2 ∂ 2v ∂ 2v ∂ 2v
Example 4. If v = (x2 + y 2 + z 2 ) , then prove that + + = 0.
∂x2 ∂y 2 ∂z 2
Dr. Satish Shukla 5 of 31
∂ 2v
2 2 2 −3/2 3 −5/2
x2 + y 2 + z 2
2
= − x +y +z −x − × 2x
∂x 2
−5/2 2
= x2 + y 2 + z 2 3x − x2 + y 2 + z 2
−5/2
= x2 + y 2 + z 2 2x2 − y 2 − z 2 .
∂ 2v 2 2 2 −5/2
2 2 2
= x + y + z 2y − x − z
∂y 2
∂ 2v −5/2
= x2 + y 2 + z 2 2z 2 − x2 − z 2 .
and 2
∂z
Adding the above three we get:
∂ 2v ∂ 2v ∂ 2v −5/2 −5/2
x2 + y 2 + z 2 2x2 − y 2 − z 2 + x2 + y 2 + z 2 2y 2 − x2 − z 2
+ + =
∂x2 ∂y 2 ∂z 2
−5/2
+ x2 + y 2 + z 2 2z 2 − x2 − z 2
−5/2
= x2 + y 2 + z 2 2x2 − y 2 − z 2 + 2y 2 − x2 − z 2 + 2z 2 − x2 − z 2
−5/2
= x2 + y 2 + z 2 ·0
= 0.
∂u 3x2 − 3yz
= 3 .
∂x x + y 3 + z 3 − 3xyz
Using symmetry of u in x, y and z we obtain:
∂u 3y 2 − 3xz
= 3
∂y x + y 3 + z 3 − 3xyz
∂u 3z 2 − 3xy
and = 3 .
∂z x + y 3 + z 3 − 3xyz
Dr. Satish Shukla 6 of 31
∂ 3u
Example 6. If u = exyz , then show that = (1 + 3xyz + x2 y 2 z 2 )exyz .
∂x∂y∂z
∂ 2z
Example 7. If xx y y z z = c, then show that = −(x ln ex)−1 at point x = y = z.
∂x∂y
Dr. Satish Shukla 7 of 31
x ln x + y ln y + z ln z = ln c.
1 1 ∂z ∂z
x· + ln x + z · + ln z = 0
x z ∂x ∂x
∂z
=⇒ 1 + ln x + (1 + ln z) = 0
∂x
∂z 1 + ln x
=⇒ = − .
∂x 1 + ln z
By symmetry of the function z in the variables x and y we obtain:
∂z 1 + ln y
=− .
∂y 1 + ln z
Differentiating the above equation partially with respect to x we obtain:
∂ 2z
∂ 1 + ln y
= −
∂x∂y ∂x 1 + ln z
1 1 ∂z
= (1 + ln y) · 2
· ·
(1 + ln z) z ∂x
1 1 1 + ln x
= (1 + ln y) · · · −
(1 + ln z)2 z 1 + ln z
(1 + ln x)(1 + ln y)
= − .
z(1 + ln z)3
∂ 2z (1 + ln x)(1 + ln x)
= −
∂x∂y z(1 + ln x)3
1
= −
z(1 + ln x)
1
= −
z(ln e + ln x)
= −(x ln ex)−1 .
nrn−4 3r2 + (n − 2) x2 + y 2 + z 2
=
nrn−4 3r2 + (n − 2)r2
=
= nrn−4 (n + 1) r2
= n(n + 1)rn−2 .
∂ 2u ∂ 2u 00 1 0
+ = f (r) + f (r).
∂x2 ∂y 2 r
Solution: Given that x = r cos θ and y = r sin θ. On squaring and adding these two we
obtain
r 2 = x2 + y 2 .
∂r
Differentiating the above equation with respect to x partially we obtain: 2r = 2x, i.e.
∂x
∂r x
= .
∂x r
Similarly we obtain:
∂r y
= .
∂y r
Dr. Satish Shukla 9 of 31
∂r ∂x 1 ∂x ∂θ
Example 10. If x = r cos θ, y = r sin θ, then prove that = and =r .
∂x ∂r r ∂θ ∂x
∂x x
= cos θ =
∂r r
∂x ∂r
=⇒ = .
∂r ∂x
Again differentiating equation (9) partially with respect to θ we get:
∂x ∂θ
= −r sin θ = −r −r
∂θ ∂x
1 ∂x ∂θ
=⇒ = r .
r ∂θ ∂x
Chain Rule for Partial Differentiation. Suppose z = f (x, y) be a function of two variable,
where x = x(t), y = y(t) are functions of another variable t. Suppose there is a small
change δt in the variable t, due to which there are small changes δx and δy in the variables
x and y respectively. Because of these changes in x and y, suppose there is a small change
∂z
δz in the function z = f (x, y). Then, the rate of change of z in X direction will be ,
∂x
∂z
and so the change in z along the X direction will be δx. Similarly, the change in z in
∂x
∂z
Y direction will be δy. Since the changes are very small the total approximate change
∂y
in z will be:
∂z ∂z
δz ≈ δx + δy.
∂x ∂y
Therefore, the rate of change of z with respect to t:
δz ∂z δx ∂z δy
≈ + .
δt ∂x δt ∂y δt
For instantaneous rate of change, letting δ → 0, and so, δx, δy → 0 in the above inequality
we obtain:
dz ∂z dx ∂z dy
= + .
dt ∂x dt ∂y dt
In a general case, if z = f (x, y), x = x(r, s) and y = y(r, s), then we have:
∂z ∂z ∂x ∂z ∂y
= +
∂r ∂x ∂r ∂y ∂r
∂z ∂z ∂x ∂z ∂y
= + .
∂s ∂x ∂s ∂y ∂s
The above results can be generalized for a function of n variables.
and ∂y ∂y
= sin θ, = r cos θ.
∂r ∂θ
Now by chain rule we have:
∂u ∂u ∂x ∂u ∂y
= +
∂r ∂x ∂r ∂y ∂r
∂u ∂u
= cos θ + sin θ
∂x ∂y
and
∂u ∂u ∂x ∂u ∂y
= +
∂θ ∂x ∂θ ∂y ∂θ
∂u ∂u
= −r sin θ + r cos θ .
∂x ∂y
Therefore:
2 2 2 2
∂u 1 ∂u ∂u ∂u 1 ∂u ∂u
+ 2 = cos θ + sin θ + 2 −r sin θ + r cos θ
∂r r ∂θ ∂x ∂y r ∂x ∂y
2 2
∂u ∂u
= cos2 θ + sin2 θ + sin2 θ + cos2 θ
∂x ∂y
2 2
∂u ∂u
= + .
∂x ∂y
du
Example 12. If u = x log(xy) where x3 + y 3 + 3xy = 1, find .
dx
Solution: Since
u = x log(xy) (11)
we have:
∂u 1
=x .y + log(xy) = 1 + log(xy),
∂x xy
and ∂u 1 x
=x .x = .
∂y xy y
also,
x3 + y 3 + 3xy = 1 (12)
Differentiating (12), w.r.t. x, we get
2 2 dydy
3x + 3y +3 x +y = 0
dx dx
x2 + y
dy
= − (13)
dx x + y2
we know that
du ∂u ∂u dy
= +
dx ∂x ∂y dx
2
x x +y
= 1 + log(xy) + −
y x + y2
x(x2 + y)
= 1 + log(xy) − .
y(x + y 2 )
Dr. Satish Shukla 12 of 31
∂u ∂u ∂u
Example 13. If u = f (x − y, y − z, z − x), then prove that + + = 0.
∂x ∂y ∂z
Solution: Let
X = x−y (14)
Y = y−z (15)
Z = z − x. (16)
∂ 2u ∂ 2u
Example 14. Transform the Laplace equation + 2 = 0 into the polar coor-
∂x2 ∂y
dinates.
Dr. Satish Shukla 13 of 31
Solution: We know that the relation between cartesian coordinates (x, y) and the polar
−1 y
2 2 2
coordinates (r, θ) are given by x = r cos θ, y = r sin θ, i.e., r = x +y and θ = tan .
x
Therefore:
∂r x ∂r y
= = cos θ, = = sin θ
∂x r ∂y r
and ∂θ sin θ ∂θ cos θ
=− , = .
∂x r ∂y r
Now by chain rule we have:
∂u ∂u ∂r ∂u ∂θ ∂u sin θ ∂u
= + = cos θ −
∂x ∂r ∂x ∂θ ∂x
∂r r ∂θ
∂ sin θ ∂
= cos θ − u.
∂r r ∂θ
The above relation is true for all functions u, and so:
∂ ∂ sin θ ∂
≡ cos θ − .
∂x ∂r r ∂θ
Similarly, we have
∂u ∂u ∂r ∂u ∂θ ∂u cos θ ∂u
= + = sin θ +
∂y ∂r ∂y ∂θ ∂y ∂r r ∂θ
∂ cos θ ∂
= sin θ + u.
∂r r ∂θ
The above relation is true for all functions u, and so:
∂ ∂ cos θ ∂
≡ sin θ + .
∂y ∂r r ∂θ
Therefore:
∂ 2u
∂ ∂u
=
∂x2 ∂x ∂x
∂ sin θ ∂ ∂u sin θ ∂u
= cos θ − cos θ −
∂r r ∂θ ∂r r ∂θ
∂ ∂u sin θ ∂u sin θ ∂ ∂u sin θ ∂u
= cos θ cos θ − − cos θ −
∂r ∂r r ∂θ r ∂θ ∂r r ∂θ
2 2
∂ 2u
2 ∂ u 1 ∂u 1 ∂ u sin θ ∂u
= cos θ 2 − sin θ cos θ − 2 + − − sin θ + cos θ
∂r r ∂θ r ∂r∂θ r ∂r ∂r∂θ
2
sin θ ∂u ∂ u
+ 2 cos θ + sin θ 2
r ∂θ ∂θ
Similarly,
∂ 2u
∂ ∂u
=
∂y 2 ∂y ∂y
∂ cos θ ∂ ∂u cos θ ∂u
= sin θ + sin θ +
∂r r ∂θ ∂r r ∂θ
2
1 ∂u 1 ∂ 2 u ∂ 2u
2 ∂ u cos θ ∂u
= sin θ 2 + sin θ cos θ − 2 + + cos θ + sin θ
∂r r ∂θ r ∂r∂θ r ∂r ∂r∂θ
2
cos θ ∂u ∂ u
+ 2 − sin θ + cos θ 2 .
r ∂θ ∂θ
Dr. Satish Shukla 14 of 31
∂ 2u ∂ 2u
+ =0
∂x2 ∂y 2
2 2
∂ 2 u sin2 θ + cos2 θ ∂u sin2 θ + cos2 θ ∂ 2 u
=⇒ cos θ + sin θ + + =0
∂r2 r ∂r r2 ∂θ2
∂ 2 u 1 ∂u 1 ∂ 2u
=⇒ + + = 0.
∂r2 r ∂r r2 ∂θ2
Exercise (Assignment)
∂z ∂z ∂z ∂z
− =x −y .
∂u ∂v ∂x ∂y
Hint: Use the chain rule of partial differentiation.
Homogeneous Function
= x2 f (x, y).
a0 xn + a1 xn−1 y + a2 xn−2 y 2 + · · · + an y n
∂u y 1
n−1 n 0 y
= nx φ +x φ ·y − 2
∂x x x x
∂u y y
=⇒ = nxn−1 φ − yxn−2 φ0 (17)
∂x x x
and
∂u y 1
= xn φ0 ·
∂y x x
∂u y
=⇒ = xn−1 φ0 . (18)
∂y x
∂u ∂u y
x +y = nxn φ = nu.
∂x ∂y x
Dr. Satish Shukla 16 of 31
∂F (u) ∂F (u)
x +y = nF (u)
∂x ∂y
∂u ∂u
=⇒ xF 0 (u) + yF 0 (u) = nF (u)
∂x ∂y
∂u ∂u F (u)
=⇒ x +y = n 0 .
∂x ∂y F (u)
−1 x y ∂u ∂u
Example 16. If u = sin + tan−1 , then prove that x +y = 0.
y x ∂x ∂y
y y
Example 17. If u = xφ +ψ , then prove that
x x
∂ 2u ∂ 2u 2
2∂ u
x2 + 2xy + y = 0.
∂x2 ∂x∂y ∂y 2
y y y
Solution: Let v = xφ and w = ψ , then u = v + w. Now v = xφ is a
x x x
homogeneous function of x and y of degree 1, so from the relation (22) we have,
∂ 2v ∂ 2v 2
2∂ v
x2 + 2xy + y = 1(1 − 1)v = 0 (23)
∂ 2x ∂x∂y ∂y 2
y
again w = ψ is a homogeneous function of x and y of degree 0, so from the relation
x
(22) we have,
∂ 2w ∂ 2w 2
2∂ w
x2 + 2xy + y = 0(0 − 1)w = 0 (24)
∂ 2x ∂x∂y ∂y 2
Dr. Satish Shukla 18 of 31
x2 + y 2
−1
Example 18. If u = sin , then show that
x+y
∂u ∂u
x +y = tan u.
∂x ∂y
∂u ∂u x3 + y 3
Example 19. Show that x +y = 2u log u, where log u = .
∂x ∂y 3x + 4y
x3 + y 3
−1
Example 20. If u = tan , then show that:
x+y
∂u ∂u
(A) x +y = sin 2u.
∂x ∂y
∂ 2u ∂ 2u 2
2∂ u
(B) x2 + 2xy + y = 2 cos 3u sin u.
∂x2 ∂x∂y ∂y 2
(tx)3 + (ty)3 3
2 x +y
3
f (tx, ty) = =t ·
tx + ty x+y
2
= t f (x, y).
which is the required result (A). Again, differentiating (A), i.e., the above equation par-
tially with respect to x, we get:
∂ 2 u ∂u ∂ 2u ∂u
x 2+ +y = 2 cos 2u
∂x ∂x ∂x∂y ∂x
2 2
∂ u ∂ u ∂u
=⇒ x 2 + y = (2 cos 2u − 1) . (26)
∂x ∂x∂y ∂x
Again, differentiating (A) partially with respect to y, we get:
∂ 2u ∂u ∂ 2u ∂u
x + + y 2 = 2 cos 2u
∂y∂x ∂y ∂y ∂y
2 2
∂ u ∂ u ∂u
=⇒ x + y 2 + = (2 cos 2u − 1) . (27)
∂x∂y ∂y ∂y
Multiplying (26) by x and (27) by y and adding, we get:
2
∂ 2u 2
2∂
u 2∂ u ∂u ∂u
x 2 + 2xy +y = (2 cos 2u − 1) x +y
∂ x ∂x∂y ∂y 2 ∂x ∂y
∂ 2u ∂ 2u ∂ 2u
=⇒ x2 2 + 2xy + y2 2 = (2 cos 2u − 1) sin 2u
∂ x ∂x∂y ∂y
∂ 2u ∂ 2u ∂ 2u
=⇒ x2 2 + 2xy + y2 2 = 2 cos 2u sin 2u − sin 2u
∂ x ∂x∂y ∂y
∂ 2u ∂ 2u ∂ 2u
=⇒ x2 2 + 2xy + y2 2 = sin 4u − sin 2u = 2 cos 3u sin u.
∂ x ∂x∂y ∂y
This proves the required result (B).
Exercise (Assignment)
x2 y 2
−1 ∂u ∂u
(Q.1) If u = sin , then show that: x +y = 3 tan u.
x+y ∂x ∂y
x2 y 2
Hint: f (x, y) = sin u = is a homogeneous function of degree 3 in x and y.
x+y
−1 x+y ∂u ∂u 1
(Q.2) If u = cos √ √ , then show that: x +y = − cot u.
x+ y ∂x ∂y 2
x+y 1
Hint: f (x, y) = cos u = √ √ is a homogeneous function of degree in x and
x+ y 2
y.
−1 x+y
(Q.3) If u = sin √ √ , then show that:
x+ y
∂u ∂u 1
• x +y = tan u.
∂x ∂y 2
∂ 2u ∂ 2u ∂ 2u sin u cos 2u
• x2 2 + 2xy + y2 2 = − .
∂x ∂x∂y ∂y 4 cos3 u
x+y 1
Hint: f (x, y) = sin u = √ √ is a homogeneous function of degree in x and
x+ y 2
y.
Dr. Satish Shukla 21 of 31
fx (a, b) = fy (a, b) = 0.
s2
1 1 2 2
f (a + h, b + k) − f (a, b) = (hr + ks) + k t − .
2! r r
Dr. Satish Shukla 22 of 31
For maxima the LHS, and so the RHS should be negative and it is possible if r < 0 and
s2
t− < 0, i.e., rt − s2 > 0.
r
For minima the LHS, and so the RHS should be positive and it is possible if r > 0
s2
and t − > 0, i.e., rt − s2 > 0.
r
For saddle point the LHS, and so the RHS should be positive as well as negative
(should change the sign) and it is possible in the following two ways: (i) if r > 0 and
s2 s2
t− < 0, i.e., rt − s2 < 0. (ii) if r < 0 and t − > 0, i.e., rt − s2 < 0. Thus, for saddle
r r
point we must have rt − s2 < 0.
Finally, if rt − s2 = 0, then the neglected terms in the series becomes effective and we
need the further investigation.
(1) Find the first derivatives fx (x, y) and fy (x, y) and solve the equations:
fx (x, y) = 0
fy (x, y) = 0.
Solution(s) of the above system is (are) the critical point(s). Suppose, a critical
point is (a, b);
(2) if D(a, b) > 0 and fxx (a, b) > 0, then f (x, y) has a local minimum at (a, b);
(3) if D(a, b) > 0 and fxx (a, b) < 0, then f (x, y) has a local maximum at (a, b);
(4) if D(a, b) < 0, then f (x, y) has a saddle point at (a, b);
(5) if D(a, b) = 0, then we cannot draw any conclusions and further investigations
are required.
Since x = y, we get two critical points (0, 0) and (a, a). Now, by differentiating fx (x, y)
and fy (x, y) again with respect to x and y we get:
Since D(0, 0) > 0, there is a maxima or minima at the critical point (a, a). We consider
two cases:
If a < 0, then fxx (a, a) = 6a < 0 and so there is a maxima of function f and its
maximum value is
fmax = f (a, a) = a3 + a3 − 3a · a · a = −a3 .
If a > 0, then fxx (a, a) = 6a > 0 and so there is a minima of function f and its minimum
value is
fmin = f (a, a) = a3 + a3 − 3a · a · a = −a3 .
a3 a3
Example 22. Discuss the maxima and minima of u = xy + + .
x y
a3 a3
Solution: Given function is u = xy + + . Differentiating partially with respect to
x y
x and y we get:
a3 a3
ux (x, y) = y − , u y (x, y) = x − .
x2 y2
First we find the critical point. Then:
a3 a3
ux (x, y) = 0, uy (x, y) = 0 =⇒ y− = 0, x − = 0.
x2 y2
Since f is symmetric in x and y, a solution of the above system is x = y. Putting x = y
in the above equation we get:
a3
x− =0 =⇒ x 3 − a3 = 0
x2
=⇒ x = a.
Since x = y, we get the critical point (a, a). Now, by differentiating ux (x, y) and uy (x, y)
again with respect to x and y we get:
2a3 2a3
uxx (x, y) = , u xy (x, y) = 1, u yy (x, y) = .
x3 y3
Dr. Satish Shukla 24 of 31
Since D(a, a) > 0, there is a maxima or minima at critical point (a, a). Then ux,x (a, a) =
2 > 0, and so, there is a minima of function u and its minimum value is
Example 23. Discuss the maxima and minima of f (x, y) = xy(a − x − y).
ax − x2 − 2x · x = 0 =⇒ x(a − 3x) = 0
a
=⇒ x = 0, .
3
a a
Since x = y, we get two critical points , and (a, a). Now, by differentiating fx (x, y)
3 3
and fy (x, y) again with respect to x and y we get:
a a a a
Since D , > 0, there is a maxima or minima at the critical point , . We
3 3 3 3
consider two cases:
a a 2a
If a > 0, then fxx , =− < 0 and so there is a maxima of function f and its
3 3 3
maximum value is a a a2 a a a3
fmax = f , = a− − = .
3 3 9 3 3 27
a a 2a
If a < 0, then fxx , = − > 0 and so there is a minima of function f and its
3 3 3
minimum value is a a a2 a a a3
fmin = f , = a− − = .
3 3 9 3 3 27
Example 25. Discuss the maxima and minima of f (x, y) = sin x sin y sin(x + y).
Dr. Satish Shukla 26 of 31
Solution: Given function is f (x, y) = sin x sin y sin(x + y). Differentiating partially with
respect to x and y we get:
fxx (x, y) = 2 sin y cos(2x + y), fxy (x, y) = sin(2x + 2y), fyy (x, y) = 2 sin x cos(x + 2y).
= 0.
Since D(0, 0) = 0, we cannot draw any conclusions and further investigations are required.
(ii). 2
D(π, π) = fxx (π, π)fyy (π, π) − fxy (π, π)
= 0 · 0 − 0]2
= 0.
Since D(0, 0) = 0, we cannot draw any conclusions and further investigations are required.
(iii). π π π π π π h π π i2
D , = fxx , fyy , − fxy ,
3 3 3 3 3 3 3 3
√ √ " √ #2
3 3 3
= 2· (−1) · 2 · (−1) − −
2 2 2
9
= .
4
π π π π
Since D , > 0, there is a maxima or minima at the critical point , . Now
3 3 √ 3 3
π π 3 √
fxx , = 2· (−1) = − 3 < 0, and so, there is a maxima of function f and its
3 3 2
maximum value is
π π π π π π 3√3
fmax = f , = sin · sin · sin + = .
3 3 3 3 3 3 8
Dr. Satish Shukla 27 of 31
(iv). 2
2π 2π 2π 2π 2π 2π 2π 2π
D , = fxx ,
fyy , − fxy ,
3 3 3 3 3 3 3 3
√ √ " √ #2
3 3 3
= 2· ·1·2· ·1−
2 2 2
9
= .
4
2π 2π 2π 2π
Since D , > 0, there is a maxima or minima at the critical point , .
3 3 √ 3 3
√
2π 2π 3
Now fxx , = 2· · 1 = 3 > 0, and so, there is a maxima of function f and
3 3 2
its minimum value is
√
2π 2π 2π 2π 2π 2π 3 3
fmin = f , = sin · sin · sin + =− .
3 3 3 3 3 3 8
Example 26. Discuss the maxima and minima of f (x, y) = sin x + sin y + sin(x + y).
Solution: Given function is f (x, y) = sin x + sin y + sin(x + y). Differentiating partially
with respect to x and y we get:
fxx (x, y) = − sin x − sin(x + y), fxy (x, y) = − sin(x + y), fyy (x, y) = − sin y − sin(x + y).
= 0.
Dr. Satish Shukla 28 of 31
Since D(0, 0) = 0, we cannot draw any conclusions and further investigations are required.
(ii). π π π π π π π π
2
D , = fxx , fyy , − fxy ,
3 3 3 3 3 3 3 3
" √ #2
√ √ 3
= (− 3) · (− 3) − −
2
9
= > 0.
4
π π π π
Since D , > 0, there is a maxima or minima at the critical point , . Now
π π 3 3 √ 3 3
fxx , = − 3 < 0, and so, there is a maxima of function f and its maximum value
3 3
is
π π π π π π 3√3
fmax = f , = sin + sin + sin + = .
3 3 3 3 3 3 2
(iii).
5π 5π
5π 5π
5π 5π
5π 5π 2
D , = fxx , fyy , − fxy ,
3 3 3 3 3 3 3 3
" √ #2
√ √ 3
= ( 3) · ( 3) −
2
9
= > 0.
4
5π 5π 5π 5π
Since D , > 0, there is a maxima or minima at the critical point , .
3 3 3 3
5π 5π √
Now fxx , = 3 > 0, and so, there is a minima of function f and its minimum
3 3
value is
√
5π 5π 5π 5π 5π 5π 3 3
fmin = f , = sin + sin + sin + =− .
3 3 3 3 3 3 2
Example 27. Discuss the maxima or minima of sin x sin y sin z, where x, y and z are
the angles of triangle.
Example 28. Find the point on the surface z 2 = xy + 1 nearest to the origin.
Solution: Suppose the required point on the surface z 2 = xy + 1 is (x, y, z). Then we
have to find this point such that its distance from origin, i.e.
p
d = x2 + y 2 + z 2
is minimum. Since d and d2 get their minimum values together, for simplicity, we calculate
the point of minima of
d 2 = x2 + y 2 + z 2 .
Dr. Satish Shukla 29 of 31
fx (x, y) = 2x + y.
fy (x, y) = 2y + x.
fx (x, y) = 0, fy (x, y) = 0 =⇒ 2x + y = 0, 2y + x = 0.
3x = 0 =⇒ x = 0.
Since x = y, the critical point is (0, 0). Now, by differentiating fx (x, y) and fy (x, y) again
with respect to x and y we get:
2
D(0, 0) = fxx (0, 0)fyy (0, 0) − fxy (0, 0)
= 2 · 2 − 1]2
= 3.
Since D(0, 0) = 3 > 0, there is a maxima or minima at the critical point (0, 0). Now
fxx (0, 0) = 2 > 0, and so, there is a minima of function f at point x = y = 0, and from
the equation of surface z 2 = xy + 1, at this point we have x = y = 0 and so z 2 = 0 · 01,
i.e., z = ±1. Thus, the distance of point (0, 0, ±1) of the surface will be minimum from
the origin.
Example 29. If the perimeter of a triangle is constant, prove that the area of this
triangle is maximum when the triangle is equilateral.
p
Solution: We know that the area of triangle is given by ∆ = s(s − a)(s − b)(s − c),
where a, b, c are the sides of triangle and 2s = a + b + c. We have to maximize the area
∆. Since ∆ and ∆2 get their maximum values together, for simplicity, we calculate the
point of minima of
∆2 = s(s − a)(s − b)(s − c).
Since the perimeter is constant we have c = 2s − a − b. On putting this value in the above
equation we get: ∆2 = f (a, b) = s(s − a)(s − b)(a + b − s). Differentiating partially with
respect to a and b we get:
faa (a, b) = −2s(s − b), fab (a, b) = s(2a + 2b − 3s), fbb (a, b) = −2s(s − a).
Exercise (Assignment)
(Q.1) Discuss the maxima or minima of the function f (x, y) = x3 − 3xy 2 − 15x2 − 15y 2 +
72x.
Ans. Critical point (6, 0) (minima), with fmin = f (6, 0) = 108, (4, 0) (maxima),
with fmax = f (4, 0) = 112, (5, 1) and (5, −1) are saddle points.
(Q.3) Discuss the maxima or minima of the function f (x, y) = cos x cos y cos z, where x, y
and z are the angles of a triangle.
Hint. Since x+y+z = π the given function is reduced to f (x, y) = − cos x cos y cos(x+
y).
(Q.4) Discuss the maxima or minima of the function f (x, y) = cos x + cos y + cos z, where
x, y and z are the angles of a triangle.
Hint. Since x + y + z = π the given function is reduced to f (x, y) = cos x + cos y −
cos(x + y).