Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
tensor[commutator] - compute the commutator of two contravariant vector fields
Calling Sequence
commutator( U, V, coord)
Parameters
U, V
-
contravariant vector fields
coord
list of coordinate names
Description
Given the coordinate variables, coord, and two contravariant vector fields, U and V, commutator( U, V, coord ) computes the commutator of U and V using the usual partial derivative with respect to the coordinates using the formula:
where denotes the i'th component of the commutator of and , and and denote the partial derivatives of the i'th components of and , respectively, with respect to the j'th coordinate.
It is required that U and V be tensor_types with character: [1] (that is, U and V are contravariant vector fields)
Note that the result is a tensor_type of rank 1 with character [1].
Simplification: This routine uses the routine `tensor/commutator/simp` routine for simplification purposes. The simplification routine is applied to each component once it has been computed. By default, this routine is initialized to the `tensor/simp` routine. It is recommended that the `tensor/commutator/simp` routine be customized to suit the needs of the particular problem.
This function is part of the tensor package, and so can be used in the form commutator(..) only after performing the command with(tensor) or with(tensor, commutator). The function can always be accessed in the long form tensor[commutator](..).
Examples
Define U and V -- two contravariant vector fields:
Define the coordinates:
Because the components of U and V contain expressions involving ln, define `tensor/commutator/simp` to apply simplify( ... , ln) to each computed component:
`tensor/commutator/simp`:=proc(x) simplify(x,ln) end proc;
Now compute the commutator of U and V:
See Also
tensor, tensor/Lie_diff
Download Help Document