Lagrange Multipliers
Lagrange Multipliers
Lagrange
multipliers, examples
Examples of the Lagrangian and Lagrange multiplier
technique in action.
Background
Introduction to Lagrange multipliers
Gradient
Solution
The $20 per hour labor costs and $170 per ton steel
costs tell us that the total cost of production, in terms
of h and s, is
20h + 170s
$20,000 $60,000
R = 200h2/3 s1/3
20h + 170s = 20,000
h
∂L
0=
∂h
∂
0= (200h2/3 s1/3 − λ(20h + 170s − 20,0
∂h
2
0 = 200 ⋅ h−1/3 s1/3 − 20λ
3
∂L
0=
∂λ
∂
0= (200h2/3 s1/3 − λ(20h + 170s − 20,0
∂λ
2/3 1/3
R(667, 39) = 200(667) (39) ≈ $51,777
The interpretation of this constant λ = 2.593 is left to
the next article
⎡ 2 ⎤
v ⃗= 3
⎣ 1 ⎦
v⃗
2
^
u 1
x
−3 −2 −1 1 2 3
−1
−2
−3
Solution:
⎡ ⎤
⎡ x ⎤
u
^= y
⎣ z ⎦
^ ∣∣ = √x2 + y 2 + z 2 = 1
∣∣u
⇓
x2 + y 2 + z 2 = 1
Maximizing u
^ ⋅ v ⃗means maximizing the following
quantity:
⎡ x ⎤ ⎡ 2 ⎤
y ⋅ 3 = 2x + 3y + z
⎣ z ⎦ ⎣ 1 ⎦
L(x, y, z, λ) = 2x + 3y + z − λ(x2 + y 2
∂
(2x + 3y + z − λ(x2 + y 2 + z 2 − 1)) = −x
∂λ
1
x=2⋅
2λ
1
y =3⋅
2λ
1
z =1⋅
2λ
Therefore u
^ is
y
proportional to v!⃗
Geometrically, this means v⃗
^ points in the same
u
u
^ max
direction as v.⃗ There are x
v⃗
^ max =
u
∣∣v∣∣⃗
v⃗
u
^ min =−
∣∣v∣∣⃗
⎡ 2/√14 ⎤
u
^ max = 3/√14
⎣ 1/√14 ⎦
∇f (x, y) = λ∇g(x, y)
g(x, y) = c
Hello and really thank you for your amazing site. Can you
please explain me why we dont use the whole Lagrange
but only the first part? Why we dont use the 2nd
derivatives
1 vote • Comment • Flag
3 months ago by nikostogas
what shuld we do if we have constraints as well as
boundaries and we need a local extrima?
1 vote • Comment • Flag
2 years ago by Garbage can jr.
About
Our mission is to
provide a free, world- News
Our interns
Khan Academy is a
Our content specialists
501(c)(3) nonprofit
Our leadership
organization. Donate
Our supporters
or volunteer today!
Our contributors
Careers
Internships
Contact
Help center
Support community
Press
iOS app
Android app
Subjects
Math by subject
Math by grade
Computing
Test prep
Language English