General variance and contravariance

Suppose that a group G acts transitively on a space X. A transformation TG can be thought of indistinctly as either "moving" the objects in X or as a change of "point of view" in the following way:

Suppose we have a comfortable, mathematically speaking, space with a distinguished point, (S,s0). We are going to think of (Z,0), for greater ease, and a simplified physical world X (the red drawings in the picture). Suppose also a bijection b1:SX (in the line of reasoning of the notes homogeneous space#Intuitive approach and basis and change of basis). It is better to think in terms of b11. That is, for every xX we have a kind of "coordinates" s for xX, given by s=b11(x)S. Think, for example, of a vector space V and the isomorphism b1:R2V (fixing a basis in V).
We can think of this as our initial point of view, and we can imagine as if we were physically located at x0=b1(0)X, provided with some devices to take measurements that have allowed us to create b1.
Pasted image 20230412110500.png

An element of the group TG is a transformation, a movement, of X into itself (think of a kind of earthquake in this simplified world). The application of this transformation yields the yellow drawings in the picture:
Pasted image 20241123130246.png

We have a description of the "new world" T(X) given by b21=b11T. And we can think that to translate from the description of "the red world" to the description of the "yellow world" we only have to add 6 units. In other words, the transformation T induces a map in Z:

T~=b21b1=b11Tb1+6

But there is another interpretation for this fact, which ends up with the same result. What if the transformation (the earthquake) affected only me and my measurement system just in the opposite way? That is, we have the map T1 applied to me.
Pasted image 20241124111650.png
The point of view 2 is how the red drawings is seen from the purple person.
and is given by the same b2.

It is impossible to distinguish whether the new description b21 is caused by the world moving ahead, or by myself moving in the opposite direction.
Since the change of the "components" (+6) is opposite to the "transformation of myself" (-6), it is said that the components are contravariant.

Very important example: covariance and contravariance in linear algebra.

Behavior of functions

Suppose a function h:XR (in the pictures above think of the "height" of every object). The description given by b1 let us create a "more comfortable" function F1:ZR given by F1=hb1, encoding the same data as in the diagram

XhRb1Z

Consider a transformation T of X (think of a shift of +6, por example, in the picture above). What is the new comfortable description F2 of h with the new description b2 of X? Since b2 is the red drawings as seen by the purple person, it correspond to shift the graph by 6 units to the left:
Pasted image 20230413090807.png|800
Analytically, the new description of X is b2=Tb1,

RRhhXTXb1Z

so the new comfortable function is

F2=hb2=hTb1=hb1b11Tb1=

and

=F1T~1

So if, for example, F1(x)=x2+1 then F2(x)=(x+6)2+1. Observe then that this corresponds to the elemental fact in high school mathematics that to shift the graph of a function f(x) by a units you have to substitute f by f(xa).

On the other hand, we may be interested in the implicit description of subsets of X. How does the zero set of functions transform under T?
Consider C={h(x)=0}, the zero set of h. The transformation T moves the set C to the set T(C). Since yT(C) if and only if there exists yC such that y=T(y), with h(y)=0. Then, h(T1(y))=0, and therefore

T(C)={xX:(hT1)(x)=0}

i.e. the transformed function hT1 is just the function such that its zero set is the transformed of the zero set of h. If we had started with T1 instead of T we have arrived at the conclusion that hT is the function whose zeroes are the translated by T1, and then the function F2=hb2=(hT)b1 have an interpretation different than above: is the description, in the first point of view, of the implicit function of the translation of C by T1.
Pasted image 20230413161739.png

Particular cases:

Maybe related: Heisenberg vs Schrodinger picture and states and observables.