Mathematics / Tensor Analysis Differential Invariants & Curvature Tensors 100% Free Open Access
Chapter 1 • Theory & Derivations

Coordinates, Index Notation, Summation Convention & Affine Spaces

Foundations of tensor calculus: $n$-dimensional Euclidean and affine spaces, Einstein summation convention, dummy and free index discipline, the generalized Kronecker delta $\delta^i_j$, Levi-Civita permutation pseudo-tensors $\epsilon_{ijk}$ and $\epsilon^{ijk}$, coordinate transformations, and transformation laws for contravariant vectors $A^i$ and covariant vectors $B_i$.

§1.1Curvilinear Coordinates, Scale Factors & Coordinate Transformations

1. Curvilinear Coordinate Systems in $\mathbb{R}^n$

Let $\mathbb{R}^n$ denote $n$-dimensional Euclidean space equipped with standard rectangular Cartesian coordinates $(x^1, x^2, \dots, x^n)$. A system of curvilinear coordinates $(\bar{x}^1, \bar{x}^2, \dots, \bar{x}^n)$ is introduced by establishing a set of $n$ invertible, single-valued, continuously differentiable functions:

$$x^i = x^i(\bar{x}^1, \bar{x}^2, \dots, \bar{x}^n), \qquad (i = 1, 2, \dots, n)$$

Definition 1.1 (Regular Coordinate Transformation & Jacobian): A coordinate transformation is said to be regular (admissible) in an open domain $\mathcal{U} \subseteq \mathbb{R}^n$ if:

• The functions $x^i(\bar{x}^1, \dots, \bar{x}^n)$ possess continuous partial derivatives of class at least $C^2$.

• The Jacobian determinant $J$ does not vanish at any point of $\mathcal{U}$:

$$J = \frac{\partial(x^1, x^2, \dots, x^n)}{\partial(\bar{x}^1, \bar{x}^2, \dots, \bar{x}^n)} = \det\left( \frac{\partial x^i}{\partial \bar{x}^j} \right) \ne 0$$

By the Inverse Function Theorem, non-vanishing of $J$ guarantees the existence of a unique, continuously differentiable local inverse transformation:

$$\bar{x}^j = \bar{x}^j(x^1, x^2, \dots, x^n), \qquad (j = 1, 2, \dots, n)$$

satisfying the inverse Jacobian relationship:

$$\det\left( \frac{\partial \bar{x}^j}{\partial x^i} \right) = \frac{1}{J} \ne 0$$

2. Coordinate Curves and Coordinate Surfaces

Fixing all new coordinates except one defines a coordinate curve:

  • $i$-th Coordinate Curve: The locus of points where $\bar{x}^j = c^j$ (constant) for all $j \ne i$, parameterized solely by $\bar{x}^i$.
  • $i$-th Coordinate Surface: The locus of points where $\bar{x}^i = c^i$ (constant), while the remaining $n-1$ coordinates vary freely.

The intersection of $n-1$ coordinate surfaces forms a single coordinate curve.


3. Tangent Basis Vectors and Lamé Scale Factors

Let $\mathbf{r} = \mathbf{r}(x^1, \dots, x^n)$ denote the position vector of an arbitrary point in $\mathbb{R}^n$. Under the transformation to curvilinear coordinates $\bar{x}^i$, the tangent vector to the $i$-th coordinate curve is:

$$\mathbf{e}_i = \frac{\partial \mathbf{r}}{\partial \bar{x}^i} = \sum_{k=1}^n \frac{\partial x^k}{\partial \bar{x}^i} \hat{\mathbf{i}}_k$$

Definition 1.2 (Scale Factors / Lamé Coefficients): The scale factor $h_i$ associated with coordinate $\bar{x}^i$ is the magnitude of the natural tangent vector $\mathbf{e}_i$:

$$h_i = \|\mathbf{e}_i\| = \sqrt{\mathbf{e}_i \cdot \mathbf{e}_i} = \sqrt{\sum_{k=1}^n \left( \frac{\partial x^k}{\partial \bar{x}^i} \right)^2}$$

The corresponding unit tangent vector is $\hat{\mathbf{e}}_i = \frac{\mathbf{e}_i}{h_i}$.

A curvilinear coordinate system is orthogonal if the coordinate curves intersect at right angles at every point, which occurs if and only if:

$$\mathbf{e}_i \cdot \mathbf{e}_j = 0 \qquad \text{for all } i \ne j$$

§1.2Einstein Summation Convention & The Kronecker Delta

1. The Einstein Summation Convention

In 1916, Albert Einstein introduced a concise notational convention to streamline tensor calculations.

Axiom 1.1 (Einstein Summation Convention): Whenever an index appears twice in a single monomial term—once as a superscript (upper index) and once as a subscript (lower index)—summation over that repeated index is automatically implied over its complete allowable range (typically $1, 2, \dots, n$), without writing the summation symbol $\sum$:

$$A^i B_i \equiv \sum_{i=1}^n A^i B_i = A^1 B_1 + A^2 B_2 + \dots + A^n B_n$$
Rigorous Rules Governing Index Balancing:
  1. Dummy (Umbral) Indices:

An index that appears once as a superscript and once as a subscript in a term is a dummy index. A dummy index can be freely replaced by any unused letter without altering the mathematical meaning:

$$A^i B_i = A^k B_k = A^\alpha B_\alpha$$
  1. Free Indices:

An index that appears only once in a term is a free index.

  • Every term in a valid tensor equation must contain the exact same free indices at the exact same height (upper or lower).
  • If an equation has $p$ free indices, it represents a system of $n^p$ separate scalar equations.
  1. Index Multiplicity Prohibition:

An index must never appear more than twice in any single term. An expression such as $A^i B_i C^i$ is mathematically meaningless and strictly forbidden in tensor calculus.


2. The Kronecker Delta Symbol

The mixed Kronecker delta $\delta_j^i$ is defined by:

$$\delta_j^i = \begin{cases} 1 & \text{if } i = j \\ 0 & \text{if } i \ne j \end{cases}$$
Algebraic Properties of the Kronecker Delta:
  1. Substitution / Sifting Property:

Contraction with the Kronecker delta replaces the contracted index:

$$\delta_j^i A^j = A^i, \qquad \delta_j^i B_i = B_j, \qquad \delta_j^i T^j_{\; k} = T^i_{\; k}$$
  1. Trace / Dimensionality Property:

Summing over both indices yields the dimension $n$ of the underlying space:

$$\delta_i^i = \delta_1^1 + \delta_2^2 + \dots + \delta_n^n = 1 + 1 + \dots + 1 = n$$
  1. Chain Rule Inversion:

For any regular coordinate transformation $x^i \leftrightarrow \bar{x}^j$:

$$\frac{\partial x^i}{\partial \bar{x}^k} \frac{\partial \bar{x}^k}{\partial x^j} = \frac{\partial x^i}{\partial x^j} = \delta_j^i, \qquad \frac{\partial \bar{x}^i}{\partial x^k} \frac{\partial x^k}{\partial \bar{x}^j} = \delta_j^i$$

§1.3Space of n-Dimensions, Affine Spaces & Jacobian Transitions

1. Spaces of $n$-Dimensions ($V_n, E_n, R_n$)

In differential geometry and physics, we distinguish between three fundamental mathematical structures:

  1. Affine Space ($A_n$): A geometric space consisting of points where parallel displacement and linear combinations of displacement vectors are defined, but no intrinsic concept of angle or metric length exists.
  2. Euclidean Space ($E_n$): An affine space equipped with a constant, positive-definite metric tensor (in Cartesian coordinates, $g_{ij} = \delta_{ij}$).
  3. Riemannian Space ($R_n$ or $V_n$): A differentiable manifold equipped with a position-dependent metric tensor $g_{ij}(x)$, where distance along curves is defined by $ds^2 = g_{ij}(x) dx^i dx^j$.

2. Jacobian Matrix of Coordinate Transitions

Consider two overlapping coordinate charts $x^i$ and $\bar{x}^j$ covering an open region $\mathcal{U} \subseteq V_n$. The transition between charts is governed by the Jacobian transition matrix:

$$\Lambda^i_{\; j} = \frac{\partial x^i}{\partial \bar{x}^j}, \qquad (\Lambda^{-1})^j_{\; k} = \frac{\partial \bar{x}^j}{\partial x^k}$$

Their matrix product satisfies identity:

$$\Lambda^i_{\; j} (\Lambda^{-1})^j_{\; k} = \frac{\partial x^i}{\partial \bar{x}^j} \frac{\partial \bar{x}^j}{\partial x^k} = \delta^i_k$$

Theorem 1.1 (Transformation of Volume Elements): Let $d^n x = dx^1 dx^2 \cdots dx^n$ denote the differential coordinate volume element in the $x^i$ frame, and $d^n \bar{x} = d\bar{x}^1 \cdots d\bar{x}^n$ in the $\bar{x}^j$ frame. Then:

$$d^n x = |J| \, d^n \bar{x} = \left| \det\left( \frac{\partial x^i}{\partial \bar{x}^j} \right) \right| d^n \bar{x}$$

Volume elements do not transform as scalar invariants, but rather as scalar densities of weight $-1$.

§1.4Contravariant Vectors vs Covariant Vectors (Covectors / 1-Forms)

1. Contravariant Vectors (Tangent Vectors)

Consider the differential displacement vector between two neighboring points $P(x^i)$ and $Q(x^i + dx^i)$. By the multi-variable chain rule:

$$d\bar{x}^i = \frac{\partial \bar{x}^i}{\partial x^j} dx^j$$

Definition 1.3 (Contravariant Vector): A set of $n$ quantities $A^1, A^2, \dots, A^n$ defined at a point $P$ constitutes the components of a contravariant vector (or tensor of rank $(1, 0)$) if, under an arbitrary regular coordinate transformation $x^i \to \bar{x}^i$, its components transform according to the direct Jacobian law:

$$\bar{A}^i = \frac{\partial \bar{x}^i}{\partial x^j} A^j$$

The superscript indicates that the components transform with the partial derivatives of the new coordinates with respect to the old coordinates (in the same manner as coordinate differentials $dx^i$).

  • Physical Examples: Velocity vector $v^i = \frac{dx^i}{dt}$, acceleration vector $a^i = \frac{d^2 x^i}{dt^2}$, displacement $dx^i$, current density 4-vector $J^\mu$.

2. Covariant Vectors (Covectors / Differential 1-Forms)

Consider a scalar field $\phi(x^1, \dots, x^n)$ that is invariant under coordinate changes ($\bar{\phi}(\bar{x}) = \phi(x)$). Computing the gradient components via the chain rule:

$$\frac{\partial \bar{\phi}}{\partial \bar{x}^i} = \frac{\partial \phi}{\partial x^j} \frac{\partial x^j}{\partial \bar{x}^i}$$

Definition 1.4 (Covariant Vector / Covector): A set of $n$ quantities $B_1, B_2, \dots, B_n$ defined at a point $P$ constitutes the components of a covariant vector (or covector, 1-form, tensor of rank $(0, 1)$) if, under an arbitrary regular coordinate transformation $x^i \to \bar{x}^i$, its components transform according to the inverse Jacobian law:

$$\bar{B}_i = \frac{\partial x^j}{\partial \bar{x}^i} B_j$$

The subscript indicates that the components transform with the partial derivatives of the old coordinates with respect to the new coordinates (in the inverse manner to coordinate differentials).

  • Physical Examples: Gradient of a scalar potential $\nabla_i \phi = \frac{\partial \phi}{\partial x^i}$, electromagnetic 4-potential $A_\mu$, normal vector to a hypersurface $n_i = \partial_i f$.

``` Geometric Duality of Vectors and Covectors

Contravariant Vector Aⁱ Covariant Vector Bᵢ (Tangent Arrow) (Stack of Hyperplanes) ▲ │ │ │ │ / │ │ │ │ / vⁱ = dxⁱ/dt │ │ │ │ • ▼ ▼ ▼ ▼ Direction of displacement Rate of variation / gradient Transforms via ∂x̄ⁱ/∂xʲ Transforms via ∂xʲ/∂x̄ⁱ ```

§1.5Invariance of the Inner Product & Interactive Transformation Engine

1. Invariance of the Inner Product (Contraction of Vector and Covector)

A central postulate of tensor calculus is that physical quantities must not depend on the arbitrary choice of coordinates.

Theorem 1.2 (Scalar Invariance of Contraction): Let $A^i$ be a contravariant vector and $B_i$ be a covariant vector at point $P$. Then the contraction:

$$\Phi = A^i B_i = A^1 B_1 + A^2 B_2 + \dots + A^n B_n$$

is an absolute scalar invariant under all regular coordinate transformations:

$$\bar{\Phi} = \bar{A}^i \bar{B}_i = A^j B_j = \Phi$$

Proof: Transform each vector according to its definition:

$$\bar{A}^i = \frac{\partial \bar{x}^i}{\partial x^j} A^j, \qquad \bar{B}_i = \frac{\partial x^k}{\partial \bar{x}^i} B_k$$

Form the contracted product in the new coordinate system:

$$\bar{A}^i \bar{B}_i = \left( \frac{\partial \bar{x}^i}{\partial x^j} A^j \right) \left( \frac{\partial x^k}{\partial \bar{x}^i} B_k \right) = \left( \frac{\partial \bar{x}^i}{\partial x^j} \frac{\partial x^k}{\partial \bar{x}^i} \right) A^j B_k$$

By the chain rule identity:

$$\frac{\partial x^k}{\partial \bar{x}^i} \frac{\partial \bar{x}^i}{\partial x^j} = \frac{\partial x^k}{\partial x^j} = \delta^k_j$$

Substituting this Kronecker delta:

$$\bar{A}^i \bar{B}_i = \delta^k_j A^j B_k = A^j (\delta^k_j B_k) = A^j B_j$$

The value of $\Phi$ is identical in all coordinate systems. $\blacksquare$


2. Interactive Coordinate Transformation & Dual-Frame Engine

The simulation below provides a real-time laboratory for coordinate geometry:

  • Continuous Transformation Control: Switch seamlessly between Cartesian, Polar $(r, \theta)$, and Oblique Shear $(u, v)$ frames.
  • Dual Basis Inspector: Observe the natural tangent vectors $\mathbf{e}_1, \mathbf{e}_2$ alongside the dual reciprocal covectors $\mathbf{e}^1, \mathbf{e}^2$.
  • Metric Verification: Real-time calculation of $g_{ij} = \mathbf{e}_i \cdot \mathbf{e}_j$ and verification that $\mathbf{e}_i \cdot \mathbf{e}^j = \delta_i^j$.
2D Curvilinear Coordinate Transformations & Basis Vectors Engine
60 FPS Real-Time Canvas Engine
Interact with curvilinear coordinate transformations across Cartesian, Polar, Elliptic, and Hyperbolic coordinate systems. Drag points to dynamically observe the contravariant tangent basis vectors $\mathbf{e}_i = rac{\partial \mathbf{r}}{\partial x^i}$ and covariant normal dual covector basis $\mathbf{e}^i = abla x^i$ with live metric component calculations.

Rigorous Tiered Solved Examination Problems

Step-by-step unskipped derivations, complete proofs, and verification across Foundational, Advanced, and Honors tiers.

Foundational Level

Problem 1.1: Problem 1.1: Vector Component Transformations under 2D Rotation and Shear

Consider the two-dimensional Cartesian plane with coordinates $(x^1, x^2) = (x, y)$.

  1. A new coordinate system $(\bar{x}^1, \bar{x}^2)$ is obtained by rotating the axes counterclockwise by an angle $\theta$:
$$\bar{x}^1 = x^1 \cos\theta + x^2 \sin\theta, \qquad \bar{x}^2 = -x^1 \sin\theta + x^2 \cos\theta$$

Compute the Jacobian transformation matrices $\frac{\partial \bar{x}^i}{\partial x^j}$ and $\frac{\partial x^j}{\partial \bar{x}^i}$, and verify $\frac{\partial \bar{x}^i}{\partial x^k} \frac{\partial x^k}{\partial \bar{x}^j} = \delta^i_j$.

  1. Given a contravariant vector with components $A^1 = 3, A^2 = 4$ at the origin, find its components $(\bar{A}^1, \bar{A}^2)$ in the rotated system for $\theta = \pi/4$.
  2. Given a covariant vector with components $B_1 = 3, B_2 = 4$, compute its components $(\bar{B}_1, \bar{B}_2)$ and verify that the scalar contraction $A^i B_i = \bar{A}^i \bar{B}_i$ is strictly conserved.
Advanced Level

Problem 1.2: Problem 1.2: General Curvilinear Coordinate System in $\mathbb{R}^3$, Jacobian & Scale Factors

Consider spherical polar coordinates in $\mathbb{R}^3$ defined by:

$$x^1 = r \sin\theta \cos\phi, \qquad x^2 = r \sin\theta \sin\phi, \qquad x^3 = r \cos\theta$$

where $\bar{x}^1 = r, \bar{x}^2 = \theta, \bar{x}^3 = \phi$ with $r > 0, 0 < \theta < \pi, 0 \le \phi < 2\pi$.

  1. Compute the Jacobian matrix $\frac{\partial x^i}{\partial \bar{x}^j}$ and evaluate its determinant $J = \det\left(\frac{\partial x^i}{\partial \bar{x}^j}\right)$.
  2. Calculate the natural basis vectors $\mathbf{e}_1 = \frac{\partial \mathbf{r}}{\partial r}, \mathbf{e}_2 = \frac{\partial \mathbf{r}}{\partial \theta}, \mathbf{e}_3 = \frac{\partial \mathbf{r}}{\partial \phi}$.
  3. Determine the Lamé scale factors $h_r, h_\theta, h_\phi$ and prove that the coordinate system is strictly orthogonal everywhere.
  4. Express the differential volume element $dV$ in terms of $r, \theta, \phi$.
Honors / Proof Challenge

Problem 1.3: Problem 1.3: Rigorous Tensor Criteria & The Failure of the Hessian Matrix

Let $\phi(x^1, \dots, x^n)$ be an arbitrary scalar field of class $C^2$ on an $n$-dimensional differentiable manifold $V_n$.

  1. Prove rigorously that the gradient vector components $G_i = \frac{\partial \phi}{\partial x^i}$ transform as a covariant vector under any arbitrary regular coordinate transformation $x^i \to \bar{x}^i$.
  2. Prove that the tangent velocity components $V^i = \frac{dx^i}{dt}$ along a parameterized curve $x^i(t)$ transform as a contravariant vector.
  3. Examine the Hessian matrix of second partial derivatives:
$$H_{ij} = \frac{\partial^2 \phi}{\partial x^i \partial x^j}$$

Derive its exact transformation law under $x^i \to \bar{x}^i$.

  1. Prove that $H_{ij}$ fails to transform as a tensor, identify the exact mathematical term responsible for this failure, and state under what restricted class of coordinate transformations $H_{ij}$ behaves as a tensor.