We take a look at the curvature on a torus, and the various forms that geodesics can have. These are compared to the geodesics on a “flat torus”.
Toroidal-Poloidal Coordinates
The position on a torus may be specified by the toroidal and poloidal coordinates. The toroidal component () is the angle following a large circle around the torus. It is analogous to the longitude, varying along the parallels. The poloidal coordinate (
) varies along a smaller circle around the surface. Changing
is like altering the latitude. We take
and
.
We can map the torus onto a plane by cutting it along the innermost parallel and opening it out flat. Obviously, this involves stretching; the mapping is not an isometry. We note some particular parallels: the outer equator (OE) is the longest parallel; the inner equator (IE) is the shortest; the north pole circle (NPC) and south pole circle (SPC) are the parallel at the top and bottom of the torus. Note that in the figure above, the left and right sides ( and
) are to be identified and also the upper and lower boundaries (
and
).
Metric and Curvature
The cartesian coordinates for a point on the torus with toroidal/poloidal coordinates are given by
The position vector of a point on the surface is
The tangent vectors in the toroidal and poloidal directions are
From these, the metric coefficients follow:
We can thus write down the equation for a line element:
It is now straightforward to compute the Christoffel symbols and the Riemann curvature tensor , contract it to get the Ricci tensor
and Ricci curvature
, from which the gaussian curvature follows. All of this can be done with open-source software.
For a two-dimensional surface, the symmetries of the Riemann curvature tensor imply that there is just one independent component, which we take to the . This turns out to be
and it is related to the gaussian curvature by . As a consequence,
Since we assume that , the gaussian curvature is positive for
and negative for
and
. This makes sense: the curvature is positive on the outside of the torus and negative on the inside.
We can write the equations for the geodesics. In the general form, they are
Given an initial position and slope, these can be solved, analytically or numerically. The only parallels that are geodesics are the outer equator (OE) and the inner equator (IE). All meridians ( constant) are geodesics.

Schematic diagram of geodesics on a torus. All curves start from . OE: Outer Equator (
). IE: Inner Equator (
). NPC: North Pole Circle (
). SPC: South Pole Circle (
).}
We show some typical geodesics in the above figure; all start from the position . There are two families of generic curves. For the curves that do not pass through the central hole, the poloidal angle is bounded,
. These are represented by the blue curve. Geodesics that do pass through the central hole are represented by the red curve; for these, the poloidal angle varies monotonically. The families are separated by a special geodesic that approaches the inner equator asymptotically (thick black curve).
The Flat Torus
If we assume that is large and
, the curvature
is small. Keeping the topological form of the torus but setting the curvature to zero, we get the flat torus. It is clear that all geodesics on the flat torus are straight lines. All parallels and all meridians are geodesics (horizontal and vertical lines on the diagram). The geodesics through the origin are
. If
is rational, then
and the geodesic closes on itself — it is periodic. If
is irrational, the geodesic covers the torus densely. The periodic curves are the toroidal knots. They can be identified by the numbers
, which give the number of loops around the “long” and “short” circuits of the torus.
Sources
Kyle Celano, Vincent E. Coll & Jeff Dodd (2022): Why Curves Curve: The Geodesics on the Torus, Mathematics Magazine, 95:3, 230–239, DOI: 10.1080/0025570X.2022.2055349
Jantzen, Robert T., 2021: Geodesics on the Torus and other Surfaces of Revolution. ArXiv.
William Schulz, Differential Geometry attacks the torus. PDF.