VectorCalculus
TangentVector
compute the tangent vector to a curve
Calling Sequence
Parameters
Description
Examples
TangentVector(C, t, n)
C
-
free or position Vector or Vector valued procedure; specify the components of the curve
t
(optional) name; specify the parameter of the curve
n
(optional) equation of the form normalized=true or normalized=false, or simply normalized
The TangentVector(C, t) command computes the tangent vector to the curve C that is parameterized by t. Note that this vector is not normalized by default, so it is a scalar multiple of the unit tangent vector to the curve C. Therefore, by default, if C is a curve in ℝ3, the result is generally different from the output of TNBFrame(C, t, output=['T']).
If n is given as either normalized=true or normalized, then the resulting vector will be normalized before it is returned. As discussed above, the default value is false, so that the result is not normalized.
The curve can be specified as a free or position Vector or a Vector valued procedure. This determines the returned object type.
If t is not specified, the function tries to determine a suitable variable name by using the components of C. To do this, it checks all of the indeterminates of type name in the components of C and removes the ones which are determined to be constants.
If the resulting set has a single entry, the single entry is the variable name. If it has more than one entry, an error is raised.
If a coordinate system attribute is specified on C, C is interpreted in that coordinate system. Otherwise, the curve is interpreted as a curve in the current default coordinate system. If the two are not compatible, an error is raised.
with⁡VectorCalculus:
T1≔TangentVector⁡t↦t,t2,t3:
T1⁡t
12⁢t3⁢t2
T2≔TangentVector⁡t↦t,t2,t3,normalized:
T2⁡t
19⁢t4+4⁢t2+12⁢t9⁢t4+4⁢t2+13⁢t29⁢t4+4⁢t2+1
TangentVector⁡PositionVector⁡cos⁡t,sin⁡t,t
−sin⁡tcos⁡t
TangentVector⁡a⁢exp⁡−t,tassuminga::constant
−a⁢ⅇ−t1
TangentVector⁡t↦a⋅cos⁡t,b⋅sin⁡t,t
t→VectorCalculus:-VectorSpace⁡cartesian,a⁢cos⁡t,b⁢sin⁡t,t:-Vector⁡−a⁢sin⁡t,b⁢cos⁡t,1
SetCoordinates⁡polar
polar
TangentVector⁡1,t,t
01
TangentVector⁡exp⁡−t,t,t
−ⅇ−2⁢tⅇ−2⁢t
See Also
VectorCalculus[Binormal]
VectorCalculus[Curvature]
VectorCalculus[GetCoordinates]
VectorCalculus[PrincipalNormal]
VectorCalculus[RadiusOfCurvature]
VectorCalculus[SetCoordinates]
VectorCalculus[TNBFrame]
VectorCalculus[Torsion]
VectorCalculus[Vector]
Download Help Document