Planar Frenet Frame
Defines the unit tangent, left unit normal, and signed curvature of a planar reference path; derives the Frenet differential relations from both the orthonormal-frame and path-heading representations; and establishes consistent geometric and sign conventions for vehicle kinematics in Frenet coordinates.
- First published
- Last updated
On this page
Basic terminology and frame conventions
A parameterized curve is called regular if its first derivative is nonzero throughout the parameter interval. This condition excludes parameter values at which the parameterization velocity vanishes and ensures a well-defined tangent direction at every parameter value. Even if the image of the curve intersects itself, the different parameter values corresponding to the same point retain their own tangent directions. A curve is of class C2 if the curve itself and its first and second derivatives are continuous. The second derivative is needed here to define changes in the tangent and curvature.
This article uses the arc-length parameter s directly: an increment in the parameter equals the distance traveled along the curve. The reference path is therefore written as
r:I⟶R2,s⟼r(s).Here, I is the interval of arc-length values and r is a C2 curve. Arc-length parameterization satisfies
dsdr=1,so the curve is automatically regular. Define the unit tangent by
T(s):=dsdr,∥T(s)∥=1.The plane is given its standard orientation: counterclockwise rotation from the positive x-axis to the positive y-axis is positive. Let
J:=[01−10],the operator that rotates a vector counterclockwise by 90∘. Define the left unit normal by
N(s):=JT(s).For each fixed arc-length position s, the ordered basis (T(s),N(s)) is a frame at the path point r(s). As s advances along the curve, these frames together form a moving frame along the curve. Because T and N are mutually orthogonal unit vectors, and because rotating T counterclockwise by 90∘ gives N, (T,N) is a positively oriented orthonormal frame. This article calls the moving frame formed by the unit tangent and left unit normal the signed Frenet frame.
A frame is standard terminology in differential geometry, but it is not the same as a coordinate system. A coordinate system assigns coordinates to points in a region; a frame selects an ordered basis at each specified position so that vectors at that position can be represented. The pair (T,N) lies in the two-dimensional plane containing the curve: T is tangent to the curve, N is perpendicular to it, and together they form a basis of the plane. A coordinate system can induce a frame, but a frame does not itself assign coordinates to nearby points and need not arise from a coordinate system.
Signed curvature and its geometric meaning
Define the curvature vector as the derivative of the unit tangent with respect to arc length:
K(s):=dsdT.The norm of the curvature vector is the unsigned curvature:
κ(s):=∥K(s)∥.Define the signed curvature as the component of the curvature vector in the left-normal direction:
κr(s):=K(s)⋅N(s)=dsdT⋅N(s).The unsigned curvature κ measures only how strongly the path bends. The signed curvature κr also records the turning direction: left turns are positive and right turns are negative. The orthogonal decomposition below will show that
κ=∣κr∣.Figure 1 compares positive, zero, and negative signed curvature under the fixed left-normal convention and shows that the positively oriented orthonormal frame still exists at zero curvature.
Figure 1. The planar signed Frenet frame and curvature signs under a fixed left-normal convention. As the path is traversed, a left turn makes K and N point in the same direction, while a right turn makes them point in opposite directions. At κr=0, K=0, but N=JT remains defined.
The planar signed Frenet formulas
Derivation from the orthonormal frame
Derivative of the tangent
Since ∥T∥=1,
⟨T,T⟩=1.Differentiating this identity with respect to arc length s gives
⟨dsdT,T⟩=0.Together with K=dT/ds, this yields
K⊥T.Because (T,N) is an orthonormal basis of the plane, K has the complete decomposition
K=(K⋅T)T+(K⋅N)N=κrN.The last equality uses both K⋅T=0 and K⋅N=κr. Since K=dT/ds, the first relation is
dsdT=κrN.It also gives the relationship between unsigned and signed curvature:
κ=dsdT=∥κrN∥=∣κr∣.Derivative of the normal
To determine dN/ds, use the other two orthonormal-frame identities:
⟨N,N⟩=1,⟨T,N⟩=0.Differentiating them gives
⟨dsdN,N⟩=0,⟨dsdT,N⟩+⟨T,dsdN⟩=0.The first equation says that the component of dN/ds in the N direction is zero. Substitute dT/ds=κrN into the second equation and use ∥N∥=1 to obtain
⟨T,dsdN⟩=−κr.Thus, the component of dN/ds in the T direction is −κr, while its component in the N direction is zero. Decomposing once more in the orthonormal basis gives
dsdN=−κrT.The derivatives of both the tangent and left unit normal are now determined by the signed curvature. The standard orthogonality derivation appears in [1, §6.A, pp. 54–55].
Direct verification using the rotation operator
The second relation can also be obtained directly from N=JT. Since J is a fixed linear operator independent of s, and two successive 90∘ rotations equal a 180∘ rotation,
J2=−I.Differentiate N=JT and substitute dT/ds=κrN:
dsdN=JdsdT=κrJN=κrJ2T=−κrT.This calculation only provides an alternative derivation of dN/ds. The first relation, dT/ds=κrN, still follows from decomposing the curvature vector in the orthonormal frame.
Derivation from heading-angle coordinates
The same relations can be written explicitly in Cartesian coordinates. Let
r(s)=[xr(s)yr(s)],and choose a differentiable, continuously unwrapped reference-path heading θr(s) on the parameter interval under consideration. A geometric direction is normally defined only modulo 2π, so the same direction can be represented by angles differing by 2kπ. Continuous unwrapping means choosing an angle that changes continuously as the path is traversed, avoiding an artificial jump when it crosses the boundary between π and −π. The tangent and left unit normal can then be written as
T(s)=[cosθr(s)sinθr(s)],N(s)=[−sinθr(s)cosθr(s)].In this representation, the signed curvature and tangent angle satisfy
κr(s)=dsdθr.Figure 2(a) shows the Cartesian components of the tangent and left unit normal. Figure 2(b) uses the turning angle between neighboring tangents to illustrate the local geometric meaning of κr=dθr/ds.
Figure 2. Coordinate representation of the heading angle and its change along arc length. (a) Components of T and N=JT in a fixed Cartesian coordinate system. (b) The tangent rotation Δθr between neighboring arc-length positions; in the limit, its ratio to Δs gives the signed curvature.
To obtain this relation and the explicit frame derivatives, differentiate the coordinate representations of T and N:
dsdTdsdN=dsdθr[−sinθrcosθr]=κrN,=dsdθr[−cosθr−sinθr]=−κrT.The first line shows that the rate of change of the tangent angle with respect to arc length is precisely the signed component of the curvature vector in the left-normal direction. The second line agrees with the normal derivative obtained from orthogonality. A standard coordinate derivation of the tangent-angle representation and κr=dθr/ds appears in [2, Theorem 1.17, p. 8].
Matrix form of the Frenet formulas
Combining the orthonormal-frame derivation with the heading-angle representation gives the planar signed Frenet formulas:
dsdTdsdN=[0−κrκr0][TN].The orthonormal-frame derivation requires neither a choice of x,y coordinates nor an expansion of trigonometric functions. The heading-angle representation additionally makes explicit the relation κr=dθr/ds used by the vehicle model that follows. Because a left unit normal and signed curvature are used consistently throughout, the same equations continuously describe left turns, right turns, and path points where κr=0.
Relationship to the classical principal normal
The vector N=JT in this article is the left unit normal under the standard orientation. It must be distinguished from the principal normal of the classical Frenet frame. The classical principal normal is defined by
Np:=∥T′∥T′,so it exists only where the unsigned curvature κ=∥T′∥>0. When κ=0, T′=0 and the normalization above becomes 0/0. Geometrically, the curvature vector specifies no instantaneous bending direction at such a point. By contrast, N=JT depends only on the unit tangent and the fixed rotation operator J. Whenever the curve is regular, T exists, and therefore the left unit normal and the frame (T,N) remain defined on straight segments and at isolated zero-curvature points. Standard conventions for arc length, oriented planar frames, and signed curvature are given in [1, §§2.D, 3.A–B, 6.A]; the failure of the classical Frenet frame at zero curvature is discussed in [3, §2.1, p. 98].
This is not a contradiction within the classical definition, but an explicit condition on its applicability: the classical construction defines a principal normal only on curve segments where κ>0. A general regular curve can certainly contain straight segments, but it has no classical Frenet frame there. The frame can be used separately on each connected interval in {s∈I:κ(s)>0} where curvature remains positive, or it can be replaced, as here, by a signed frame that does not divide by curvature.
From dT/ds=κrN, at a point where κ>0 the principal normal and the left unit normal satisfy
Np=∥T′∥T′=∣κr∣κrN=sgn(κr)N.Here, sgn is the sign function:
sgn(x)=⎩⎨⎧1,0,−1,x>0,x=0,x<0.The equation concerns only points where κ>0, so only sgn(κr)=±1 occurs here. At κr=0, the classical principal normal Np itself is undefined.
Thus, the two normals point in the same direction only in a left-turn region where κr>0. In a right-turn region where κr<0, the principal normal is −N. At κr=0, Np is no longer supplied by its defining equation, while N=JT is unaffected.
Example of a curvature sign change
The difficulty at zero curvature cannot always be removed by taking a limit. The following example necessarily makes the principal normal flip. Let the arc-length parameter of the path satisfy s∈[0,L], and choose s∗∈(0,L) in the interior. Define the unit tangent
T(s)=[cos((s−s∗)2/2)sin((s−s∗)2/2)].Its norm is always 1, so it can serve as the tangent of a unit-speed curve. For example, define
r(s):=r(0)+∫0sT(u)du.Then r′(s)=T(s) and ∥r′(s)∥=1. In this example, the heading angle of the tangent is
θr(s)=2(s−s∗)2.Therefore,
N(s)=JT(s)=[−sin((s−s∗)2/2)cos((s−s∗)2/2)],and
dsdT=(s−s∗)[−sin((s−s∗)2/2)cos((s−s∗)2/2)]=(s−s∗)N(s).Comparison with dT/ds=κrN gives
κr(s)=s−s∗,κ(s)=∣s−s∗∣.The curve therefore turns right for s<s∗, turns left for s>s∗, and passes through an inflection point of zero curvature at the interior path position s=s∗. For any s=s∗, the classical principal normal is
Np(s)=∥dT/ds∥dT/ds=∣s−s∗∣s−s∗N(s)={−N(s),N(s),s<s∗,s>s∗.Since N(s∗)=(0,1)T, the one-sided limits of the principal normal at the inflection point are
s→s∗−limNp(s)=[0−1],s→s∗+limNp(s)=[01].The two limiting directions are opposite. No value can be assigned to Np at s=s∗ that makes it continuous. By contrast, N=JT is determined throughout by the continuous tangent and does not flip at the inflection point.
The example does not say that every isolated zero-curvature point forces a flip. It shows that the classical definition does not guarantee that the principal normal can be extended continuously across such a point. If κr does not change sign as it passes through zero, the two one-sided limits may happen to agree, but T′/∥T′∥ remains undefined at the zero itself. On an entire straight segment, T′=0 everywhere, and the curvature vector cannot select a unique bending direction at all.
Geometric relations used by the subsequent model
The vehicle kinematics in Frenet coordinates that follows will use these reference-path relations directly:
dsdrNdsdTdsdNdsdθr=T,=JT,=κrN,=−κrT,=κr.These relations consistently connect the reference path’s position, tangent, left normal, heading, and signed curvature. The following model will use this frame to define the vehicle’s longitudinal position, lateral deviation, and heading error relative to the reference path, then derive the vehicle kinematics in Frenet coordinates.
References
Anton Petrunin and Sergio Zamora Barrera,
What Is Differential Geometry? Curves and Surfaces
, arXiv:2012.11814v7, 2025.
Neil Donaldson,
Math 162A: Introduction to Differential Geometry
, course notes, University of California, Irvine, Winter 2024.
Daniel Carroll, Emek Köse, and Ivan Sterling,
Improving Frenet’s Frame Using Bishop’s Frame
, Journal of Mathematics Research, vol. 5, no. 4, 2013, pp. 97–106.