Inverse - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Physics[Inverse] - compute the inverse of an object with respect to noncommutative products

Calling Sequence

Inverse(f)

Parameters

f

-

any mathematical expression

Description

• 

The Inverse command, when applied to an object, represents the object's (noncommutative) multiplicative inverse; that is, Inverse(Z) * Z = Z * Inverse(Z) = 1, where * herein represents the Physics[*] product, whose commutativity depends on the operands (see also type, commutative).

• 

The %Inverse command is the inert form of Inverse; that is, it represents the same mathematical operation while displaying the operation unevaluated. To evaluate the operation, use the value command.

• 

The results returned by Inverse are constructed as follows:

  

- If f is of commutative type, then return 1f.

  

- If f is a matrix, then return its inverse.

  

- If f is equal to Inverse(g) for some g, then return g.

  

- If f is a noncommutative product, then distribute:InverseA*BInverseB*InverseA.

  

- If f is a * (commutative) product, then distribute:InverseA*BInverseA*InverseB.

  

- Otherwise, return the unevaluated expression Inversef.

• 

All noncommutative products introduced by Inverse have their operands sorted and normalized automatically by the Physics[*] operator. This ensures that the basic simplifications and identities for these products are taken into account in the returned results.

• 

A `print/Inverse` procedure makes the display of this function appear as a power, as in

Inverse(Q);

Q-1

(1)

Examples

withPhysics:

Setupmathematicalnotation=true

mathematicalnotation=true

(2)

First, set prefixes for identifying anticommutative and noncommutative variables.

Setupanticommutativeprefix=Q,noncommutativeprefix=Z

anticommutativeprefix=Q,noncommutativeprefix=Z

(3)

InverseZ1Z1

1

(4)

Consider now the list of objects of commutative, anticommutative, and noncommutative types.

a,InverseQ,Q1Z2,AB,aQ1Q2

a,Q-1,Q1Z2,AB,aQ1Q2

(5)

The multiplicative inverses of these objects are:

mapInverse,

1a,Q,Z2-1Q1-1,1AB,Q1-1Q2-1a

(6)

In turn out that the multiplicative inverses of these inverses are the original objects themselves.

mapInverse,

a,Q-1,Q1Z2,AB,aQ1Q2

(7)

See Also

Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Physics[*], Setup, type/anticommutative, type/noncommutative