Fundamental Theorem of Calculus
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
1.2 Topological Tensor Calculus
PH211 Physical Mathematics Fall 2019 1.2 Topological tensor calculus 1.2.1 Tensor fields Finite displacements in Euclidean space can be represented by arrows and have a natural vector space structure, but finite displacements in more general curved spaces, such as on the surface of a sphere, do not. However, an infinitesimal neighborhood of a point in a smooth curved space1 looks like an infinitesimal neighborhood of Euclidean space, and infinitesimal displacements dx~ retain the vector space structure of displacements in Euclidean space. An infinitesimal neighborhood of a point can be infinitely rescaled to generate a finite vector space, called the tangent space, at the point. A vector lives in the tangent space of a point. Note that vectors do not stretch from one point to vector tangent space at p p space Figure 1.2.1: A vector in the tangent space of a point. another, and vectors at different points live in different tangent spaces and so cannot be added. For example, rescaling the infinitesimal displacement dx~ by dividing it by the in- finitesimal scalar dt gives the velocity dx~ ~v = (1.2.1) dt which is a vector. Similarly, we can picture the covector rφ as the infinitesimal contours of φ in a neighborhood of a point, infinitely rescaled to generate a finite covector in the point's cotangent space. More generally, infinitely rescaling the neighborhood of a point generates the tensor space and its algebra at the point. The tensor space contains the tangent and cotangent spaces as a vector subspaces. A tensor field is something that takes tensor values at every point in a space. -
A Some Basic Rules of Tensor Calculus
A Some Basic Rules of Tensor Calculus The tensor calculus is a powerful tool for the description of the fundamentals in con- tinuum mechanics and the derivation of the governing equations for applied prob- lems. In general, there are two possibilities for the representation of the tensors and the tensorial equations: – the direct (symbolic) notation and – the index (component) notation The direct notation operates with scalars, vectors and tensors as physical objects defined in the three dimensional space. A vector (first rank tensor) a is considered as a directed line segment rather than a triple of numbers (coordinates). A second rank tensor A is any finite sum of ordered vector pairs A = a b + ... +c d. The scalars, vectors and tensors are handled as invariant (independent⊗ from the choice⊗ of the coordinate system) objects. This is the reason for the use of the direct notation in the modern literature of mechanics and rheology, e.g. [29, 32, 49, 123, 131, 199, 246, 313, 334] among others. The index notation deals with components or coordinates of vectors and tensors. For a selected basis, e.g. gi, i = 1, 2, 3 one can write a = aig , A = aibj + ... + cidj g g i i ⊗ j Here the Einstein’s summation convention is used: in one expression the twice re- peated indices are summed up from 1 to 3, e.g. 3 3 k k ik ik a gk ∑ a gk, A bk ∑ A bk ≡ k=1 ≡ k=1 In the above examples k is a so-called dummy index. Within the index notation the basic operations with tensors are defined with respect to their coordinates, e. -
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 . -
Fast Higher-Order Functions for Tensor Calculus with Tensors and Subtensors
Fast Higher-Order Functions for Tensor Calculus with Tensors and Subtensors Cem Bassoy and Volker Schatz Fraunhofer IOSB, Ettlingen 76275, Germany, [email protected] Abstract. Tensors analysis has become a popular tool for solving prob- lems in computational neuroscience, pattern recognition and signal pro- cessing. Similar to the two-dimensional case, algorithms for multidimen- sional data consist of basic operations accessing only a subset of tensor data. With multiple offsets and step sizes, basic operations for subtensors require sophisticated implementations even for entrywise operations. In this work, we discuss the design and implementation of optimized higher-order functions that operate entrywise on tensors and subtensors with any non-hierarchical storage format and arbitrary number of dimen- sions. We propose recursive multi-index algorithms with reduced index computations and additional optimization techniques such as function inlining with partial template specialization. We show that single-index implementations of higher-order functions with subtensors introduce a runtime penalty of an order of magnitude than the recursive and iterative multi-index versions. Including data- and thread-level parallelization, our optimized implementations reach 68% of the maximum throughput of an Intel Core i9-7900X. In comparison with other libraries, the aver- age speedup of our optimized implementations is up to 5x for map-like and more than 9x for reduce-like operations. For symmetric tensors we measured an average speedup of up to 4x. 1 Introduction Many problems in computational neuroscience, pattern recognition, signal pro- cessing and data mining generate massive amounts of multidimensional data with high dimensionality [13,12,9]. Tensors provide a natural representation for massive multidimensional data [10,7]. -
Part IA — Vector Calculus
Part IA | Vector Calculus Based on lectures by B. Allanach Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly) after lectures. They are nowhere near accurate representations of what was actually lectured, and in particular, all errors are almost surely mine. 3 Curves in R 3 Parameterised curves and arc length, tangents and normals to curves in R , the radius of curvature. [1] 2 3 Integration in R and R Line integrals. Surface and volume integrals: definitions, examples using Cartesian, cylindrical and spherical coordinates; change of variables. [4] Vector operators Directional derivatives. The gradient of a real-valued function: definition; interpretation as normal to level surfaces; examples including the use of cylindrical, spherical *and general orthogonal curvilinear* coordinates. Divergence, curl and r2 in Cartesian coordinates, examples; formulae for these oper- ators (statement only) in cylindrical, spherical *and general orthogonal curvilinear* coordinates. Solenoidal fields, irrotational fields and conservative fields; scalar potentials. Vector derivative identities. [5] Integration theorems Divergence theorem, Green's theorem, Stokes's theorem, Green's second theorem: statements; informal proofs; examples; application to fluid dynamics, and to electro- magnetism including statement of Maxwell's equations. [5] Laplace's equation 2 3 Laplace's equation in R and R : uniqueness theorem and maximum principle. Solution of Poisson's equation by Gauss's method (for spherical and cylindrical symmetry) and as an integral. [4] 3 Cartesian tensors in R Tensor transformation laws, addition, multiplication, contraction, with emphasis on tensors of second rank. Isotropic second and third rank tensors. -
An Introduction to Space–Time Exterior Calculus
mathematics Article An Introduction to Space–Time Exterior Calculus Ivano Colombaro 1,* , Josep Font-Segura 1 and Alfonso Martinez 1 1 Department of Information and Communication Technologies, Universitat Pompeu Fabra, 08018 Barcelona, Spain; [email protected] (J.F.-S.); [email protected] (A.M.) * Correspondence: [email protected]; Tel.: +34-93-542-1496 Received: 21 May 2019; Accepted: 18 June 2019; Published: 21 June 2019 Abstract: The basic concepts of exterior calculus for space–time multivectors are presented: Interior and exterior products, interior and exterior derivatives, oriented integrals over hypersurfaces, circulation and flux of multivector fields. Two Stokes theorems relating the exterior and interior derivatives with circulation and flux, respectively, are derived. As an application, it is shown how the exterior-calculus space–time formulation of the electromagnetic Maxwell equations and Lorentz force recovers the standard vector-calculus formulations, in both differential and integral forms. Keywords: exterior calculus, exterior algebra, electromagnetism, Maxwell equations, differential forms, tensor calculus 1. Introduction Vector calculus has, since its introduction by J. W. Gibbs [1] and Heaviside, been the tool of choice to represent many physical phenomena. In mechanics, hydrodynamics and electromagnetism, quantities such as forces, velocities and currents are modeled as vector fields in space, while flux, circulation, divergence or curl describe operations on the vector fields themselves. With relativity theory, it was observed that space and time are not independent but just coordinates in space–time [2] (pp. 111–120). Tensors like the Faraday tensor in electromagnetism were quickly adopted as a natural representation of fields in space–time [3] (pp. -
1.14 Tensor Calculus I: Tensor Fields
Section 1.14 1.14 Tensor Calculus I: Tensor Fields In this section, the concepts from the calculus of vectors are generalised to the calculus of higher-order tensors. 1.14.1 Tensor-valued Functions Tensor-valued functions of a scalar The most basic type of calculus is that of tensor-valued functions of a scalar, for example the time-dependent stress at a point, S S(t) . If a tensor T depends on a scalar t, then the derivative is defined in the usual way, dT T(t t) T(t) lim , dt t0 t which turns out to be dT dT ij e e (1.14.1) dt dt i j The derivative is also a tensor and the usual rules of differentiation apply, d dT dB T B dt dt dt d dT d (t)T T dt dt dt d da dT Ta T a dt dt dt d dB dT TB T B dt dt dt T d dT TT dt dt For example, consider the time derivative of QQ T , where Q is orthogonal. By the product rule, using QQ T I , T d dQ dQ T dQ dQ QQ T Q T Q Q T Q 0 dt dt dt dt dt Thus, using Eqn. 1.10.3e T Q QT QQ T Q QT (1.14.2) Solid Mechanics Part III 115 Kelly Section 1.14 which shows that Q Q T is a skew-symmetric tensor. 1.14.2 Vector Fields The gradient of a scalar field and the divergence and curl of vector fields have been seen in §1.6. -
A Simple and Efficient Tensor Calculus
The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20) A Simple and Efficient Tensor Calculus Soren¨ Laue,1,2 Matthias Mitterreiter,1 Joachim Giesen1 1Friedrich-Schiller-Universitat¨ Jena Faculty of Mathematics and Computer Science Ernst-Abbe-Platz 2 07743 Jena, Germany Friedrich-Schiller-University Jena 2Data Assessment Solutions GmbH, Hannover Abstract and JAX. However, the improvements are rather small and the efficiency gap of up to three orders of magnitude still Computing derivatives of tensor expressions, also known as tensor calculus, is a fundamental task in machine learning. A persists. key concern is the efficiency of evaluating the expressions and On the other hand, the approach of (Laue, Mitterreiter, and their derivatives that hinges on the representation of these ex- Giesen 2018) relies crucially on Ricci notation and therefore pressions. Recently, an algorithm for computing higher order cannot be incorporated into standard deep learning frame- derivatives of tensor expressions like Jacobians or Hessians works that use the simpler Einstein notation. Here, we remove has been introduced that is a few orders of magnitude faster this obstacle and provide an efficient tensor calculus in Ein- than previous state-of-the-art approaches. Unfortunately, the stein notation. Already the simple version of our approach is approach is based on Ricci notation and hence cannot be as efficient as the approach by (Laue, Mitterreiter, and Giesen incorporated into automatic differentiation frameworks like TensorFlow, PyTorch, autograd, or JAX that use the simpler 2018). We provide further improvements that lead to an even Einstein notation. This leaves two options, to either change better efficiency. -
Some Second-Order Tensor Calculus Identities and Applications in Continuum Mechanics
Preprints (www.preprints.org) | NOT PEER-REVIEWED | Posted: 27 November 2018 doi:10.20944/preprints201811.0598.v1 The Sun's work 1 Some second-order tensor calculus identities and applications in continuum mechanics Bohua Sunyz, Cape Peninsula University of Technology, Cape Town, South Africa (Received 25 November 2018) To extend the calculation power of tensor analysis, we introduce four new definition of tensor calculations. Some useful tensor identities have been proved. We demonstrate the application of the tensor identities in continuum mechanics: momentum conservation law and deformation superposition. Key words: tensor, gradient, divergence, curl, elasto-plastic deformation Nomenclature a; b; c; d, vector in lower case; A; B, tensor in capital case; X; Y , position vector in reference (undeformed) state; x; y, position vector in current (deformed) state; v, velocity; ek, base vector; Gk, base vector in undeformed state; gk, base vector in deformed state; F , deformation gradient; F e, deformation gradient; F p, deformation gradient; r, gradient nabla; rX , gradient nabla respect to X; rx, gradient nabla respect to x; ", permutation tensor; δij , Kronecker delta; I = δij ei ⊗ ej , unit tensor; ·, dot product; ×, cross product; ⊗, tensor product; σ, Cauchy stress tensor defined in current configuration; τ , Kirchhoff stress tensor defined in current configuration; P , the first Piola-Kirchhoff stress tensor; S, the second Piola-Kirchhoff stress tensor; T , dislocation density tensor; J = det(F ), the Jacobian of deformation gradient F ; ρ, mass density in current configuration; ρR, mass density in reference configuration; f, body force in current configuration; fR, body force in reference configuration. y Currently in Cape Peninsula University of Technology z Email address for correspondence: [email protected] © 2018 by the author(s). -
A Gentle Introduction to Tensors (2014)
A Gentle Introduction to Tensors Boaz Porat Department of Electrical Engineering Technion – Israel Institute of Technology [email protected] May 27, 2014 Opening Remarks This document was written for the benefits of Engineering students, Elec- trical Engineering students in particular, who are curious about physics and would like to know more about it, whether from sheer intellectual desire or because one’s awareness that physics is the key to our understanding of the world around us. Of course, anybody who is interested and has some college background may find this material useful. In the future, I hope to write more documents of the same kind. I chose tensors as a first topic for two reasons. First, tensors appear everywhere in physics, including classi- cal mechanics, relativistic mechanics, electrodynamics, particle physics, and more. Second, tensor theory, at the most elementary level, requires only linear algebra and some calculus as prerequisites. Proceeding a small step further, tensor theory requires background in multivariate calculus. For a deeper understanding, knowledge of manifolds and some point-set topology is required. Accordingly, we divide the material into three chapters. The first chapter discusses constant tensors and constant linear transformations. Tensors and transformations are inseparable. To put it succinctly, tensors are geometrical objects over vector spaces, whose coordinates obey certain laws of transformation under change of basis. Vectors are simple and well-known examples of tensors, but there is much more to tensor theory than vectors. The second chapter discusses tensor fields and curvilinear coordinates. It is this chapter that provides the foundations for tensor applications in physics. -
A Primer on Exterior Differential Calculus
Theoret. Appl. Mech., Vol. 30, No. 2, pp. 85-162, Belgrade 2003 A primer on exterior differential calculus D.A. Burton¤ Abstract A pedagogical application-oriented introduction to the cal- culus of exterior differential forms on differential manifolds is presented. Stokes’ theorem, the Lie derivative, linear con- nections and their curvature, torsion and non-metricity are discussed. Numerous examples using differential calculus are given and some detailed comparisons are made with their tradi- tional vector counterparts. In particular, vector calculus on R3 is cast in terms of exterior calculus and the traditional Stokes’ and divergence theorems replaced by the more powerful exte- rior expression of Stokes’ theorem. Examples from classical continuum mechanics and spacetime physics are discussed and worked through using the language of exterior forms. The nu- merous advantages of this calculus, over more traditional ma- chinery, are stressed throughout the article. Keywords: manifolds, differential geometry, exterior cal- culus, differential forms, tensor calculus, linear connections ¤Department of Physics, Lancaster University, UK (e-mail: [email protected]) 85 86 David A. Burton Table of notation M a differential manifold F(M) set of smooth functions on M T M tangent bundle over M T ¤M cotangent bundle over M q TpM type (p; q) tensor bundle over M ΛpM differential p-form bundle over M ΓT M set of tangent vector fields on M ΓT ¤M set of cotangent vector fields on M q ΓTpM set of type (p; q) tensor fields on M ΓΛpM set of differential p-forms -
Tensor Algebra and Tensor Calculus
Appendix A Tensor Algebra and Tensor Calculus We collect here some notions of geometry and analysis used in the previous chapters. This appendix is no more than a brief summary containing a few defi- nitions and statements of results without proof. The conscientious reader unfamiliar with the topics collected here should take from these pages some directions for further reading in appropriate textbooks. A.1 Vector Spaces Definition 1. AsetV is called a vector space (or a linear space) over a field F if it is endowed with two operations, CWV V ! V and ıWV F ! V, called respectively addition and multiplication, such that – addition is commutative, i.e., v C w D w C v for every pair v;w 2 V, – addition is associative, i.e., .v Cw/Cz D v C.wCz/ for every triple v;w; z 2 V, – addition admits a unique neutral element 0 2 V such that v C 0 D v;8v 2 V, – with ˛v denoting the product ˛ ıv, for every ˛; ˇ 2 F and v 2 V, multiplication is associative, i.e., ˛.ˇv/ D .˛ˇ/v, where ˛ˇ is the product in F, – multiplication admits a unique neutral element 1 2 F such that 1v D v;8v 2 V, – multiplication is distributive with respect to addition, i.e., ˛.v C w/ D ˛v C ˛w for every pair v;w 2 V, – multiplication is distributive with respect to addition in F, i.e., for every pair ˛; ˇ 2 F and every v 2 V, .˛ C ˇ/v D ˛v C ˇv: We do not recall the abstract definition of a field in the algebraic sense, because we consider here only the special case of F equal to the set of real numbers R.