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

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 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 of 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

> 

with⁡Physics:

> 

Setup⁡mathematicalnotation=true

mathematicalnotation=true

(1)

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

> 

Define⁡Aμ

Defined objects with tensor properties

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

(2)
> 

Define⁡Bμ,ν,symmetric

Defined objects with tensor properties

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

(3)
> 

Define⁡Cμ,ν,ρ,antisymmetric

Defined objects with tensor properties

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

(4)

Symmetrize the product Aμ⁢Bα,β

> 

Aμ⁢Bα,β

Aμ⁢Bα,β

(5)
> 

Symmetrize⁡

16⁢Aα⁢Bβ,μ+16⁢Aα⁢Bμ,β+16⁢Aβ⁢Bα,μ+16⁢Aβ⁢Bμ,α+16⁢Aμ⁢Bα,β+16⁢Aμ⁢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⁡

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

(12)
> 

Simplify⁡

−Aα⁢Cβ,γ,μ4+Aβ⁢Cα,γ,μ4−Aγ⁢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)
> 

Antisymmetrize⁡Symmetrize⁡,μ,α,ν,β,simplifytensor

Bα,ν⁢Cβ,γ,μ4+Bμ,ν⁢Cα,β,γ4−Bα,β⁢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