queenstudy said:
yes please because we know how the opposite happens
The only interesting ones are [itex]\mathbf{\hat x}[/itex] and [itex]\mathbf{\hat y}[/itex].
So we're actually talking about 2-dimensional polar coordinates.
Here's one way to derive the unit vectors.
[itex]\boldsymbol{\hat \rho}[/itex] corresponds in this case with the vector from the origin to a point on the unit circle at angle [itex]\phi[/itex].
The vector [itex]\boldsymbol{\hat \rho}[/itex] can be seen as the result of a rotation of [itex]\mathbf{\hat x}[/itex] over an angle of [itex]\phi[/itex].
Or in reverse, the vector [itex]\mathbf{\hat x}[/itex] is the result of a rotation of [itex]\boldsymbol{\hat \rho}[/itex] over an angle of [itex]-\phi[/itex].
Similarly the vector [itex]\mathbf{\hat y}[/itex] is the result of a rotation of [itex]\boldsymbol{\hat \phi}[/itex] over an angle of [itex]-\phi[/itex].
We need the rotation matrix for an angle [itex]\phi[/itex] is to get what we want:
[tex]R = \begin{pmatrix}\cos \phi & -\sin \phi \\ \sin \phi & \cos \phi \end{pmatrix}[/tex]
Multiply [itex]R[/itex] with [itex]\boldsymbol{\hat \rho}[/itex] and [itex]\boldsymbol{\hat \phi}[/itex] and the result rolls out:
[tex]
\begin{matrix}<br />
\mathbf{\hat x} & = & \cos\phi\boldsymbol{\hat \rho}-\sin\phi\boldsymbol{\hat\phi} \\<br />
\mathbf{\hat y} & = & \sin\phi\boldsymbol{\hat \rho}+\cos\phi\boldsymbol{\hat\phi} <br />
\end{matrix}[/tex]