Docsity

Lagrange Multipliers - Lecture Notes | MATH 110, Study notes of Mathematics

Toggle sidebar
bg1
Calculus 220, section 7.4 Lagrange Multipliers
notes by Tim Pilachowski
If you have taken Math 110 or 113 or a finite mathematics course you will have encountered linear
programming. A typical word problem looks like this:
A company manufactures two types of desks. Let x = the number of steel desks and let y = the number
of wood desks. The profit for steel desks is $80 each, and the profit for wood desks is $175. The
company wants to maximize its profit. Each steel desk requires 2 hours of assembly and 1 hour of
finishing. Wood desks require 4 hours of assembly and 3 hours of finishing. The company has 100
work-hours available for assembly and 60 work-hours available for finishing.
The company’s goal (i.e. objective) is to maximize profit: yxP 17580
+
=
. In
theory, this function has no maximum: make more desks = make more money.
In the real world, however, there are limitations (i.e. constraints): the number of
employees and therefore the number of desks that can be made has an upper
limit. The hours available for assembly is expressed in the assembly constraint
. The hours available for finishing is expressed in the finishing
constraint . In addition, the number of each type of desk made cannot
be negative: . The “system of constraints” which illustrates the
“feasible set” is graphed to the right, with corners labeled.
10042 ≀+ yx
603≀+ yx
0 and 0 ≄≄ yx
()
0,0
(
)
0,50
(
)
10,30
(
)
20,0
If we were to graph the level curves for the profit function
(
)
yxyxP 17580,
+
=
, they would appear as a series
of parallel lines: all with the same slope but representing varying levels of profit. The maximum possible (i.e.
feasible) profit is represented by the level curve where P = 4150 that passes through the corner (30, 10).
You won’t be asked to do a linear programming question in this class, but you will need some of the same
algebra skills, such as solving a system of equations.
Rather, in calculus, while we’re still looking for some optimum value (maximum or minimum), neither the
objective nor the constraints are likely to be linear functions, and we’ll need somewhat more involved methods
of finding the maximum or minimum of the objective, within the given constraints. Given an objective function
f and a constraint function g the process looks like this:
Identify the objective function—it’s the one that needs to be maximized or minimized.
Write the constraint function in the form g = 0.
Create a function F = f + λg where λ is the Lagrange multiplier.
Find all first partial derivatives, including with respect to λ, and set them equal to 0.
Solve the resulting system of equations for all variables, including λ.
It will usually be best to solve the first equations for λ and set them equal to each other, using a series of
substitutions to find the rest of the values.
Example A: Find the minimum value of subject to the constraint
()
72, 22 ++= yxyxf
()
18.
+
+
=
yxyxg .
Answer:
()
22312,6 =−−f
pf3

Partial preview of the text

Download Lagrange Multipliers - Lecture Notes | MATH 110 and more Study notes Mathematics in PDF only on Docsity!

Calculus 220, section 7.4 Lagrange Multipliers

notes by Tim Pilachowski

If you have taken Math 110 or 113 or a finite mathematics course you will have encountered linear programming. A typical word problem looks like this: A company manufactures two types of desks. Let x = the number of steel desks and let y = the number of wood desks. The profit for steel desks is $80 each, and the profit for wood desks is $175. The company wants to maximize its profit. Each steel desk requires 2 hours of assembly and 1 hour of finishing. Wood desks require 4 hours of assembly and 3 hours of finishing. The company has 100 work-hours available for assembly and 60 work-hours available for finishing.

The company’s goal (i.e. objective) is to maximize profit: P = 80 x + 175 y. In

theory, this function has no maximum: make more desks = make more money. In the real world, however, there are limitations (i.e. constraints): the number of employees and therefore the number of desks that can be made has an upper limit. The hours available for assembly is expressed in the assembly constraint

. The hours available for finishing is expressed in the finishing

constraint. In addition, the number of each type of desk made cannot

be negative:. The “system of constraints” which illustrates the

“feasible set” is graphed to the right, with corners labeled.

2 x + 4 y ≀ 100 x + 3 y ≀ 60

x ≄ 0 and y ≄ 0 ( 0 , 0 ) ( 50 , 0 )

If we were to graph the level curves for the profit function P ( x , y ) = 80 x + 175 y , they would appear as a series

of parallel lines: all with the same slope but representing varying levels of profit. The maximum possible (i.e. feasible) profit is represented by the level curve where P = 4150 that passes through the corner (30, 10).

You won’t be asked to do a linear programming question in this class, but you will need some of the same algebra skills, such as solving a system of equations.

Rather, in calculus, while we’re still looking for some optimum value (maximum or minimum), neither the objective nor the constraints are likely to be linear functions, and we’ll need somewhat more involved methods of finding the maximum or minimum of the objective, within the given constraints. Given an objective function f and a constraint function g the process looks like this: Identify the objective function—it’s the one that needs to be maximized or minimized. Write the constraint function in the form g = 0. Create a function F = f + λ g where λ is the Lagrange multiplier. Find all first partial derivatives, including with respect to λ, and set them equal to 0. Solve the resulting system of equations for all variables, including λ. It will usually be best to solve the first equations for λ and set them equal to each other, using a series of substitutions to find the rest of the values.

Example A: Find the minimum value of f ( x , y ) = 2 x^2 + y^2 + 7 subject to the constraint g ( x. y ) = x + y + 18.

Answer : f ( − 6 , − 12 ) = 223

Example B: For a specified product, the Cobb-Douglas production function is ( ) 3

23 1 f x , y = 600 x y where x =

the number of units of labor and y = the number of units of capital. The cost of labor is $400 per unit and the cost of capital is $200 per unit. The company wants to make 54000 of their product at the lowest possible cost. Determine the number of units of labor and the number of units of capital that would minimize cost. Don’t be fooled into thinking that the letter f always indicates the objective function! The letters used are chosen arbitrarily. Answer : C (90, 90) = $

Note that at ( x , y ) = (90, 90),

C

x

= marginal cost of labor = 400, and

C

y

= marginal cost of capital = 400.

Also, when ( x , y ) = (90, 90),

1 3 1 3

λ = =. In this case λ represents the marginal cost of productivity: If one

more unit is produced, the cost per unit is $1.