advanced28 min studyLesson 63 in Mathematics

Tangent and cotangent spaces

Treat vectors as directional derivatives and covectors as linear measurements, with explicit coordinate-change rules.

On this page

What you’ll understand

  • Interpret a tangent vector as a derivation at a point.
  • Transform vector and covector components consistently.
  • Evaluate a differential on a vector without choosing a metric.

An arrow drawn beside a surface is an appealing starting point for a tangent vector, but a manifold need not arrive embedded in a larger Euclidean space. We need an intrinsic definition that still describes velocity and directional change. A tangent vector at a point can be understood through how it differentiates smooth functions there. A cotangent vector is a linear measurement of tangent vectors. Keeping these two roles distinct makes coordinate changes intelligible and prevents the gradient from being confused with a differential.

A velocity acts on functions

If a smooth curve passes through p at time zero, differentiate a smooth scalar function along the curve. This gives a linear operation on functions, obeying the product rule with values evaluated at p. Curves with identical such directional derivatives define the same tangent vector. Equivalently, a tangent vector is a derivation at p on smooth function germs. In local coordinates every tangent vector has a unique expansion in coordinate derivative operators; the tangent space has the manifold's dimension.

The coordinate operators are basis vectors, not coordinate values. On a two-dimensional chart, the expression v=2∂x−∂yv=2\partial_x-\partial_y means that v sends a function f to twice its x derivative minus its y derivative at the chosen point. No length or angle has been assigned yet. Tangent vectors based at different points belong to different vector spaces; identifying them by subtracting their component lists requires extra structure or a chosen coordinate convention.

v(fg)=f(p)v(g)+g(p)v(f),v=∑ivi∂∂xi∣pv(fg)=f(p)v(g)+g(p)v(f),\qquad v=\sum_i v^i\left.\frac{\partial}{\partial x^i}\right|_p
Linearity and the displayed Leibniz rule characterize a derivation at p. The coordinate expression is valid within a smooth chart.↔ Scroll wide equations horizontally.

Dual objects transform in the opposite way

The cotangent space is the dual vector space of linear maps from the tangent space to the real numbers. Coordinate differentials dxidx^i form its dual basis, giving one on the matching coordinate derivative and zero on the others. For a smooth f, the differential df takes a vector v to v(f). This is coordinate-independent even though its component formula changes. A covector is not a tiny displacement; it is a rule for measuring one.

Under a smooth invertible coordinate change y=y(x), vector components transform by the Jacobian of the new coordinates with respect to the old. Covector components transform by the inverse Jacobian. Their contraction therefore stays fixed. The transition must have an invertible Jacobian on the chart overlap. A singular change such as y=x² at x=0 cannot serve as a smooth coordinate replacement there, even if its graph seems harmless on one side of the origin.

vya=∂ya∂xivxi,αy,a=∂xi∂yaαx,i,α(v)=αx,ivxiv_y^a=\frac{\partial y^a}{\partial x^i}v_x^i,\qquad \alpha_{y,a}=\frac{\partial x^i}{\partial y^a}\alpha_{x,i},\qquad \alpha(v)=\alpha_{x,i}v_x^i
Repeated indices are summed. These rules make a covector-vector pairing invariant on a valid smooth coordinate overlap.↔ Scroll wide equations horizontally.

A differential is available before a gradient

For a scalar field, df is defined using only the smooth structure. A gradient requires an inner product g on each tangent space: it is the vector satisfying g(grad⁡f,v)=df(v)g(\operatorname{grad}f,v)=df(v) for every v. In Euclidean Cartesian coordinates the metric matrix is the identity, hiding the distinction because the two component lists look the same. In other coordinates, or with an anisotropic metric, converting the covector df into a gradient vector uses the inverse metric.

This distinction matters in optimization and field theory. A directional derivative is invariant under a mere relabeling of coordinates, while a naive update that treats partial derivatives as ordinary vector components may depend on that labeling. A metric provides a declared way to convert changes in a function into directions of steepest ascent. It does not follow from topology alone, and introducing it should be an explicit modeling decision rather than an accidental consequence of how a diagram was drawn.

One pairing, two coordinate descriptions

At any point in the plane let v=2∂x−∂yv=2\partial_x-\partial_y and α=3dx+4dy\alpha=3dx+4dy. Change coordinates to u=2x and w=y.

  1. In the old coordinates, evaluate directly: α(v)=3⋅2+4⋅(−1)=2\alpha(v)=3\cdot2+4\cdot(-1)=2. This is the scalar that the new coordinates must preserve.

  2. Differentiate the new coordinates along v. We get v(u)=4 and v(w)=−1, so v=4∂u−∂wv=4\partial_u-\partial_w. Since dx=du/2 and dy=dw, the covector becomes α=(3/2)du+4dw\alpha=(3/2)du+4dw.

  3. Contract the new components: (3/2)⋅4+4⋅(−1)=6−4=2(3/2)\cdot4+4\cdot(-1)=6-4=2. Scaling both component lists in the same direction would have destroyed this agreement.

The result

Vector and covector components change, but the measured scalar remains exactly 2.

Explore the model

Interactive lab

Interactive lab · vectors

Components represent one tangent vector

At angle zero, vary magnitude and predict the x/y projections. Then rotate the vector and identify a component that vanishes. The lab uses a fixed Cartesian basis in one flat two-dimensional tangent-space model. It does not implement chart transitions, move vectors between manifold points, or turn a covector into a vector without a metric.

Components represent one tangent vectorPlayback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Current readings: x component: 1.393; y component: 0.975; Magnitude: 1.7. All parameters are adjustable with the labeled controls below.−7.46−3.7303.737.46−3.5−1.7501.753.5xyvvₓ = 1.39
Vectorx / y projectionsTrace marker
x component
1.393
y component
0.975
Magnitude
1.7
t = 0 s

Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forComponent numbers are a basis-dependent description; the geometric object and its pairing with a covector have independent meanings.

Check your understanding

What extra structure is needed to obtain a gradient vector from the differential df?

Try it yourself

Let f(x,y)=x2yf(x,y)=x^2y at p=(1,2), and let v=3∂x+∂yv=3\partial_x+\partial_y. Find df and df(v) at p.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Differentiate f first, evaluate its coefficients at p, then pair with the vector components.

Compare with the solution

We have df=2xy dx+x2 dydf=2xy\,dx+x^2\,dy, so at p it becomes 4dx+dy. Its value on v is 4⋅3+1⋅1=134\cdot3+1\cdot1=13. This directional derivative uses no metric. Calling (4,1) the gradient additionally assumes the Euclidean Cartesian metric.

Take it with you

  • Tangent vectors differentiate smooth functions at a specified point.
  • Cotangent vectors measure tangent vectors, and their component rules preserve the pairing.
  • A metric is needed to turn a differential into a gradient.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.