Contents [PD.1] [PD.2] [PD.3] [PD.4] [PD.5][PD.6][PD.7] [PD.8]
In this section we present Lagrange's maximizing or minimizing a general
function

subject to a constraint (or side condition) of the form

This is shown in the picture above.
It is easier to explain the geometric basis of Lagrange's method for functions
of two variables. So we start by trying to find the extreme values of

subject to a constraint of the form

In other words, we seek the extreme values of

when the point

is restricted to like on the level curve

The figure below shows this curve together with several level curves of

,
These have the equations

.
To maximize

subject to

is to find the largest value of c such that the level curve

intersects

It
appears from the figure below that this happens when these curves just touch
each other, that is, when they have a common tangent line (Otherwise, the
value of c could be increased further) This means that the normal lines at
the point

where they touch are identical. So the gradient vectors are parallel; that is

for some scalar

.

The procedure described above can be expanded into the form

with the constraint

When expanded into this form, the final equation looks like this:
The number

in the equation above is called a Lagrange multiplier. The procedure based on
this equation is described below:
To find the maximum and minimum values of

subject to the constraint

(assuming that these extreme values exist):
(a) Find all values of

and

such that


(b) Evaluate

at all the points

that result from step (a). The largest of these values is the maximum value of

;
the smallest is the minimum value of

.
If we write the vector equation

in terms of its components, the equations in step (a) become:

This is a system of four equations with four unknowns x, y, z, and

,
but it is not necessary to find explicit values for

Functions of two variables are solved in much the same way:


These equations can be broken down into:

These are then solved, like above, as a system of three equations with three variables.
Suppose now that we want to find the maximum and minimum values of

subject not to one constraints, but to two constraints ( and

.
In this case, and by the same line of reasoning that was used with one
constraint, would have to set up the following equation:
In this case of Lagrange's method is to look for extreme values by solving
five equations in the five unknowns x, y, z,

and

These equations are obtained by writing the equation in terms of its
components and using the constraint equations:


One simply needs to solve these find equations and then plug the results back into the original function and find the maximum value.
Contents [PD.1] [PD.2] [PD.3] [PD.4] [PD.5][PD.6][PD.7] [PD.8] ]
This document created by Scientific WorkPlace 4.1.