# Wave function (orbital) rotation matrix

botee
Dear friends,

I've come across this questions when studying biatomic molecules. Here's my problem:
You have the following two wave functions:

Psi_1 = px(A) + px(B)
Psi_2 = py(A) + py(B)

here px(A) is the px orbital wave function of the A nucleus, px(B) of the B nucleus and so on.

Now we want to rotate these wave functions in order to test their symmetry. I just can't get the way it is done:

C (Psi_1, Psi_2) = R (Psi_1, Psi_2)

here C is the rotation operator, (Psi_1, Psi_2) is a column vector and R is the rotational matrix of coordinates!
Why does this work? If one told me rotate a function, I would rotate the coordinates with the R matrix, not the function values themselves...
botee

$$\tilde\phi_i(\vec r) = \sum_j U_{ij} \phi_j(\vec r)$$