The torsion of a curve describes how quickly the curve twists out of the osculating plane at a point. Formally it is defined as the magnitude of the rate of change of the unit binormal vector with respect to arc length. The torsion of a curve is defined as
A curve with
everywhere is a planar curve. Positive or negative torsion indicates the direction in which the curve spirals out of its osculating plane.
When
Starting from the Frenet–Serret relations, we know:
Differentiating twice more and using the Frenet–Serret formulas
Since
Taking the dot product with
We also have:
Dividing gives:
For a curve given explicitly as