codethrasher

Bases Transformation

Consider two bases (e1,e2)(\mathbf{e}_{1},\mathbf{e}_{2}) and (e~1,e~2)(\mathbf{\tilde{e}}_{1},\mathbf{\tilde{e}}_{2}), where we consider the former the old basis and the latter the new basis.

Each vector (e~1,e~2)(\mathbf{\tilde{e}}_{1},\mathbf{\tilde{e}}_{2}) can be expressed as a linear combination of (e1,e2)(\mathbf{e}_{1},\mathbf{e}_{2}):

e~1=e1S11+e2S12  e~2=e1S21+e2S22\begin{equation} \mathbf{\tilde{e}}_{1}\,=\,\mathbf{e}_{1}S^{1}_{1}\,+\,\mathbf{e}_{2}S^{2}_{1}\\\ \tag{1.0}\\\ \mathbf{\tilde{e}}_{2}\,=\,\mathbf{e}_{1}S^{1}_{2}\,+\,\mathbf{e}_{2}S^{2}_{2} \end{equation}

(1.0) is the basis transformation formula, and the object SS is the direct transformation {Sij,1i,j2}\{S^{j}_{i},\,1\,\leq\,i,\,j\,\leq\,2\}, (assuming a 2x22x2 matrix) which can also be written in matrix form:

[e~1e~2]=[e1e2][S11S21 S12S22] =[e1e2]S\begin{equation} \begin{bmatrix} \mathbf{\tilde{e}}_{1} & \mathbf{\tilde{e}}_{2} \end{bmatrix}\,=\, \begin{bmatrix} \mathbf{e}_{1} & \mathbf{e}_{2}\, \end{bmatrix} \begin{bmatrix} S^{1}_{1} & S^{1}_{2}\\\ S^{2}_{1} & S^{2}_{2} \end{bmatrix}\\\ =\, \begin{bmatrix} \mathbf{e}_{1} & \mathbf{e}_{2} \end{bmatrix}\,S\tag{1.1} \end{equation}

The resulting matrix is the direct transformation matrix from the old basis to the new basis. Note that the rows of SS appear as superscripts and the columns appear as subscripts.

Converting in the reverse direction (new to old) requires doing (1.1)(1.1), but with the inverse matrix

[e1e2]=[e~1e~2][S11S21 S12S22]1 =[e~1e~2][T11T21 T12T22] =[e~1e~2]T\begin{equation} \begin{bmatrix} \mathbf{e}_{1} & \mathbf{e}_{2} \end{bmatrix}\,=\, \begin{bmatrix} \mathbf{\tilde{e}}_{1} & \mathbf{\tilde{e}}_{2}\, \end{bmatrix} \begin{bmatrix} S^{1}_{1} & S^{1}_{2}\\\ S^{2}_{1} & S^{2}_{2} \end{bmatrix}^{-1}\\\ =\, \begin{bmatrix} \mathbf{\tilde{e}}_{1} & \mathbf{\tilde{e}}_{2}\, \end{bmatrix} \begin{bmatrix} T^{1}_{1} & T^{1}_{2}\\\ T^{2}_{1} & T^{2}_{2} \end{bmatrix}\\\ =\, \begin{bmatrix} \mathbf{\tilde{e}}_{1} & \mathbf{\tilde{e}}_{2} \end{bmatrix}\,T\tag{1.2} \end{equation}

where TT is the inverse transformation matrix, or T=S1T\,=\,S^{-1}.

← Identity Matrix Orthonormal Basis →