Ph · Physics

How Is the Second Covariant Derivative of a Scalar Computed?

Published By the 9to5Science editorial team

At a glance

  1. 1. Differentiate the scalar

    The first covariant derivative of a scalar is its ordinary partial derivative, which is a covector.

  2. 2. Differentiate the covector

    Apply the covariant-derivative rule for a covector; this introduces a Christoffel-symbol term.

  3. 3. Evaluate components

    Compute the second partial derivatives and subtract the connection term for each pair of indices.

  4. 4. Check the result

    For a Levi-Civita connection, the Hessian is symmetric; its metric trace is the scalar Laplacian.

For a scalar field ff, the first covariant derivative is just its partial derivative. But after one derivative, the result has a lower index: it is a covector. Taking a second covariant derivative therefore requires the covector derivative rule, which adds a Christoffel-symbol term.

With the convention that the first index on the derivative is written first, the components are

∇μ∇νf=∂μ∂νf−Γμνλ ∂λf.\nabla_\mu\nabla_\nu f =\partial_\mu\partial_\nu f -\Gamma^\lambda_{\mu\nu}\,\partial_\lambda f.

This is the covariant Hessian of ff. It is a rank-two covariant tensor, not generally just the array of second partial derivatives.

Why a connection term appears

A scalar has no indices, so its first covariant derivative is

∇νf=∂νf.\nabla_\nu f=\partial_\nu f.

Now set Aν=∇νfA_\nu=\nabla_\nu f. The covariant derivative of a covector is

∇μAν=∂μAν−ΓμνλAλ.\nabla_\mu A_\nu =\partial_\mu A_\nu-\Gamma^\lambda_{\mu\nu}A_\lambda.

Substituting Aν=∂νfA_\nu=\partial_\nu f gives the Hessian formula. The minus sign is the one used for a lower (covariant) index. In general relativity, the usual choice is the Levi-Civita connection determined by the metric.

Worked example: f=r2f=r^2 in polar coordinates

Consider the Euclidean plane in polar coordinates (r,θ)(r,\theta), with metric

ds2=dr2+r2dθ2.ds^2=dr^2+r^2d\theta^2.

The nonzero Christoffel symbols needed here are

Γθθr=−r,Γrθθ=Γθrθ=1r.\Gamma^r_{\theta\theta}=-r, \qquad \Gamma^\theta_{r\theta}=\Gamma^\theta_{\theta r}=\frac{1}{r}.

Take f(r,θ)=r2f(r,\theta)=r^2. Its first derivatives are ∂rf=2r\partial_r f=2r and ∂θf=0\partial_\theta f=0. The coordinate second partial derivatives are ∂r2f=2\partial_r^2f=2, ∂r∂θf=0\partial_r\partial_\theta f=0, and ∂θ2f=0\partial_\theta^2f=0.

For the rrrr component, the relevant connection symbols vanish:

∇r∇rf=∂r2f−Γrrλ∂λf=2.\nabla_r\nabla_r f =\partial_r^2f-\Gamma^\lambda_{rr}\partial_\lambda f =2.

For the mixed component,

∇r∇θf=∂r∂θf−Γrθλ∂λf=0,\nabla_r\nabla_\theta f =\partial_r\partial_\theta f-\Gamma^\lambda_{r\theta}\partial_\lambda f =0,

because the only possibly relevant symbol is Γrθθ=1/r\Gamma^\theta_{r\theta}=1/r, and ∂θf=0\partial_\theta f=0. The θr\theta r component is also zero.

For the angular component, the connection term does not vanish:

∇θ∇θf=0−Γθθr∂rf=−(−r)(2r)=2r2.\nabla_\theta\nabla_\theta f =0-\Gamma^r_{\theta\theta}\partial_r f =-(-r)(2r)=2r^2.

Thus, in the coordinate basis (dr,dθ)(dr,d\theta), the Hessian components are

(∇a∇bf)=(2002r2).(\nabla_a\nabla_b f) =\begin{pmatrix}2&0\\0&2r^2\end{pmatrix}.

The nonzero angular component is not a contradiction: tensor components depend on the coordinate basis. In Cartesian coordinates the same Hessian for f=x2+y2f=x^2+y^2 has components 2,22,2 on the diagonal. The polar-coordinate connection term accounts for the changing coordinate basis.

Symmetry and the scalar Laplacian

For a torsion-free connection, such as the Levi-Civita connection, the Hessian of a scalar is symmetric:

∇μ∇νf=∇ν∇μf.\nabla_\mu\nabla_\nu f=\nabla_\nu\nabla_\mu f.

This follows because ordinary partial derivatives commute and the Christoffel symbols are symmetric in their lower indices. If a connection has torsion, this symmetry need not hold.

Contracting the Hessian with the inverse metric gives the scalar Laplacian, also called the Laplace–Beltrami operator:

□f=gμν∇μ∇νf.\Box f=g^{\mu\nu}\nabla_\mu\nabla_\nu f.

In a Lorentzian spacetime this is often written □f\Box f; in a Riemannian setting it is commonly written Δf\Delta f. The sign convention for the metric can affect the displayed operator’s sign, so check the convention used in your text.

Common mistakes

  • Using only second partial derivatives. Those are not tensor components under general coordinate changes. Include the connection term unless it vanishes in the coordinates and at the point being considered.
  • Using the wrong sign. The gradient’s index is lower, so its covariant derivative has a minus Christoffel term.
  • Treating the first derivative as a scalar. ∂νf\partial_\nu f is a covector component, which is why the second differentiation uses the covector rule.
  • Confusing the Hessian with its trace. ∇μ∇νf\nabla_\mu\nabla_\nu f has two indices; gμν∇μ∇νfg^{\mu\nu}\nabla_\mu\nabla_\nu f is the scalar Laplacian.

If you evaluate the Hessian along an affinely parametrized geodesic with tangent uμu^\mu, its contraction uμuν∇μ∇νfu^\mu u^\nu\nabla_\mu\nabla_\nu f equals the second derivative of ff along that geodesic. This is one reason the covariant Hessian is useful in geometry and relativity.

References

  1. General Relativity
  2. Spacetime and Geometry: An Introduction to General Relativity

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.