Student[VectorCalculus]
PositionVector
creates a position vector with specified components and a coordinate system
Calling Sequence
Parameters
Description
Examples
PositionVector(comps)
PositionVector(comps, c)
comps
-
list(algebraic); the components of the Position Vector
c
name or name[name, name, ...]; specify the coordinate system possibly indexed by the coordinate names
The PositionVector function constructs a position Vector, one of the four principal Vector data structures of the Student[VectorCalculus] package. Note that the Student[VectorCalculus] and the VectorCalculus packages share the same Vector data structures.
For details on the differences between the four principal Vector data structures, namely, position Vectors, rooted Vectors, free Vectors, and vector fields, see VectorCalculus,Details.
The call PositionVector(comps, c) returns a position Vector in a cartesian enveloping space with components interpreted using the corresponding transformations from c coordinates to cartesian coordinates.
If no coordinate system argument is present, the components of the position Vector are interpreted in the current coordinate system (see SetCoordinates).
The position Vector is a cartesian Vector rooted at the origin. This has no mathematical meaning in non-cartesian coordinates, so the c parameter only changes the way the components are interpreted. Note that the Student[VectorCalculus] package only supports the cartesian, polar, spherical and cylindrical coordinate systems.
If comps has indeterminates representing parameters, the position Vector serves to represent a curve or a surface.
To differentiate a curve or a surface specified via a position Vector, use diff.
To evaluate a vector field along a curve or a surface given by a position Vector, use evalVF.
A curve or surface given by a position Vector can be plotted using PlotPositionVector.
The position Vector is displayed in column notation in the same manner as rooted Vectors are, as a position Vector can be interpreted as a Vector that is (always) rooted at the cartesian origin.
A position Vector cannot be mapped to a basis different than cartesian coordinates. In order to see how the same position Vector would be described in other coordinate systems, use GetPVDescription.
Standard binary operations between position Vectors like +/-, *, Dot Product, and Cross Product are defined.
Binary operations between position Vectors and vector fields, free Vectors or rooted Vectors are not defined; however, a position Vector can be converted to a free Vector in cartesian coordinates via ConvertVector.
with⁡StudentVectorCalculus:
Position Vectors
pv1≔PositionVector⁡1,2,3,cartesianx,y,z
About⁡pv1
Type: Position VectorComponents: 1,2,3Coordinates: cartesianx,y,zRoot Point: 0,0,0
PositionVector⁡1,π2,polarr,t
Curves
R1≔PositionVector⁡p,p2,cartesianx,y
R1≔pp2
PlotPositionVector⁡R1,p=1..2
R2≔PositionVector⁡v,v,polarr,θ
R2≔v⁢cos⁡vv⁢sin⁡v
PlotPositionVector⁡R2,v=0..3⁢π
R3≔PositionVector⁡1,π2+arctan⁡12⁢t,t,spherical
R3≔2⁢cos⁡tt2+42⁢sin⁡tt2+4−tt2+4
PlotPositionVector⁡R3,t=0..4⁢π
Surfaces
S1≔PositionVector⁡t,vsqrt⁡1+t2,v⁢tsqrt⁡1+t2,cartesianx,y,z
S1≔tvt2+1v⁢tt2+1
PlotPositionVector⁡S1,t=−3..3,v=−3..3
S2≔PositionVector⁡1,p,q,sphericalr,φ,θ
S2≔sin⁡p⁢cos⁡qsin⁡q⁢sin⁡pcos⁡p
PlotPositionVector⁡S2,p=0..π,q=0..2⁢π
See Also
Student[VectorCalculus][diff]
Student[VectorCalculus][evalVF]
Student[VectorCalculus][PlotPositionVector]
Student[VectorCalculus][RootedVector]
Student[VectorCalculus][Vector]
Student[VectorCalculus][VectorField]
Download Help Document