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 πβ π πβ → = ππ₯ ππ‘ ππ₯