We first finish up the derivation of Laplacian last time. See the lecture note 2020-02-07, Friday. Then, we review three concepts df,∇f,∇⋅V (∇×V is a bit special for R3).
Then, we will follow Boas 10.8 and 10.9, to reconcilliate the math notation and physics notations.
Differential of a function is a 1-form (covector field)
In Cartesian coordinate, the differential of a function f is
df=i∑∂xi∂fdxi.
In general coordinate (u1,⋯,un), the differential of a function f is
df=i∑∂ui∂fdui.
You can specify the differential of a function directly: df at a point p∈Rn is a linear function on TpRn, df(p)∈(TpRn)∗. It does the following
df(p):vp↦vp(f),vp∈TpRn
where vp(f) is the directional derivative of f along vp.
Gradient of a function (is a vector field)
In Cartesian coordinate, the gradient of a function is
grad f=i∑∂xi∂f∂xi∂.
In general coordinate, the gradient of a function is more complicated
grad f=i,j∑gij∂ui∂f∂uj∂,
where gij is the entry of the inverse matrix of the matrix [gkl]. And it just happens that, for Cartesian coordinate, gij=δij.
Note that gij and gij depends on the coordinate system.
gij=g(∂ui∂,∂uj∂),gij=g∗(dui,duj).
Beware that $\nabla u_i \neq \frac{\d}[\d u_i}$.
Notation ∇f= grad f.
Divergence of a Vector field (is a function)
Let Rn be the flat space, with standard coordinates (x1,⋯,xn).
Let V be a vector field on Rn, that is, for each point p∈Rn, we specify a tangent vector
V(p)=i=1∑nVi(p)∂i∈TpRn.
We require that Vi(p) varies smoothly with respect to p.
The divergence of V is a function on Rn,
div(V)=i=1∑n∂i(Vi)
recall that Vi is a function on Rn, and ∂i is taking the partial derivative with respect to xi.
Notation ∇⋅V=div(V).
What does divergence mean? Geometrically, it measure the relative change-rate of the volume of an infinitesimal cube situated at point p. Suppose Φt:Rn→Rn is the flow generated by V (every point moves as dictated by V). And let C=C(p,ϵ) be a cube of side-length ϵ, center at p.
Then, we have the geometrical interpretation as
div(V)=ϵ→0limVol(C)1dtdVol(Φt(C))∣t=0.
That is why, if S⊂Rn is an open domain, we can compute the change-rate of the volume of S by
dtdVol(Φt(S))∣t=0=∫Sdiv(V)(x)dVol(x).
In curvilinear coordinate.
The formula for computing the divergence is the following, suppose V=∑iVi∂ui∂, then
div(V)=i=1∑n∣g∣1∂ui∂(∣g∣Vi)
The reason we have the above formula is that , for any compactly supported function φ1), we have
∫Rn(∇⋅V)φ∣g∣du1⋯dun=∫RnV⋅(∇φ)∣g∣du1⋯dun
Back to Boas
Section 10.8
For Cartesian coordinate, we have basis vectors i,j,k.
For spherical coordinate, we have unit basis vectors er,eθ,eϕ, and corresponding coordinate basis vectors ar,aθ,aϕ (not unit length). These an corresponds to our coordinate basis tangent vectors:
ar=∂r∂,aθ=∂θ∂,⋯
See Example 2 on page 523, for how to consider a general curvilinear coordinate (x1,x2,x3) on R3.
The notation ds corresponds to
i=1∑n∂xi∂⊗dxi∈(TpRn)⊗(TpRn)∗.
An element T in V⊗V∗ can be viewed as a linear operator V→V, by inserting v∈V to the second slot of T. In this sense ds is the identity operator on TpRn. You might have seen in Quantum mechanics the bra-ket notation 1=∑n∣n⟩⊗⟨n∣2) It is the same thing, where ∣n⟩∈V forms a basis and ⟨n∣∈V∗ are the dual basis.
Orthogonal coordinate system (ortho-curvilinear coordinate) , the matrix gij is diagonal, with entries hi2 (not to be confused with our notation for dual basis). This is
the case we will be considering mainly.
Section 10.9
Suppose we have orthogonal coordinate system (x1,x2,x3), and unit basis vectors ei, we have
ai=∂xi∂=hiei.
Given a vector field V, we write its component in the basis of ei (warning! this is not our usual notation, we usual write with basis ∂xi∂)
V=i∑Viei.
Divergence.
Try to do problem 1.
An important property is the “Leibniz rule”
∇⋅(fV)=∇f⋅V+f∇⋅V.
Curl
To compute the curl, we note the following rule
∇×(fV)=∇(f)×V+f∇×V
and
∇×∇f=0.
In the ortho-curvilinear coordinate, we can use the above rule to get a formula for the curl. I will not test on the curl operator in the orthocurvilinear case.