What happens when you compose harmonic functions with arbitrary maps.
Here are several chain rules for working with the Laplacian on a Riemannian manifold - these come up in several calculations so I want to preserve them somewhere.
A chain rule
Here we start with arbitrary functions E:M→R and g:R→R and compute the laplacian of the composite g∘E.
If E:M→R and g:R→R then the chain rule for the Laplacian is
Δ(g∘E)=g′′∥∇E∥2+g′ΔE
We use the definition in terms of differential forms Δ=⋆d⋆d and work outwards applying one operator at a time.
d(g∘E)=d(g′(E)dE)=g′(E)⋆dEd⋆d(g∘E)=d(g′(E)⋆dE)=d(g′(E))∧⋆dE=g′′dE∧⋆dE+g′(E)d⋆dE+g′(E)d⋆dEWe can simplify the first term using the definition of the hodge dual
dE∧⋆dE=⟨dE,dE⟩vol
where ⟨⋅,⋅⟩ is the Riemannian metric and vol is the Riemannian volume form. The metric on 1-forms is defined in terms of the metric isomorphism from TM to T∗M, so
where ∇E is the gradient vector. Putting this all together,
- (iv) Apply Hodge Star: this pulls through scalars so immediately we get
⋆d⋆d(g∘E)=⋆(g′′(E)∥∇E∥2vol+g′(E)d⋆dE)=g′′(E)∥∇E∥2⋆vol+g′(E)⋆d⋆dEThe dual of the Riemannian volume is the constant function 1 by definition, and ⋆d⋆dE is the Laplacian of E. Thus
Two Variables
A similar computation holds when building a function out of multiple pieces: if X:M→R and Y:M→R are two functions and g:R2→R we can build a single function M→R as their composite:
g(X,Y):p↦g(X(p),Y(p))
The reason such a result might be useful is that it gives a way to build functions on M out of simple pieces (for instance, maybe instead of the abstract functions E and R we work with r and z in cylindrical coordinates, etc).
Similar reasoning to the above lets us calculate Δg(X,Y) here:
If X,Y:M→R and g:R2→R then
Δg(X,Y)=gxx∥∇X∥2+gyy∥∇Y∥2+2gxy⟨∇X,∇Y⟩+gxΔX+gyΔY
First, dg(X,Y)=gx(X,Y)dX+gy(X,Y)dY. The star passes right through the scalar partial derivatives, so
⋆dg(X,Y)=gx(X,Y)⋆dX+gy(X,Y)⋆dY
Differentiating this involves differentiating each of the two terms above; the calculations proceed similarly so we do one and then copy the analogous term:
d(gx⋆dX)=d(gx(X,Y))∧⋆dX+gx(X,Y)d⋆dX=(gxx(X,Y)dX+gxy(X,Y)dY)∧⋆dX+gx(X,Y)d⋆dX=gxx(X,Y)dX∧⋆dX+gxy(X,Y)dY∧⋆dX+gx(X,Y)d⋆dXBy definition of ⋆ we know
dX∧⋆dX=∥dX∥2vol=∥∇X∥2vol
dY∧⋆dX=⟨dY,dX⟩vol=⟨∇X,∇Y⟩vol
Substituting these in (and supressing further copies of the input variables (X,Y) for brevity)
d(gx⋆dX)=gxx∥∇X∥2vol+gxy⟨∇X,∇Y⟩vol+gxd⋆dX
An analogous term occurs for d(gy⋆dY), and putting them together we get the total differential:
d⋆dg(X,Y)=gxx∥∇X∥2vol+gxy⟨∇X,∇Y⟩vol+gxd⋆dX+gyy∥∇Y∥2vol+gyx⟨∇Y,∇X⟩vol+gyd⋆dYApplying the star once more:
⋆(d⋆dg(X,Y))=⋆(gxx∥∇X∥2vol)+⋆(gxy⟨∇X,∇Y⟩vol)+⋆(gxd⋆dX)+⋆(gyy∥∇Y∥2vol)+⋆(gyx⟨∇Y,∇X⟩vol)+⋆(gyd⋆dY)=gxx∥∇X∥2⋆vol+gxy⟨∇X,∇Y⟩⋆vol+gx⋆d⋆dX+gyy∥∇Y∥2⋆vol+gyx⟨∇Y,∇X⟩⋆vol+gy⋆d⋆dY=gxx∥∇X∥2+gxy⟨∇X,∇Y⟩+gxΔX+gyy∥∇Y∥2+gyx⟨∇Y,∇X⟩+gyΔYFinally, realzing the cross terms from each are equivalent (the metric and order of partial differentiation are symmetric) gives our final answer
Δg(X,Y)=gxx∥∇X∥2+gyy∥∇Y∥2+2gxy⟨∇X,∇Y⟩+gxΔX+gyΔY
This formula simplifes in the often-useful case that X and Y have orthogonal level sets (for instance, when choosing X,Y from nice coordinate systems).
If X,Y:M→R are functions with orthogonal level sets and g:R2→R then
Δg(X,Y)=gxx∥∇X∥2+gyy∥∇Y∥2+gxΔX+gyΔY=(gxx,gyy)⋅(∥∇X∥2,∥∇Y∥2)+(gx,gy)⋅(ΔX,ΔY)
Coordinate Computations
The two variable chain rule generalizes directly to arbitrarily many input functions Xi:M→R. One particularly useful case is when a collection {Xi} forms a coordinate patch on M. Then the expression g(X1,…,Xn) is just a ‘coordinate representation’ of our function, and the laplacian chain rule directly gives a formula for the laplacian in these coordinates. Here we record the often-useful case where the coordinates are orthogonal
Let Xi:M→R be a collection of functions for i∈{1,…,n} and g:Rn→R with pairwise orthogonal level sets. Then the composite function
g(X1,…Xn):M→R has laplacian
Δg(X1,…Xn)=∑i=1ngxixi∥∇Xi∥2+gxiΔXi
Example: Euclidean Cartesian
Consider the functions X,Y on the plane R2, where X(x,y)=x and Y(x,y)=y. With respect to the Euclidean metric ∇X and ∇Y are both unit length and orthogonal, thus so are dX and dY (musical isometry). This implies ⋆dX=dY and ⋆dY=−dX as
dX∧⋆dX=⟨dX,dX⟩vol=voldY∧⋆dY=⟨dY,dY⟩vol=vol=dX∧dY=dX∧dY=dY∧(−dX)
This implies the laplacians of X,Y vanish as d2=0:
ΔX=⋆d⋆dX=⋆ddY=0
So, plugging these facts into the chain rule we see
Δg(X,Y)=gxx∥∇X∥2+gyy∥∇Y∥2+gxΔX+gyΔY=gxx⋅(1)+gyy⋅(1)+gx⋅(0)+gy⋅(0)=gxx+gyy
Thus the laplacian in X,Y is just the sum of the second derivatives with respect to each slot of g, as we well know!