Lagrange multipliers are used in optimising or maximising a functionsubject to one or more equality constraints
The solution is found by minimizing
with respect to the
and
The Lagrange multipliers are the
For example to maximisesubject to
form the expression
Differentiating with respect togives
(1)
Differentiating with respect togives
(2)
Differentiating with respect togives
(3)
From (1)
From (2)
From (3)
The maximum value ofis then
This is illustrated below. The maximum is where the curves touch.