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
Physics[Normal] - The Normal tensor
Calling Sequence
Normal(f, option=value, ...)
Parameters
f
-
algebraic expression, or relation between them, or a set or list of them
producttopower
optional - can be true (default) or false, to express products of the same object as a power
reprocesscommutativeproducts
optional - can be true (default) or false, to reprocess commutative products identifying and normalizing anticommutative and noncommutative operands operands
sortnoncommutative
optional - can be true (default) or false, to sort noncommutative operands in products using into account commutation rules for them
unnest
optional - can be true (default) or false, to unnest given nested products flattening the nested operations into only one
Description
The Normal command replaces products expressed with the * operator by simplified, unnested and sorted ones. The sorting procedure has the purpose of rewriting products expressed with the * operator of Physics, perhaps with different appearance but the same mathematical contents, in a unique manner here called canonical form. In turn, this allows you to take advantage of the simplification commands of the Maple Standard Library since, after calling Normal, equivalent products can be recognized as such by the system. To set the identifiers for type/noncommutative and type/anticommutative variables see Setup.
Normal is automatically used by the Physics product operator * with all its options using their default values but for sortnoncommutative.
The canonical form for products expressed with the * operator of Physics is built as follows:
The sequence of operands of is split into two sequences: s1 and s2, containing the commutative and not commutative (anticommutative and noncommutative) operands, respectively.
The elements of s1 are sorted by using machine ordering (table(symmetric)), resulting in sorted_s1.
Each subsequence of anticommutative elements of s2 is sorted using machine ordering (table(antisymmetric)), resulting in sorted_s2.
Both sorted_s1 and sorted_s2 are normalized by using normal.
A result is built and returned as the normalized form of sorted_s1 times sorted_s2.
To simplify in general these products that involve noncommutative objects, taking into account the same commutation rules taken into account by Normal and in addition other simplification rules, use Simplify. To expand these generalized products over sums, use expand (will expand mathematical functions as well) or Expand (will expand only noncommutative products and related functions of the Physics package as for instance Commutators).
Compatibility
The Physics[Normal] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Examples
Set first some identifiers to work with type/anticommutative and type/noncommutative variables and a related algebra
See Also
AntiCommutator, Commutator, Expand, normal, Physics, Physics conventions, Physics examples, Setup, Simplify, type/ac_var, type/anticommutative, type/commutative, type/noncommutative
Download Help Document