Compute the Curvature of Curves in Any Dimensions 

ArcCurvature and FrenetSerretSystem compute curvatures for curves in any dimension.

ArcCurvature gives the single unsigned curvature.

In[1]:=
Click for copyable input
X
Out[1]=

Curvature for a curve expressed in polar coordinates.

In[2]:=
Click for copyable input
X
Out[2]=

Curves in three and four dimensions.

In[3]:=
Click for copyable input
X
Out[3]=
In[4]:=
Click for copyable input
X
Out[4]=

FrenetSerretSystem gives the generalized curvatures, which may be signed, and the associated basis.

In[5]:=
Click for copyable input
X
Out[5]=

In three dimensions, the generalized curvatures are usually called curvature and torsion, and the associated Tangent/Normal/Binormal or TNB basis.

In[6]:=
Click for copyable input
X
Out[6]=

Visualize the four curves. The fourth dimension is represented by color.

show complete Wolfram Language input
Out[7]=
de es ja pt-br zh