I often have trouble remembering the conventions for summation and which spaces the vectors are supposed to live in. I would really like to have good notes on graduate differential geometry as a whole in the future, but for now I will start with something I need to use a lot.
Definition: Let be a finite-dimensional (real or complex) vector space with dual . The space is called the space of type (r,s)-tensors. The integer is called the contravariant order and is the covariant order.
Contravariance here means that under a change of basis from basis to , the coordinate vector of any point , if interpreted as coordinates instead, gives coordinates for the point .
On the other hand, covariance says that with change-of-basis for , the coordinates for vector with respect to correspond to as coordinates for (since the dual transformation to left-multiplication by is given by left-multiplication by .
Physicists also like to define tensors as collections of coordinates specified by type -multi-indices and subject to the co/contravariance relations, which is an equivalent formulation.
For calculations, we use row vectors for coordinates in and column vectors for coordinates in .
Tensor contraction: For any pair of indices , we get a homomorphism , defined by extending the map to linearity (where means to remove those indices from the tensor).
Raising and lowering indices with a (pseudo)metric: If instead of the canonical pairing between and we contract using an inner product with matrix then we can write the front coefficient either as
