TangentVector - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


VectorCalculus

  

TangentVector

  

compute the tangent vector to a curve

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

TangentVector(C, t, n)

Parameters

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

Description

• 

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.

Examples

> 

with⁡VectorCalculus:

> 

T1≔TangentVector⁡t↦t,t2,t3:

> 

T1⁡t

12⁢t3⁢t2

(1)
> 

T2≔TangentVector⁡t↦t,t2,t3,normalized:

> 

T2⁡t

19⁢t4+4⁢t2+12⁢t9⁢t4+4⁢t2+13⁢t29⁢t4+4⁢t2+1

(2)
> 

TangentVector⁡PositionVector⁡cos⁡t,sin⁡t,t

−sin⁡tcos⁡t

(3)
> 

TangentVector⁡a⁢exp⁡−t,tassuminga::constant

−a⁢ⅇ−t1

(4)
> 

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

(5)
> 

SetCoordinates⁡polar

polar

(6)
> 

TangentVector⁡1,t,t

01

(7)
> 

TangentVector⁡exp⁡−t,t,t

−ⅇ−2⁢tⅇ−2⁢t

(8)

See Also

VectorCalculus

VectorCalculus[Binormal]

VectorCalculus[Curvature]

VectorCalculus[GetCoordinates]

VectorCalculus[PrincipalNormal]

VectorCalculus[RadiusOfCurvature]

VectorCalculus[SetCoordinates]

VectorCalculus[TNBFrame]

VectorCalculus[Torsion]

VectorCalculus[Vector]