Tensor Manipulation in GPL Maxima
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Topology and Physics 2019 - Lecture 2
Topology and Physics 2019 - lecture 2 Marcel Vonk February 12, 2019 2.1 Maxwell theory in differential form notation Maxwell's theory of electrodynamics is a great example of the usefulness of differential forms. A nice reference on this topic, though somewhat outdated when it comes to notation, is [1]. For notational simplicity, we will work in units where the speed of light, the vacuum permittivity and the vacuum permeability are all equal to 1: c = 0 = µ0 = 1. 2.1.1 The dual field strength In three dimensional space, Maxwell's electrodynamics describes the physics of the electric and magnetic fields E~ and B~ . These are three-dimensional vector fields, but the beauty of the theory becomes much more obvious if we (a) use a four-dimensional relativistic formulation, and (b) write it in terms of differential forms. For example, let us look at Maxwells two source-free, homogeneous equations: r · B = 0;@tB + r × E = 0: (2.1) That these equations have a relativistic flavor becomes clear if we write them out in com- ponents and organize the terms somewhat suggestively: x y z 0 + @xB + @yB + @zB = 0 x z y −@tB + 0 − @yE + @zE = 0 (2.2) y z x −@tB + @xE + 0 − @zE = 0 z y x −@tB − @xE + @yE + 0 = 0 Note that we also multiplied the last three equations by −1 to clarify the structure. All in all, we see that we have four equations (one for each space-time coordinate) which each contain terms in which the four coordinate derivatives act. Therefore, we may be tempted to write our set of equations in more \relativistic" notation as ^µν @µF = 0 (2.3) 1 with F^µν the coordinates of an antisymmetric two-tensor (i. -
SPINORS and SPACE–TIME ANISOTROPY
Sergiu Vacaru and Panayiotis Stavrinos SPINORS and SPACE{TIME ANISOTROPY University of Athens ————————————————— c Sergiu Vacaru and Panyiotis Stavrinos ii - i ABOUT THE BOOK This is the first monograph on the geometry of anisotropic spinor spaces and its applications in modern physics. The main subjects are the theory of grav- ity and matter fields in spaces provided with off–diagonal metrics and asso- ciated anholonomic frames and nonlinear connection structures, the algebra and geometry of distinguished anisotropic Clifford and spinor spaces, their extension to spaces of higher order anisotropy and the geometry of gravity and gauge theories with anisotropic spinor variables. The book summarizes the authors’ results and can be also considered as a pedagogical survey on the mentioned subjects. ii - iii ABOUT THE AUTHORS Sergiu Ion Vacaru was born in 1958 in the Republic of Moldova. He was educated at the Universities of the former URSS (in Tomsk, Moscow, Dubna and Kiev) and reveived his PhD in theoretical physics in 1994 at ”Al. I. Cuza” University, Ia¸si, Romania. He was employed as principal senior researcher, as- sociate and full professor and obtained a number of NATO/UNESCO grants and fellowships at various academic institutions in R. Moldova, Romania, Germany, United Kingdom, Italy, Portugal and USA. He has published in English two scientific monographs, a university text–book and more than hundred scientific works (in English, Russian and Romanian) on (super) gravity and string theories, extra–dimension and brane gravity, black hole physics and cosmolgy, exact solutions of Einstein equations, spinors and twistors, anistoropic stochastic and kinetic processes and thermodynamics in curved spaces, generalized Finsler (super) geometry and gauge gravity, quantum field and geometric methods in condensed matter physics. -
General Relativity Fall 2019 Lecture 11: the Riemann Tensor
General Relativity Fall 2019 Lecture 11: The Riemann tensor Yacine Ali-Ha¨ımoud October 8th 2019 The Riemann tensor quantifies the curvature of spacetime, as we will see in this lecture and the next. RIEMANN TENSOR: BASIC PROPERTIES α γ Definition { Given any vector field V , r[αrβ]V is a tensor field. Let us compute its components in some coordinate system: σ σ λ σ σ λ r[µrν]V = @[µ(rν]V ) − Γ[µν]rλV + Γλ[µrν]V σ σ λ σ λ λ ρ = @[µ(@ν]V + Γν]λV ) + Γλ[µ @ν]V + Γν]ρV 1 = @ Γσ + Γσ Γρ V λ ≡ Rσ V λ; (1) [µ ν]λ ρ[µ ν]λ 2 λµν where all partial derivatives of V µ cancel out after antisymmetrization. σ Since the left-hand side is a tensor field and V is a vector field, we conclude that R λµν is a tensor field as well { this is the tensor division theorem, which I encourage you to think about on your own. You can also check that explicitly from the transformation law of Christoffel symbols. This is the Riemann tensor, which measures the non-commutation of second derivatives of vector fields { remember that second derivatives of scalar fields do commute, by assumption. It is completely determined by the metric, and is linear in its second derivatives. Expression in LICS { In a LICS the Christoffel symbols vanish but not their derivatives. Let us compute the latter: 1 1 @ Γσ = @ gσδ (@ g + @ g − @ g ) = ησδ (@ @ g + @ @ g − @ @ g ) ; (2) µ νλ 2 µ ν λδ λ νδ δ νλ 2 µ ν λδ µ λ νδ µ δ νλ since the first derivatives of the metric components (thus of its inverse as well) vanish in a LICS. -
Tensor Calculus and Differential Geometry
Course Notes Tensor Calculus and Differential Geometry 2WAH0 Luc Florack March 10, 2021 Cover illustration: papyrus fragment from Euclid’s Elements of Geometry, Book II [8]. Contents Preface iii Notation 1 1 Prerequisites from Linear Algebra 3 2 Tensor Calculus 7 2.1 Vector Spaces and Bases . .7 2.2 Dual Vector Spaces and Dual Bases . .8 2.3 The Kronecker Tensor . 10 2.4 Inner Products . 11 2.5 Reciprocal Bases . 14 2.6 Bases, Dual Bases, Reciprocal Bases: Mutual Relations . 16 2.7 Examples of Vectors and Covectors . 17 2.8 Tensors . 18 2.8.1 Tensors in all Generality . 18 2.8.2 Tensors Subject to Symmetries . 22 2.8.3 Symmetry and Antisymmetry Preserving Product Operators . 24 2.8.4 Vector Spaces with an Oriented Volume . 31 2.8.5 Tensors on an Inner Product Space . 34 2.8.6 Tensor Transformations . 36 2.8.6.1 “Absolute Tensors” . 37 CONTENTS i 2.8.6.2 “Relative Tensors” . 38 2.8.6.3 “Pseudo Tensors” . 41 2.8.7 Contractions . 43 2.9 The Hodge Star Operator . 43 3 Differential Geometry 47 3.1 Euclidean Space: Cartesian and Curvilinear Coordinates . 47 3.2 Differentiable Manifolds . 48 3.3 Tangent Vectors . 49 3.4 Tangent and Cotangent Bundle . 50 3.5 Exterior Derivative . 51 3.6 Affine Connection . 52 3.7 Lie Derivative . 55 3.8 Torsion . 55 3.9 Levi-Civita Connection . 56 3.10 Geodesics . 57 3.11 Curvature . 58 3.12 Push-Forward and Pull-Back . 59 3.13 Examples . 60 3.13.1 Polar Coordinates in the Euclidean Plane . -
The Language of Differential Forms
Appendix A The Language of Differential Forms This appendix—with the only exception of Sect.A.4.2—does not contain any new physical notions with respect to the previous chapters, but has the purpose of deriving and rewriting some of the previous results using a different language: the language of the so-called differential (or exterior) forms. Thanks to this language we can rewrite all equations in a more compact form, where all tensor indices referred to the diffeomorphisms of the curved space–time are “hidden” inside the variables, with great formal simplifications and benefits (especially in the context of the variational computations). The matter of this appendix is not intended to provide a complete nor a rigorous introduction to this formalism: it should be regarded only as a first, intuitive and oper- ational approach to the calculus of differential forms (also called exterior calculus, or “Cartan calculus”). The main purpose is to quickly put the reader in the position of understanding, and also independently performing, various computations typical of a geometric model of gravity. The readers interested in a more rigorous discussion of differential forms are referred, for instance, to the book [22] of the bibliography. Let us finally notice that in this appendix we will follow the conventions introduced in Chap. 12, Sect. 12.1: latin letters a, b, c,...will denote Lorentz indices in the flat tangent space, Greek letters μ, ν, α,... tensor indices in the curved manifold. For the matter fields we will always use natural units = c = 1. Also, unless otherwise stated, in the first three Sects. -
Electromagnetic Fields from Contact- and Symplectic Geometry
ELECTROMAGNETIC FIELDS FROM CONTACT- AND SYMPLECTIC GEOMETRY MATIAS F. DAHL Abstract. We give two constructions that give a solution to the sourceless Maxwell's equations from a contact form on a 3-manifold. In both construc- tions the solutions are standing waves. Here, contact geometry can be seen as a differential geometry where the fundamental quantity (that is, the con- tact form) shows a constantly rotational behaviour due to a non-integrability condition. Using these constructions we obtain two main results. With the 3 first construction we obtain a solution to Maxwell's equations on R with an arbitrary prescribed and time independent energy profile. With the second construction we obtain solutions in a medium with a skewon part for which the energy density is time independent. The latter result is unexpected since usually the skewon part of a medium is associated with dissipative effects, that is, energy losses. Lastly, we describe two ways to construct a solution from symplectic structures on a 4-manifold. One difference between acoustics and electromagnetics is that in acoustics the wave is described by a scalar quantity whereas an electromagnetics, the wave is described by vectorial quantities. In electromagnetics, this vectorial nature gives rise to polar- isation, that is, in anisotropic medium differently polarised waves can have different propagation and scattering properties. To understand propagation in electromag- netism one therefore needs to take into account the role of polarisation. Classically, polarisation is defined as a property of plane waves, but generalising this concept to an arbitrary electromagnetic wave seems to be difficult. To understand propaga- tion in inhomogeneous medium, there are various mathematical approaches: using Gaussian beams (see [Dah06, Kac04, Kac05, Pop02, Ral82]), using Hadamard's method of a propagating discontinuity (see [HO03]) and using microlocal analysis (see [Den92]). -
Low-Level Image Processing with the Structure Multivector
Low-Level Image Processing with the Structure Multivector Michael Felsberg Bericht Nr. 0202 Institut f¨ur Informatik und Praktische Mathematik der Christian-Albrechts-Universitat¨ zu Kiel Olshausenstr. 40 D – 24098 Kiel e-mail: [email protected] 12. Marz¨ 2002 Dieser Bericht enthalt¨ die Dissertation des Verfassers 1. Gutachter Prof. G. Sommer (Kiel) 2. Gutachter Prof. U. Heute (Kiel) 3. Gutachter Prof. J. J. Koenderink (Utrecht) Datum der mundlichen¨ Prufung:¨ 12.2.2002 To Regina ABSTRACT The present thesis deals with two-dimensional signal processing for computer vi- sion. The main topic is the development of a sophisticated generalization of the one-dimensional analytic signal to two dimensions. Motivated by the fundamental property of the latter, the invariance – equivariance constraint, and by its relation to complex analysis and potential theory, a two-dimensional approach is derived. This method is called the monogenic signal and it is based on the Riesz transform instead of the Hilbert transform. By means of this linear approach it is possible to estimate the local orientation and the local phase of signals which are projections of one-dimensional functions to two dimensions. For general two-dimensional signals, however, the monogenic signal has to be further extended, yielding the structure multivector. The latter approach combines the ideas of the structure tensor and the quaternionic analytic signal. A rich feature set can be extracted from the structure multivector, which contains measures for local amplitudes, the local anisotropy, the local orientation, and two local phases. Both, the monogenic signal and the struc- ture multivector are combined with an appropriate scale-space approach, resulting in generalized quadrature filters. -
Arxiv:1510.06157V2 [Math.DG] 24 Aug 2017 2
DETERMINATION OF A RIEMANNIAN MANIFOLD FROM THE DISTANCE DIFFERENCE FUNCTIONS MATTI LASSAS AND TEEMU SAKSALA Abstract. Let (N; g) be a Riemannian manifold with the dis- tance function d(x; y) and an open subset M ⊂ N. For x 2 M we denote by Dx the distance difference function Dx : F × F ! R, given by Dx(z1; z2) = d(x; z1) − d(x; z2), z1; z2 2 F = N n M. We consider the inverse problem of determining the topological and the differentiable structure of the manifold M and the metric gjM on it when we are given the distance difference data, that is, the set F , the metric gjF , and the collection D(M) = fDx; x 2 Mg. Moreover, we consider the embedded image D(M) of the manifold M, in the vector space C(F × F ), as a representation of manifold M. The inverse problem of determining (M; g) from D(M) arises e.g. in the study of the wave equation on R×N when we observe in F the waves produced by spontaneous point sources at unknown points (t; x) 2 R × M. Then Dx(z1; z2) is the difference of the times when one observes at points z1 and z2 the wave produced by a point source at x that goes off at an unknown time. The prob- lem has applications in hybrid inverse problems and in geophysical imaging. Keywords: Inverse problems, distance functions, embeddings of man- ifolds, wave equation. Contents 1. Introduction 2 1.1. Motivation of the problem 2 1.2. Definitions and the main result 2 1.3. -
Automated Operation Minimization of Tensor Contraction Expressions in Electronic Structure Calculations
Automated Operation Minimization of Tensor Contraction Expressions in Electronic Structure Calculations Albert Hartono,1 Alexander Sibiryakov,1 Marcel Nooijen,3 Gerald Baumgartner,4 David E. Bernholdt,6 So Hirata,7 Chi-Chung Lam,1 Russell M. Pitzer,2 J. Ramanujam,5 and P. Sadayappan1 1 Dept. of Computer Science and Engineering 2 Dept. of Chemistry The Ohio State University, Columbus, OH, 43210 USA 3 Dept. of Chemistry, University of Waterloo, Waterloo, Ontario N2L BG1, Canada 4 Dept. of Computer Science 5 Dept. of Electrical and Computer Engineering Louisiana State University, Baton Rouge, LA 70803 USA 6 Computer Sci. & Math. Div., Oak Ridge National Laboratory, Oak Ridge, TN 37831 USA 7 Quantum Theory Project, University of Florida, Gainesville, FL 32611 USA Abstract. Complex tensor contraction expressions arise in accurate electronic struc- ture models in quantum chemistry, such as the Coupled Cluster method. Transfor- mations using algebraic properties of commutativity and associativity can be used to significantly decrease the number of arithmetic operations required for evalua- tion of these expressions, but the optimization problem is NP-hard. Operation mini- mization is an important optimization step for the Tensor Contraction Engine, a tool being developed for the automatic transformation of high-level tensor contraction expressions into efficient programs. In this paper, we develop an effective heuristic approach to the operation minimization problem, and demonstrate its effectiveness on tensor contraction expressions for coupled cluster equations. 1 Introduction Currently, manual development of accurate quantum chemistry models is very tedious and takes an expert several months to years to develop and debug. The Tensor Contrac- tion Engine (TCE) [2, 1] is a tool that is being developed to reduce the development time to hours/days, by having the chemist specify the computation in a high-level form, from which an efficient parallel program is automatically synthesized. -
Weyl's Spin Connection
THE SPIN CONNECTION IN WEYL SPACE c William O. Straub, PhD Pasadena, California “The use of general connections means asking for trouble.” —Abraham Pais In addition to his seminal 1929 exposition on quantum mechanical gauge invariance1, Hermann Weyl demonstrated how the concept of a spinor (essentially a flat-space two-component quantity with non-tensor- like transformation properties) could be carried over to the curved space of general relativity. Prior to Weyl’s paper, spinors were recognized primarily as mathematical objects that transformed in the space of SU (2), but in 1928 Dirac showed that spinors were fundamental to the quantum mechanical description of spin—1/2 particles (electrons). However, the spacetime stage that Dirac’s spinors operated in was still Lorentzian. Because spinors are neither scalars nor vectors, at that time it was unclear how spinors behaved in curved spaces. Weyl’s paper provided a means for this description using tetrads (vierbeins) as the necessary link between Lorentzian space and curved Riemannian space. Weyl’selucidation of spinor behavior in curved space and his development of the so-called spin connection a ab ! band the associated spin vector ! = !ab was noteworthy, but his primary purpose was to demonstrate the profound connection between quantum mechanical gauge invariance and the electromagnetic field. Weyl’s 1929 paper served to complete his earlier (1918) theory2 in which Weyl attempted to derive electrodynamics from the geometrical structure of a generalized Riemannian manifold via a scale-invariant transformation of the metric tensor. This attempt failed, but the manifold he discovered (known as Weyl space), is still a subject of interest in theoretical physics. -
The Riemann Curvature Tensor
The Riemann Curvature Tensor Jennifer Cox May 6, 2019 Project Advisor: Dr. Jonathan Walters Abstract A tensor is a mathematical object that has applications in areas including physics, psychology, and artificial intelligence. The Riemann curvature tensor is a tool used to describe the curvature of n-dimensional spaces such as Riemannian manifolds in the field of differential geometry. The Riemann tensor plays an important role in the theories of general relativity and gravity as well as the curvature of spacetime. This paper will provide an overview of tensors and tensor operations. In particular, properties of the Riemann tensor will be examined. Calculations of the Riemann tensor for several two and three dimensional surfaces such as that of the sphere and torus will be demonstrated. The relationship between the Riemann tensor for the 2-sphere and 3-sphere will be studied, and it will be shown that these tensors satisfy the general equation of the Riemann tensor for an n-dimensional sphere. The connection between the Gaussian curvature and the Riemann curvature tensor will also be shown using Gauss's Theorem Egregium. Keywords: tensor, tensors, Riemann tensor, Riemann curvature tensor, curvature 1 Introduction Coordinate systems are the basis of analytic geometry and are necessary to solve geomet- ric problems using algebraic methods. The introduction of coordinate systems allowed for the blending of algebraic and geometric methods that eventually led to the development of calculus. Reliance on coordinate systems, however, can result in a loss of geometric insight and an unnecessary increase in the complexity of relevant expressions. Tensor calculus is an effective framework that will avoid the cons of relying on coordinate systems. -
Appendix a Relations Between Covariant and Contravariant Bases
Appendix A Relations Between Covariant and Contravariant Bases The contravariant basis vector gk of the curvilinear coordinate of uk at the point P is perpendicular to the covariant bases gi and gj, as shown in Fig. A.1.This contravariant basis gk can be defined as or or a gk g  g ¼  ðA:1Þ i j oui ou j where a is the scalar factor; gk is the contravariant basis of the curvilinear coordinate of uk. Multiplying Eq. (A.1) by the covariant basis gk, the scalar factor a results in k k ðgi  gjÞ: gk ¼ aðg : gkÞ¼ad ¼ a ÂÃk ðA:2Þ ) a ¼ðgi  gjÞ : gk gi; gj; gk The scalar triple product of the covariant bases can be written as pffiffiffi a ¼ ½¼ðg1; g2; g3 g1  g2Þ : g3 ¼ g ¼ J ðA:3Þ where Jacobian J is the determinant of the covariant basis tensor G. The direction of the cross product vector in Eq. (A.1) is opposite if the dummy indices are interchanged with each other in Einstein summation convention. Therefore, the Levi-Civita permutation symbols (pseudo-tensor components) can be used in expression of the contravariant basis. ffiffiffi p k k g g ¼ J g ¼ðgi  gjÞ¼Àðgj  giÞ eijkðgi  gjÞ eijkðgi  gjÞ ðA:4Þ ) gk ¼ pffiffiffi ¼ g J where the Levi-Civita permutation symbols are defined by 8 <> þ1ifði; j; kÞ is an even permutation; eijk ¼ > À1ifði; j; kÞ is an odd permutation; : A:5 0ifi ¼ j; or i ¼ k; or j ¼ k ð Þ 1 , e ¼ ði À jÞÁðj À kÞÁðk À iÞ for i; j; k ¼ 1; 2; 3 ijk 2 H.