MTH3008 Lecture 1
Jesus Najera, a friend of the lecturer
Tensors are mathematical objects that are invariant under a change of coordinates & have components that change in predictable ways.
Tensors are generalisations of vectors, with a rank corresponding to different quantities:
- Rank 0 tensor: scalar,
- Rank 1 tensor: vector,
- Rank 2 tensor: matrix,
- Etc. (in higher dimensions).
This will be formally defined in later lectures
Our convention will be keeping vectors three-dimensional, just for conceptual simplicity, i.e., - either notation is fine, but normally we use a completely different notation…
Suffix Notation
Suffix Notation, or Index Notation, is simply when write a sum without , e.g.,
This simplifies notation considerably, especially for more complex expressions involving multiple sums, like .
Types of Index
The index that appears in the sum (exactly twice for each distinctly summed term), is called a dummy index. These can be any variable without changing the result, in any order, as they don’t show up when evaluated.
Alternatively, free indices only show up once. These represent the components within the tensors, like the th component of a vector: . The number of these free indices hence indicates the number of components the tensor has - its rank. Naturally, these must be consistent throughout a problem, as they compare components across multiple vectors.
Notation Conversion
We can convert from vector notation to suffix notation by simply writing out the sum. For example, , and then remove the sum to get suffix notation: , or - again, order doesn’t matter.
For more complex conversions, we can follow a step-by-step method. For example, for a vector equation, …
- Introduce free index, like : ;
- Distribute free index, for each vector.: ;
- Introduce dummy indices, for each scalar: .
Example (simple expression)
Useful Patterns
Using this conversion, we can pick up on a few patterns with vectors and matrices.
- For vectors, , as shown earlier: , by the definition of a dot product.
- For matrices, and , both of which can be directly proven using vector notation and sums, but are also observable by the definitions of matrix multiplication and the transpose of a matrix.
In-Lecture Example (commutative trace of a matrix)
Be definition, (only the elements on the leading diagonal), and hence we can simplify , or equivalently (by similarly evaluating and then reordering and relabelling such that the indices align).
Weekly Problem 1.4 (transpose of a matrix)
Let , such that we can have .
If we first take the left-hand side, we have , so .
On the right-hand side, we have .
Therefore, , so .
Similarly, we’ll find a few tensors later that will be useful whilst evaluating expressions: the Kronecker Delta (substitution tensor) and the Alternating Tensor. First, the former…
Kronecker Delta
The Kronecker Delta, or substitution tensor, is very similar to the Dirac delta-function, just over a discrete domain rather than a continuous domain. It has the definition that , where and can be 1, 2, or 3, which can be thought of as the identity matrix:
Effectively, it can pick out specific indices and replace them - it replaces the repeated index with the free index. This important property can be mathematically represented as the following…
Pre-Lecture Notes from University Notes
- Tensors generalise vectors, e.g.,
- Rank 0 tensor: scalar;
- Rank 1 tensor: vector;
- Rank 2 tensor: matrix;
- All independent of the coordinate system.
- Suffix (or index) notation is used to make notation easier.
- Like when writing vectors with unit vectors: , given that each vector is real and three-dimensional.
- For example, dot product between two vectors: .
- A more complex example, multiplying two of these dot products: .
- Rules for suffix notation:
- Choice of index doesn’t matter, they’re just dummy indices.
- Order of indices doesn’t matter, as long as each index appears at most twice in each term.
- Dummy indices are such that they appear exactly twice; representing sums (like dot products).
- Free indices are such that only appear once; representing entries of a vector (the th component).
- The number of free indices is equal to the rank tensor; i.e., a scalar has no free indices (since it creates just a dot product, the result of which is always a scalar).
- Converting to suffix notation:
- For example, for a vector equation, …
- Introduce free index, like : .
- Distribute free index, for each vector.: .
- Introduce dummy indices, for each scalar: .
- Or just an expression:
- Similarly, you can write matrices in this notation: given and and matrices, the entries of can be written as - just by multiplying together and simplifying as before.
- This can be very useful, for example to prove that (for the matrices before) …
- , hence,
- and , where the indices and be re-ordered and re-labelled as discussed before, to then give .
- This can be very useful, for example to prove that (for the matrices before) …
- For example, for a vector equation, …
- The Kronecker delta, in this vector notation, is defined by , where and can be 1, 2, or 3.
- Hence, it’s really just like the identity matrix: .
- Similar to the Dirac delta-function, although on discrete domains instead of continuous, this gives it the property that - absorbing the repeated index.
- Sometimes called the substitution tensor, because it replaces the repeated index with the free index.
- Naturally, this is symmetrical for , due to the re-ordering/re-labelling rules, and can be proved trivially.
- Further touched on in the next lecture.