Curves in R3
Curvature and torsion of space curves
What we do?
Find curvature, torsion, tangent, binormal and principal normal vectors of the following space curve:
|Domain[manifold]||manifold - string - a manifold name or a name of a manifold domain.|
|Metric[id→expr]||id - variable - metric identifier,
expr - expression - metric declaration.|
|Connection[id]||id - variable - connection identifier.|
First of all we have to describe the space we are working in. The space is 3-dimensional Euclidean (flat) space. To define the space we declare domain, forms, vectors, coframe, frame, flat metric and calculate connection (it is equal to zero of course).
Define Euclidean space as a manifold:
Declare 1-forms for the space coframe:
Declare vectors for the space frame:
Declare coframe on the space:
Declare frame on the space:
Declare flat metric on the space:
Calculate connection of the metric:
Now the working space is defined completely and we can start to solve the problem.
Just for right simplification:
Define the curve as a manifold:
Declare constants a and b:
Declare 1-form for curve's coframe:
Declare vectors for curve's frame:
Declare coframe on the curve:
Declare frame of the curve:
Declare mapping of the curve into R3
One can also calculate metric induced on the curve by the mapping.
Calculate invariants of the mapping:
Extract tangent normalized vector field:
Extract normal normalized vector field:
Extract binormal normalized vector field:
Extract curvature of the curve:
Extract torsion of the curve: