Physics 321 Hour 15 The Calculus of Variations

advertisement
Physics 321
Hour 15
The Calculus of Variations
Bottom Line
• A simple derivative is useful for finding the value of a
variable that maximizes or minimizes a function.
• The calculus of variations is useful for finding the
function that maximizes or minimizes a quantity that
depends on the function.
• You don’t need to reproduce this section, but it is an
important tool in physics that you should put forth
some real effort to understand.
The Life Guard Problem
You are a life guard on a beach and see someone
needing your help. You want to get there as fast as
possible, where do you jump in the water?
Example
SnellsLaw.nb
Finding the Shortest Path between Points
The path length is
(x1,y1)
𝑃2
𝐿=
P1
y
𝑑𝑠
P2
𝑃1
𝑑𝑠 =
𝑑π‘₯ 2
+ 𝑑𝑦 2
y=y(x)
(x2,y2)
𝑑𝑦
= 𝑑π‘₯ 1 +
𝑑π‘₯
𝑃2
1 + 𝑦′2 𝑑π‘₯
𝐿=
𝑃1
2
= 𝑑π‘₯ 1 + 𝑦′2
x
Finding the Shortest Path between Points
The path length is
𝑃2
y
P1
(x1,y1)
y=y(x)
1 + 𝑦′2 𝑑π‘₯
𝐿=
𝑃1
Take another function π‘Œ π‘₯ = 𝑦 π‘₯ + 𝛼η(π‘₯)
subject to η π‘₯1 = η π‘₯2 = 0.
What does that tell us about Y(x)?
P2
(x2,y2)
x
Finding the Shortest Path between Points
Is y the shortest path?
L(α)
α=0
α
Finding the Shortest Path between Points
Is y the shortest path?
L(α)
α=0
α
It is – if the same thing works for every function η π‘₯
subject to η π‘₯1 = η π‘₯2 = 0.
Finding the Shortest Path between Points
If we choose an arbitrary path π‘Œ π‘₯ = 𝑦 π‘₯ + 𝛼η(π‘₯) ,
where η π‘₯1 = η π‘₯2 = 0, then 𝑦 π‘₯ is the shortest
path if
πœ•πΏ
=0
πœ•π›Ό 𝛼→0
for all functions η(π‘₯).
A Useful Theorem
Integration by parts give us:
𝐡
𝑒𝑑𝑣 = 𝑒𝑣
𝐴
Let 𝑑𝑒 =
𝑑𝑒
𝑑π‘₯
𝑑π‘₯
𝐡
𝐴
−
𝑣𝑑𝑒
𝐴
= 𝑒′ 𝑑π‘₯ 𝑑𝑣 = 𝑣 ′ 𝑑π‘₯
𝐡
𝑒𝑣 ′ 𝑑π‘₯ = 𝑒𝑣
𝐴
𝐡
𝐡
𝐴
𝐡
𝑣𝑒′ 𝑑π‘₯
−
𝐴
Distance Between Two Points
𝑃2
𝐿=
𝑑𝑠 =
𝑑𝑠
𝑃1
𝑑π‘₯ 2 + 𝑑𝑦 2 =
𝑑π‘₯ 1 + 𝑦′2
Let π‘Œ π‘₯ = 𝑦 π‘₯ + π›Όπœ‚ π‘₯
where πœ‚ π‘₯1 = πœ‚ π‘₯2 = 0
π‘₯2
𝐿 𝛼 =
π‘₯1
1 + π‘Œ′(π‘₯)2 𝑑π‘₯
Distance Between Two Points
π‘₯2
𝐿 𝛼 =
1 + π‘Œ′(π‘₯)2 𝑑π‘₯
π‘₯1
π‘₯2
1 + (𝑦 ′ + π›Όπœ‚′)2 𝑑π‘₯
=
π‘₯1
π‘₯2
≡
𝑓(𝛼) 𝑑π‘₯
π‘₯1
πœ•π‘“
πœ•π‘“
π‘π‘œπ‘‘π‘’
= πœ‚′
πœ•π›Ό
πœ•π‘¦′
Distance Between Two Points
πœ•πΏ
=
πœ•π›Ό
π‘₯2
πœ•π‘“
= πœ‚
−
πœ•π‘¦′ π‘₯
1
π‘₯2
πœ•π‘“
πœ‚′
𝑑π‘₯
πœ•π‘¦′
π‘₯1
π‘₯2
𝑑 πœ•π‘“
πœ‚
𝑑π‘₯ = 0
′
𝑑π‘₯ πœ•π‘¦
π‘₯1
0
𝑑 πœ•π‘“
→
=0
′
𝑑π‘₯ πœ•π‘¦
Distance Between Two Points
πœ•π‘“
πœ•π‘¦′
=
𝛼→0
=
2(𝑦 ′ + π›Όπœ‚′)
2 1 + (𝑦 ′ + π›Όπœ‚′)2
𝑦′
= constant
1 + (𝑦′)2
→ 𝑦′ π‘₯ = constant
→ 𝑦 π‘₯ = π‘šπ‘₯ + 𝑏
𝛼→0
The Action Integral
𝑑2
𝑆=
𝑑2
𝑆(𝛼) =
β„’(π‘₯, π‘₯, 𝑑) 𝑑𝑑
𝑑1
β„’(π‘₯ + π›Όπœ‚, π‘₯ + π›Όπœ‚, 𝑑) 𝑑𝑑
𝑑1
r
s
𝑑2
πœ•π‘†
πœ•β„’ πœ•π‘Ÿ πœ•β„’ πœ•π‘ 
=
−
𝑑𝑑 = 0
πœ•π›Ό
πœ•π‘  πœ•π›Ό
𝑑1 πœ•π‘Ÿ πœ•π›Ό
𝑑2
πœ•π‘†
πœ•β„’
πœ•β„’
=
πœ‚−
πœ‚ 𝑑𝑑 = 0
πœ•π›Ό
πœ•π‘₯
𝑑1 πœ•π‘₯
The Action Integral
𝑑2
πœ•π‘†
πœ•β„’
πœ•β„’
=
πœ‚−
πœ‚ 𝑑𝑑 = 0
πœ•π›Ό
πœ•π‘₯
𝑑1 πœ•π‘₯
𝑑2
πœ•π‘†
πœ•β„’
𝑑 πœ•β„’
=
πœ‚−
πœ‚ 𝑑𝑑 = 0
πœ•π›Ό
𝑑𝑑 πœ•π‘₯
𝑑1 πœ•π‘₯
𝑑2
πœ•π‘†
πœ•β„’ 𝑑 πœ•β„’
=
πœ‚
−
𝑑𝑑 = 0
πœ•π›Ό
πœ•π‘₯ 𝑑𝑑 πœ•π‘₯
𝑑1
πœ•β„’
𝑑 πœ•β„’
→
=
πœ•π‘₯ 𝑑𝑑 πœ•π‘₯
Download