Antisymmetrize - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Physics : Antisymmetrize

Physics[Antisymmetrize] - Compute an expression that is totally antisymmetric with respect to any permutation of its free indices

Physics[Symmetrize] - Compute an expression that is totally symmetric with respect to any permutation of its free indices

Calling Sequence

Antisymmetrize(T, idx, options=value)

Symmetrize(T, idx, options=value)

Parameters

T

-

an algebraic tensorial expression, or a relation, or list, set or Array of them

idx

-

optional - a set or list with indices to be (anti)symmetrized, expected to be of the same kind: either all covariant or all contravariant (prefixed with ~). Default is all the free indices of T

evaluatetensor = ...

-

optional - can be true or false (default), to evaluate the tensors in T after (anti)symmetrizing them

simplifytensor = ...

-

optional - can be true or false (default), to simplify the resulting expression after (anti)symmetrizing the tensors in T with regards to the summation convention for repeated indices and the (anti)symmetry properties of tensors involved

Description

• 

The and Antisymmetrize and Symmetrize commands receive an algebraic expression T involving tensors and returns another algebraic expression that is respectively totally antisymmetric or totally symmetric with respect to any permutation of the free tensorial indices of T.

• 

In the particular case where T is itself a product of totally antisymmetric covariant tensors, the expression returned by Antisymmetrize is also, by definition, the exterior product of these tensors.

• 

When a second argument, idx, is indicated as a set or list of indices, the (anti)symmetrization is performed only with respect to these indices, otherwise, it is performed with regards to all the free indices of T. In either case, to perform the (anti)symmetrization it is necessary that the indices are all of the same kind, that is, all covariant or all contravariant.

• 

By default, the (anti)symmetrization is performed without evaluation the tensors entering the result. However, when there are tensors in T that already have symmetry properties (see Define to define them), it may be convenient to evaluate these tensors (option evaluatetensor) or even simplify the result with regards to the summation convention for repeated indices and taking into account the (anti)symmetry properties of the tensors involved or their products. For these purposes, respectively pass the option evaluatetensor or simplifytensor (the latter supersedes the former).

Examples

withPhysics:

Setupmathematicalnotation=true

mathematicalnotation=true

(1)

Define A, B and C, with respectively 1, 2 and 3 indices, B totally symmetric and C totally antisymmetric

DefineAμ

Defined objects with tensor properties

Aμ,γμ,σμ,μ,gμ,ν,εα,β,μ,ν

(2)

DefineBμ,ν,symmetric

Defined objects with tensor properties

Aμ,Bμ,ν,γμ,σμ,μ,gμ,ν,εα,β,μ,ν

(3)

DefineCμ,ν,ρ,antisymmetric

Defined objects with tensor properties

Aμ,Bμ,ν,Cμ,ν,ρ,γμ,σμ,μ,gμ,ν,εα,β,μ,ν

(4)

Symmetrize the product AμBα,β

AμBα,β

AμBα,β

(5)

Symmetrize

16AαBβ,μ+16AαBμ,β+16AβBα,μ+16AβBμ,α+16AμBα,β+16AμBβ,α

(6)

Check this result using the IsTensorialSymmetric command from the programming library

Library:-IsTensorialSymmetric

true

(7)

The symmetrized expression can however be simplified taking into account that B is symmetric; i.e. Bα,β=Bβ,α. This simplification can be achieved using Simplify or passing the option simplifytensor

Symmetrize,simplifytensor

AαBβ,μ3+AβBα,μ3+AμBα,β3

(8)

Antisymmetrize now this same product AμBα,β

Antisymmetrize

0

(9)

The result above is expected since Bα,β is symmetric. In the same way, the symmetrization of a product involving an antisymmetric tensor, for instance C, is also zero:

AμCα,β,γ

AμCα,β,γ

(10)

Symmetrize

0

(11)

The antisymmetrization of this product can be simplified significantly taking into account that C is totally antisymmetric

Antisymmetrize

124AαCβ,γ,μ+124AαCβ,μ,γ+124AαCγ,β,μ124AαCγ,μ,β124AαCμ,β,γ+124AαCμ,γ,β+124AβCα,γ,μ124AβCα,μ,γ124AβCγ,α,μ+124AβCγ,μ,α+124AβCμ,α,γ124AβCμ,γ,α124AγCα,β,μ+124AγCα,μ,β+124AγCβ,α,μ124AγCβ,μ,α124AγCμ,α,β+124AγCμ,β,α+124AμCα,β,γ124AμCα,γ,β124AμCβ,α,γ+124AμCβ,γ,α+124AμCγ,α,β124AμCγ,β,α

(12)

Simplify

AαCβ,γ,μ4+AβCα,γ,μ4AγCα,β,μ4+AμCα,β,γ4

(13)

Make the product Bμ,νCα,β,γ be symmetric with regards to the 1st index of each of them and antisymmetric with regards to the 2nd index of each of them

Bμ,νCα,β,γ

Bμ,νCα,β,γ

(14)

AntisymmetrizeSymmetrize,μ,α,ν,β,simplifytensor

Bα,νCβ,γ,μ4+Bμ,νCα,β,γ4Bα,βCγ,μ,ν4+Bβ,μCα,γ,ν4

(15)

Verify the symmetries of this result with regards to permutations of μ,α and ν,β

Library:-IsTensorialSymmetric,μ,α

true

(16)

Library:-IsTensorialAntisymmetric,ν,β

true

(17)

See Also

Define, Library[IsTensorialAntisymmetric], Library[IsTensorialSymmetric], Physics, Physics conventions, Physics examples, Physics Updates, Tensors - a complete guide, Mini-Course Computer Algebra for Physicists, Setup