Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Physics[KroneckerDelta] - the Kronecker delta symmetric tensor
Calling Sequence
KroneckerDelta[]
Parameters
mu, nu
-
the indices, as names representing integer numbers or the numbers themselves
Description
KroneckerDelta[mu, nu], displayed as , is a computational representation for the KroneckerDelta tensor. When its indices assume integer values it returns 1 or 0, according to whether the indices are equal or different. When its indices have a symbolic value, say mu, and are equal, it returns the dimension of spacetime if the index is a spacetime index, or the dimension of space if the index is a space index, or 1 otherwise.
Computations performed with the Physics package commands take into account Einstein's sum rule for repeated indices - see `.` and Simplify. The distinction between covariant and contravariant indices in the input of tensors is done by prefixing contravariant ones with ~, say as in ~mu; in the output, contravariant indices are displayed as superscripts. For contracted indices, you can enter them one covariant and one contravariant. Note however that - provided that the spacetime metric is galilean (Euclidean or Minkowski), or the object is a tensor also in curvilinear coordinates - this distinction in the input is not relevant, and so contracted indices can be entered as both covariant or both contravariant, in which case they will be automatically rewritten as one covariant and one contravariant. Tensors can have spacetime and space indices at the same time. To change the type of letter used to represent spacetime or space indices see Setup.
The %KroneckerDelta command is the inert form of KroneckerDelta, so it represents the same mathematical operation but without performing it. To perform the operation, use value.
Some automatic checking and normalization are carried out each time you enter KroneckerDelta[...]. The checking is concerned with possible syntax errors. The automatic normalization takes into account the symmetry of KroneckerDelta[mu,nu] with respect to interchanging the positions of the indices mu and nu.
Examples
The default spacetime of the Physics package is a Minkowski spacetime with dimension 4, so the values 0 and 4 represent the same object
KroneckerDelta can also be used with values of its indices that are beyond the spacetime dimension - and are different KroneckerDelta returns zero.
The symmetry property of KroneckerDelta is automatically taken into account when the indices have symbolic values
By default, spacetime indices are represented by greek letters and the dimension of spacetime is 4 - you can query about that via
Set the space indices to be represented by lowercaselatin letters till h
The trace of KroneckerDelta is equal to the dimension; note the use of the sum rule for repeated indices, both for spacetime and space only indices
When the indices are not of spacetime or space kind (typical use in quantum mechanics Bra/Ket notation)
See Also
`.`, DifferentialGeometry/Tensor/KroneckerDelta, g_, Physics, Physics conventions, Physics examples, Setup
Download Help Document