4.3: Exercises

Computational Physics · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    4.3: Exercises

    Exercise \(\PageIndex{1}\)

    Write Python code to construct a 3D array of size \(3\times 3\times 3\) corresponding to the Levi-Civita tensor,

    \[\varepsilon_{ijk} = \begin{cases} +1 & \text{if } (i,j,k) \text{ is } (1,2,3), (2,3,1) \text{ or } (3,1,2), \\ -1 & \text{if } (i,j,k) \text{ is } (3,2,1), (1,3,2) \text{ or } (2,1,3), \\ \;\;\,0 & \text{if }i=j \text{ or } j=k \text{ or } k=i \end{cases}\]
    Then, using the tensordot function, verify the identity \(\sum_i \varepsilon_{ijk} \varepsilon_{imn}=\delta_{jm}\delta_{kn} - \delta_{jn}\delta_{km}\).


    This page titled 4.3: Exercises was last modified on Fri, 30 Apr 2021 15:01:35 GMT and is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Y. D. Chong via source content that was edited to the style and standards of the LibreTexts platform.