Chapter 2: Space Curves
Section 2.3: Tangent Vectors
Example 2.3.2
If Rp is the position-vector representation of C, the parametric curve x=p cosp, y=p sinp, p∈0,3 π,
Obtain ρ=R′p and the unit tangent vector T=R′/ρ.
Graph R and the vectors R′1,R′5,R′9 along C.
Graph R and the vectors T1,T5,T9 along C.
Show that T·T′p=0, thus verifying that a unit vector is necessarily orthogonal to its derivative.
To the graph in Part (c), add the vectors T′1,T′5,T′9.
Solution
Mathematical Solution
Part (a)
ρ=R′p
=p cosp′ i+p sinp′ j
=cos⁡p−p⁢sin⁡p2+sin⁡p+p⁢cos⁡p2
=1+p2
T=R′ρ=11+p2cos(p)−p sin(p)sin(p)+p cos(p)
Part (b)
See Figure 2.3.2(a) where the points corresponding to p=1,5, and 9 are indicated by red dots, and the vectors R′p at these points are shown as green arrows.
Part (c)
The vectors Tp for p∈1,5,9 are shown as the black arrows in Figure 2.3.2(b).
Part (d)
T·T′p
=11+p2cos(p)−p sin(p)sin(p)+p cos(p)·11+p23/2−(p3+2⁢p⁢cosp+p2+2⁢sin⁡p)p2+2⁢cosp−p3+2 p⁢sin⁡p
=11+p22 cos(p)−p sin(p)sin(p)+p cos(p)·−(p3+2⁢p⁢cosp+p2+2⁢sin⁡p)p2+2⁢cosp−p3+2 p⁢sin⁡p
=cos⁡p−p⁢sin⁡p⁢−p3+2⁢p⁢cos⁡p−p2+2⁢sin⁡p+sin⁡p+p⁢cos⁡p⁢p2+2⁢cos⁡p−p3+2⁢p⁢sin⁡p1+p22
=0
Part (e)
The vectors T′p,p∈1,5,9, are shown as the gold arrows in Figure 2.3.2(b).
use plots, Student:-VectorCalculus in module() local p1,R,RR,RP; R:=PositionVector([p*cos(p),p*sin(p)]); RR:=VectorField(<p*cos(p),p*sin(p)>); RP:=diff(RR,p); p1:=PlotPositionVector(R,p=0..3*Pi,curveoptions=[scaling=constrained,labels=[x,y]],vectorfield=[RP],vectorfieldoptions=[width = .15, color = green, head_length = 1],points=[1,5,9]); print(p1); end module: end use:
Figure 2.3.2(a) Graph for Part (b)
use plots, Student:-VectorCalculus in module() local p1,R,T,T1; R:=PositionVector([p*cos(p),p*sin(p)]); T:=VectorField(ConvertVector(TangentVector(R,normalized),free)); T1:=diff(T,p); p1:=PlotPositionVector(R,p=0..3*Pi,curveoptions=[scaling=constrained,labels=[x,y]],vectorfield=[T1],vectorfieldoptions=[width = .15, color = gold, head_length = .5],points=[1,5,9],tangent=true,tangentoptions=[width=.1,color=black]); print(p1); end module: end use:
Figure 2.3.2(b) Graph for Parts (c) and (e)
Figure 2.3.2(b) provides visual confirmation that the vectors T and T′ are orthogonal, as the calculations in Part (d) assert.
Maple Solution - Interactive
In the Student MultivariateCalculus package, differentiation maps onto the components of a vector and the Norm command defaults to the Euclidean norm.
Initialize
Tools≻Load Package: Student Multivariate Calculus
Loading Student:-MultivariateCalculus
Write R=… as per Table 1.1.1.
Context Panel: Assign Name
R=p cosp,p sinp→assign
Calculus palette: Differentiation operator Keyboard the norm-bars: two vertical strokes.
Context Panel: Evaluate and Display Inline
Context Panel: Assign to a Name≻rho
ⅆⅆ p R = cos⁡p−p⁢sin⁡p2+sin⁡p+p⁢cos⁡p2= simplify p2+1→assign to a nameρ
Calculus palette: Differentiation operator
T=1ρ ⅆⅆ p R→assign
To display the vector T: Write T Context Panel: Evaluate and Display Inline
T = cos⁡p−p⁢sin⁡pp2+1sin⁡p+p⁢cos⁡pp2+1
Expression palette: Evaluation template
Press the Enter key.
ⅆⅆ p Rx=a|f(x)p=1
cos⁡1−sin⁡1sin⁡1+cos⁡1
ⅆⅆ p Rx=a|f(x)p=5
cos⁡5−5⁢sin⁡5sin⁡5+5⁢cos⁡5
ⅆⅆ p Rx=a|f(x)p=9
cos⁡9−9⁢sin⁡9sin⁡9+9⁢cos⁡9
Tx=a|f(x)p=1
2⁢cos⁡1−sin⁡122⁢sin⁡1+cos⁡12
Tx=a|f(x)p=5
26⁢cos⁡5−5⁢sin⁡52626⁢sin⁡5+5⁢cos⁡526
Tx=a|f(x)p=9
82⁢cos⁡9−9⁢sin⁡98282⁢sin⁡9+9⁢cos⁡982
Common Symbols palette: Dot product operator
Context Panel: Simplify≻Simplify
T·ⅆⅆ p T
cos⁡p−p⁢sin⁡p⁢−cos⁡p−p⁢sin⁡p⁢pp2+132+−2⁢sin⁡p−p⁢cos⁡pp2+1p2+1+sin⁡p+p⁢cos⁡p⁢−sin⁡p+p⁢cos⁡p⁢pp2+132+2⁢cos⁡p−p⁢sin⁡pp2+1p2+1
= simplify
0
ⅆⅆ p Tx=a|f(x)p=1 = −2⁢cos⁡1−sin⁡14+2⁢−2⁢sin⁡1−cos⁡12−2⁢sin⁡1+cos⁡14+2⁢2⁢cos⁡1−sin⁡12
ⅆⅆ p Tx=a|f(x)p=5 = −5⁢26⁢cos⁡5−5⁢sin⁡5676+26⁢−2⁢sin⁡5−5⁢cos⁡526−5⁢26⁢sin⁡5+5⁢cos⁡5676+26⁢2⁢cos⁡5−5⁢sin⁡526
ⅆⅆ p Tx=a|f(x)p=9 = −9⁢82⁢cos⁡9−9⁢sin⁡96724+82⁢−2⁢sin⁡9−9⁢cos⁡982−9⁢82⁢sin⁡9+9⁢cos⁡96724+82⁢2⁢cos⁡9−9⁢sin⁡982
The graphs in Parts (b), (c), and (e) are tedious to create interactively. The curve C has to be drawn first. Then, each vector has to be graphed separately, and dragged onto the graph of C. It is far easier to use the PlotVector and PlotPositionVector commands in the Student VectorCalculus package, as detailed below in the Coded Solution.
Maple Solution - Coded
In the Student VectorCalculus package, the diff command maps onto the components of vectors, the TangentVector command returns a tangent vector, and the PlotPositionVector command graphs a curve defined by the PositionVector command, and adds to the graph of the curve different vectors and vector fields with appropriate changes in syntax. The BasisFormat command is used to change the default display of vectors to "column vectors."
Install the Student VectorCalculus package.
Apply the BasisFormat command.
withStudent:-VectorCalculus:BasisFormatfalse:
Use the PositionVector command to define C.
R≔PositionVectorp cosp,p sinp:
Use the diff command to obtain R′, and apply the Norm command to obtain ∥R′∥.
ρ≔NormdiffR,p = p2+1
Apply the diff command to obtain T′.
T≔diffR,pρ = cos⁡p−p⁢sin⁡pp2+1sin⁡p+p⁢cos⁡pp2+1
Alternatively, to the position vector R, apply the TangentVector command with the normalized option to obtain a unit tangent vector along C.
TangentVectorR,normalized
cos⁡p−p⁢sin⁡pp2+1sin⁡p+p⁢cos⁡pp2+1
Part (d): Show T·T′p=0
To the result of the DotProduct command, apply the simplify command.
simplifyDotProductT,diffT,p = 0
Figure 2.3.2(a), the graph required in Part (b), is obtained with the following commands.
F≔diffVectorFieldp cosp,p sinp,p:PlotPositionVectorR,p=0..3 π,curveoptions=scaling=constrained,labels=x,y,points=1,5,9,vectorfield=F,vectorfieldoptions=width = .15, color = green, head_length = 1:
Differentiating the position vector R results in a rooted vector, a construct that the PlotPositionVector command will not graph as a vector field. Hence, the vector F=R′ is constructed separately as a vector field.
Figure 2.3.2(b), combining the graphs required in Parts (c) and (e), is obtained with the following commands.
TP≔diffVectorFieldConvertVectorTangentVectorR,normalized,free,p:PlotPositionVectorR,p=0..3 π,curveoptions=scaling=constrained,labels=x,y,vectorfield=TP,vectorfieldoptions=width = .15, color = gold, head_length = .5,points=1,5,9,tangent=true,tangentoptions=width=.1,color=black:
The TangentVector command returns a rooted vector, and its derivative is still a rooted vector. Hence, the tangent vector is converted to a free vector, then a vector field, with its derivative remaining a vector field. The tangent option in the PlotPositionVector command produces the black tangent vectors in Figure 2.3.2(b), while the vectorfield option produces the gold vectors corresponding to values of T′.
<< Previous Example Section 2.3 Next Example >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document