Line element


In geometry, the line element or length element can be informally thought of as a line segment associated with an infinitesimal displacement vector in a metric space. The length of the line element, which may be thought of as a differential arc length, is a function of the metric tensor and is denoted by ds
Line elements are used in physics, especially in theories of gravitation where spacetime is modelled as a curved Pseudo-Riemannian manifold with an appropriate metric tensor.

General formulation

Definition of the line element and arclength

The coordinate-independent definition of the square of the line element ds in an n-dimensional Riemannian or Pseudo Riemannian manifold is the "square of the length" of an infinitessimal displacement whose square root should be used for computing curve length:
where g is the metric tensor, · denotes inner product, and dq an infinitesimal displacement on the Riemannian manifold. By parameterising a curve parametrised by a parameter, we can define the arc length of the curve length of the curve between, and is the integral:
To compute a sensible length of curves in pseudo Riemannian manifolds, it is best to assume that the infinitesimal displacements have the same sign everywhere. E.g. in physics the square of a line element along a timeline curve would be negative and the negative square root of the square of the line element along the curve would measure the proper time passing for an observer moving along the curve.
From this point of view, the metric also defines in addition to line element the surface and volume elements etc.

Identification of the square of the line element with the metric tensor

Since is arbitrary "square of the arc length" completely defines the metric, it is therefore usually best to consider the expression for as a definition of the metric tensor itself, written in a suggestive but non tensorial notation:
This identification of the square of arc length with the metric is even more easy to see in n-dimensional general curvilinear coordinates, where it is written as a symmetric rank 2 tensor coinciding with the metric tensor:
Here the indices i and j take values 1, 2, 3,..., n and Einstein summation convention is used. Common examples of Riemannian spaces include three-dimensional space, and indeed four-dimensional spacetime.

Line elements in Euclidean space

Following are examples of how the line elements are found from the metric.

Cartesian coordinates

The simplest line element is in Cartesian coordinates - in which case the metric is just the Kronecker delta:
or in matrix form :
The general curvilinear coordinates reduce to Cartesian coordinates:
so

Orthogonal curvilinear coordinates

For all orthogonal coordinates the metric is given by:
where
for i = 1, 2, 3 are scale factors, so the square of the line element is:
Some examples of line elements in these coordinates are below.

General curvilinear coordinates

Given an arbitrary basis of a space of dimension, the metric is defined as the inner product of the basis vectors.
Where and the inner product is with respect to the ambient space
In a coordinate basis
The coordinate basis is a special type of basis that is regularly used in differential geometry.

Line elements in 4d spacetime

Minkowskian spacetime

The Minkowski metric is:
where one sign or the other is chosen, both conventions are used. This applies only for flat spacetime. The coordinates are given by the 4-position:
so the line element is:

Schwarzschild coordinates

In Schwarzschild coordinates coordinates are, being the general metric of the form:
.
so the line element is:

General spacetime

The coordinate-independent definition of the square of the line element ds in spacetime is:
In terms of coordinates:
where for this case the indices α and β run over 0, 1, 2, 3 for spacetime.
This is the spacetime interval - the measure of separation between two arbitrarily close events in spacetime. In special relativity it is invariant under Lorentz transformations. In general relativity it is invariant under arbitrary invertible differentiable coordinate transformations.