<<

Other smooth coordinatization qi,i=1,...D Generalized Coordinates Physics 504, Physics 504, Spring 2011 qi(~r) and ~r( qi ) are well defined (in some domain) Spring 2011 i Electricity { } Electricity Cartesian coordinates r ,i=1, 2,...D for Euclidean and mostly 1—1, so Jacobian det(∂qi/∂rj) =0. and . Magnetism 6 Magnetism 2 i 2 Shapiro Distance between P qi and P qi + δqi is given Shapiro Distance by Pythagoras: (δs) = (δr ) . { } 0 { } i by X i Generalized Generalized Unit vectorse ˆi, ∆~r = i ∆r eˆi Coordinates Coordinates i Cartesian k k Cartesian Fields are functions of , or of ~r or of r . coords for ED 2 k 2 ∂r i ∂r j coords for ED P { } Generalized (δs) = (δr ) = i δq j δq Generalized Scalar fields Φ(~r), Vector fields V~ (~r) Coordinates ∂q !  ∂q  Coordinates Vector Fields Xk Xk Xi Xj Vector Fields ∂Φ i j   Derivatives ~ Φ= eˆi, Gradient = gijδq δq , Gradient ∇ i of a Velocity of a i ∂r particle ij particle Derivatives of X Derivatives of X Vectors Vectors ∂Vi Differential where Differential ~ ~ Forms k k Forms V = i , ∇· ∂r 2-forms ∂r ∂r 2-forms i 3-forms gij = i j . 3-forms X Cylindrical ∂q ∂q Cylindrical ∂2Φ Polar and k Polar and 2Φ=~ ~ Φ= , Spherical X Spherical ∇ ∇·∇ i 2 gij is a real symmetric matrix called the metric tensor. i ∂r X In general a nontrivial function of the position, gij(q). ∂Vk ~ V~ = ijk eˆi, 3D only To repeat: ∇× ∂rj 2 i j ijk (δs) = g δq δq . X ij Xij

k Physics 504, Another problem:e ˜k is not normal to the surface q = Physics 504, Functions (fields) Spring 2011 Spring 2011 Electricity constant. Electricity A scalar field f(P ) f(~r) can also be specified by a and and function of the q’s, f˜(q)=f(~r(q)). Magnetism Magnetism What to do? Two approaches: What about vector fields? V~ (~r) has a meaning Shapiro Shapiro independent of the coordinates used to describe it, but I Give up on orthonormal basis vectors. Define Generalized ∂Φ k Generalized components depend on the basis vectors. Should have Coordinates differential forms, such as dΦ= dx . The Coordinates Cartesian k Cartesian D ∂x D i coords for E k coords for E basis vectorse ˜i aligned with the direction of q .Howto Generalized Generalized Coordinates k X Coordinates define? Vector Fields coefficients of dx transform as covariant vectors. Vector Fields Consider Derivatives Contravariant vectors may be considered coefficients Derivatives Gradient k Gradient 1 1 2 3 1 2 3 k Velocity of a of directional derivatives ∂/∂q . This is the favored Velocity of a ~r(q + δq ,q ,q ) ~r(q ,q ,q ) ∂r eˆk particle particle e˜1 = lim − = Derivatives of approach for working in curved , differential Derivatives of 1 1 Vectors Vectors δq 0 δs ∂q √g11 Differential Differential → k Forms geometry and general relativity. Forms X 2-forms 2-forms 3-forms I Restrict ourselves to orthogonal coordinate systems 3-forms and the similarly definede ˜2 ande ˜3. In general not good Cylindrical i j Cylindrical Polar and — surface q = constant intersects q = constant at Polar and orthonormal bases, because Spherical Spherical right angles. Then ~ qi ~ qj =0. k k ∇ · ∇ i j ∂r ∂r ij i j ∂q ∂q e˜1 e˜2 = /√g11g22 = g12/√g11g22, In general define g := ~ q ~ q = . · ∂q1 ∂q2 ∇ · ∇ ∂rk ∂rk k k X ij X Note that g is not the same as gij. which need not be zero.

In fact Physics 504, The set eˆk and the set e˜i are each orthonormal, Physics 504, Spring 2011 { } { } Spring 2011 i ` m m i m ande ˆk = Akie˜i,soA is orthogonal, and B = A. i` ∂q ∂q ∂r ∂r ∂q ∂r Electricity i ∴ Electricity g g`j = k k ` j = k δkm j and Can also check as and ∂r ∂r ∂q ∂q ∂r ∂q Magnetism Magnetism ` ` k m km P X X X X X i k j k ij .. Shapiro AkiAkj = hihj (∂q /∂r )(∂q /∂r )=hihjg = δij. Shapiro = δij,sog is the inverse matrix to g... k k Generalized X X Generalized If ~ qi ~ qj = 0 for i = j, gij = 0 for i = j, g.. is diagonal, Coordinates Coordinates Cartesian Thus A can be written two ways, Cartesian ∇ · ∇ 6 2 6 D D so g.. is also diagonal. And as (δs) > 0 for any non-zero coords for E coords for E Generalized i k Generalized Coordinates ∂q 1 ∂r Coordinates δ~r, g.. is positive definite, so for an orthogonal coordinate Vector Fields − Vector Fields 2 Aki = hi k = hi i . system the diagonal elements are positive, gij = hi δij, Derivatives ∂r ∂q Derivatives ij 2 Gradient Gradient and g = h− δij. Then the unit vectors are Velocity of a Velocity of a i particle Note that Ajk is a function of position, not a constant. In particle Derivatives of Derivatives of k Vectors Vectors 1 ∂r Euclidean space we say thate ˆx is the same vector Differential 1 Differential e˜i = hi− eˆk i =: Bkieˆk (1) Forms regardless of which point ~r the vector is at . But then Forms ∂q 2-forms 2-forms k k 3-forms 3-forms X X Cylindrical e˜i = Aji(P )ˆej is not the same vector at different Cylindrical with the inverse relation Polar and Polar and Spherical Xj Spherical ∂qi points P . eˆk = hie˜i =: Akie˜i = Aki B`ieˆ`. (2) ∂rk 1 i i i ` That is, Euclidean space comes with a prescribed parallel X X X X transport, telling how to move a vector without changing it. As thee ˆk are independent, this implies i AkiB`i = δk` or ABT =1I. P Physics 504, Physics 504, Vector Fields Spring 2011 Gradient of a scalar field Spring 2011 Electricity Electricity So for a vector field and and Magnetism Magnetism ~ ˜ V (P )= Vj(q)˜ej = Vi(~r)ˆei = Vi(~r)Aike˜k, Shapiro ˜ ` Shapiro ~ ∂f ∂f ∂q j i ik f = k eˆk = ` k (Akme˜m) X X X Generalized ∇ ∂r ∂q ∂r ! Generalized Coordinates Xk Xk`m Coordinates ˜ Cartesian Cartesian so Vk(q)= Vi(~r(q))Aik(q). coords for ED ˜ ` m ˜ coords for ED Generalized ∂f ∂q ∂q ∂f m` Generalized i Coordinates = ` k hme˜m k = ` hme˜mg Coordinates X Vector Fields ∂q ∂r ∂r ∂q Vector Fields ˜ k`m ! `m Also Vk(~r)= Aki(~r)Vi(q(~r)). X   X Derivatives ˜ ˜ Derivatives i Gradient ∂f 2 1 ∂f Gradient X Velocity of a − − Velocity of a particle = ` hme˜mhm δm` = hm m e˜m, particle Derivatives of ∂q m ∂q Derivatives of Let’s summarize some of our previous relations: Vectors `m Vectors Differential X X Differential Forms Forms 2-forms or 2-forms eˆk = Akie˜i, e˜i = Aji(P )ˆej 3-forms 3-forms Cylindrical Cylindrical Polar and ˜ Polar and i j 1 ∂f X X Spherical ~ f = h− e˜ . (3) Spherical ∇ m m m i k m ∂q ∂q 1 ∂r X Aki = hi k = hi− i . ∂r ∂q Both f(~r) and f˜(q) represent the same function f(P )on 2 ij 2 gij = hi δij,g= hi− δij space, so we often carelessly leave out the twiddle.

Physics 504, Physics 504, Spring 2011 Spring 2011 Velocity of a particle Electricity Electricity and and Magnetism Magnetism k k i j dr ∂r dq ∂q Shapiro Shapiro ~v = eˆk = hj e˜j By looking at distances from varying one coordinate, dt ∂qi dt  ∂rk  2 2 2 2 2 2 2 k k i ! j comparing to (ds) = hr(dr) + h (dθ) + h (dφ) , X X X X Generalized θ φ Generalized i j   Coordinates we see that Coordinates dq dq Cartesian Cartesian = hjδije˜j = hj e˜j. coords for ED coords for ED dt dt Generalized Generalized ij j Coordinates hr =1,hθ = r, hφ = r sin θ. Coordinates X X Vector Fields Vector Fields j Derivatives Derivatives Note it is hjdq which has the right dimensions for an Gradient Thus Gradient j Velocity of a Velocity of a particle ~v =˙re˜r + rθ˙e˜θ + r sin θφ˙e˜φ particle infinitesimal length, while dq by itself might not. Derivatives of Derivatives of Vectors Vectors Differential Differential Forms and Forms Example, spherical coordinates. 2-forms 2 2 2 2 2 2 2 2-forms 3-forms v =˙r + r θ˙ + r sin θφ˙ . 3-forms r spherical shells Cylindrical Cylindrical Polar and Polar and Surfaces of constant θ cone, vertex at 0 Spherical Spherical   φ plane containing z with the shells centered at the origin. These intersect at right angles, so they are orthogonal coords.

Physics 504, Physics 504, Derivatives of Vectors Spring 2011 Differential Forms Spring 2011 Electricity Electricity and i and Magnetism A general 1-form over a space coordinatized by q is Magnetism

Shapiro Shapiro i ∂eˆi ω = Ai(P )dq , Euclidean parallel transport: j =0 Generalized i Generalized ∂r Coordinates X Coordinates Cartesian Cartesian k ` coords for ED and is associated with a vector. But if we are using coords for ED 1 ∂ 1 ∂r ∂ 1 ∂r Generalized Generalized hj− e˜i = h−j hi− eˆ` Coordinates Coordinates ∂qj ∂qj ∂rk ∂qi Vector Fields orthogonal , it is more natural to Vector Fields k`   X Derivatives express the coefficients as multiplying the “normalized” Derivatives k Gradient i i ˜ Gradient 1 ∂r ∂A`i Velocity of a 1-forms ωi := hidq , with ω = i Aidq = Viωi. Velocity of a = h−j j k eˆ` particle particle ∂q ∂r Derivatives of ~ ˜ Derivatives of k` Vectors Then ω is associated with the vector V = i Vie˜i. Vectors X Differential P Differential ∂A`i Forms Note that if Forms 2-forms P 2-forms = Akj k eˆ`. 3-forms 3-forms ∂r Cylindrical ∂f i 1 ∂f Cylindrical k` Polar and Polar and X Spherical ω = df = σi dq = h− ωi, Spherical ∂qi i ∂qi Xi

1 ∂f the associated vector is V~ = h− e˜i = ~ f. i ∂qi ∇ Xi Physics 504, Physics 504, 2-forms Spring 2011 Spring 2011 (2) 1 Electricity Electricity General 2-form: ω = Bijωi ωj, with Bij = Bji. and The associated vector has coefficients and ∧ − Magnetism Magnetism 2 ij X Shapiro 1 1 ∂ ∂ Shapiro In three dimensions, this can be associated with a vector B˜k = ijk V˜jhj V˜ihi 1 2 h h ∂qi − ∂qj ~ ˜ ˜ ˜ ij i j   B = Bie˜i with Bi = ijkBjk, Bjk = ijkBi. Generalized X Generalized 2 Coordinates Coordinates i jk i Cartesian 1 ∂ Cartesian X X X D ˜ D (1) (2) (1) coords for E = ijk i Vjhj . coords for E If V~ ω and ω = dω , then Generalized hihj ∂q Generalized Coordinates ij Coordinates Vector Fields X   Vector Fields (2) 1 ˜ i Derivatives Derivatives ω = Bijωi ωj = d Vihidq Gradient For cartesian coordinates hi = 1, and we recognize this as Gradient 2 ∧ Velocity of a ~ (1) ~ ~ Velocity of a ij i ! particle the curl of V ,sodω V , which is a particle X X Derivatives of ∇× Derivatives of ˜ Vectors coordinate-independent statement. Thus we have for any Vectors ∂(Vihi) j i Differential Differential = j dq dq Forms orthogonal curvilinear coordinates Forms ∂q ∧ 2-forms 2-forms ij 3-forms 3-forms X Cylindrical Cylindrical Polar and 1 ∂ Polar and ˜ Spherical ~ ˜ ˜ Spherical 1 1 ∂(Vihi) Vie˜i = ijk i hjVj e˜k. (4) = h− h− ωj ωi, ∇× hihj ∂q i j ∂qj ∧ i ijk ij X X   X

1 1 1 1 ∂(V˜jhj) ∂(V˜ihi) Thus Bij = hi− hj− i j . 2 2 ∂q − ∂q !

~ ~ Physics 504, A 3-form in three dimensions is associated with a scalar Physics 504, B and 3-forms Spring 2011 Spring 2011 ∇· Electricity function f(P )by Electricity and and Magnetism Magnetism Finally, let’s consider a vector B~ = B˜ie˜i and its i (3) 1 2 3 1 a b c associated 2-form Shapiro ω = fdr dr dr = f abcdr dr dr Shapiro P ∧ ∧ 6 ∧ ∧ Xabc (2) 1 1 j k Generalized a b c Generalized ω = ijkB˜iωj ωk = ijkB˜ihjhkdq dq . Coordinates 1 ∂r ∂r ∂r i j k Coordinates Cartesian = f abc dq dq dq Cartesian 2 ∧ 2 ∧ D i j k D i i coords for E 6 ∂q ∂q ∂q ∧ ∧ coords for E X X Generalized abcijk Generalized Coordinates X Coordinates Vector Fields a b c Vector Fields The exterior is a three-form 1 1 ∂r 1 ∂r 1 ∂r Derivatives = f abc hi− i hj− j hk− k Derivatives ˜ Gradient 6 ∂q ∂q ∂q Gradient (2) 1 ∂Bihjhk ` j k Velocity of a abcijk     Velocity of a dω = ijk dq dq dq particle X particle 2 ∂q` ∧ ∧ Derivatives of ωi ωj ωk Derivatives of ijk` Vectors Vectors Differential ∧ ∧ Differential X Forms 1 Forms ˜ 2-forms 2-forms 1 ∂Bihjhk 1 2 3 = f det A ijkωi ωj ωk =   dq dq dq 3-forms 6 ∧ ∧ 3-forms ijk` `jk Cylindrical ijk Cylindrical 2 ∂q` ∧ ∧ Polar and Polar and ijk` X X Spherical = f det Aω1 ω2 ω3 Spherical 1 ∂ h1h2h3 ∧ ∧ = B˜i ω1 ω2 ω3. = fω1 ω2 ω3, h h h ∂q h ∧ ∧ ∧ ∧ 1 2 3 i i  i  X where det A = 1 because A is orthogonal, but also we assume thee ˜i form a right handed coordiate system.

(2) ~ (2) So we see that if ω B, dω f, with Physics 504, Physics 504, Spring 2011 Summary Spring 2011 Electricity Electricity 1 ∂ h1h2h3 ˜ and and f = Bi . Magnetism j ˜ Magnetism h1h2h3 ∂qi hi dq 1 ∂f i   ~v = hj e˜j, ~ f = hm− e˜m, X Shapiro ∇ m Shapiro j dt m ∂q In cartesian coordinates this just reduces to ~ B~ , but X X ∇· Generalized Generalized this association is coordinate-independent, so we see that Coordinates Coordinates Cartesian 1 ∂ Cartesian D ~ ˜ ˜ D coords for E Vie˜i = ijk i hjVj e˜k, coords for E in a general curvilinear , Generalized ∇× hihj ∂q Generalized Coordinates i ! ijk Coordinates Vector Fields X X   Vector Fields 1 ∂ h1h2h3 ~ ~ ˜ Derivatives 1 ∂ h1h2h3 Derivatives B = i Bi . ~ B~ = B˜i , ∇· h1h2h3 ∂q hi Gradient i Gradient i   Velocity of a ∇· h1h2h3 ∂q hi Velocity of a X particle i   particle Derivatives of X Derivatives of Vectors 2 1 ∂ h1h2h3 ∂Φ Vectors Differential Differential Forms Φ= i 2 i Forms Finally, let’s examine the Laplacian on a scalar: ∇ h1h2h3 ∂q h ∂q 2-forms i  i  2-forms 3-forms X 3-forms Cylindrical Cylindrical 2 1 ∂ h1h2h3 1 ∂Φ Polar and For the record, even for generalized coordinates that are Polar and f = Φ=~ ~ Φ= h− Spherical Spherical ∇ ∇·∇ h h h ∂qi h i ∂qi not orthogonal, we can write 1 2 3 i  i  X 1 ∂ ∂ 1 ∂ h1h2h3 ∂Φ 2 ij = i g √g j , = i 2 i ∇ √g ∂q ∂q h1h2h3 ∂q hi ∂q ij Xi   X where g := det g... Physics 504, Physics 504, Cylindrical Polar Coordinates Spring 2011 Polar, continued Spring 2011 Electricity Electricity and and Magnetism Magnetism

Although we have developed this to deal with esoteric Shapiro Shapiro 1 ∂Vz ∂rVφ ∂Vr ∂Vz orthogonal coordinate systems, such as those for your ~ V˜ie˜i = e˜r + e˜φ Generalized ∇× r ∂φ − ∂z ∂z − ∂r Generalized homework, let us here out the familiar cylindrical Coordinates i !     Coordinates Cartesian X Cartesian polar and spherical coordinate systems. coords for ED 1 ∂rVφ ∂Vz coords for ED Generalized Generalized Coordinates + e˜z Coordinates Vector Fields r ∂r − ∂φ Vector Fields Cylindrical Polar: r, φ, z,   Derivatives 1 ∂Vz ∂Vφ ∂Vr ∂Vz Derivatives Gradient = e˜r + e˜φ Gradient 2 2 2 2 2 Velocity of a r ∂φ − ∂z ∂z − ∂r Velocity of a (δs) =(δr) + r (δφ) +(δz) , particle     particle Derivatives of Derivatives of Vectors ∂Vφ 1 ∂Vz 1 Vectors Differential + + Vφ e˜z Differential so hr = hz =1,hφ = r. Then Forms Forms 2-forms ∂r − r ∂φ r 2-forms 3-forms   3-forms Cylindrical 1 ∂(rVr) ∂Vφ ∂(rVz) Cylindrical ∂f 1 ∂f ∂f Polar and ~ ˜ Polar and ~ f = e˜r + e˜φ + e˜z, Spherical Vie˜i = + + Spherical ∇ ∂r r ∂φ ∂z ∇· ! r ∂r ∂φ ∂z Xi   ∂Vr 1 ∂Vφ ∂Vz 1 = + + + Vr ∂r r ∂φ ∂z r

Physics 504, Physics 504, Polar, continued further Spring 2011 Spherical Coordinates Spring 2011 Electricity Electricity and Spherical Coordinates: and z Magnetism r radius, θ polar angle, φ Magnetism Shapiro azimuth θ Shapiro L

Generalized 2 2 2 2 2 2 2 Generalized Coordinates (δs) =(δr) +r (δθ) +r sin θ(δφ) , ϕ y Coordinates Cartesian Cartesian coords for ED coords for ED 2 1 ∂ ∂Φ ∂ 1 ∂Φ Generalized x Generalized Φ= r + Coordinates so hr =1,hθ = r, hφ = r sin θ. Coordinates ∇ r ∂r ∂r ∂φ r ∂φ Vector Fields Vector Fields     h Derivatives Derivatives ∂ ∂Φ Gradient ∂f 1 ∂f 1 ∂f Gradient + r Velocity of a ~ f = e˜r + e˜θ + e˜φ Velocity of a ∂z ∂z particle ∇ ∂r r ∂θ r sin θ ∂φ particle  i Derivatives of Derivatives of 1 ∂ ∂Φ 1 d2Φ d2Φ Vectors Vectors Differential ~ ~ 1 ∂ ∂ Differential = r + 2 2 + 2 Forms V = 2 r sin θVφ rVθ e˜r Forms r ∂r ∂r r dφ dz 2-forms ∇× r sin θ ∂θ − ∂φ 2-forms   3-forms   3-forms Cylindrical Cylindrical Polar and 1 ∂ ∂ Polar and Spherical + Vr r sin θVφ e˜θ Spherical r sin θ ∂φ − ∂r   1 ∂ ∂ + rVθ Vr e˜φ r ∂r − ∂θ  

Physics 504, Physics 504, Spherical Coordinates, continued Spring 2011 Spherical, continued further Spring 2011 Electricity Electricity and and Magnetism Magnetism

1 ∂ ∂ Shapiro Shapiro ~ V~ = (sin θVφ) Vθ e˜r ∇× r sin θ ∂θ − ∂φ   Generalized Generalized 1 ∂ 1 ∂ Coordinates Coordinates Cartesian 2 1 ∂ 2 ∂Φ ∂ ∂Φ Cartesian + Vr (rVφ) e˜θ coords for ED Φ= r sin θ + sin θ coords for ED r sin θ ∂φ − r ∂r Generalized ∇ 2 Generalized   Coordinates r sin θ ∂r ∂r ∂θ ∂θ Coordinates 1 ∂ ∂ Vector Fields ∂ 1 ∂Φ Vector Fields + (rVθ) Vr e˜φ, Derivatives + Derivatives r ∂r − ∂θ Gradient ∂φ sin θ ∂φ Gradient   Velocity of a  Velocity of a 1 ∂ 2 ∂ particle 1 ∂ 2 ∂Φ 1 ∂ ∂Φ particle ~ B~ = r sin θB˜r + r sin θB˜θ Derivatives of = r + sin θ Derivatives of ∇· r2 sin θ ∂r ∂θ Vectors r2 ∂r ∂r r2 sin θ ∂θ ∂θ Vectors Differential     Differential ∂h     Forms 2 Forms ˜ 2-forms 1 ∂ Φ 2-forms + rBφ 3-forms + . 3-forms ∂φ Cylindrical 2 2 2 Cylindrical Polar and r sin θ ∂φ Polar and  i Spherical Spherical 1 ∂ 2 1 ∂ = r B˜r + sin θB˜θ r2 ∂r r sin θ ∂θ  1 ∂   + B˜φ r sin θ ∂φ