Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/main/10Manifold_AlternatingForms_onModules.ipynb
Views: 333
10. Alternating forms on modules
This notebook is part of the Introduction to manifolds in SageMath by Andrzej Chrzeszczyk (Jan Kochanowski University of Kielce, Poland).
Warning: In this notebook denotes a module --- not a manifold
Reminder. Bases and dual bases
Le us assume that is a basis in a finite dimensional vector space or more generally finite rank free module over a ring (defined in notebook 6), so every vector can be uniquely represented as a linear combination , .
Example 10.1
Define a basis in a 3-dimensional module over the symbolic ring SR
.
If is a basis we denote by the dual basis, i.e. the family of linear forms , such that
Example 10.2
Let us define the dual basis to the basis from the previous example.
Elements of dual basis are coordinate functions
If is a basis and its dual basis, then for we have
so the -th element of the dual basis is the -th coordinate function:
Example 10.3
For example let us check the values of all elements of the dual basis on the vector .
Permutations
By a permutation of a set we mean a bijection . In the sequel we will restrict ourselves to finite sets In that case, the permutation is just the reordering To define a permutation, it is sufficient to define the image .
Example 10.4
We can define a permutation of the set by its image .
The action of on (1,2,3):
Sign of permutation
The permutations form a group if we define the multiplication as the composition: The group of permutations of the set is usually denoted by .
An inversion of a permutation is a pair such that and . A permutation is even or odd depending on whether it is the product of an even or odd number of inversions. The sign of a permutation , denoted by is defined to be +1 or -1 depending on whether the permutation is even or odd. The sign of permutations satisfies
Example 10.5
Let us compute for example the sign of the permutation of .
Example 10.6
Now let us list all permutations from and their signs.
Alternating forms
Let where is a vector space or a module. Recall that by a -linear form on (or covariant tensor of type ) we mean a function which is linear in each of its arguments, i.e for
A -linear form is alternating if it changes sign every time two of its variables are interchanged, that is, if
Let us recall that in the notebook 9a the -linear forms on were called covariant tensors from .
In notations used by SageMath
the module of alternating -forms on a module is denoted by ( it is a submodule of ).
Example 10.7
Define a 3-linear form and alternating 3-form on a module M.
For alternating forms we have a special command: alternating_form
.
Antisymmetrization operation
If is a covariant tensor from , then we can define an alternating -form called Alt() in the following way ParseError: KaTeX parse error: Undefined control sequence: \label at position 144: …_{\sigma(k)}), \̲l̲a̲b̲e̲l̲{}\tag{10.1} \e… for .
The antisymmetrization operation in SageMath Manifolds is accessible by the method antisymmetrize
.
Example 10.8
Let us define a tensor of type on a 3-dimensional module and its antisymmetrization.
In the next series of cells we try to show some details of the antisymmetrization operation Alt.
Example 10.9
If there are only two permutations in , with signs +1, -1 so the sum from the antisymmetrization definition (10.1), applied to computed on the vectors reduces to .
Define tensor :
and list components of in the sum (10.1):
Compute the sum from the definition (10.1) of antisymmetrization for :
Check if SageMath Manifolds antisymmetrize
gives the same result:
Example 10.10
Now let us check how the antisymmetrization works for covariant tensors from . We define symbolic 3-dimensional tables first.
Since contains 3!=6 elements, the sum from antisymmetrization definition (10.1) contains 6 summands.
Let us apply the antisymmetrization definition (10.1) for .
Let us check what gives the antisymmetrize
method:
Note that in the above calculations we restricted ourselves to one component of the antisymmetrized tensor.
To display the full result we need the notion of tensor and wedge products.
Reminder. Tensor product
Recall the definition (9.1a) of the tensor product
For we define the tensor product by
for .
Wedge product
Using the antisymmetrization operation Alt we can define the wedge product between alternating forms and , which gives defined by ParseError: KaTeX parse error: Undefined control sequence: \label at position 67: …m{Alt}(t ⊗ s). \̲l̲a̲b̲e̲l̲{}\tag{10.2} \e…
Example 10.11
If then since contains only two permutations of opposite sign we see that Alt is equal to and .
One can prove that for
(in notebook 14 we prove this for differential forms).
Since the order of parentheses in that formula is not essential we can replace both sides by , analogously we can form the wedge products of larger number of forms: .
Bases in the space of alternating forms
To show concrete examples of alternating forms we will use bases in the spaces of alternating -forms.
If is a basis of , then the set
is a basis for , i.e. elements of this set are linearly independent and every can be uniquely written in the form
where
Detailed proof of this fact, in the case of differential forms, is given in notebook 14.
Since the indices form a strictly increasing sequences, the number of such sequences for an -dimensional is , so the dimension of for an -dimensional is
Example 10.12
Take two 1-forms and :
Compute the wedge product :
Let us check the result using the definition of wedge product.
Let us note that for 1-forms with components and the components of are just the minors of
Example 10.13
Let us compute the wedge product of three 1-forms in a 3-dimensional module.
We can recognize in the result the Laplace expansion of the determinant det
so we obtain det
SageMath Manifolds also recognizes that equality:
Example 10.14
For alternating 2-forms the antisymmetry property implies, that the corresponding component matrices must be antisymmetric, so only upper or lower triangles of the component matrices must be defined.
Compute 1-form times 2-form in 3-dimensional module:
Let us apply the definition of wedge product for comparison.
Example 10.15
Clarification of the factor in the wedge product definition.
Let us perform the wedge product between a 2-form and 3-form in 5-dimensional module.
Here is the wedge product according to SageMath Manifolds:
Let us apply the definition of wedge product for comparison:
If we drop the factor and expand the sum from the antisymmetrization definition (cf. (10.1)) we obtain (the factor is canceled by the factor from that definition):
The last sum contains repeated elements.
Below we display all permutations from which give nonzero elements in the sum from the definition of wedge product. All mentioned permutations give the same result of
equal to
Thus the factor in the wedge product definition is reasonable. Some authors use different choices of this factor. We follow the SageMath Manifolds choice.
Abbreviated notations for -forms
For arbitrary -forms in sometimes we would not want to actually write out all the indices from (10.3), so instead we will write ParseError: KaTeX parse error: Undefined control sequence: \label at position 43: …m_I a_I dx^I .
\̲l̲a̲b̲e̲l̲{}\tag{10.4}
\e… Here the stands for the sequence of increasing indices : . That is, we sum over .
For example, for and we have
If and are disjoint then we have where , but is reordered to be in increasing order. Elements with repeated indices are dropped. Using this notation we can compute the wedge product as follows
ParseError: KaTeX parse error: Undefined control sequence: \label at position 152: …Ib_J\Big)dx^K. \̲l̲a̲b̲e̲l̲{}\tag{10.5} \e…Example 10.16
Let us demonstrate this method in the case of the wedge product of 2-form times 2-form in a four-dimensional module.
Computing the wedge product we use all possible strictly increasing and disjoint sequences is reordered disjoint union .
In our example we take all possible 2-element increasing permutations of indices for the first form:
The corresponding increasing satisfying and are:
so, the wedge product is
The signs in the last result are the signs of the corresponding permutations:
SageMath Manifolds gives the sum in parentheses in reverse order:
Basic properties of the wedge product
Multilinearity
For and ParseError: KaTeX parse error: Undefined control sequence: \label at position 229: …wedge(a\beta). \̲l̲a̲b̲e̲l̲{}\tag{10.6} \e…
Associativity
For
Anticommutativity
If and , then ParseError: KaTeX parse error: Undefined control sequence: \label at position 43: …1)^{km} s ∧ t. \̲l̲a̲b̲e̲l̲{}\tag{10.8} \e…
In the notebook 14 we will prove analogous properties in the case of differential forms.
What's next?
Take a look at the notebook Vector fields.