Physlib

Physlib.Mathematics.LeviCivita.Basic

The Levi-Civita symbol in general dimension

i. Overview

This module defines the Levi-Civita symbol `leviCivitaSymbol` on a general finite index type `ι`: for `g : ι → ι` it is the sign of `g` when `g` is a permutation and `0` otherwise. Taking `ι = Fin d` gives the Levi-Civita symbol `ε_{i₁ ⋯ i_d}` in dimension `d`, normalized by `ε_{0 1 ⋯ (d-1)} = 1`.

The definition is the `generalizedKroneckerDelta` of `g` against the identity, i.e. the determinant of the matrix of Kronecker deltas `δ[g i, j]`, so the basic properties are inherited from the determinant: the value `1` on the identity, antisymmetry under transposition of two indices, vanishing on repeated indices, and the sign of a permutation via `Matrix.det_permutation`.

ii. Key results

  • `leviCivitaSymbol` : the Levi-Civita symbol on a finite index type, valued in `ℤ`.
  • `leviCivitaSymbol_id` : the normalization `ε_{0 1 ⋯ (d-1)} = 1`.
  • `leviCivitaSymbol_perm` : on a permutation `σ` the symbol is the sign of `σ`.
  • `leviCivitaSymbol_comp_swap` : antisymmetry under transposition of two indices.
  • `leviCivitaSymbol_swap_comp` : antisymmetry under transposition of two index values.
  • `leviCivitaSymbol_eq_zero_iff` : the symbol vanishes exactly on repeated indices.

iii. Table of contents

  • A. Definition
  • B. Value on permutations
  • C. Antisymmetry
  • D. Vanishing on repeated indices

iv. References

  • https://en.wikipedia.org/wiki/Levi-Civita_symbol

A. Definition

B. Value on permutations

C. Antisymmetry

D. Vanishing on repeated indices

9 declarations

definition

Levi-Civita symbol ϵg\epsilon_g

For a finite index set ι\iota and a map g:ιιg: \iota \to \iota, the Levi-Civita symbol ϵg\epsilon_g is the integer defined as the generalized Kronecker delta of gg and the identity map idι\text{id}_\iota. It is given by the determinant of the matrix whose (i,j)(i, j)-th entry is the Kronecker delta δg(i),j\delta_{g(i), j}: ϵg=det(δg(i),j)i,jι\epsilon_g = \det(\delta_{g(i), j})_{i, j \in \iota} The value ϵg\epsilon_g is equal to the sign of the permutation sgn(g)\text{sgn}(g) if gg is a permutation, and 00 otherwise. In the specific case where ι={0,1,,d1}\iota = \{0, 1, \dots, d-1\}, this corresponds to the components of the dd-dimensional Levi-Civita tensor ϵg(0)g(1)g(d1)\epsilon_{g(0) g(1) \dots g(d-1)}.

theorem

ϵg=det(δg(i),j)\epsilon_g = \det(\delta_{g(i), j})

Let ι\iota be a finite index set. For any map g:ιιg : \iota \to \iota, the Levi-Civita symbol ϵg\epsilon_g is equal to the determinant of the matrix whose (i,j)(i, j)-th entry is the Kronecker delta δg(i),j\delta_{g(i), j}: ϵg=det(δg(i),j)i,jι\epsilon_g = \det \left( \delta_{g(i), j} \right)_{i, j \in \iota} where δg(i),j\delta_{g(i), j} is 11 if g(i)=jg(i) = j and 00 otherwise.

theorem

ϵid=1\epsilon_{\text{id}} = 1

For any finite index set ι\iota, let id:ιι\text{id} : \iota \to \iota be the identity map. The Levi-Civita symbol of the identity map is 11: ϵid=1\epsilon_{\text{id}} = 1 This corresponds to the normalization of the symbol in dd dimensions, ϵ01(d1)=1\epsilon_{0 1 \dots (d-1)} = 1.

theorem

The Levi-Civita symbol of a permutation σ\sigma is equal to its sign sgn(σ)\text{sgn}(\sigma)

For a finite index set ι\iota and a permutation σ\sigma of ι\iota, the Levi-Civita symbol ϵσ\epsilon_\sigma is equal to the sign of the permutation sgn(σ)\text{sgn}(\sigma), considered as an integer in Z\mathbb{Z}.

theorem

ϵgswap(i,j)=ϵg\epsilon_{g \circ \text{swap}(i, j)} = -\epsilon_g for distinct i,ji, j

Let ι\iota be a finite index set and g:ιιg: \iota \to \iota be a map. For any two distinct indices i,jιi, j \in \iota, the Levi-Civita symbol ϵg\epsilon_g is antisymmetric under the transposition of these indices: ϵgτi,j=ϵg\epsilon_{g \circ \tau_{i,j}} = -\epsilon_g where τi,j\tau_{i,j} is the permutation that swaps ii and jj and leaves all other elements of ι\iota fixed.

theorem

ϵτi,jg=ϵg\epsilon_{\tau_{i, j} \circ g} = -\epsilon_g for the Levi-Civita symbol

Let ι\iota be a finite index set and g:ιιg: \iota \to \iota be a map. For any two distinct elements i,jιi, j \in \iota, let τi,j\tau_{i, j} denote the transposition (swap) of ii and jj. The Levi-Civita symbol ϵg\epsilon_g is antisymmetric under post-composition with this transposition: ϵτi,jg=ϵg\epsilon_{\tau_{i, j} \circ g} = -\epsilon_g This means that swapping two distinct index values wherever they occur in the map gg negates the value of the Levi-Civita symbol.

theorem

The Levi-Civita symbol ϵg=0\epsilon_g = 0 if gg has repeated indices

Let ι\iota be a finite index set and g:ιιg: \iota \to \iota be a map. If there exist two distinct indices i,jιi, j \in \iota such that iji \neq j and g(i)=g(j)g(i) = g(j), then the Levi-Civita symbol ϵg\epsilon_g vanishes (i.e., ϵg=0\epsilon_g = 0).

theorem

The Levi-Civita symbol ϵg=0\epsilon_g = 0 if gg is not injective

Let ι\iota be a finite index set and g:ιιg : \iota \to \iota be a map. If gg is not injective, then the Levi-Civita symbol ϵg\epsilon_g is equal to 00.

theorem

ϵg=0    g\epsilon_g = 0 \iff g is not injective

Let ι\iota be a finite index set and g:ιιg: \iota \to \iota be a map. The Levi-Civita symbol ϵg\epsilon_g is equal to 00 if and only if gg is not an injective function (which, for a map from a finite set to itself, is equivalent to gg having at least one repeated index).