Student[VectorCalculus]
PrincipalNormal
compute a Vector in the direction of the normal vector to a curve in R^2 or R^3
Calling Sequence
Parameters
Description
Examples
PrincipalNormal(C, t, options)
C
-
free or position Vector; specify the components of the curve in R^2 or R^3
t
(optional) name; specify the parameter of the curve
options
(optional) equation(s) of the form option=value where option is one of output, curveoptions, normalized, range, vectoroptions, vectors, or view
The PrincipalNormal(C, t) calling sequence computes a Vector in the direction of the normal vector to a curve in R^2 or R^3.
Note: This vector is not normalized by default, so it is a scalar multiple of the unit normal vector to the curve C. Therefore, by default, the result is generally different from the output of TNBFrame(C, t, normal=true). If either normalized=true or normalized is given in options, however, the resulting vector will be normalized.
The curve C must have two or three components, that is, the curve that the Vector represents must be in R^2 or R^3.
If t is not specified, the command 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 that are determined to be constants.
If the resulting set has a single entry, that entry is the variable name. If it has more than one entry, an error is raised.
The options arguments primarily control plot options.
output = value, plot, or animation
This option controls the return value of the command.
output = value returns the value of the normal. Plot options are ignored if output = value. This is the default value.
output = plot returns a plot of the space curve and the normal vectors. The number of normal vectors is specified by the vectors option.
output = animation returns an animation of the space curve and the normal vectors. The number of normal vectors is specified by the vectors option.
curveoptions = list
A list of plot options for plotting the space curve. For more information on plotting options, see plot/options. The default value is [].
normalized = truefalse
Either true or false. Specifies whether the normal vector is to be normalized.
range = realcons..realcons
The range of the independent variable. The default value is 0..5.
vectoroptions = list
A list of plot options for plotting the normal vectors. For more information on plotting options, see plot/options. The default value is []. Note: Free Vectors and rooted Vectors are plotted using plots[arrow].
vectors = posint
Specifies how many normal vectors are to be plotted or animated. The default value is 5.
view = [realcons..realcons, realcons..realcons, realcons..realcons] (3-D) or [realcons..realcons, realcons..realcons] (2-D)
Specify the plot view. For more information, see plot3d/options or plot/options.
caption = anything
A caption for the plot.
The default caption is constructed from the parameters and the command options. caption = "" disables the default caption. For more information about specifying a caption, see plot/typesetting.
with⁡StudentVectorCalculus:
PrincipalNormal⁡PositionVector⁡cos⁡t,sin⁡t,t,t
−2⁢cos⁡t2−2⁢sin⁡t20
PrincipalNormal⁡PositionVector⁡cos⁡t,sin⁡t,t,t,normalized
−cos⁡t−sin⁡t0
PrincipalNormal⁡exp⁡−t⁢cos⁡t,exp⁡−t⁢sin⁡t,t
2⁢ⅇ−2⁢t⁢sin⁡t−ⅇ−2⁢t⁢cos⁡t+sin⁡t⁢ⅇ−t1+2⁢ⅇ−2⁢t32−2⁢ⅇ−t⁢ⅇ−2⁢t⁢sin⁡t+ⅇ−2⁢t⁢cos⁡t+cos⁡t1+2⁢ⅇ−2⁢t322⁢ⅇ−2⁢t1+2⁢ⅇ−2⁢t32
PrincipalNormal⁡cos⁡t,sin⁡t,t,t,output=plot,scaling=constrained
PrincipalNormal⁡cos⁡t,sin⁡t,t,t,output=plot,range=0..7,vectors=3,vectoroptions=color=red,curveoptions=color=green,scaling=constrained
To play the following animation in this help page, right-click (Control-click, on Macintosh) the plot to display the context menu. Select Animation > Play.
PrincipalNormal⁡cos⁡t,sin⁡t,t,t,output=animation,range=0..7,vectors=3,vectoroptions=color=red,curveoptions=color=green,scaling=constrained
SetCoordinates⁡cylindricalr,t,z
cylindricalr,t,z
PrincipalNormal⁡a,t,tassuminga::And⁡positive,constant
−aa2+100
SetCoordinates⁡cartesian
cartesian
The command to create the plot from the Plotting Guide is
PrincipalNormal⁡cos⁡t,sin⁡t,t,output=plot,scaling=constrained
See Also
assuming
plot/options
plot3d/options
realcons
Student[VectorCalculus][Binormal]
Student[VectorCalculus][Curvature]
Student[VectorCalculus][GetCoordinates]
Student[VectorCalculus][PrincipalNormal]
Student[VectorCalculus][RadiusOfCurvature]
Student[VectorCalculus][SetCoordinates]
Student[VectorCalculus][SpaceCurve]
Student[VectorCalculus][SpaceCurveTutor]
Student[VectorCalculus][TangentVector]
Student[VectorCalculus][TNBFrame]
Student[VectorCalculus][Torsion]
Student[VectorCalculus][Vector]
VectorCalculus
VectorCalculus[PrincipalNormal]
Download Help Document