Fysik KTH Exempel variationsräkning 1, SI1142 Fysikens matematiska metoder, vt8. Sorry for the mixture of Swedish and English I hope I have used the same language at least within the same problem:-) Problems with a star have an additional hint ( ledning ). 1. (Brachistochron problem) En partikel glider friktionsfritt under tyngdkraftens inverkan längs kurvan y = y(x) i det vertikala xy-planet, mellan punkterna A och B. Sök den kontinuerligt deriverbar kurva längs vilken partikeln rör sig från A till B på kortaste tid. 2. (Såphinnan) Låt y = y(x) vara en kurva som går mellan punkterna (x 1, y 1 ) och (x 2, y 2 ) i xy-planet. Genom att rotera kurvan kring x-axel genereras en rotationsyta S. Bestäm y(x) så att arean av S blir extremal. När är arean minimal? 3. Energitätheten i ett elektrostatiskt fält E ges av 1 2 εe2 där E = Φ och ε > är dielektricitetskonstanten. Bestäm elektriska potentialen Φ(r) så att energin från fältet inom sfären V : r R blir så liten som möjlig. 4. En homogen tunn böjlig kedja med massan m och längden l är uppgängd mellan punkterna A: (x, y) = (, ) och B : (x, y) = (a, ) (a < ). Kedjan påverkas av ett homogent gravitationsfält med tyngdaccelerationen g. Sök kedjans jämviktskurva! 5. (Dido s problem) Bestäm den slutna kurva med given längd l som omsluter den största arean. 6. En Fata morgana är ett optisk fenomen som upptrder då atmosfårens brytningsindex varierar med höjden och där objekt och områden bortom horisonten blir synliga. Använd Fermats princip för att ge an förklaring. Ledning: Fermats princip säger att ljuset följer den väg för vilken n ds antar ett extremvärde, där n är bryttningsindex och s = ds bågländen. Anta att n(x, y) = n (1 ay) där y-axeln är riktat uppåt, x-axeln är parallel med jordens yta, och n >, a > är konstanter. Bestäm ljusets bankurvan y(x) om y() = och y () = b >. 7. Bestäm kortaste vägen på koniska ytan r = az, z, mellan punkterna z = h, φ = och z = h, φ = π/2 där (r, φ, z) är cylinderkoordinater och h >. 8. En partikels bana beskrivs av polära koordinater r och φ. Beloppet av partikelns hastighet beror av läget enligt v = v (r/r) 2 med konstanter v > och R >. Sök kurvan längs vilken partikels förflyttar sig från punkten r = R, φ = π/2 till linjen φ = på kortast möjlig tid. Beräkna även den kortaste tiden samt veriferiera att den är mindre än tiden längs kurvan r = R, φ π/4. 1
9. Då vattnet i en rak cirkulär cylinder med radie a roterar med winkelhastigheten ω runt cylinderaxeln ormer sig ytan så at den potentiella energien U i det roterande systemet blir minimal. Bitraget du från volymelementet dv är U = ρ(gz ω2 r 2 2 )dv. Bestäm vattenytans höjd över botten h(r), om den totala vattenvolymen antas vara V. 1. A homogeneous beam of length l is fixed in one end and unconstrained in the other, and it is bend down under the influence of gravitation. We can assume that the one dimensional function u(x) describing the beam s deviation from its tension-less, straight state minimizes the total potential energy l ( ) EJ U[u] = 2 (u (x)) 2 ρgau(x) dx with g = 9.81... m/s 2 the gravitation constant and E, J, A and ρ material constants (Young s modulus of elasticity, moment of inertia, cross section area, and mass density). Determine the shape u(x) of the beam. 11. Bestäm det minsta möjliga värdet som integralen ( ux (x, y) 2 + u y (x, y) 2) dxdy x 2 +y 2 1 kan antar. Funktionen u(x, y) har kontinuerliga andraderivator samt uppfyller randvillkoren u = på circeln x 2 + y 2 = 1. Vidare gäller att u(x, y) 2 dxdy = 1. x 2 +y 2 1 12. (a) Bestäm alla reelvärdiga funktioner f(x), x 1 för vilka funktionalen I[f] = 1 ( 1 dx 2 f (x) 2 1 ) 2 f(x)2 med villkoren f() = och f(1) = 1 antar extremvärden. (b) Samma som i (a), förutom att funktionalen är I[f] = 1 ( 1 dx 2 f (x) 2 + 1 ) 2 f(x)2, och f(1) = 1 och f() är obestämt (godtycklig). 2
13. Uppgiften illustrerar att variationskalkylen kan användas som ett verktyg att härleda differentialequationer i kroklinjiga koordinatsystem: man bara behöver komma ihåg skalfaktorerna. (a) Betrakter ett partikel med massan m som rör sig i tre dimensioner och i en sfäriskt symmetrisk potential V (r) = V ( r ). Använd Hamilton s prinsip m ) δ dt( 2 ṙ2 V (r) = m r = V för att härleda Newton s ekvationer i sfäriska koordinater (r, θ, φ). Ledning: ṙ 2 = ds 2 /dt 2 där ds 2 = dx 2 + dy 2 + dz 2 = dr 2 + r 2 dθ 2 + r 2 sin 2 (θ)dφ 2 h 2 rdr 2 + h 2 θ dθ2 + h 2 φ dφ2. (b) Använd variationsprinsipen δ d 3 r 1 2 ( u)2 = u = V för att härleda Laplace ekvation u = i sfäriska koordinater; u = u(r) är funktioner V R där V R 3. Ledning: u = e r (1/h r ) r u + e θ (1/h θ ) θ u + e φ (1/h φ ) φ u med skalfaktorerna h som ges ovan och ortonormala enhetsvektorer e ; r = / r osv.; d 3 r = h r h θ h φ drdθdφ. 14. Bestäm den kortaste vägen y(x) som ligger på ytan z(x, y) = 1 x 2 (oberoende av y) mellan punterna A = (x =, y =, z = 1) och B = (x = 1, y = 1, z = ). (Möjlig tolkning: kortaste vägen mellan två byar A och B på och brevid ett berg.) 3
Hints WARNING: I typed this in quickly: Please let me know if you find typos! 1. The velocity of the particle is v = ds where ds = 1 + y dt (x) 2, and v can be computed from energy conservation: mv 2 /2 mgy = const. =, where (, ) corresponds the initial point A where v =, and the y-axis points downwards. One thus needs to minimize the time T = t B t A (using dt = ds/v), becomes T [y] = 1 2g b where b, y(b) corresponds to the end point B. From F y F y dt which, after some computations 1 + y (x) 2 y(x) }{{} F (y(x),y (x)) dx = const. one finds after some computations y(x) = C 1 + y (x) 2 for some constant C. Introducing a paramtrizations y(θ) and x(θ) from y (x) = cot(θ) one gets y = C sin 2 (θ) and x = C(θ 1 2 sin(2θ)). This solution can be written in a nicer way using φ = 2θ and A = C/2. 2. Extremize A = x2 x 1 2πy(x) 1 + y (x) 2 dx where the initial and end points (x 1, y 1 = y(x 1 )) and x 2, y 2 = y(x 2 ) are fixed. 3. Minimize r R d 3 x Φ(x) 2 so that Φ is arbitrary at the boundary of the sphere. This gives 4. The potential energy of the chain Φ =, ˆn Φ r =R =. I[y] = ρg should be minimized, and its length L[y] = b a b a y(x) 1 + y (x) 2 dx 1 + y (x) 2 dx is fixed; x = a and b correspond to the end points of the chain and y(x) is its form. The problem can be solved my minimizing I[y] λ(l[y] L ) where L is the length of the chain and λ a Lagrange multiplier. 4
5. It is wise to search for the curve Cin paramter representation x(t), y(t) with t t t 1. The area enclosed by the curve C is I = C (xdy ydx) (Green s theorem) and should be maximized, and the length of C L = dx2 + dy 2 C is fixed. It is wise to assume a paramter representation x(t), y(t) for the curve where t t t 1. Then I[x, y] = t1 t (x(t)y (t) y(t)x (t))dt, L = t1 t x (x) 2 + y (x) 2 dt, and we should minimze I λ(l L ) where λ is a Lagrange multiplier and L the length of the curve; we are looking for a closed curve, i.e., (x(t ), y(t )) = (x(t 1 ), y(t 1 )). The resulting Euler-Lagrange differential equations are This gives y (t) = λ d x (t) dt x (t) 2 + y (t) 2 x (t) = λ d y (t) dt x (t) 2 + y (t). 2 x (t) y(t) y = λ x (t) 2 + y (t), 2 x(t) x y (t) = λ x (t) 2 + y (t), 2 which implies (x x ) 2 + (y y ) 2 = λ 2. 6. Assume that the light ray is described by a curve y(x) with the beginning- and end points fixed in x =, y = and x = l, y = y 1, and show that there is such a function minimizing I[y] = l (1 ay(x)) 1 + y (x) 2 dx and such that y 1 = : a light ray connects then two points on the ground which are a distance l apart. The first integral of the Euler-Lagrange equation of the problem is is 1 ay(x) 1 + y (x) 2 = C. 5
7. Use cylinder coordinates and determine the path z(φ) which minimizes π/2 a2 z(φ) 2 + (1 + a 2 )z (φ) 2 dφ and which goes through the beginning- and end points. 8. Minimize T [r] = R2 v π/4 such that r(π/4) = R, F/ r φ= =. 9. Minimize the potential energy of the water such that the volume U[h] = a drr V [h] = 2π a r(φ)2 + r (φ) 2 dφ r(φ) }{{ 2 } =F (r(φ),r (φ)) dφ h(r) 2π drr dφ dz ρ(gz ω2 r 2 2 ) h(r) is constant; h(r), r a, describes the shape of the water, and r, φ, z are cylinder coordinates. Thus find the function h minimizing U λ(v V ) where h() and h(a) are free; λ is a Lagrange multiplier, and V the fixed volume. 1. Use variational calculus to derive the ODE and the correct boundary conditions. Since the beam is fixed at the end x = we only allow variational functions u(x) such that u() = u () =, and since the beam is not constrained at the other end x = l, u(l) and u (l) are allowed to be arbitrary. The Euler-Lagrange eqs. and boundary conditions are and u() = u () = u (l) = u (l) =. u ρga EJ =, 11. The Euler-Lagrange equations are u = λu where λ is a Lagrange multiplier and u r =1 =. All solutions of this problem are CJ n (j n,s r) sin(nφ φ ) with a normalization constant C fixed by the constraint, and λ = j 2 n,s; j n,s are the zeros of the Bessel function J n. By partial integration and using thee Euler-Lagrange equations and the boundary conditions one finds that (u 2 x + u 2 y)dxdy = λ u 2 dxdy = λ. x 2 +y 2 x 2 +y 2 6 dz
(NOTE: The following solutions I added quickly on 826: if you don t agree let me know, not excluded that I made a mistake) 12. (a) Euler-Lagrange eq.: f (x) + f(x) =, to be solved with conditions f() =, f(1) = 1. (b) Euler-Lagrange eq.: f (x) f(x) =, to be solved with conditions f(1) = 1 and f () =. 13. TO COME 14. Extremize functional L[y] = 1 dx 1 + y(x) 2 + 4x 2 with y(x) the path such that y() = and y(1) = 1. 7
Solutions 1. One paramter representation of the solution is y = A(1 cos(φ)), x = A(φ sin(φ)), A > with the real paramter φ. 2. y(x) = 1 p cosh(p(x x )) where the paramters p and x are determined by the conditions that y(x i ) = y i for i = 1, 2. 3. Φ(x) = C (constant), as could have been guessed without computation. 4. y(x) = C 1 cosh(x/c 1 + C 2 ) λ where the constants C 1,2 and λ are determined by the location of the endpoints and L. 5. Circles. 6. The extremizing functions are y(x) = 1 a C 1 cosh(x/c 1 + C 2 ) with constants C 1,2 determined by the beginning- and endpoints of the light ray: C 2 = l/2, C 1 = 1/a. 7. aπ h cos( z(φ) = a cos( 1+a 2 (φ π/4)). 4 1+a 2 ) 8. r(φ) = R 2 cos(φ). 9. 1. h(r) = V πa 2 + ω2 2g (r2 a 2 /2). u(x) = ρga 24EJ x2 (x 2 4lx + 6l 2 ). 11. u = j 2,1 = 5.783..., where j,1 = 2.4482... is the smalles non-zero zero of the Bessel function J. 12. (If I didn t make a mistake): Solution: (a) f(x) = sin(x)/ sin(1) Solution: (b) f(x) = cosh(x)/ cosh(1) 13. See exercise class 8
14. Euler-Lagrange give y (x)/ 1 + y (x) 2 + 4x 2 = C (constant) and y (x) = k 1 + 4x 2 for another constant k (related to C). Solution: y(x) = x dx 1 + 4(x ) 2 1 dx 1 + 4(x ) 2 (again if I didn t make a mistake). One can make this solution more explicit by using x dx 1 + 4(x ) 2 = x 1 + 4x 2 + 1 2 4 arcsinh(2x). 9