BackGradient
Recall that the covector df acting on the vector v is the directional derivative of f in the direction of v:
df(v)=∇vf, and to calculate the directional derivative, we take the dot product of the gradient ∇f and v:
df(v)=∇vf=∇f⋅v, so df is the dot product of the gradient of f with a vector:
df=∇f⋅_. Recall that we can pair vector v with a covector:
v↔v⋅_, we can pair the gradient ∇f with its covector:
∇f∇f↔∇f⋅_,↔df. To calculate the dot product ∇f⋅_, we use the metric tensor:
df=∇f⋅_=g(∇f,_)=gαβϵαϵβ[(∇f)γeγ]=gαβ(∇f)γϵαϵβ(eγ)=gαβ(∇f)βϵα. Recall, the covector can also be written as follows:
df=∂xα∂fdxα=∂xα∂fϵα=gαβ(∇f)βϵα, implying:
∂xα∂fgαγ∂xα∂f=gαβ(∇f)β,=gαβgαγ(∇f)β=δβγ(∇f)β=(∇f)γ. The gradient may be written as linear combination of its components:
∇f=(∇f)μeμ=gνμ∂xν∂feμ. Consider the 2D Cartesian coordinates where the metric tensor gμν=δμν and gμν=δμν:
∇f=gνμ∂xν∂feμ=δνμ∂xν∂feμ=∂x∂fex+∂y∂fey. But for polar coordinates, the metric tensor is:
gμνgμν=[100r2],=[100r21], then the gradient is equal to:
∇f=gνμ∂xν∂feμ=∂r∂fer+r21∂θ∂feθ.