Einstein Notation
From Mathsoc wiki
Einstein's summation notation is widely used in the 224 Geometry course, not to mention much of modern mathematics and theoretical physics. It is used to simplify long expressions such as
. It makes statements and equations easier to read, and often allows us to spot patterns or solutions quicker.
Contents |
Notation
Introduction
We will assume (when it is not stated) that we are working in an n-dimensional vector space
over a field
. We will denote basis vectors of
using a lower index, e.g.
, etc. If we wish to multiply vectors in
by scalars in
, we will use upper indices e.g.
, etc. Finally, we will assume that the vectors
form a basis for
.
Vectors
- As a basic example, we know that every vector in
can be written as a linear combination of basis vectors, i.e. for all
, we have
, for some unique set of scalars
. To implement Einstein's notation, we simply drop the summation symbol,
, and write
.
- The variable
is called a repeated index. We will use letters such as
, etc. as repeated indices. Where we need
separate indices, for example, we may use
. However, we will always assume that the repeated indices are summed from 1 to
.
- We can relate this notation back to familiar ideas, e.g. the dot product. In
, we define the dot product of
and
by
. In the new notation, we have
and
, and so we simple write
.
Matrices
- We may also write matrices using this summing notation. Before, we needed to write out (square) matrices as follows:
This notation can be quite cumbersome at times, so we will 'convert' it to the above notation. We will denote a matrix
by the symbol
, again where the indices are summed from 1 to
. The upper index (i) will denote the rows and thte lower index (j) will denote the columns. This means that we have reduced the notation of writing out the entire matrix to one symbol.
- As well as this, we can use the summation notation for matrix operations. For example, if we have matrices
and B in the old notation, we have that the
coordinates of the product
will be given by
where
are the elements of
and
are the elements of
. Adopting the summation notation, we have that
and
. Thus, the elements of the product are given by
.
Note that we did not label the indices at random: the lower index of
has to be the upper index of
. Also, the upper index of
has to be the upper index of
and the lower index of
has to be the lower index of
.
- As a further example, given the matrix
we consider what matrix is given by
. As matrix multiplication is associative, let
. By above, this is simply the representation of the matrix
. Thus we now look at
, which is just the product of
and
. Thus,
is the matrix
.
- We defined the trace of a matrix
by
, i.e. the sum of the main diagonal. Thus, we now have
.
- Finally, we introduce an important symbol, known as the Kronecker Delta, defined by:
|
|
|
This symbol is useful for changing the repeated index. For example
, or even
. In matrix notation, the Kronecker Delta is simply the identity matrix.
Dual Space
- As defined before the Dual Space of
is the space of all linear maps from
to
.
- We said above that u_i formed a basis for
. We'll define a mapping
given by
, where
. It can be easily shown that this mapping is linear for any
, and so
.
- These mappings have the property that
. It can be readily shown that these
coordinate functions form a basis for
.
- Note the difference in notation:
is a vector and
is a mapping. Similarly, we associate the scalar
with vectors and the scalar
with mappings.

