The Metric Tensor (gi,j): Equipping ℝ³ with the standard Euclidean inner product 〈 • , • 〉, the components of the covariant metric tensor are defined as the pairwise inner products of the tangent basis vectors:
When working in curved spaces or curvilinear coordinates, coordinate grids bend and twist. Because coordinate lines are curved, you cannot simply add two points on a curved surface together like ordinary vectors.
However, if you zoom in extremely closely on a single point P, any smooth curved surface or space looks flat. The tangent space at point P, denoted TPM (or TPℝ³ when working in 3D space), is the flat vector space formed by all possible velocity vectors of smooth curves passing through P.
Coordinate Curves: If you hold all curvilinear coordinates constant except one (qi), the position vector r(q¹, q², q³)
traces out a 1D curve in space called the qi-coordinate curve.
Natural Basis Vectors: Taking the partial derivative\( \displaystyle \quad \mathbf{e}_i = \frac{\partial \mathbf{r}}{\partial q^i} \quad \)
gives the velocity vector tangent to that specific coordinate curve at P.
Spanning the Space: As long as the coordinate system is non-degenerate, the set of tangent vectors { e₁, e₂, e₃ }
is linearly independent. Together, they form a local basis for the tangent space TPℝ³, allowing us to attach a flat Euclidean vector space (and an inner product) at every point P.
Example 1:
To show that tangent spaces genuinely depend on the point P—and that basis vectors can change length and direction—consider a 2D torus (donut) embedded in ℝ³.
Let R
be the major radius (from the center of the hole to the center of the tube) and r
be the minor radius (the radius of the tube itself), with 0 < r < R. We parametrize the surface using two curvilinear coordinates (φ, θ):
Here, θ ∈ [0, 2π)
measures the angle around the tube, and φ ∈ [0, 2π)
measures the angle around the central axis.
Finding the Tangent Basis Vectors:
At any point P(θ, φ)
on the torus, the tangent space TPT²
is a 2D flat plane resting against the donut at P. Its basis is spanned by two partial derivative vectors:
Poloidal tangent vector (eθ): Differentiating with respect to θ
gives a vector pointing along the small cross-sectional circle of the tube:
Position-Dependent Geometry: Every point P
has its own distinct tangent plane TPT²
tilted at a different angle in 3D space. A tangent vector at the top of the torus cannot be directly added to a tangent vector on the outer rim without first transporting it.
Varying Basis Lengths (Metric Preview): Using the standard ℝ³
dot product to measure the lengths of these basis vectors reveals:
On the outer equator (θ = 0), ∥eφ∥ = R + r (longest). On the inner equator (θ = π), ∥eφ∥ = R − r
(shortest). Even though 〈eθ , eφ⟩ = 0
everywhere (making it an orthogonal coordinate system), the local stretching of space changes from point to point—which directly motivates why we need the metric tensor gi,j
in Theorem 1!
Theorem 1 (Properties of the Metric Tensor):
Let { e₁, e₂, e₃ }
be a basis for the tangent space TPℝ³. The metric tensor G = { gi,j }
satisfies:
Symmetry:gi,j = gj,i
(inherited from the symmetry of the inner product).
1. Proof of Symmetry.
By definition, the real Euclidean inner product is symmetric, meaning 〈u ∣ v〉 = 〈v ∣ u〉
for all vectors v, u ∈ ℝ³. Applying this property directly to the basis vectors yields:
2. Proof of Positive Definiteness.
Let\( \displaystyle \quad \mathbf{v} = \sum_{i=1}^3 \, v^i \,\mathbf{e}_i \quad \)
be any nonzero vector in TPℝ³. Using the bilinearity of the inner product, we expand
Strict Positivity: Because { e₁, e₂, e₃ }
is a basis, v ≠ 0
if and only if at least one component vⁱ ≠ 0. By the positive-definiteness axiom of the inner product, 〈v ∣ v〉 > 0 whenever v ≠ 0. In matrix notation, for any column vector v = [v¹, v², v³]ᵀ ≠ 0:
Positive Determinant: Because G
is a real, symmetric, positive-definite matrix, all of its eigenvalues λ₁, λ₂, λ₃
are strictly positive (λₖ > 0). Since the determinant of a matrix is the product of its eigenvalues, we conclude:
(Alternative argument via Jacobian: Let\( \displaystyle \quad J = \left[ \frac{\partial x^k}{\partial q^i} \right] \quad \)
be the Jacobian matrix of the coordinate transformation. Then\( \displaystyle \quad g_{i,j} = \sum_{k=1}^3 \, \frac{\partial x^k}{\partial q^i} \cdot \frac{\partial x^k}{\partial q^j} , \quad \)
, so G = JTJ
. Taking determinants gives det(G) = det(JT)·det(J) = (det(J))² > 0
since the coordinate map is locally invertible.)
3. Proof of the Arc Length Element.
Consider an infinitesimal displacement dr
resulting from small coordinate increments (dq¹, dq², dq³). By the multivariable chain rule (total differential), we expand dr:
The infinitesimal squared arc length
is defined by the inner product of dr
with itself. Substituting the expansion above and applying bilinearity gives:
Part 2 is a direct application of Gram matrices. Whenever you take any basis of an inner product space and form the matrix of pairwise inner products gi,j = 〈ei , ej〉, the resulting Gram matrix is guaranteed to be symmetric and positive definite.
Example 2:
Consider the coordinate transformation from curvilinear coordinates (u, v, z)
to Cartesian coordinates (x, y, z)
defined on the upper half-plane (v > 0):
Geometrically, curves of constant v
are horizontal lines, while curves of constant u
are parabolas x = u + y²
that tilt as v
increases—so the coordinate grid lines do not meet at right angles.
Step 1: Compute the Tangent Basis Vectors.
Taking partial derivatives of r(u, v, z)
gives the natural basis vectors at any point P(u, v, z):
Step 3: Verify Positive Definiteness (Part 2).
Let v = c¹eu + c³ev + c³ez
be any tangent vector with components c = [c¹, c², c³]T. Computing the quadratic form cᵀGc:
Since each term is a square, 〈v ∣ v〉 ≥ 0, and it equals zero only when c³ = 0, c² = 0, andc¹ + 2v(0) = 0 ⇒ c¹ = 0. Furthermore, computing the determinant gives:
In illustrative plot of the skewed coordinate grid, horizontal green dashed lines represent curves of constant v, while blue dashed parabolas represent curves of constant u. At the point P(u = 0, v = 1) ⇒ (x = 1, y = 1), the tangent vectors eu = (1, 0) and ev = (2, 1)
clearly form an acute angle (α &approx 26.6° ≠ 90°), visually explaining why the off-diagonal metric component guv = 〈eu ∣ ev〉 = 2v ≠ 0.
■
End of Example 2
Theorem 2 (Orthogonal Curvilinear Coordinates & Scale Factors):
A curvilinear coordinate system is orthogonal if and only if the metric tensor G is diagonal (gi,j = 0 for i ≠ j). In this case:
Scale Factors (hi): The lengths of the tangent vectors are defined as
Volume Element: The Jacobian determinant\( \displaystyle \quad J = \det\left( \frac{\partial \mathbf{r}}{\partial q^i} \right) \quad \) satisfies\( \displaystyle \quad J = \sqrt{\det (G)} = h_1 h_2 h_3 , \quad \) yielding the volume element dV = h₁h₂h₃dq¹q²q³.
Preliminaries: Equivalence of Orthogonality and Diagonal.
By definition, a coordinate system is orthogonal at point P
if its coordinate curves intersect at right angles, meaning distinct tangent basis vectors are mutually perpendicular:
\[
\mathbf{e}_i \perp \mathbf{e}_j \qquad \mbox{for all } i \ne j .
\]
In an inner product space, two vectors are perpendicular if and only if their inner product vanishes. Since gi,j = 〈ei ∣ ej〉, we immediately have:
Hence, G = diag(g₁₁, g₂₂, g₃₃)
is a diagonal matrix.
1. Proof of Scale Factors.
In any inner product space, the Euclidean norm (length) of a vector v
is induced by the inner product via\( \displaystyle \quad \|\mathbf{v}\| = +\sqrt{\langle \mathbf{v} \mid \mathbf{v}\rangle}. \quad \) Applying this to the i-th tangent basis vector ei yields:
Because { e₁, e₂, e₃ }
is a basis, no basis vector can be the zero vector (ei ≠ 0), which guarantees gii > 0
and therefore hi > 0.
2. Proof of the Orthonormal Basis.
Define the normalized vectors\( \displaystyle \quad \hat{\bf e}_i = \frac{1}{h_i}\,\mathbf{e}_i \quad \)
for i = 1, 2, 3.
Using the bilinearity of the inner product, we compute the pairwise inner products \( \displaystyle \quad \left\langle \mathbf{e}_i \mid \mathbf{e}_j \right\rangle : \)
Combining both cases gives\( \displaystyle \quad \left\langle \hat{\bf e}_i \mid \hat{\bf e}_j \right\rangle = \delta_{i,j} \ \)
(the Kronecker delta), proving that\( \displaystyle \quad \left\{ \hat{\bf e}_1 , \hat{\bf e}_2 , \hat{\bf e}_3 \right\} \quad \)
is a local orthonormal basis.
3. Proof of the Volume Element,
Consider an infinitesimal curvilinear coordinate box spanned by the three displacement vectors dr₁ = e₁dq¹, dr₂ = e₂dq², and dr₃ = e₃dq³ (assuming positive increments dqi > 0).
Geometric Derivation (via Orthogonality): Because e₁, e₂, e₃
are mutually orthogonal, this infinitesimal parallelepiped is a rectangular box whose edge lengths are:
Algebraic Connection to det(G): Recall from multivariable calculus that the volume element is given by the absolute value of the Jacobian determinant, dV = |det(J)| dq¹dq²dq³, where\( \displaystyle \quad J = \left[ \frac{\partial\mathbf{r}}{\partial q^1} \ \frac{\partial\mathbf{r}}{\partial q^2} \ \frac{\partial\mathbf{r}}{\partial q^3} \right]\quad \)
has the tangent vectors ei
as its columns. Since G = JᵀJ
, taking determinants yields:
so\( \displaystyle \quad |\det IJ)| = \sqrt{\det (G)} . \quad \)
When G = diag(g₁₁, g₂₂, g₃₃) = diag(h21h22h23), its determinan is the product of its diagonal entries:
In an orthogonal curvilinear system, advancing each coordinate by an infinitesimal increment dqi
traces three mutually perpendicular arc segments of physical lengths ds₁ = h₁dq¹, ds₂ = h₂dq², and ds₃ = h₃dq³,
. Because the local basis vectors
meet at right angles, the resulting infinitesimal region approximates a rectangular box whose volume is the product of its three physical edge lengths.
Example 3:
Consider the coordinate transformation from elliptic cylindrical coordinates (u, v, z)
to Cartesian coordinates (x, y, z)
with focal distance parameter 𝑎 > 0, defined for u > 0, v ∈ [0, 2π), and z ∈ ℝ.
\[
\mathbf{r}(u, v, z) = \left( a\,\cosh u\,\cos v, \ a\,\sinh u\,\sin v , \ z \right) .
\]
Curves of constantu
are confocal ellipses\( \displaystyle \quad \frac{x^2}{a^2\,\cosh^2 u} + \frac{y^2}{a^2\,\sinh^2 u} = 1 \quad \) with foci at (±𝑎, 0).
Curves of constantv
are confocal hyperbolas\( \displaystyle \quad \frac{x^2}{a^2\,\cos^2 v} - \frac{y^2}{a^2\,\sin^2 v} = 1 \quad \)
sharing the exact same foci.
Step 1: Natural Tangent Basis Vectors.
Taking partial derivatives of r(u, v, z)
with respect to u, v, z
yields:
Clearly guz = 〉eu ∣ ez〉 = 0 and gvz = 〉ev ∣ ez〉 = 0. Because all off-diagonal entries vanish, G
is diagonal and the confocal ellipses and hyperbolas intersect at exact right angles everywhere.
Step 3: Scale Factors (\( \displaystyle \quad h_i = \sqrt{g_{i,i}} \) ) and Orthonormal Basis.
Computing the diagonal metric components
\begin{align*}
g_{uu} &= a^2 \sinh^2 u\,\cos^2 v + a^2 \cosh^2 u\,\sin^2 v = a^2 \left( \sinh^2 u + \sin^2 v \right) ,
\\
g_{vv} &= a^2 \cosh^2 u\,\sin^2 v + a^2 \sinh^2 u\,\sin^2 v = a^2 \left( \sinh^2 u + \sin^2 v \right) ,
\\
g_{zz} &= 1 .
\end{align*}
(Note: Using cosh²u − sinh²u = 1 and cos² + sin²v = 1, we simplify sinh²u )1 − sin²v) + (1 + sinh²u) sin²v = sinh²u + sin²v.)
Taking square roots gives the three scale factors:
Even though the coordinate grid curves smoothly around the foci, the local area of each grid cell in the xy-plane is simply dA = huhv dudv = 𝑎²(sinh²u + sin²v) du dv.
Illustrative Plot: Confocal Ellipses, Hyperbolas, and Orthonormal Frame.
The diagram below shows confocal ellipses (u = constant) and confocal hyperbolas (v = constant) for 𝑎 = 1.5. At P(u₀ = 0.7, v₀ = π/4), the unit vectors\( \displaystyle \quad \hat{\bf e}_u \quad\mbox{and} \quad \hat{\bf e}_v \quad \) are perpendicular and tangent to the intersecting curves.
Theorem 3 (Differential Operators via Inner Products):
In any orthogonal curvilinear system with scale factors (h₁, h₂, h₃), the fundamental operators of vector calculus are uniquely determined by the metric:
1. Proof of the Gradient
By the coordinate-free definition of the gradient, ∇ f,
is the unique vector field satisfying df = 〈∇f , dr〉
for every infinitesimal displacement dr.
Expand ∇f
in the local orthonormal basis as\( \displaystyle \quad \nabla f = c_1 \hat{\bf e}_1 + c_2 \hat{\bf e}_2 + c_3 \hat{\bf e}_3 . \quad \) From Theorem 2, the infinitesimal displacement vector is\( \displaystyle \quad {\text d}\mathbf{r} = \sum_{i=1}^3 \,h_i {\text d}q^i \hat{\bf e}_i . \quad \) Taking the inner product gives:
Since the increments dq¹, dq², dq³
are independent, we equate coefficients to obtain\( \displaystyle \quad c_i h_i = \frac{\partial f}{\partial q^i} \quad \mbox{or} \quad c_i = \frac{1}{h_i}\,\frac{\partial f}{\partial q^i} .\quad \)
Substituting these components back into ∇f
yields:
Apply the product rule ∇ • (ϕA) = 〈ϕ , A〉 + ϕ(∇ • A)
with ϕ = F₁h₂h₃
and A = ∇q² × ∇q³. Notice that ∇ • (∇q² × ∇q³) = 0
because the curl of any gradient vanishes:
Thus, only the first term survives. Expanding ∇(F₁h₂h₃
via Part 1 and replacing \( \displaystyle \quad \nabla q^2 \times \nabla q^3 = \frac{\hat{\bf e}_1}{h_2 h_3} \quad \)
gives:
3. Proof of the Curl.
Using\( \displaystyle \quad \hat{\bf e}_1 = h_1 \nabla q^1 , \quad \)
, rewrite the first term of F
as\( \displaystyle \quad F_1 \hat{\bf e}_1 = \left( h_1 F_1 \right) \nabla q^1 . \quad \) Apply the vector product rule ∇ × (ϕA) = *nabla;ϕ × A + ϕ(∇ × A) with ϕ = h₁F₁ and A = ∇q¹. Since ∇ × ∇q¹ = 0, this simplifies to:
Factoring out (h₁h₂h₃)−1 reproduces the compact determinant expansion in Theorem 3(3).
4. Proof of the Laplacian.
By definition, the scalar Laplacian is the divergence of the gradient: &nabla²f = ∇ • (∇f). Set F = ∇f, whose components from Part 1 are:
Note:
Classical textbooks often prove divergence and curl using flux integrals over infinitesimal boxes and circulation around infinitesimal loops (requiring careful Taylor expansions on opposite faces). Using the coordinate gradients
makes the proof purely algebraic, exact, and free of higher-order remainder terms.
Example 4:
Consider parabolic cylindrical coordinates (σ, τ, z)
defined for σ > 0, τ ∈ ℝ, and z ∈ ℝ
via:
Coordinate Geometry: Surfaces of constant σ and τ
are orthogonal families of confocal parabolic cylinders opening upward and downward along the y-axis.
Part 2: Divergence and Curl of a Vector Field.
Consider a swirling, radially expanding vector field expressed directly in the local orthonormal basis \( \displaystyle \quad \left\{ \hat{\bf e}_\sigma , \ \hat{\bf e}_\tau , \ \hat{\bf e}_z \right\} : \)