VectorField & OneForm Object Operator Methods
overview of VectorField and OneForm object operators
Description
Examples
Compatibility
The + and - operators provide addition and subtraction of two objects X and Y, and returns a new object Z. These objects are either all VectorField or all OneForm objects.
These objects can also be added using the existing commands add and sum.
The * operator provides scalar multiplication of an object X, and returns a new object Y. These two objects are either both VectorField or both OneForm objects.
The = operator tests equality of two VectorField or OneForm objects. The two objects are regarded as equal if they live on the same space and have the same components.
The ?[] operator provides a look-up of components of a VectorField or OneForm object. The object is indexed by its space coordinates, see examples below.
These operators are associated with the VectorField and OneForm objects. For more detail, see Overview of the VectorField object, Overview of the OneForm object.
with⁡LieAlgebrasOfVectorFields:
The +, -, * Operators
We first construct some suitable VectorField objects: rotation, translations in (x,y) coordinates
R≔VectorField⁡x⁢Dy−y⁢Dx,space=x,y
R≔−y⁢ⅆⅆx+x⁢ⅆⅆy
Tx≔VectorField⁡Dx,space=x,y
Tx≔ⅆⅆx
Ty≔VectorField⁡Dy,space=x,y
Ty≔ⅆⅆy
Tx+Ty
ⅆⅆx+ⅆⅆy
−R
y⁢ⅆⅆx−x⁢ⅆⅆy
x⁢Tx+y⁢Ty
x⁢ⅆⅆx+y⁢ⅆⅆy
R+y0⁢Tx−x0⁢Ty
y0−y⁢ⅆⅆx+−x0+x⁢ⅆⅆy
One-form arithmetic works same as vector field arithmetic.
ωx≔OneForm⁡dx,space=x,y,z
ωx≔dx
ωy≔OneForm⁡dy,space=x,y,z
ωy≔dy
ωz≔OneForm⁡dz,space=x,y,z
ωz≔dz
x2⁢ωz+x⁢ωy+ωx
x2⁢dz+x⁢dy+dx
Taking a linear combination of these one-forms using add (or sum) command.
add⁡ai⁢ωi,iinx,y,z
ax⁢dx+ay⁢dy+az⁢dz
The = Operator
X≔VectorField⁡x⁢x−1⁢Dx+y⁢Dy,space=x,y
X≔x⁢x−1⁢ⅆⅆx+y⁢ⅆⅆy
Y≔VectorField⁡x2−x⁢Dx+y⁢Dy,space=x,y
Y≔x2−x⁢ⅆⅆx+y⁢ⅆⅆy
evalb⁡X=Y
false
evalb⁡expand⁡X=expand⁡Y
true
θ1≔OneForm⁡dx,space=x
θ1≔dx
θ2≔OneForm⁡dx,space=x,y
θ2≔dx
Although θ1,θ2 look the same, they are not equal because they live on different spaces.
evalb⁡θ1=θ2
The ?[] Operator
X≔VectorField⁡x2⁢Dz+Dy,space=x,y,z
X≔ⅆⅆy+x2⁢ⅆⅆz
Xx,Xy,Xz
0,1,x2
The VectorField & OneForm Object Operator Methods command was introduced in Maple 2020.
For more information on Maple 2020 changes, see Updates in Maple 2020.
See Also
VectorField (Object overview)
OneForm (Object overview)
LieAlgebrasOfVectorFields[VectorField]
LieAlgebrasOfVectorFields[OneForm]
Download Help Document