Professional Documents
Culture Documents
003400)
2 / 15
Chapter 16. Calculus Methods of Optimization
m
y y ( x1 , x2 , , xn ) y i i 0
i 1
1 ( x1 , x2 , , xn ) 0 1 ( x1 , x2 , , xn ) 0 n+m scalar
equations
m ( x1 , x2 , , xn ) 0 m ( x1 , x2 , , xn ) 0
3 / 15
Chapter 16. Calculus Methods of Optimization
4 / 15
Chapter 16. Calculus Methods of Optimization
5 / 15
Chapter 16. Calculus Methods of Optimization
→ y indicates the direction of maximum change for a given distance in the space
6 / 15
Chapter 16. Calculus Methods of Optimization
7 / 15
Chapter 16. Calculus Methods of Optimization
16.5 Two variables and one constraint (prove Lagrange multiplier method)
Optimize y ( x1 , x2 ) subject to ( x1 , x2 ) 0
y y
Taylor expansion : y
1
x x2
1
x x2
/ x2
d
1
x
2x 0 x x2
x2 / x1
1
1
x
y / x2 y
y x2
x1 / x1 x2
8 / 15
Chapter 16. Calculus Methods of Optimization
16.5 Two variables and one constraint (prove Lagrange multiplier method)
𝜕𝑦 𝜕𝜙Τ𝜕𝑥2 𝜕𝑦 𝜕𝑦 𝜕𝜙Τ𝜕𝑥2 𝜕𝑦
∆𝑦 = − + ∆𝑥2 = 0 − + =0
𝜕𝑥1 𝜕𝜙Τ𝜕𝑥1 𝜕𝑥2 𝜕𝑥1 𝜕𝜙Τ𝜕𝑥1 𝜕𝑥2
If λ is defined as 𝜕𝑦
𝜕𝑥1
𝜕𝜙
𝜕𝑥1
y y
0 0
x2 x2 x1 x1
9 / 15
Chapter 16. Calculus Methods of Optimization
𝜕𝑦 𝜕𝑦 𝜕𝑦
∆𝑥1 + ∆𝑥2 + ( )∆𝑥3
𝜕𝑥1 𝜕𝑥2 𝜕𝑥3
𝜕𝜙 𝜕𝜙 𝜕𝜙
∆𝑥1 + ∆𝑥2 + ( )∆𝑥3
𝜕𝑥1 𝜕𝑥2 𝜕𝑥3
10 / 15
Chapter 16. Calculus Methods of Optimization
Any two of the three variables can be moved independently, but the motion
of the third variables must abide by the constraint. Arbitraily choosing 𝑥2 as a
dependant one,
𝜕𝑦 𝜕𝑦 𝜕𝜙Τ𝜕𝑥1 𝜕𝜙Τ𝜕𝑥3 𝜕𝑦
∆𝑦 = ∆𝑥1 − ∆𝑥1 + ∆𝑥3 + ∆𝑥 = 0
𝜕𝑥1 𝜕𝑥2 𝜕𝜙Τ𝜕𝑥2 𝜕𝜙Τ𝜕𝑥2 𝜕𝑥3 3
𝜕𝜙 𝜕𝜙
𝜕𝑦 𝜕𝑦 𝜕𝑥1 𝜕𝑦 𝜕𝑦 𝜕𝑥3
− =0 − =0
𝜕𝑥1 𝜕𝑥2 𝜕𝜙 𝜕𝑥3 𝜕𝑥2 𝜕𝜙
𝜕𝑥2 𝜕𝑥2
11 / 15
Chapter 16. Calculus Methods of Optimization
Define 𝜆 as
𝜕𝑦
𝜕𝑥1
𝜕𝜙
𝜕𝑥1
Then
𝜕𝑦 𝜕𝜙 𝜕𝑦 𝜕𝜙 𝜕𝑦 𝜕𝜙
−𝜆 =0 −𝜆 =0 −𝜆 =0
𝜕𝑥1 𝜕𝑥1 𝜕𝑥2 𝜕𝑥2 𝜕𝑥3 𝜕𝑥3
12 / 15
Chapter 16. Calculus Methods of Optimization
Define 𝜆 as
𝜕𝑦
𝜕𝑥1
𝜕𝜙
𝜕𝑥1
Then
𝜕𝑦 𝜕𝜙 𝜕𝑦 𝜕𝜙 𝜕𝑦 𝜕𝜙
−𝜆 =0 −𝜆 =0 −𝜆 =0
𝜕𝑥1 𝜕𝑥1 𝜕𝑥2 𝜕𝑥2 𝜕𝑥3 𝜕𝑥3
13 / 15
Chapter 16. Calculus Methods of Optimization
optimize y ( x1 , x2 )
subject to ( x1 , x2 ) b
L y
0
x1 x1 x1
L y
0 find optimum point
x2 x2 x2
( x1 , x2 ) b 0
14 / 15
Chapter 16. Calculus Methods of Optimization
y x1 y x2
(2) 0
x1 b x2 b
(1) SC
15 / 15