Tut 5 Solution
Tut 5 Solution
Tutorial - 10
Department of Mathematics
IIT Ropar
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + y + 3 = 0 and fy = x + 2y − 3 = 0.
Solving these gives x = −3, y = 3.
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + y + 3 = 0 and fy = x + 2y − 3 = 0.
Solving these gives x = −3, y = 3. Therefore, critical point is (−3, 3).
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + y + 3 = 0 and fy = x + 2y − 3 = 0.
Solving these gives x = −3, y = 3. Therefore, critical point is (−3, 3).
Now fxx (−3, 3) = 2, fyy (−3, 3) = 2, fxy (−3, 3) = 1.
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + y + 3 = 0 and fy = x + 2y − 3 = 0.
Solving these gives x = −3, y = 3. Therefore, critical point is (−3, 3).
Now fxx (−3, 3) = 2, fyy (−3, 3) = 2, fxy (−3, 3) = 1.
Applying second derivative test,
fxx fyy − fxy2 = 3 > 0 at (−3, 3).
Also, fxx > 0.
Question
Find the local maxima, minima and saddle points of the following functions:
(a) f (x, y ) = x 2 + xy + y 2 + 3x − 3y + 4
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + y + 3 = 0 and fy = x + 2y − 3 = 0.
Solving these gives x = −3, y = 3. Therefore, critical point is (−3, 3).
Now fxx (−3, 3) = 2, fyy (−3, 3) = 2, fxy (−3, 3) = 1.
Applying second derivative test,
fxx fyy − fxy2 = 3 > 0 at (−3, 3).
Also, fxx > 0.
∴ f has a local minimum at (−3, 3) and f (−3, 3) = −5.
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + 3y − 6 = 0 and fy = 3x + 6y + 3 = 0.
Solving these gives x = 15, y = −8.
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + 3y − 6 = 0 and fy = 3x + 6y + 3 = 0.
Solving these gives x = 15, y = −8. Therefore, critical point is (15, −8).
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + 3y − 6 = 0 and fy = 3x + 6y + 3 = 0.
Solving these gives x = 15, y = −8. Therefore, critical point is (15, −8).
Now fxx (15, −8) = 2, fyy (15, −8) = 6, fxy (15, −8) = 3.
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + 3y − 6 = 0 and fy = 3x + 6y + 3 = 0.
Solving these gives x = 15, y = −8. Therefore, critical point is (15, −8).
Now fxx (15, −8) = 2, fyy (15, −8) = 6, fxy (15, −8) = 3.
Applying second derivative test,
fxx fyy − fxy2 = 3 > 0 at (15, −8).
Also, fxx > 0.
Question
(b) f (x, y ) = x 2 + 3xy + 3y 2 − 6x + 3y − 6
Solution
Critical points are solutions of fx = 0 and fy = 0.
fx = 2x + 3y − 6 = 0 and fy = 3x + 6y + 3 = 0.
Solving these gives x = 15, y = −8. Therefore, critical point is (15, −8).
Now fxx (15, −8) = 2, fyy (15, −8) = 6, fxy (15, −8) = 3.
Applying second derivative test,
fxx fyy − fxy2 = 3 > 0 at (15, −8).
Also, fxx > 0.
∴ f has a local minimum at (15, −8) and f (15, −8) = −63.
Interior Points
fx = 0 =⇒ 2x − y = 0 =⇒ y = 2x.
fy = 0 =⇒ −x − 2y = 0 =⇒ x = −2y .
Interior Points
fx = 0 =⇒ 2x − y = 0 =⇒ y = 2x.
fy = 0 =⇒ −x − 2y = 0 =⇒ x = −2y .
Critical point is (0, 0) which is not an interior
point. A
Y=4
B
Boundary points
(i) on OA: f (0, y ) = y 2 + 1, 0 ≤ y ≤ 4.
X=0
f 0 (0, y ) = 0 =⇒ 2y = 0 =⇒ y = 0
f (0, 0) = 1, f (0, 4) = 17.
O
Question
Find the maximum of the value sin(A)sin(B)sin(C ), if A, B, C are the
angles of the triangle.
Question
Find the maximum of the value sin(A)sin(B)sin(C ), if A, B, C are the
angles of the triangle.
Solution
Given A + B + C = 180◦ =⇒ C = 180◦ − A − B.
Question
Find the maximum of the value sin(A)sin(B)sin(C ), if A, B, C are the
angles of the triangle.
Solution
Given A + B + C = 180◦ =⇒ C = 180◦ − A − B.
Take A = x, B = y , C = 180◦ − x − y .
f (x, y ) = sin(x)sin(y )sin(x + y ).
Question
Find the maximum of the value sin(A)sin(B)sin(C ), if A, B, C are the
angles of the triangle.
Solution
Given A + B + C = 180◦ =⇒ C = 180◦ − A − B.
Take A = x, B = y , C = 180◦ − x − y .
f (x, y ) = sin(x)sin(y )sin(x + y ).
Solution
√
fxx = 2sin(y )cos(2x + y ) = −√3 at (60◦ , 60◦ )
fyy = 2sin(x)cos(x + 2y )√= − 3 at (60◦ , 60◦ )
fxy = sin(2(x + y )) = − 23 at (60◦ , 60◦ )
Solution
√
fxx = 2sin(y )cos(2x + y ) = −√3 at (60◦ , 60◦ )
fyy = 2sin(x)cos(x + 2y )√= − 3 at (60◦ , 60◦ )
fxy = sin(2(x + y )) = − 23 at (60◦ , 60◦ )
Solution
√
fxx = 2sin(y )cos(2x + y ) = −√3 at (60◦ , 60◦ )
fyy = 2sin(x)cos(x + 2y )√= − 3 at (60◦ , 60◦ )
fxy = sin(2(x + y )) = − 23 at (60◦ , 60◦ )
Solution
√
fxx = 2sin(y )cos(2x + y ) = −√3 at (60◦ , 60◦ )
fyy = 2sin(x)cos(x + 2y )√= − 3 at (60◦ , 60◦ )
fxy = sin(2(x + y )) = − 23 at (60◦ , 60◦ )
Question
Using the method of Lagrange multipliers, find the greatest and smallest
2 2
values that the function f (x, y ) = xy takes on the ellipse x8 + y2 = 1.
Question
Using the method of Lagrange multipliers, find the greatest and smallest
2 2
values that the function f (x, y ) = xy takes on the ellipse x8 + y2 = 1.
Solution
x2 y2
Here, g (x, y ) = 8 + 2 − 1.
Question
Using the method of Lagrange multipliers, find the greatest and smallest
2 2
values that the function f (x, y ) = xy takes on the ellipse x8 + y2 = 1.
Solution
2 2
Here, g (x, y ) = x8 + y2 − 1.
Using ∇f = λ∇g ,
=⇒ (y , x) = (λ/4, λ)
Question
Using the method of Lagrange multipliers, find the greatest and smallest
2 2
values that the function f (x, y ) = xy takes on the ellipse x8 + y2 = 1.
Solution
2 2
Here, g (x, y ) = x8 + y2 − 1.
Using ∇f = λ∇g ,
=⇒ (y , x) = (λ/4, λ)
=⇒ y = x4 λ and x = λy
2
=⇒ y = λ4y
=⇒ y = 0 or λ = ±2.
Solution
Case 1: If y = 0 =⇒ x = y = 0 as x = λy , But (0, 0) does not satisfy
g (x, y ) = 0.
Solution
Case 1: If y = 0 =⇒ x = y = 0 as x = λy , But (0, 0) does not satisfy
g (x, y ) = 0.
Case 2: If y 6= 0, then λ = ±2 and x = ±2y .
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Solution
Using
R x Fundamental Theorem of Integral Calculus,
d
dx a f (t)dt = f (x)
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Solution
Using
R x Fundamental Theorem of Integral Calculus,
d
dx a f (t)dt = f (x)
Rb ∂F ∂F
Let F (a, b) = a (24 − 2x − x 2 )(1/3) For critical points ∂a = 0 and ∂b = 0.
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Solution
Using
R x Fundamental Theorem of Integral Calculus,
d
dx a f (t)dt = f (x)
Rb ∂F ∂F
Let F (a, b) = a (24 − 2x − x 2 )(1/3) For critical points ∂a = 0 and ∂b = 0.
∂F 2 1/3 = 0
∂a = 0 =⇒ −(24 − 2a − a )
=⇒ a = 4, −6 and
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Solution
Using
R x Fundamental Theorem of Integral Calculus,
d
dx a f (t)dt = f (x)
Rb ∂F ∂F
Let F (a, b) = a (24 − 2x − x 2 )(1/3) For critical points ∂a = 0 and ∂b = 0.
∂F 2 1/3 = 0
∂a = 0 =⇒ −(24 − 2a − a )
=⇒ a = 4, −6 and
∂F 2 1/3 = 0
∂b = 0 =⇒ (24 − 2b − b )
=⇒ b = 4, −6.
Question
Rb
Find the numbers a and b with a ≤ b such that a (24 − 2x − x 2 )(1/3) has
it’s largest value.
Solution
Using
R x Fundamental Theorem of Integral Calculus,
d
dx a f (t)dt = f (x)
Rb ∂F ∂F
Let F (a, b) = a (24 − 2x − x 2 )(1/3) For critical points ∂a = 0 and ∂b = 0.
∂F 2 1/3 = 0
∂a = 0 =⇒ −(24 − 2a − a )
=⇒ a = 4, −6 and
∂F 2 1/3 = 0
∂b = 0 =⇒ (24 − 2b − b )
=⇒ b = 4, −6.
As a ≤ b, a = −6 and b = 4 is the solution.
Question
(b) point (1, 2, 0) to the cone z 2 = x 2 + y 2 .
Solution
We minimize the square of the distance
d 2 = (x − 1)2 + (y − 2)2 + z 2 .
Question
(b) point (1, 2, 0) to the cone z 2 = x 2 + y 2 .
Solution
We minimize the square of the distance
d 2 = (x − 1)2 + (y − 2)2 + z 2 .
Substituting z 2 = x 2 + y 2 , we have the problem of minimizing
f (x, y ) = (x − 1)2 + (y − 2)2 + (x 2 + y 2 )2
=⇒ f (x, y ) = 2x 2 + 2y 2 − 2x − 4y + 5.
Question
(b) point (1, 2, 0) to the cone z 2 = x 2 + y 2 .
Solution
We minimize the square of the distance
d 2 = (x − 1)2 + (y − 2)2 + z 2 .
Substituting z 2 = x 2 + y 2 , we have the problem of minimizing
f (x, y ) = (x − 1)2 + (y − 2)2 + (x 2 + y 2 )2
=⇒ f (x, y ) = 2x 2 + 2y 2 − 2x − 4y + 5.
Now, fx = 4x − 2 and fy = 4y − 4.
Solving fx = 0 and fy = 0, we have
4x − 2 = 0 and 4x − 4 = 0,
=⇒ x = 21 and y = 1.
Question
(b) point (1, 2, 0) to the cone z 2 = x 2 + y 2 .
Solution
We minimize the square of the distance
d 2 = (x − 1)2 + (y − 2)2 + z 2 .
Substituting z 2 = x 2 + y 2 , we have the problem of minimizing
f (x, y ) = (x − 1)2 + (y − 2)2 + (x 2 + y 2 )2
=⇒ f (x, y ) = 2x 2 + 2y 2 − 2x − 4y + 5.
Now, fx = 4x − 2 and fy = 4y − 4.
Solving fx = 0 and fy = 0, we have
4x − 2 = 0 and 4x − 4 = 0,
=⇒ x = 21 and y = 1.
Therefore, the critical point is 12 , 1 .
Qs 9. Assume that among all rectangular boxes with fixed surface area of 10 square
meters there is a box of largest possible volume. Find its dimensions.
Solution: If x, y, z are the length of the sides, x ≥ 0, y ≥ 0, z ≥ 0 respectively,
then volume is xyz and surface area is 2(xy + yz + zx). The given constraint is
2(xy + yz + zx) = 10. Thus, the Lagrange Multiplier conditions are:
Qs 10. The Baraboo, Wisconsin, plant of International Widget Co. uses alu-
minium, iron, and magnesium to produce high-quality widgets. The quantity of
widgets which may be produced using x tons of aluminium, y tons of iron and z
tons of magnesium is Q(x, y, z) = xyz. The cost of raw materials is aluminium 6 per
ton, iron 4 per ton and magnesium 8 per ton. How many tons of each of aluminium,
iron, and magnesium should be used to manufacture 1000 widgets at the lowest
possible cost?
Solution: Let us assume that we need x tons of aluminium, y tons of iron and
z tons of magnesium to produce 1000 widgets. The cost is 6x + 4y + 8z for 1000
widgets. The given constraint is xyz = 1000. Hence f (x, y, z) = 6x + 4y + 8z and
g(x, y, z) = xyz. Lagranges Multiplier conditions are:
3 2 2 2 3 2 31/3
λ x y z = 192 ⇒ λ (1000) = 192 ⇒ λ = .
25
1/3
From λyz = 6, we have λyz xyz
6
= 1000 ⇒ x = 20×33 .
Similarly, y = 10(3)1/3 , z = 5(3)1/3 . Therefore lowest cost is: 120(3)1/3 .
Qs 11. A firm uses wool and cotton fibre to produce cloth. The amount of cloth
produced is given by Q(x, y) = xy − x − y + 1, where x is the number of pounds
of wool, y is the number of pounds of cotton and x > 1 and y > 1. If wool cost
p dollars per pound, cotton costs q dollars per pound, and the firm can spend B
dollars on material, what should the mix of cotton and wool be to produce the most
cloth?
Solution: From x pound of wool and y pound of cotton the amount of cloth produce
is
Q(x, y) = xy − x − y + 1.
Given constraint is
px + qy = B.
Lagranges Multiplier conditions are:
y − 1 = λp; x − 1 = λq; px + qy = B.
Qs 13. Show that f (x, y) = xexy is differentiable at (1, 0) and find its linearization
there. Then use it to approximate f (1.1, −0.1).
Solution: Partial derivatives are:
Both fx and fy are continuous at (1, 0), hence f (x, y) is differentiable at (1, 0). The
linearization is: L(x, y) = f (1, 0) + fx (1, 0)(x − 1) + fy (1, 0)(y − 0)
= 1 + 1(x − 1) + 1 × y = x + y.
Now f (1.1, −0.1) = 1.1 − 0.1 = 1 and actual value f (1.1, −0.1) = 0.98542.
∗ ∗ ∗ ∗ ∗ ∗ ∗ End ∗ ∗ ∗ ∗ ∗ ∗ ∗