SlideShare a Scribd company logo
Maxima & Minima with
Constrained Variables
BY:
Arpit Modh (16BCH035)
B.Tech Chemical
Nirma University,
Ahmedabad.
Definitions:-
Let, u = f (x , y) be a continuous function of x and y. Then u
will be maximum at x = a, y = b, if f (a ,b ) > f(a + h , b + k)
and will be minimum at x=a, x=b, if f(a, b) < f(a + h, b + k)
for small positive or negative values of h and k.
 The point at which function f(x, y) is either maximum or
minimum is known as stationary point.
 The value of the function at stationary point is known
as extreme (maximum and minimum) value of function
f(x, y).
Working Rule:-
To determine the maxima and minima (extreme values) of a
function f(x, y).
Step 1: Solve ∂f/ ∂x = 0 and ∂f/ ∂y = 0 simultaneously for x
and y.
Step 2: Obtain the values of r= ∂²f/ ∂x², s= ∂²f / ∂x²,
t= ∂²f/ ∂x².
Step 3:
(i) If rt - s² > 0 and r < 0 (or t < 0) at (a, b) then f(x, y) is
maximum at (a, b) and the maximum value of the
function is f(a, b).
(ii) If rt - s² > 0 and r > 0 (or t > 0) at (a, b) then f(x, y) is
minimum value of the function is f(a, b).
(iii) If rt - s² < 0 at (a, b) then f(x, y) is either maximum nor
minimum at (a, b). Such a point is known as saddle point.
(iv) If rt - s² = 0 at (a, b) then no conclusion can be made
about the extreme values of f(x, y) and further
investigation is required.
Example 1
Find the minimum value of x² + y² + z² with the
constraint x + y + z = 3a.
Solution: f = x² + y² + z²
x + y + z = 3a
z = 3a - x - y …..(1)
substituting the value of z in Eq. (1),
f = x² + y² + (3a –x- y) ²
Step 1 For extreme values,
∂f/ ∂x = 0 and ∂f/ ∂y = 0
2x – 2(3a - x - y ) = 0 2y - 2(3a - x - y) = 0
4x - 6a + 2y = 0 2y - 6a + 2x + 2y = 0
2x + y = 3a x + 2y = 3a
……(2) ….(3)
Solving Eqs (2) and (3),
x = y = a
The stationary point is (a, a).
Step 2 r = ∂²f/ ∂x² = 4
s = ∂²f/ ∂x ∂y = 2
t = ∂²f/ ∂y² = 4
Step 3 At (a, a), r = 4, s = 2, t = 4
rt - s² = (4)(4) – (2) ² = 12 > 0
Also, r = 4 > 0
Hence, f(x, y) is minimum at (a, a)
fmin = a² + a² + (3a - a - a) ² = 3a²
Example 2
Divide 120 into three parts so that the sum of their products taken
two at a time shall be maximum.
Solution: Let x, y, z be three numbers.
x + y + z = 120
f = xy + yz + xz
= xy + y(120 - x - y) + x( 120 - x - y)
= xy + 120y – xy - y² + 120x - x² -xy
= 120x + 120y - xy - x² - y²
For extreme values, ∂f/∂x = 0
120 - y - 2x = 0 …(1)
And ∂f/ ∂y = 0
120 - x - 2y = 0 ….(2)
Solving Eqs (1) and (2),
x = 40
y = 40
Stationary point is (40, 40).
Step 2 r = ∂f/ ∂x = -2
s = ∂f/ ∂x ∂y = -1
t = ∂f/ ∂y = -2
Step 3 At (40, 40)
rt - s² = (-2)(-2) – (-1) ² = 3 > 0
r = -2 < 0
Hence, f(x, y) is maximum at (40, 40).
Example 3
Find the points on the surface z²=xy+1 nearest to the origin. Also find
that distance.
Solution:
Let p(x, y, z) be any point on the surface z² = xy + 1.
Its distance from the origin is given by
d² = x² + y² + z²
Since p lines on the surface z² = xy + 1
d² = x² + y² + xy + 1
Let f(x, y) = x² + y² + xy + 1
Step 1 For extreme values ,
∂f/ ∂x=0
2x+y=o
∂f/ ∂y=0
2y+x=0
Solving Eqs (1) and (2),
x=0 , y=0
Step 2
r = ∂²f/ ∂x² = 2
s = ∂²f/ ∂x ∂y = 1
t = ∂² f/ ∂y² = 2
Step 3 At (0,0), r = 2, t = 2, s = 1
rt - s² = (2)(2) - 1² = 3 > 0
Also, r = 2 > 0
f(x, y) , i.e. d ² is minimum at (0,0) and hence d is minimum at (0,0).
At (0,0),
z²=xy+1=1
z=+1,z=-1
Hence, d is minimum at (0,0,1) and (0,0,-1).
The points (0,0,1) and (0,0,-1) on the surface z² = xy + 1 are the
nearest to the origin Minimum distance = 1.
Maxima & Minima of Calculus

More Related Content

What's hot

Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minima
rouwejan
 
Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficient
Sanjay Singh
 

What's hot (20)

limits and continuity
limits and continuity limits and continuity
limits and continuity
 
Applications of maxima and minima
Applications of maxima and minimaApplications of maxima and minima
Applications of maxima and minima
 
Newton's forward & backward interpolation
Newton's forward & backward interpolationNewton's forward & backward interpolation
Newton's forward & backward interpolation
 
Application of partial derivatives with two variables
Application of partial derivatives with two variablesApplication of partial derivatives with two variables
Application of partial derivatives with two variables
 
Partial Differentiation & Application
Partial Differentiation & Application Partial Differentiation & Application
Partial Differentiation & Application
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Echelon Matrix
Echelon MatrixEchelon Matrix
Echelon Matrix
 
Application of partial derivatives
Application of partial derivativesApplication of partial derivatives
Application of partial derivatives
 
Riemann sumsdefiniteintegrals
Riemann sumsdefiniteintegralsRiemann sumsdefiniteintegrals
Riemann sumsdefiniteintegrals
 
GAUSS ELIMINATION METHOD
 GAUSS ELIMINATION METHOD GAUSS ELIMINATION METHOD
GAUSS ELIMINATION METHOD
 
Cauchy integral theorem &amp; formula (complex variable & numerical method )
Cauchy integral theorem &amp; formula (complex variable & numerical method )Cauchy integral theorem &amp; formula (complex variable & numerical method )
Cauchy integral theorem &amp; formula (complex variable & numerical method )
 
Double Integrals
Double IntegralsDouble Integrals
Double Integrals
 
Linear differential equation with constant coefficient
Linear differential equation with constant coefficientLinear differential equation with constant coefficient
Linear differential equation with constant coefficient
 
Runge kutta
Runge kuttaRunge kutta
Runge kutta
 
Jacobi and gauss-seidel
Jacobi and gauss-seidelJacobi and gauss-seidel
Jacobi and gauss-seidel
 
Applied Calculus Chapter 3 partial derivatives
Applied Calculus Chapter  3 partial derivativesApplied Calculus Chapter  3 partial derivatives
Applied Calculus Chapter 3 partial derivatives
 
Differential equations
Differential equationsDifferential equations
Differential equations
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradient
 
Lesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange MultipliersLesson 17: The Method of Lagrange Multipliers
Lesson 17: The Method of Lagrange Multipliers
 

Viewers also liked

Viewers also liked (13)

Giải pháp marketing nhằm tăng khả năng cạnh tranh của công ty cổ phần và dịch...
Giải pháp marketing nhằm tăng khả năng cạnh tranh của công ty cổ phần và dịch...Giải pháp marketing nhằm tăng khả năng cạnh tranh của công ty cổ phần và dịch...
Giải pháp marketing nhằm tăng khả năng cạnh tranh của công ty cổ phần và dịch...
 
Antarctica
AntarcticaAntarctica
Antarctica
 
Tài liệu hướng dẫn trình bày đồ án tốt nghiệp
Tài liệu hướng dẫn trình bày đồ án tốt nghiệpTài liệu hướng dẫn trình bày đồ án tốt nghiệp
Tài liệu hướng dẫn trình bày đồ án tốt nghiệp
 
Hoàn thiện công tác phân tích tình hình tài chính tại công ty tnhh đầu tư phá...
Hoàn thiện công tác phân tích tình hình tài chính tại công ty tnhh đầu tư phá...Hoàn thiện công tác phân tích tình hình tài chính tại công ty tnhh đầu tư phá...
Hoàn thiện công tác phân tích tình hình tài chính tại công ty tnhh đầu tư phá...
 
đề Thi tốt nghiệp nghề may thời trang 10
đề Thi tốt nghiệp nghề may   thời trang 10đề Thi tốt nghiệp nghề may   thời trang 10
đề Thi tốt nghiệp nghề may thời trang 10
 
đồ áN công nghệ may thực tế sản xuất mẫu rập trong may công nghiệp - sản ph...
đồ áN công nghệ may   thực tế sản xuất mẫu rập trong may công nghiệp - sản ph...đồ áN công nghệ may   thực tế sản xuất mẫu rập trong may công nghiệp - sản ph...
đồ áN công nghệ may thực tế sản xuất mẫu rập trong may công nghiệp - sản ph...
 
Aprendizaje significativo
Aprendizaje significativoAprendizaje significativo
Aprendizaje significativo
 
Luận văn một số giải pháp nâng cao khả năng thắng thầu của công ty xây dựng h...
Luận văn một số giải pháp nâng cao khả năng thắng thầu của công ty xây dựng h...Luận văn một số giải pháp nâng cao khả năng thắng thầu của công ty xây dựng h...
Luận văn một số giải pháp nâng cao khả năng thắng thầu của công ty xây dựng h...
 
Hoàn thiện công tác phân tích tài chính tại công ty cổ phần thương mại và xuấ...
Hoàn thiện công tác phân tích tài chính tại công ty cổ phần thương mại và xuấ...Hoàn thiện công tác phân tích tài chính tại công ty cổ phần thương mại và xuấ...
Hoàn thiện công tác phân tích tài chính tại công ty cổ phần thương mại và xuấ...
 
Ple informática básica para primaria
Ple informática básica para primariaPle informática básica para primaria
Ple informática básica para primaria
 
Kinesics
Kinesics Kinesics
Kinesics
 
Aprendizaje, metacognición y autorregulación
Aprendizaje, metacognición y autorregulaciónAprendizaje, metacognición y autorregulación
Aprendizaje, metacognición y autorregulación
 
đồ áN ngành may xử lý các vấn đề phát sinh trong phân xưởng cắt
đồ áN ngành may xử lý các vấn đề phát sinh trong phân xưởng cắtđồ áN ngành may xử lý các vấn đề phát sinh trong phân xưởng cắt
đồ áN ngành may xử lý các vấn đề phát sinh trong phân xưởng cắt
 

Similar to Maxima & Minima of Calculus

19 min max-saddle-points
19 min max-saddle-points19 min max-saddle-points
19 min max-saddle-points
math267
 
maxima & Minima thoeyr&solved.Module-4pdf
maxima & Minima thoeyr&solved.Module-4pdfmaxima & Minima thoeyr&solved.Module-4pdf
maxima & Minima thoeyr&solved.Module-4pdf
RajuSingh806014
 
CalculusStudyGuide
CalculusStudyGuideCalculusStudyGuide
CalculusStudyGuide
Mo Elkhatib
 
maths Individual assignment on differentiation
maths Individual assignment on differentiationmaths Individual assignment on differentiation
maths Individual assignment on differentiation
tenwoalex
 

Similar to Maxima & Minima of Calculus (20)

Maxima and minima
Maxima and minimaMaxima and minima
Maxima and minima
 
APPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATIONAPPLICATION OF PARTIAL DIFFERENTIATION
APPLICATION OF PARTIAL DIFFERENTIATION
 
19 min max-saddle-points
19 min max-saddle-points19 min max-saddle-points
19 min max-saddle-points
 
maxima & Minima thoeyr&solved.Module-4pdf
maxima & Minima thoeyr&solved.Module-4pdfmaxima & Minima thoeyr&solved.Module-4pdf
maxima & Minima thoeyr&solved.Module-4pdf
 
Derivatives
DerivativesDerivatives
Derivatives
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Functions limits and continuity
Functions limits and continuityFunctions limits and continuity
Functions limits and continuity
 
Chain rule
Chain ruleChain rule
Chain rule
 
AEM.pptx
AEM.pptxAEM.pptx
AEM.pptx
 
CalculusStudyGuide
CalculusStudyGuideCalculusStudyGuide
CalculusStudyGuide
 
Maths 301 key_sem_1_2009_2010
Maths 301 key_sem_1_2009_2010Maths 301 key_sem_1_2009_2010
Maths 301 key_sem_1_2009_2010
 
03 convexfunctions
03 convexfunctions03 convexfunctions
03 convexfunctions
 
Crib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC examsCrib Sheet AP Calculus AB and BC exams
Crib Sheet AP Calculus AB and BC exams
 
LAGRANGE_MULTIPLIER.ppt
LAGRANGE_MULTIPLIER.pptLAGRANGE_MULTIPLIER.ppt
LAGRANGE_MULTIPLIER.ppt
 
maths Individual assignment on differentiation
maths Individual assignment on differentiationmaths Individual assignment on differentiation
maths Individual assignment on differentiation
 
Directional derivative and gradient
Directional derivative and gradientDirectional derivative and gradient
Directional derivative and gradient
 
Twinkle
TwinkleTwinkle
Twinkle
 
Continuity of functions by graph (exercises with detailed solutions)
Continuity of functions by graph   (exercises with detailed solutions)Continuity of functions by graph   (exercises with detailed solutions)
Continuity of functions by graph (exercises with detailed solutions)
 
Grph quad fncts
Grph quad fnctsGrph quad fncts
Grph quad fncts
 
Application of derivatives
Application of derivativesApplication of derivatives
Application of derivatives
 

More from Arpit Modh

More from Arpit Modh (16)

Cryogenic grinding
Cryogenic grindingCryogenic grinding
Cryogenic grinding
 
Values
ValuesValues
Values
 
Personality
PersonalityPersonality
Personality
 
Motivation
MotivationMotivation
Motivation
 
Organizational change
Organizational changeOrganizational change
Organizational change
 
Intellectual property rights
Intellectual property rightsIntellectual property rights
Intellectual property rights
 
Green synthesis of gold nano particles
Green synthesis of gold nano particlesGreen synthesis of gold nano particles
Green synthesis of gold nano particles
 
Acetone
AcetoneAcetone
Acetone
 
Pulp industries
Pulp industriesPulp industries
Pulp industries
 
Spectroscopy
SpectroscopySpectroscopy
Spectroscopy
 
Wireless power transmission
Wireless power transmissionWireless power transmission
Wireless power transmission
 
The kansas city hyatt regency walkway collapse
The kansas city hyatt regency walkway collapseThe kansas city hyatt regency walkway collapse
The kansas city hyatt regency walkway collapse
 
Nuclear waste
Nuclear wasteNuclear waste
Nuclear waste
 
Functions
FunctionsFunctions
Functions
 
Communication skills
Communication skillsCommunication skills
Communication skills
 
Boiler Introduction & Classification
Boiler Introduction & ClassificationBoiler Introduction & Classification
Boiler Introduction & Classification
 

Recently uploaded

Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
Kamal Acharya
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
Atif Razi
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 

Recently uploaded (20)

ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdfDanfoss NeoCharge Technology -A Revolution in 2024.pdf
Danfoss NeoCharge Technology -A Revolution in 2024.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical SolutionsRS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
RS Khurmi Machine Design Clutch and Brake Exercise Numerical Solutions
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 

Maxima & Minima of Calculus

  • 1. Maxima & Minima with Constrained Variables BY: Arpit Modh (16BCH035) B.Tech Chemical Nirma University, Ahmedabad.
  • 2. Definitions:- Let, u = f (x , y) be a continuous function of x and y. Then u will be maximum at x = a, y = b, if f (a ,b ) > f(a + h , b + k) and will be minimum at x=a, x=b, if f(a, b) < f(a + h, b + k) for small positive or negative values of h and k.  The point at which function f(x, y) is either maximum or minimum is known as stationary point.  The value of the function at stationary point is known as extreme (maximum and minimum) value of function f(x, y).
  • 3. Working Rule:- To determine the maxima and minima (extreme values) of a function f(x, y). Step 1: Solve ∂f/ ∂x = 0 and ∂f/ ∂y = 0 simultaneously for x and y. Step 2: Obtain the values of r= ∂²f/ ∂x², s= ∂²f / ∂x², t= ∂²f/ ∂x².
  • 4. Step 3: (i) If rt - s² > 0 and r < 0 (or t < 0) at (a, b) then f(x, y) is maximum at (a, b) and the maximum value of the function is f(a, b). (ii) If rt - s² > 0 and r > 0 (or t > 0) at (a, b) then f(x, y) is minimum value of the function is f(a, b). (iii) If rt - s² < 0 at (a, b) then f(x, y) is either maximum nor minimum at (a, b). Such a point is known as saddle point. (iv) If rt - s² = 0 at (a, b) then no conclusion can be made about the extreme values of f(x, y) and further investigation is required.
  • 5. Example 1 Find the minimum value of x² + y² + z² with the constraint x + y + z = 3a. Solution: f = x² + y² + z² x + y + z = 3a z = 3a - x - y …..(1) substituting the value of z in Eq. (1), f = x² + y² + (3a –x- y) ² Step 1 For extreme values, ∂f/ ∂x = 0 and ∂f/ ∂y = 0 2x – 2(3a - x - y ) = 0 2y - 2(3a - x - y) = 0 4x - 6a + 2y = 0 2y - 6a + 2x + 2y = 0 2x + y = 3a x + 2y = 3a ……(2) ….(3)
  • 6. Solving Eqs (2) and (3), x = y = a The stationary point is (a, a). Step 2 r = ∂²f/ ∂x² = 4 s = ∂²f/ ∂x ∂y = 2 t = ∂²f/ ∂y² = 4 Step 3 At (a, a), r = 4, s = 2, t = 4 rt - s² = (4)(4) – (2) ² = 12 > 0 Also, r = 4 > 0 Hence, f(x, y) is minimum at (a, a) fmin = a² + a² + (3a - a - a) ² = 3a²
  • 7. Example 2 Divide 120 into three parts so that the sum of their products taken two at a time shall be maximum. Solution: Let x, y, z be three numbers. x + y + z = 120 f = xy + yz + xz = xy + y(120 - x - y) + x( 120 - x - y) = xy + 120y – xy - y² + 120x - x² -xy = 120x + 120y - xy - x² - y² For extreme values, ∂f/∂x = 0 120 - y - 2x = 0 …(1) And ∂f/ ∂y = 0 120 - x - 2y = 0 ….(2) Solving Eqs (1) and (2), x = 40 y = 40 Stationary point is (40, 40).
  • 8. Step 2 r = ∂f/ ∂x = -2 s = ∂f/ ∂x ∂y = -1 t = ∂f/ ∂y = -2 Step 3 At (40, 40) rt - s² = (-2)(-2) – (-1) ² = 3 > 0 r = -2 < 0 Hence, f(x, y) is maximum at (40, 40).
  • 9. Example 3 Find the points on the surface z²=xy+1 nearest to the origin. Also find that distance. Solution: Let p(x, y, z) be any point on the surface z² = xy + 1. Its distance from the origin is given by d² = x² + y² + z² Since p lines on the surface z² = xy + 1 d² = x² + y² + xy + 1 Let f(x, y) = x² + y² + xy + 1 Step 1 For extreme values , ∂f/ ∂x=0 2x+y=o ∂f/ ∂y=0 2y+x=0 Solving Eqs (1) and (2), x=0 , y=0
  • 10. Step 2 r = ∂²f/ ∂x² = 2 s = ∂²f/ ∂x ∂y = 1 t = ∂² f/ ∂y² = 2 Step 3 At (0,0), r = 2, t = 2, s = 1 rt - s² = (2)(2) - 1² = 3 > 0 Also, r = 2 > 0 f(x, y) , i.e. d ² is minimum at (0,0) and hence d is minimum at (0,0). At (0,0), z²=xy+1=1 z=+1,z=-1 Hence, d is minimum at (0,0,1) and (0,0,-1). The points (0,0,1) and (0,0,-1) on the surface z² = xy + 1 are the nearest to the origin Minimum distance = 1.