Set the default differentiation variables for dAlembertian and d_, define a spacetime tensor function , and use the enhanced display scheme of the differential equation packages.
The dAlembertian operator is the double application of d_[mu], with the index contracted.
In the default 4 = 3+1 dimensional Minkowski spacetime, the form of dAlembertian as a sum of diff constructions is
The dAlembertian deals normally with derivatives expressed in terms of any of the Maple differential operators, including D, diff, and d_. It also distributes over sums and products.
Because dAlembertian is a second order differential operator (dAlembertian(f) = d_[mu](d_[mu](f))), the differentiation rule, when applied to a product as in above, requires decomposing the dAlembertian operation into the sequence of d_[mu] operations. Note also the introduction of a dummy index alpha, which could be any spacetime index; these indices are chosen after checking that they are not assigned and not already present in the given expression at the time of introducing them.
Regardless of having set the default differentiation variables to , you can call dAlembertian or d_ with other coordinates as differentiation variables. For example, set one more coordinate system:
Note that the output above displays the differentiation variables . This is so because they are not the "default differentiation variables;" if you set them to be , then the omitted differentiation variables are , and the other differentiation variables (namely, ) are displayed.
The dAlembertian enters the classical field equations in various models; this is the electromagnetic field tensor.
Maxwell equations result from taking the functional derivative of the Action. Use delay evaluation quotes to display the operation unevaluated, then perform the operation on the next line.
To simplify the contracted spacetime indices, use the Simplify command.
The Lagrangean of the lambdaPhi^4 model, the corresponding Action, and the field equations: