Skip to content

Tangent and Cotangent Spaces

A tangent space is the vector space of infinitesimal directions available at one point of a manifold. A cotangent space is its dual space: the vector space of linear functionals that eat tangent vectors and return numbers.

The essential picture is local:

TpMdirections at p,Tp∗Mlinear measurements of those directions.T_pM \quad \text{directions at }p, \qquad T_p^*M \quad \text{linear measurements of those directions}.

This page gives the coordinate formulas needed later for gradients, variational derivatives, Berry connections, Bloch-sphere motion, and phase-space language. It does not assume a full course in differential geometry.

Quantum mechanics uses manifolds whenever the relevant space is not simply a vector space of states:

  • a spin direction or qubit ray lives on a sphere;
  • a Hamiltonian may depend on external parameters RR;
  • a Berry phase is obtained by integrating a connection along a path in parameter space;
  • angular variables have tangent directions but no global linear addition of points;
  • variational principles compare nearby paths or fields;
  • classical phase space and semiclassical dynamics use velocities, covectors, and one-forms.

The point of tangent and cotangent spaces is to recover linear algebra locally, even when the underlying space has global curvature, periodicity, or coordinate patches.

Let MM be a smooth manifold and let p∈Mp\in M. A tangent vector at pp can be represented by the velocity of a curve through pp.

Take a smooth curve

γ:(−ϵ,ϵ)→M,γ(0)=p.\gamma:(-\epsilon,\epsilon)\to M, \qquad \gamma(0)=p.

If x1,…,xnx^1,\ldots,x^n are local coordinates near pp, the coordinate velocity is

vi=ddtxi(γ(t))∣t=0.v^i = \left. \frac{d}{dt} x^i(\gamma(t)) \right\rvert_{t=0}.

The corresponding tangent vector is written

v=vi∂∂xi∣p.v = v^i \left. \frac{\partial}{\partial x^i} \right\rvert_p.

Here and below repeated upper-lower index pairs are summed. The vectors

∂∂x1∣p,…,∂∂xn∣p\left. \frac{\partial}{\partial x^1} \right\rvert_p, \ldots, \left. \frac{\partial}{\partial x^n} \right\rvert_p

form a coordinate basis for TpMT_pM.

The curve is only a convenient way to define the direction. Many different curves can have the same first-order velocity at pp; they represent the same tangent vector.

Tangent Vectors as Directional Derivatives

Section titled “Tangent Vectors as Directional Derivatives”

There is an equivalent definition that is often more useful. A tangent vector acts on a smooth scalar function f:M→Rf:M\to\mathbb R by taking a directional derivative:

v(f)=ddtf(γ(t))∣t=0.v(f) = \left. \frac{d}{dt} f(\gamma(t)) \right\rvert_{t=0}.

In local coordinates this becomes

v(f)=vi∂f∂xi(p).v(f) = v^i \frac{\partial f}{\partial x^i}(p).

This formula explains why the basis vectors are written as partial derivatives. They are not fractions; they are basis tangent vectors that differentiate functions.

For complex-valued scalar functions, the same formula is applied componentwise. Most parameter-space examples in quantum mechanics use real manifolds with complex-valued Hilbert-space data defined over them.

A tangent vector is geometric, but its components depend on the chosen coordinates. Suppose ya=ya(x)y^a=y^a(x) is a change of local coordinates. If

v=vi∂∂xi=wa∂∂ya,v = v^i \frac{\partial}{\partial x^i} = w^a \frac{\partial}{\partial y^a},

then the chain rule gives

wa=∂ya∂xivi.w^a = \frac{\partial y^a}{\partial x^i} v^i.

Thus tangent components transform with the Jacobian of the coordinate change. This is why tangent vectors are sometimes called contravariant vectors.

The word “contravariant” is bookkeeping, not physics by itself. What matters is that the tangent vector is invariant while its coordinate components change in a controlled way.

The cotangent space Tp∗MT_p^*M is the dual vector space of TpMT_pM:

Tp∗M=Hom⁡(TpM,R).T_p^*M = \operatorname{Hom}(T_pM,\mathbb R).

An element α∈Tp∗M\alpha\in T_p^*M is a covector, also called a one-form at pp. It takes a tangent vector v∈TpMv\in T_pM and returns a number:

α(v)∈R.\alpha(v)\in\mathbb R.

In coordinates, the dual basis is written

dx1,…,dxn,dx^1,\ldots,dx^n,

with defining pairing

dxi(∂∂xj)=δij.dx^i \left( \frac{\partial}{\partial x^j} \right) = \delta^i{}_j.

A covector is written

α=αi dxi.\alpha = \alpha_i\,dx^i.

Its action on a tangent vector is

α(v)=αivi.\alpha(v) = \alpha_i v^i.

This pairing is the local model for many expressions that look like “dot products” but do not require a metric. A one-form integrates naturally along a path because it eats the path’s tangent vector.

Under the coordinate change ya=ya(x)y^a=y^a(x), write

α=αi(x) dxi=αa(y) dya.\alpha = \alpha_i^{(x)}\,dx^i = \alpha_a^{(y)}\,dy^a.

Since

dya=∂ya∂xidxi,dy^a = \frac{\partial y^a}{\partial x^i}dx^i,

the components satisfy

αa(y)=∂xi∂yaαi(x).\alpha_a^{(y)} = \frac{\partial x^i}{\partial y^a} \alpha_i^{(x)}.

Cotangent components transform with the inverse Jacobian. This is the basic reason lower indices transform oppositely from upper indices.

The invariant quantity is the pairing:

α(v)=αi(x)vi=αa(y)wa.\alpha(v) = \alpha_i^{(x)}v^i = \alpha_a^{(y)}w^a.

The components changed; the measured number did not.

For a smooth scalar function f:M→Rf:M\to\mathbb R, the differential dfdf is a cotangent vector at each point:

df=∂f∂xidxi.df = \frac{\partial f}{\partial x^i}dx^i.

Its action on a tangent vector is

df(v)=vi∂f∂xi.df(v) = v^i \frac{\partial f}{\partial x^i}.

This is exactly the directional derivative of ff along vv.

The differential is coordinate-independent. The component expression changes under a new chart, but the number df(v)df(v) does not.

In ordinary Euclidean space, one often identifies the differential dfdf with the gradient vector ∇f\nabla f. On a general manifold, these are not the same kind of object:

df∈Tp∗M,∇f∈TpM.df\in T_p^*M, \qquad \nabla f\in T_pM.

To turn the covector dfdf into a vector, one needs a metric gpg_p, a smoothly varying inner product on tangent spaces. The gradient is the unique vector satisfying

df(v)=gp(∇f,v)df(v) = g_p(\nabla f,v)

for every v∈TpMv\in T_pM.

Thus:

  • the differential dfdf exists once the smooth structure is available;
  • the gradient vector ∇f\nabla f requires an additional metric;
  • in Euclidean coordinates the distinction is hidden because the standard metric identifies vectors and covectors.

This is the geometric version of a familiar linear-algebra fact: a dual vector is not automatically the same thing as a vector until an inner product supplies an identification. See Inner Products for the finite-dimensional analogy.

For M=RnM=\mathbb R^n, the tangent space at any point can be canonically identified with Rn\mathbb R^n itself:

TpRn≃Rn.T_p\mathbb R^n\simeq\mathbb R^n.

If

v=vi∂∂xi,α=αidxi,v = v^i\frac{\partial}{\partial x^i}, \qquad \alpha = \alpha_i dx^i,

then

α(v)=αivi.\alpha(v)=\alpha_i v^i.

This example is useful, but it is also the source of a common overgeneralization. On a curved or topologically nontrivial manifold, tangent spaces at different points are separate vector spaces unless a rule is supplied for comparing them.

The unit circle can be locally parametrized by an angle θ\theta. A path θ(t)\theta(t) has tangent vector

v=θ˙∂∂θ.v = \dot\theta \frac{\partial}{\partial\theta}.

The dual one-form dθd\theta measures angular velocity:

dθ(v)=θ˙.d\theta(v)=\dot\theta.

Because θ\theta is periodic, no single angle coordinate is a global one-to-one coordinate on all of S1S^1. Locally, however, the tangent and cotangent formulas work exactly as expected.

This is the simplest model for phase variables: infinitesimal phase changes are linear, even though phase itself is defined modulo 2π2\pi.

For the unit sphere

S2={n∈R3:n⋅n=1},S^2 = \{\mathbf n\in\mathbb R^3:\mathbf n\cdot\mathbf n=1\},

the tangent space at n\mathbf n can be described extrinsically as

TnS2={v∈R3:n⋅v=0}.T_{\mathbf n}S^2 = \{\mathbf v\in\mathbb R^3: \mathbf n\cdot\mathbf v=0\}.

Thus allowed infinitesimal motions are perpendicular to the radius vector. This tangent plane is the local linearization of motion on the sphere.

For a qubit pure state, the Bloch Sphere Geometry uses this same sphere. A small change in the Bloch direction is a tangent vector to the sphere of pure states, not an arbitrary vector in R3\mathbb R^3.

Let RiR^i be local coordinates on a parameter manifold and let

C:t↦R(t)C:t\mapsto R(t)

be a path. The path velocity is the tangent vector

R˙=R˙i∂∂Ri.\dot R = \dot R^i \frac{\partial}{\partial R^i}.

A Berry connection in a chosen local gauge has the one-form form

A=Ai(R) dRi.A = A_i(R)\,dR^i.

Evaluating it on the path velocity gives

A(R˙)=Ai(R(t))R˙i(t).A(\dot R) = A_i(R(t))\dot R^i(t).

The line integral is then

∫CA=∫0TAi(R(t))R˙i(t) dt.\int_C A = \int_0^T A_i(R(t))\dot R^i(t)\,dt.

This is the coordinate-free content behind the familiar notation ∮A⋅dR\oint \mathbf A\cdot dR. The physical geometric phase is introduced in Berry Phase. This Toolkit page only supplies the tangent-cotangent language used to parse the formula.

In a finite-dimensional configuration space with coordinates qiq^i, a path variation

qi(t)↦qi(t)+ϵηi(t)q^i(t) \mapsto q^i(t)+\epsilon\eta^i(t)

uses ηi(t)\eta^i(t) as an infinitesimal direction in the space of paths. In the simplest coordinate setting, the variation is a tangent vector to the space of possible histories.

The first variation of a functional is a cotangent-like object: it takes an allowed variation and returns the first-order change in the functional. The concrete Euler–Lagrange calculation is developed in Calculus of Variations.

Tangent and cotangent spaces are pointwise objects. They do not by themselves tell you how to compare tangent vectors at different points or how to integrate higher-dimensional geometric quantities.

Later Geometry and Topology pages add:

  • differential forms, which extend one-forms to coordinate-independent integrands of different degrees;
  • exterior derivatives, which generalize gradients, curls, and divergences;
  • connections, which compare data along paths;
  • parallel transport, which moves data using that comparison rule;
  • fiber bundles, which organize the tangent and cotangent spaces as fibers over MM;
  • curvature and holonomy, which measure path-dependent transport.

For now, the core message is simple: manifolds have local linear tangent spaces, and the dual cotangent spaces contain differentials and one-forms.

  • Treating a tangent vector as a nearby point of the manifold.
  • Assuming tangent spaces at different points are automatically the same vector space.
  • Calling dfdf a gradient vector before choosing a metric.
  • Forgetting that covectors transform with the inverse Jacobian.
  • Using a coordinate singularity, such as a pole of spherical coordinates, as if it were a singular tangent space.
  • Thinking one-forms are ordinary vectors because they have the same number of components in Euclidean coordinates.
  • Treating A⋅dR\mathbf A\cdot dR notation as requiring a Euclidean dot product, rather than recognizing the underlying one-form applied to a tangent displacement.
  • J. M. Lee, Introduction to Smooth Manifolds, 2nd ed., Springer, 2013.
  • L. W. Tu, An Introduction to Manifolds, 2nd ed., Springer, 2011.
  • B. Schutz, Geometrical Methods of Mathematical Physics, Cambridge University Press, 1980.
  • T. Frankel, The Geometry of Physics, 3rd ed., Cambridge University Press, 2011.
  • M. Nakahara, Geometry, Topology and Physics, 2nd ed., CRC Press, 2003.
  • A. Shapere and F. Wilczek, eds., Geometric Phases in Physics, World Scientific, 1989.
  1. Let γ(t)=(cos⁡t,sin⁡t)\gamma(t)=(\cos t,\sin t) be a curve on the unit circle. Compute its tangent vector at t=0t=0 as a vector in R2\mathbb R^2, and check that it is tangent to the circle.
Solution

Differentiate:

γ˙(t)=(−sin⁡t,cos⁡t).\dot\gamma(t)=(-\sin t,\cos t).

At t=0t=0,

γ(0)=(1,0),γ˙(0)=(0,1).\gamma(0)=(1,0), \qquad \dot\gamma(0)=(0,1).

The tangent condition for the unit circle embedded in R2\mathbb R^2 is perpendicularity to the radius vector. Indeed,

(1,0)⋅(0,1)=0.(1,0)\cdot(0,1)=0.

Thus γ˙(0)\dot\gamma(0) is tangent to S1S^1 at (1,0)(1,0).

  1. For f(x,y)=x2+y2f(x,y)=x^2+y^2 on R2\mathbb R^2, compute dfdf and evaluate it on v=a ∂x+b ∂yv=a\,\partial_x+b\,\partial_y.
Solution

The differential is

df=2x dx+2y dy.df = 2x\,dx+2y\,dy.

Evaluating on vv gives

df(v)=2x dx(v)+2y dy(v)=2xa+2yb.df(v) = 2x\,dx(v)+2y\,dy(v) = 2xa+2yb.

This is the directional derivative of ff in the direction vv.

  1. In one dimension, let y=2xy=2x. If v=vx∂x=wy∂yv=v^x\partial_x=w^y\partial_y, find wyw^y. If α=αxdx=αydy\alpha=\alpha_x dx=\alpha_y dy, find αy\alpha_y.
Solution

For tangent components,

wy=dydxvx=2vx.w^y = \frac{dy}{dx}v^x = 2v^x.

For cotangent components, use dy=2dxdy=2dx, so dx=(1/2)dydx=(1/2)dy. Therefore

α=αxdx=αx2dy,\alpha = \alpha_x dx = \frac{\alpha_x}{2}dy,

and

αy=αx2.\alpha_y=\frac{\alpha_x}{2}.

The product is invariant:

αxvx=αywy.\alpha_x v^x = \alpha_y w^y.
  1. Why does dfdf exist without a metric, while the gradient vector requires one?
Solution

The differential dfdf is defined by its action on tangent vectors:

df(v)=v(f).df(v)=v(f).

This uses only the smooth structure and the directional derivative. A gradient vector is a tangent vector ∇f\nabla f satisfying

df(v)=gp(∇f,v)df(v)=g_p(\nabla f,v)

for all vv. The right-hand side uses a metric gpg_p to pair two tangent vectors. Without such a metric, there is no canonical way to convert the covector dfdf into a vector.

  1. Let A=AR(R)dRA=A_R(R)dR be a one-form on a one-dimensional parameter space and let R=R(t)R=R(t) be a path. Write the integral of AA along the path.
Solution

The path velocity is

R˙=R˙(t)∂∂R.\dot R = \dot R(t)\frac{\partial}{\partial R}.

Therefore

A(R˙)=AR(R(t))R˙(t),A(\dot R) = A_R(R(t))\dot R(t),

and

∫CA=∫0TAR(R(t))R˙(t) dt.\int_C A = \int_0^T A_R(R(t))\dot R(t)\,dt.

This is the one-dimensional version of the line-integral formula used for Berry connections.