Professional Documents
Culture Documents
Definitions: Let 𝑓(𝑥, 𝑦) be a function of 2 independent variables 𝑥 and 𝑦. Then 𝑓(𝑥, 𝑦) is said to attain a
maximum value at the point (𝑎, 𝑏) if 𝑓(𝑎, 𝑏) ≥ 𝑓(𝑥, 𝑦) for all (𝑥, 𝑦) in some neighbourhood of the point
(𝑎, 𝑏).
The above condition is equivalent to the condition 𝑓(𝑎, 𝑏) ≥ 𝑓(𝑎 + ℎ, 𝑏 + 𝑘) for all small arbitrary
values of ℎ and 𝑘.
If 𝑓(𝑎, 𝑏) ≤ 𝑓(𝑥, 𝑦) for all (𝑥, 𝑦) in some nbd of the point (𝑎, 𝑏), then 𝑓(𝑎, 𝑏) is called a minimum
value of 𝑓(𝑥, 𝑦). In other words if 𝑓(𝑎, 𝑏) ≤ 𝑓(𝑎 + ℎ, 𝑏 + 𝑘) for all small arbitrary values of ℎ, 𝑘 then
𝑓(𝑎, 𝑏) is a minimum value.
Note: A function 𝑓(𝑥, 𝑦) can have many extreme values. These extreme values are called the local or
relative extreme values of 𝑓(𝑥, 𝑦). If 𝑓(𝑎, 𝑏) ≥ 𝑓(𝑥, 𝑦) for all 𝑥 and 𝑦, then 𝑓(𝑎, 𝑏) is called the global or
absolute maximum value of 𝑓(𝑥, 𝑦).
Similarly if 𝑓(𝑎, 𝑏) ≤ 𝑓(𝑥, 𝑦) for all 𝑥 and 𝑦, then 𝑓(𝑎, 𝑏) is called the global or absolute minimum of
𝑓(𝑥, 𝑦).
𝑑𝑓(𝑎,𝑏) 𝜕𝑓(𝑎,𝑏)
Theorem: If 𝑓(𝑎, 𝑏) is an extreme value then 𝑑𝑥
= 𝜕𝑦
= 0.
Proof: Let us assume that 𝑓(𝑥, 𝑦) possesses first order partial derivatives in a nbd of (𝑎, 𝑏). Consider the
function 𝑔(𝑥) = 𝑓(𝑥, 𝑏), which is a function of single variable 𝑥, that attains an extreme value at 𝑥 = 𝑎.
𝜕𝑔(𝑥) 𝜕𝑓(𝑎,𝑏)
Then | = 0 𝑖. 𝑒 =0
𝜕𝑥 𝑥=𝑎 𝜕𝑥
𝑑 𝜕𝑓(𝑎, 𝑏)
∴ ℎ(𝑦)|𝑦=𝑏 = 0 𝑖. 𝑒 =0
𝑑𝑦 𝜕𝑦
Note 1: The conditions given above are only necessary but not sufficient i.e if 𝑓𝑥 (𝑎, 𝑏) = 0 and
𝑓𝑦 (𝑎, 𝑏) = 0 then 𝑓(𝑎, 𝑏) need not be an extreme value.
0, 𝑖𝑓 𝑥 = 0 𝑜𝑟 𝑦 = 0
For example, let 𝑓(𝑥, 𝑦) be defined by 𝑓(𝑥) = {
1, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝜕𝑓(0,0) 𝜕𝑓(0,0)
Then = 0, = 0. But 𝑓(0,0) is not an extreme value.
𝜕𝑥 𝜕𝑦
A point (𝑎, 𝑏) is called a stationary point of a function 𝑓(𝑥, 𝑦) if 𝑓𝑥 (𝑎, 𝑏) = 0 and 𝑓𝑦 (𝑎, 𝑏) = 0.
Note that every extreme point is a stationary point but the converse is not true.
Let 𝑓(𝑥, 𝑦) possess continuous second order partial derivatives in a nbd of a point (𝑎, 𝑏).
Proof: Let us assume that 𝑓(𝑥, 𝑦) satisfies the conditions mentioned above. Then Taylor’s expansion of
𝑓(𝑥, 𝑦) at (𝑎, 𝑏) is
1
𝑓(𝑎 + ℎ, 𝑏 + 𝑘) = 𝑓(𝑎, 𝑏) + (ℎ𝑓𝑥 (𝑎, 𝑏) + 𝑘𝑓𝑦 (𝑎, 𝑏)) + 2! (ℎ2 𝑓𝑥 (𝑎, 𝑏) + 2ℎ𝑘𝑓𝑥𝑦 (𝑎, 𝑏) + 𝑘 2 𝑓𝑦2 (𝑎, 𝑏) +
∆
Where ∆ contains 3rd and higher degree terms in ℎ and 𝑘. Substituting the conditions given above we get
1
𝑓(𝑎 + ℎ, 𝑏 + 𝑘) − 𝑓(𝑎, 𝑏) = (ℎ. 0 + 𝑘. 0) + 2 [ℎ2 𝐴 + 2ℎ𝑘𝐵 + 𝑘 2 𝐶] + 𝐷…………….(1)
1
For sufficiently smaller ℎ and 𝑘, the sign of the LHS is the sign of (ℎ2 𝐴 + 2ℎ𝑘𝐵 + 𝑘 2 𝐶).
2
1
Consider 2
(ℎ2 𝐴 + 2ℎ𝑘𝐵 + 𝑘 2 𝐶). Let 𝐴 ≠ 0. Then
1
= 2𝐴 (ℎ2 𝐴2 + 2ℎ𝑘𝐴𝐵 + 𝑘 2 𝐴𝐶)
1
= [(𝐴ℎ + 𝐵𝑘)2 + 𝑘 2 (𝐴𝐶 − 𝐵2 )]
2𝐴
1
= (𝐴ℎ + 𝐵𝑘)2
2𝐴
Which becomes zero if 𝐴ℎ + 𝐵𝑘 = 0, hence the sign of LHS of (1) depends on the sign of ∆, the case is
more complicated.
If 𝐴 = 0, since 𝐴𝐶 − 𝐵2 = 0, 𝐵2 = 𝐴𝐶 = 0
=> 𝐵 = 0
∴ 𝐴ℎ2 + 2ℎ𝑘𝐵 + 𝑘 2 𝐶 = 𝑘 2 𝐶 which has value zero when 𝑘 = 0 for any ℎ. This case is doubtful.
Problems:
= 𝑎𝑦 − 2𝑥𝑦 − 𝑦 2 = 𝑦(𝑎 − 2𝑥 − 𝑦)
ii) 𝑦 = 0, 𝑎 − 𝑥 − 2𝑦 = 0 => 𝑥 = 𝑎,
iii) (𝑎 − 2𝑥 − 𝑦) = 0, 𝑥 = 0 => 𝑥 = 0, 𝑦 = 𝑎,
𝑎
𝑖𝑣) 𝑎 − 2𝑥 − 𝑦 = 0 and 𝑎 − 𝑥 − 2𝑦 = 0 => 𝑥 = 𝑦 = 3
𝑎 𝑎
Stationary points are (0,0), (𝑎, 0), (0, 𝑎), (3 , 3 ).
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
𝐴 = 𝜕𝑥 2 = −2𝑦 , 𝐵 = 𝜕𝑥𝜕𝑦 = 𝑎 − 2𝑥 − 2𝑦, 𝐶 = 𝜕𝑦2 = −2𝑥
Stationary points 𝐴 𝐴𝐶 − 𝐵2
(0,0) 0 −𝑎2 < 0
(𝑎, 0) 0 −𝑎2 < 0
(0, 𝑎) −2𝑎 −𝑎2 < 0
𝑎 𝑎 2𝑎 𝑎2
( , ) − >0
3 3 3 3
𝑎 𝑎 𝑎2
∴ 𝑓 (3 , 3 ) = 2
is a maximum value if 𝑎 > 0 or a minimum value if 𝑎 < 0.
1 1
2. Find the extreme values of 𝑓(𝑥, 𝑦) = 𝑥𝑦 + 27(𝑥 + 𝑦)
27 27
𝑓𝑥 = 𝑦 − , 𝑓𝑦 = 𝑥 − , 𝑓𝑥 = 𝑓𝑦 = 0 => 𝑥 = 𝑦 = 3
𝑥2 𝑦2
54 54
𝐴 = 𝑓𝑥 2 = 3
, 𝐵 = 𝑓𝑥𝑦 = 1, 𝐶 = 𝑓𝑦2 = 3
𝑥 𝑦
54 54
𝐴𝐶 − 𝐵2 = 𝑥 3 . 𝑦3 − 1
(54)2
At (3,3), 𝐴𝐶 − 𝐵2 = 33 .33
−1=4−1=3>0
54
𝐴= =2>0
33
𝜋
=> 𝑥 = ± 3 or 𝑥 = ±𝜋
𝜋
=> 𝑦 = ± or 𝑦 = ±𝜋
3
𝜕2 𝑓 𝜕2 𝑓 𝜕2 𝑓
Now, 𝐴 = 𝜕𝑥 2 = − sin 𝑥 − sin(𝑥 + 𝑦) , 𝐵 = 𝜕𝑥𝜕𝑦 = − sin(𝑥 + 𝑦) , 𝐶 = 𝜕𝑦 2 = − sin 𝑦 − sin(𝑥 + 𝑦)
𝜋 𝜋 1
At ( 3 , 3 ) , 𝐴𝐶 − 𝐵2 = 3 − 4 > 0, 𝐴 = −√3 < 0
𝜋 𝜋
∴ 𝑓 ( 3 , 3 ) = 2√3 is a maximum value.
𝜋 𝜋 1
At (− 3 , 3 ) , 𝐴𝐶 − 𝐵2 = 3 − 4 > 0, 𝐴 = √3 > 0
𝜋 𝜋
∴ 𝑓 (− , − ) = 2√3 is a minimum value.
3 3
1. 2(𝑥 − 𝑦)2 − 𝑥 4 − 𝑦 4
2. 2(𝑥 2 − 𝑦 2 ) − 𝑥 4 + 𝑦 4
𝑥 3𝑦2
3. 6−𝑥−𝑦
3 3
4. 𝑥 + 𝑦 − 3𝑥 − 12𝑦 + 20
5. 𝑥 2 𝑦(𝑥 + 2𝑦 − 4)
6. 2 sin(𝑥 + 2𝑦) + 3 cos(2𝑥 − 𝑦)
7. 1 + sin(𝑥 2 + 𝑦 2 )
∅1 (𝑥1 , 𝑥2 , … . . 𝑥𝑛 ) = 𝑐1
∅2 (𝑥1 , 𝑥2 , … . . 𝑥𝑛 ) = 𝑐2 ………………………(2)
………………………………….
∅𝑟 (𝑥1 , 𝑥2 , … . . 𝑥𝑛 ) = 𝑐𝑟
One of the way of solving this problem is to solve 𝑟, 𝑛-variables from conditions (2) and substituting in
(1), which reduces to a function of (𝑛 − 𝑟) variables, that can be solved by the direct methods.
Now let us consider different method, called the Lagrange’s method, which gives the stationary points
of the function 𝑓.
If conditions defined by (2) are satisfied then 𝑓(𝑥1 , … … 𝑥𝑛 ) and 𝑔(𝑥1 , 𝑥2 … . . 𝑥𝑛 ) attain optimal value
together.
𝜕𝑔
When optimal values are attained, then 𝜕𝑥𝑖
= 0 𝑖 = 1,2, … . 𝑛
𝜕𝑓 𝜕∅
i.e, + ∑𝑟𝑖=1 𝜆𝑖 =0
𝜕𝑥𝑖 𝜕𝑥𝑖
solving for 𝑥1 , 𝑥2 , … . 𝑥𝑛 and 𝜆1 , 𝜆2 , … . . 𝜆𝑟 from (3) and (2), we get the stationary values of the defined
by function 𝑓(𝑥1 , 𝑥2 , … 𝑥𝑛 ) subject to the conditions (2). To determine the nature of these stationary
points, we may have to use the physical nature of the function 𝑓(𝑥1 , 𝑥2 , … 𝑥𝑛 ) subject to the conditions
defined by (2).
Solved Problems
1. Find the points on the sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 which are not minimum and maximum
distance from the point (1,2,3). Let 𝑃(𝑥, 𝑦, 𝑧) be any point on the sphere 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 .
Then the distance between 𝑃(𝑥, 𝑦, 𝑧) and 𝑄(1,2,3) is 𝑃𝑄 = 𝑟 = √(𝑥 − 1)2 + (𝑦 − 2)2 + (𝑧 − 3)2
of 𝑟 is optimal, then so is 𝑟 2 = (𝑥 − 1)2 + (𝑦 − 2)2 + (𝑧 − 3)2 .
Then the problem is to obtain the maximum and minimum value of 𝑓(𝑥, 𝑦, 𝑧) = 𝑟 2 subject to the
condition 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 .
Let 𝑔(𝑥, 𝑦, 𝑧) = (𝑥𝑦)2 + (𝑦 − 2)2 + (𝑧 − 3)2 + 𝜆(𝑥 2 + 𝑦 2 + 𝑧 2 ) when optimal value of 𝑓 = 𝑟 2 are
obtained subject to the condition 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 , 𝑔 is also optimal.
𝜕𝑔 𝜕𝑔 𝜕𝑔
∴ = = =0
𝜕𝑥 𝜕𝑦 𝜕𝑧
2(𝑦 − 2) + 𝜆(2𝑦) = 0
2(𝑧 − 3) + 𝜆(2𝑧) = 0
𝑥−1 𝑧−3
= = 𝑧 = 3𝑥
𝑥 𝑧
Substituting in 𝑥 2 + 𝑦 2 + 𝑧 2 = 𝑎2 , we get 𝑥 2 + 4𝑥 2 + 9𝑥 2 = 𝑎2
𝑎2 𝑎 2𝑎 3𝑎
∴ 𝑥2 = or 𝑥 = ± => 𝑦 = 2𝑥 = ± , 𝑧 = 3𝑥 = ±
14 √14 √14 √14
𝑎 2𝑎 3𝑎 𝑎 2𝑎 3𝑎
Stationary points are 𝐴( , , ) and 𝐵(− , − 14 , − 14)
√14 √14 √14 √14 √ √
Since the points 𝐴 and 𝑄 lies in the same octant, 𝐴 is at a minimum distance from 𝑄(1,2,3).
Also 𝐵 lies in the opposite octant of the point 𝑄(1,2,3), hence is at maximum distance from 𝑄.
𝜕𝑔 𝜕𝑔 𝜕𝑔
When 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 𝑝 is satisfied, 𝑓 and 𝑔 assume minimum value together. Then 𝜕𝑥
= 𝜕𝑦 = 𝜕𝑧
=0
i.e 2𝑥 + 𝜆𝑙 = 0 = 2𝑦 + 𝜆𝑚 = 2𝑧 + 𝜆𝑛
𝑥 𝑦 𝑧 𝜆
∴ = = =−
𝑙 𝑚 𝑛 2
𝑚𝑥 𝑛𝑥
=> 𝑦 = ,𝑧 =
𝑙 𝑙
𝑚𝑥 𝑛𝑥
Substituting in 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 𝑝, we get 𝑙𝑥 + 𝑚. 𝑙
+ 𝑛. 𝑙
=𝑝
𝑝𝑙 𝑝𝑚 𝑝𝑛
∴𝑥= => 𝑦 = 2 ,𝑧 = 2
𝑙22
+𝑚 +𝑛 2 𝑙 +𝑚 +𝑛2 2 𝑙 + 𝑚2 + 𝑛2
2 2 2 2 2 2
(𝑝 𝑙 + 𝑚 𝑝 + 𝑛 𝑝 ) 𝑝2
∴ 𝑟2 = 𝑥2 + 𝑦2 + 𝑧2 = =
(𝑙 2 + 𝑚2 + 𝑛2 )2 𝑙 2 + 𝑚2 + 𝑛2
𝑝
∴ 𝑟 = √𝑥 2 + 𝑦 2 + 𝑧 2 =
√𝑙 + 𝑚2 + 𝑛2
2
Which is the perpendicular distance from the origin to the plane 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 𝑝 and hence is the
minimum distance.
𝑥2 𝑦2 𝑧2
3. Find the axes of the ellipse of the intersection of the ellipsoid + + = 1 by the plane
𝑎2 𝑏2 𝑐2
𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 0.
The objective is to determine the maximum and minimum value of the distance 𝑂𝑃 = 𝑟 or 𝑟 2 =
𝑢(𝑥, 𝑦, 𝑧) = 𝑥 2 + 𝑦 2 + 𝑧 2 subject to the condition that the point 𝑃(𝑥, 𝑦, 𝑧) lies on the ellipse or satisfies
𝑥2 𝑦2 𝑧2
the conditions 𝑎2
+ 𝑏2 + 𝑐 2 = 1 and 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 0.
**Since the semi-major and semi-minor axes of the ellipse are the maximum and the minimum distance
from the origin to the point 𝑃 i.e of the distance 𝑂𝑃 **
𝑥2 𝑦2 𝑧2 𝑥2 𝑦2 𝑧2
Let 𝑔(𝑥, 𝑦, 𝑧) = 𝑢 + 𝜆 (𝑎2 + 𝑏2 + 𝑐 2 ) + 𝜇(𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧) = 𝑥 2 + 𝑦 2 + 𝑧 2 + 𝜆 (𝑎2 + 𝑏2 + 𝑐 2 ) + 𝜇(𝑙𝑥 +
𝑚𝑦 + 𝑛𝑧)
Where 𝜆 and 𝜇 are constants.
When 𝑔(𝑥, 𝑦, 𝑧) is optimal, then so is 𝑓(𝑥, 𝑦, 𝑧) = 𝑢 subject to the conditions defined above.
𝜕𝑔 𝜕𝑔 𝜕𝑔
=> = = =0
𝜕𝑥 𝜕𝑦 𝜕𝑧
𝜆2𝑥
i.e. 2𝑥 + + 𝜇𝑙 = 0 ………………..(1)
𝑎2
𝜆2𝑦
2𝑦 + 𝑙2
+ 𝜇𝑚 = 0 …………………….(2)
𝜆2𝑧
2𝑧 + 𝑐2
+ 𝜇𝑛 = 0 …………………….(3)
𝑥2 𝑦2 𝑧2
2(𝑥 2 + 𝑦 2 + 𝑧 2 ) + 2𝜆 ( + + ) + 𝜇(𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧) = 0
𝑎2 𝑏 2 𝑐 2
𝑥2 𝑦2 𝑧2
∵ 𝑎2 + 𝑏2 + 𝑐 2 = 1 and 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 0, we get
2𝑥 + 2𝜆 = 0 or 𝜆 = −𝑢
𝑢 2𝑥 𝑙
2𝑥 (1 − )+ 𝜇𝑙 = 0 => − = 𝑢 ………….(4)
𝑎2 𝜇 1− 2
𝑎
𝑢 2𝑦 𝑚
2𝑦 (1 − 𝑏2 ) + 𝜇𝑚 = 0 => − 𝜇
= 𝑢 ………..(5)
1− 2
𝑏
𝑢 2𝑧 𝑛
2𝑧 (1 − 𝑐 2 ) + 𝜇𝑛 = 0 => − 𝜇
= 𝑢 ………….(6)
1− 2
𝑐
𝑙2 𝑚2 𝑛2 2
𝑢 + 𝑢 + 𝑢 = − 𝜇 (𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧) = 0
1− 2 1− 2 1− 2
𝑎 𝑏 𝑐
𝑢 𝑢 𝑢 𝑢 𝑢 𝑢
Or 𝑙 2 (1 − 𝑏2 ) (1 − 𝑐 2 ) + 𝑚2 (1 − 𝑎2 ) (1 − 𝑐 2 ) + 𝑛2 (1 − 𝑎2 ) (1 − 𝑏2 ) = 0
Let 𝑢1 > 𝑢2 .
Then √𝑢1 is the semi-major axis and √𝑢2 is the semi-minor axis of the ellipse of the intersection of the
𝑥2 𝑦2 𝑧2
ellipsoid 𝑎2 + 𝑏2 + 𝑐 2 = 1 and the plane 𝑙𝑥 + 𝑚𝑦 + 𝑛𝑧 = 0.
Problems
1. Find the extreme values of the function 𝑓(𝑥, 𝑦, 𝑧) = sin 𝑥 sin 𝑦 sin 𝑧 where 𝑥, 𝑦, 𝑧 are the angles
of a triangle.
𝑥2 𝑦2 𝑧2
2. Find the largest rectangular parallelepiped inscribed in an ellipsoid 𝑎2
+ 𝑏2 + 𝑐 2 = 1.
3. Prove that of all rectangular parallelepiped of the same volume, the cube has the least surface.
4. Find the minimum value of 𝑥 2 + 𝑦 2 + 𝑧 2 subject to the condition
i) 𝑦𝑧 + 𝑧𝑥 + 𝑥𝑦 = 3𝑎2
ii) 𝑥 + 𝑦 + 𝑧 = 3𝑎
iii) 𝑥𝑦𝑧 = 𝑎3
5. Given 𝑥 + 𝑦 + 𝑧 = 𝑎, find the maximum value of 𝑥 𝑚 𝑦 𝑛 𝑧 𝑝 .
6. A rectangular box open at the top have a volume of 32 𝑚3. Find the dimensions of the box
requiring least material for construction.