Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Physics[Expand] - expand noncommutative products over sums
Calling Sequence
expand(expr)
Parameters
expr
-
any expression
Description
The Expand command expands powers and distributes products over sums, where the products can be expressed with the * and ^ operators in the Physics package, or with the commutative (:-*, :-^) or inert (%*, %^) versions of them. Expand also expands the Commutator and AntiCommutator functions of the Physics package. The products resulting from the expansion of commutators, anticommutators, powers, and distribution of products over sums are all returned normalized.
After the Physics package has been loaded, the functionality provided by Expand is also automatically provided through the standard expand command. However expand additionally expands mathematical functions, something that Expand does not do.
Note: For the conventions adopted to represent noncommutative and anticommutative objects, see Setup and the types anticommutative and noncommutative.
Examples
For illustration purposes, first set and as prefixes to identify anticommutative variables and functions, and to identify noncommutative ones (see Setup for details).
Consider now the noncommutative product between anticommutative objects and related sums.
You can get the expanded form of this product using expand or Expand:
Note that in the expanded representation, all * products are distributed. This is a more complicated example, involving anticommutative and noncommutative objects.
Now you can use the usual Maple commands to manipulate this expression. For example, note the existence of common factors entering the commutative products of this expression; you can take advantage of them to simplify it.
To additionally expand also the mathematical functions, use expand instead of Expand; compare for instance these two results:
See Also
convert/horner, Physics, Physics conventions, Physics examples, Physics[*], Physics[^], Setup
Download Help Document