When working with curvilinear or arbitrary coordinate systems, some problems are better described in terms of covariant or contravariant vectors. For example, the conservation laws in geophysical fluid dynamics.
These notes informally explain the relation between coordinate systems and their basis vectors, providing a first intuitive approach. Ultimately, the terms covariant and contravariant should be used in the context of differential forms and refer to two complementary vector spaces (the tangent space and its dual space). However, this is not within the scope of this document.
Here, we will only concern ourselves with the flat Euclidian space, so that it is not necessary to introduce differential geometry concepts.
It is useful to recall that each coordinate component is just a scalar field. It is a trivial fact, but that is the easiest way to understand what covariant and contravariant vectors really are.
A common way of representing a coordinate system is to draw a grid.
A grid is made from the isolines of the coordinate fields, i.e,
the
If the coordinate system is orthogonal,
the
Lets take a vector
We can use a reference coordinate system,
let's say the Cartesian coordinates
We can also use another arbitrary coordinate system,
with the coordinates
The Cartesian coordinates will be used as a reference, i.e.,
the components of
There are two main ways of building a vector basis from a given coordinate system, note that this basis can be local. Let's try both.
The most common way to obtain a basis is to take the derivative of the position of a point,
This yields vectors which are tangent to the other coordinate isolines (isosurfaces in 3D).
The components of
Now, what will happen if we divide the whole field
We can use the gradient of each coordinate to build another vector basis for
But how is the gradient defined?
We could use our reference Cartesian basis to assess how
Thus, the vector
Again, we divide the field
So we say that the components
The names covariant and contravariant are given relative to the
Moreover, we see that the basis vectors
The basis for covariant vectors is made from the contravariant vectors
In the same fashion,
the basis for contravariant vectors is made from the covariant vectors
It should have become clear that the terminology is quite misleading,
a vector representing a physical quantity should be the same independently of the way it is written.
The terms covariant and contravariant should be used when talking about bases and components.
In fact,