Lagrange Multiplier
Lagrange Multiplier
In general, constrained extremum problems are very difficult to solve and there is no general
method for solving such problems. In case the constrained set is a level surface, for example a
sphere, there is a special method called Lagrange multiplier method for solving such problems. So,
we will be dealing with the following type of problem.
Problem : Find the local or absolute maxima and minima of a function f (x, y, z) on the (level)
surface S := {(x, y, z) : g(x, y, z) = 0} where g : R3 → R.
Let us first assume that f and g have continuous partial derivatives and ∇g|P0 6= 0. Let C =
R(t) = x(t)i + y(t)j + z(t)k be a curve on S passing through P0 and let P0 = R(t0 ). Since f has
a local extremum at P0 on S, it has a local extremum on C as well. Therefore df dt |t0 = 0. By the
dR
chain rule, ∇f · dt = 0. Since the curve C is arbitrary, we conclude that ∇f |P0 is perpendicular to
the tangent plane of S at P0 . But we already know that ∇g|P0 is also perpendicular to the tangent
plane of S at P0 . Therefore, there exists λ ∈ R such that ∇f |P0 = λ∇g|P0 .
Lagrange Multiplier Method: Suppose f and g have continuous partial derivatives. Let
(x0 , y0 , z0 ) ∈ S := {(x, y, z) : g(x, y, z) = 0} and ∇g(x0 , y0 , z0 ) 6= 0. If f has a local maximum or
minimum at (x0 , y0 , z0 ) then there exists λ ∈ R such that
∇f (x0 , y0 , z0 ) = λ∇g(x0 , y0 , z0 ).
To find the extremum points, in practice, we consider the following equations
∇f (x, y, z) = λ∇g(x, y, z) and g(x, y, z) = 0. (1)
These equations are solved for the unknowns x, y, z and λ. Then the local extremum points are
found among the solutions of these equations.