Learning Objectives
By the end of this section, you will be able to:
- Define and compute the unit tangent vector , principal normal vector , and binormal vector for curves in 3D space
- Understand the geometric meaning of curvature (bending) and torsion (twisting)
- Apply the Frenet-Serret formulas to analyze how the TNB frame changes along a curve
- Decompose acceleration into tangential and normal components using the TNB frame
- Connect these concepts to applications in physics, robotics, computer graphics, and machine learning
The Big Picture: A Coordinate System That Moves With You
"Imagine you are a roller coaster car on a twisting track. The TNB frame is your personal coordinate system—always showing you which way is forward, which way the track is turning, and which way is 'up' relative to your current position."
When we study a curve in 3D space, the standard coordinate system is often not the most natural choice. Consider a particle moving along a spiral: at each point, we care about the direction of motion, whether we are turning left or right, and whether the path is twisting up or down.
The TNB frame (also called the Frenet-Serret frame) provides exactly this. It is an orthonormal basis that travels along with a point on the curve, consisting of three mutually perpendicular unit vectors:
| Vector | Name | Points In Direction Of |
|---|---|---|
| T | Unit Tangent | Instantaneous velocity (forward) |
| N | Principal Normal | Center of curvature (where curve is bending) |
| B | Binormal | Perpendicular to both T and N (out of turning plane) |
Why the TNB Frame Matters
The TNB frame is essential in:
- Physics: Decomposing acceleration into tangential (changes speed) and normal (changes direction) components
- Robotics: Path planning for robot arms and autonomous vehicles
- Computer Graphics: Camera motion along curves, procedural animation, ribbon/tube generation
- Machine Learning: Manifold learning, understanding data geometry, neural ODE trajectories
Historical Context: The Geometry of Curves
The theory of space curves was developed in the 19th century as mathematicians sought to understand the intrinsic geometry of curves—properties that depend only on the curve itself, not on how it is positioned in space.
- Jean Frédéric Frenet (1816–1900): French mathematician who independently discovered the formulas relating the derivatives of T, N, and B in 1847
- Joseph Alfred Serret (1819–1885): French mathematician who published the same formulas in 1851, giving them the combined name "Frenet-Serret formulas"
- Carl Friedrich Gauss and Bernhard Riemann: Pioneered the study of intrinsic geometry, which later became differential geometry
A remarkable theorem states that two curves with the same curvature function and torsion function are congruent—they differ only by a rigid motion (translation and rotation). This means curvature and torsion completely characterize the shape of a curve!
The Unit Tangent Vector
For a smooth curve , the unit tangent vector points in the direction of motion along the curve.
Deriving the Tangent Vector
Recall that the derivative gives the velocity vector—tangent to the curve but with magnitude equal to the speed. To get a unit vector, we normalize:
Unit Tangent Vector
The unit tangent points in the direction of increasing parameter
Physical Meaning: If a particle's position is given by , then:
- is the velocity (direction and speed combined)
- is the speed (how fast the particle is moving)
- is the direction of motion (pure direction, unit length)
Using Arc Length Parameterization
If the curve is parameterized by arc length (so always), then directly—no normalization needed! This simplifies many formulas.
The Principal Unit Normal Vector
The principal unit normal vector points in the direction that is turning. Since has constant length 1, its derivative must be perpendicular to (just as velocity is perpendicular to position for uniform circular motion).
Geometric Intuition
Imagine driving a car. The tangent vector points straight ahead through the windshield. When you turn the steering wheel, rotates. The direction it rotates toward is —pointing toward the inside of the turn.
Principal Unit Normal Vector
points toward the center of curvature—the center of the "best-fitting circle"
Properties of N:
- (always perpendicular to the tangent)
- (unit length)
- lies in the osculating plane—the plane that best fits the curve locally
- points toward the concave side of the curve
When is N Undefined?
If the curve is locally straight (a line segment), then and is undefined. This happens when the curvature is zero—there is no "direction of turning" when you are not turning!
The Binormal Vector
The binormal vector completes the right-handed orthonormal frame. It is perpendicular to both and , pointing "out of" the osculating plane.
Binormal Vector
The cross product ensures is perpendicular to both and has unit length
The Complete TNB Frame:
- : Forward direction (tangent to curve)
- : Toward center of curvature (in osculating plane)
- : Perpendicular to osculating plane
- Together they form a right-handed orthonormal basis
Any vector can be expressed in the TNB frame. For example, the acceleration of a particle is:
where is speed and is curvature. Note that there is no component in the direction—acceleration lives entirely in the osculating plane!
Interactive TNB Frame Explorer
Explore how the TNB frame moves along different curves. Watch how the tangent, normal, and binormal vectors change as you trace along a helix, circle, or other curves. Pay attention to how the frame twists in 3D space!
Interactive TNB Frame Explorer
Watch the Tangent (red), Normal (green), and Binormal (blue) vectors move along different curves
r(t) = (cos(t), sin(t), bt) - constant curvature and torsion
Current Values
The Frenet-Serret Formulas
The Frenet-Serret formulas describe how the TNB frame changes as we move along the curve. They express the derivatives of , , and in terms of each other, involving two fundamental quantities: curvature and torsion .
Frenet-Serret Formulas (Arc Length Parameterization)
Reading the Formulas:
- : The tangent turns toward the normal at a rate equal to the curvature . Higher curvature = sharper turn.
- : The normal has two components: it turns away from T (since T is turning toward N) and rotates toward B at the torsion rate.
- : The binormal turns toward the negative normal at the torsion rate. This is the "twist" of the curve out of its plane.
Frenet-Serret Formulas Explained
Step through each formula to understand how the TNB frame evolves
The Tangent Derivative
The Normal Derivative
The Binormal Derivative
The Matrix Form
The Tangent Derivative
The rate of change of the tangent vector equals curvature times the normal vector.
Curvature and Torsion: The DNA of a Curve
Curvature and torsion are the two fundamental quantities that completely describe the shape of a curve in 3D space.
Curvature : Measuring Bending
Curvature measures how fast the curve is deviating from a straight line—how sharply it is bending.
Curvature
always. For a circle of radius ,
Intuition: At each point, there is a unique circle that best approximates the curve—the osculating circle. The curvature is where is the radius of this circle. Tighter curves have smaller radii and larger curvatures.
| Curve | Curvature | Interpretation |
|---|---|---|
| Straight line | κ = 0 | No bending at all |
| Circle (radius R) | κ = 1/R | Constant bending |
| Ellipse | Variable κ | More bending at ends, less at sides |
| Helix | Constant κ < 1/R | Constant bending (less than circle) |
Torsion : Measuring Twisting
Torsion measures how fast the curve is twisting out of its osculating plane—how the plane itself is rotating as we move along the curve.
Torsion
can be positive (right-handed twist), negative (left-handed), or zero (plane curve)
Key Facts About Torsion:
- A curve lies entirely in a plane if and only if everywhere
- Positive torsion: curve twists like a right-handed screw (standard helix)
- Negative torsion: curve twists like a left-handed screw
- For the helix ,
Interactive Curvature and Torsion Explorer
Adjust the parameters of different curves and see how curvature and torsion change. Notice how a helix has constant curvature and constant torsion, while other curves have varying values.
Curvature and Torsion Explorer
See how curvature (bending) and torsion (twisting) vary along different curves
Circular Helix
r(t) = (a·cos(t), a·sin(t), b·t)
κ = a/(a² + b²), τ = b/(a² + b²)
Understanding the Values
- κ = 0: Locally straight (no bending)
- Small κ: Gentle curves (large radius)
- Large κ: Sharp turns (small radius)
- Radius of curvature = 1/κ
- τ = 0: Curve lies in a plane
- τ > 0: Right-handed (like a right-hand screw)
- τ < 0: Left-handed twist
- |τ| large: Rapid twisting
Computing T, N, B, Curvature, and Torsion
Here are the practical formulas for computing the TNB frame and associated quantities from a parameterized curve :
| Quantity | Formula |
|---|---|
| Unit Tangent T | T = r′ / |r′| |
| Curvature κ | κ = |r′ × r″| / |r′|³ |
| Principal Normal N | N = (T′ / |T′|) or N = B × T |
| Binormal B | B = T × N = (r′ × r″) / |r′ × r″| |
| Torsion τ | τ = (r′ × r″) · r‴ / |r′ × r″|² |
Arc Length vs. General Parameter
These formulas work for any parameterization. When using arc length parameter (so ), the formulas simplify significantly. The conversion is .
Worked Examples
Example: The Circular Helix
Consider the helix . This is perhaps the most important example because it has constant curvature and constant torsion.
Step 1: Compute derivatives
Step 2: Compute the unit tangent
Step 3: Compute curvature
Note: The curvature is constant! This is a defining property of helices.
Step 4: Compute torsion
The torsion is also constant! For this helix, .
The Helix is Special
The helix is the only curve (up to similarity) with both constant curvature and constant torsion. It is the 3D analog of a circle, which has constant curvature in 2D. This makes helices fundamental in mathematics, physics (DNA, springs, screw threads), and engineering.
Real-World Applications
Physics: Particle Dynamics
In physics, the TNB frame provides the natural decomposition of acceleration:
Acceleration Decomposition
Applications in physics:
- Roller coasters: Computing the g-forces experienced by riders (normal acceleration divided by g)
- Planetary orbits: Understanding how gravity provides the centripetal acceleration
- Particle accelerators: Designing curved paths for charged particles
- Race car dynamics: Analyzing tire grip requirements on curved tracks
Engineering and Robotics
The TNB frame is essential in:
- Robot path planning: Ensuring smooth motion along curved trajectories with controlled accelerations
- CNC machining: Orienting cutting tools correctly along curved surfaces
- Pipe and cable routing: Ensuring minimum bend radii are respected (maximum curvature constraints)
- Railroad design: Computing superelevation (banking) on curves based on curvature and design speed
Machine Learning and Computer Graphics
The TNB frame appears in several modern machine learning and graphics contexts:
Computer Graphics: Camera Motion and Ribbons
- Camera paths: The TNB frame provides a natural "camera up" vector (B or N) for smooth camera motion along curves
- Ribbon/tube rendering: Generating surfaces that follow curves (hair, cables, blood vessels) requires sweeping a cross-section along the curve using the TNB frame
- Font design: Analyzing the curvature of letterforms for optical corrections
Machine Learning: Manifold Geometry
- Manifold learning: When data lies on a curved manifold, curvature affects the local geometry and distance computations
- Neural ODEs: Trajectories in neural ODE models can be analyzed using differential geometry concepts including curvature
- Geodesics: Finding shortest paths on curved surfaces generalizes the concept of straight lines, using curvature
Connection to Deep Learning Optimization
When gradient descent follows a trajectory through parameter space, the curvature of the loss landscape affects convergence. High curvature regions (sharp valleys) require smaller learning rates. The Hessian matrix captures this "curvature" in high dimensions, generalizing the scalar curvature we study for curves.
Python Implementation
Computing the TNB Frame
Computing Torsion
Physics Application: Acceleration Decomposition
Test Your Understanding
What does the unit tangent vector T represent geometrically?
Summary
The TNB Frame
| Vector | Definition | Physical Meaning |
|---|---|---|
| T (Tangent) | r′/|r′| | Direction of motion |
| N (Normal) | T′/|T′| | Direction curve is turning toward |
| B (Binormal) | T × N | Perpendicular to osculating plane |
Curvature and Torsion
| Quantity | Formula | Measures |
|---|---|---|
| Curvature κ | |r′ × r″| / |r′|³ | How fast curve is bending |
| Torsion τ | (r′ × r″) · r‴ / |r′ × r″|² | How fast curve is twisting |
Frenet-Serret Formulas
Key Takeaways
- The TNB frame is an orthonormal moving coordinate system that travels along a curve, capturing its local geometry
- Curvature measures bending (reciprocal of osculating circle radius); torsion measures twisting out of the osculating plane
- A curve is uniquely determined (up to rigid motion) by its curvature and torsion functions—they are the curve's "DNA"
- Plane curves have zero torsion; helices have constant curvature AND constant torsion
- The TNB decomposition of acceleration () is essential in physics for analyzing forces on moving objects
Coming Next: In the next section, we explore Planetary Motion and Kepler's Laws—seeing how the mathematics of curves in space explains the motion of planets around the Sun, connecting vector calculus to the laws of celestial mechanics.