Linear Vector Spaces: Change of Basis
In this section, we will introduce the concept of transformation between coordinate systems. The components of vectors in a linear vector spaces depend on the chosen basis set of vectors. If an alternate basis set is chosen, the components of the vector change according to a transformation matrix that is calculated based on the relationship between the vectors in the initial basis set and those in the alternate basis set. Before the coordinate transformation matrices are introduced, we will introduce the Kronecker delta ( ), which is a tool that will shorten the derivations below. By
), which is a tool that will shorten the derivations below. By  we mean the following function of
 we mean the following function of  and
 and  :
:
      ![Rendered by QuickLaTeX.com \[ \delta_{ij}=\begin{cases} 0& \text{ if }i\neq j\\ 1& \text{ if }i= j \end{cases} \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-85532d0f1dce5d85b1384bd5888f2667_l3.png)
Let  be an orthonormal set of basis vectors in
 be an orthonormal set of basis vectors in  . Then,
. Then,  such that:
 such that:
      ![Rendered by QuickLaTeX.com \[ u=u_1e_1+u_2e_2+u_3e_3+\cdots+u_ne_n \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-e879d4ea7f3e67d78f8baf8e3a8ef8f5_l3.png)
The numbers  are called the components of
 are called the components of  in the orthonormal basis set
 in the orthonormal basis set  and each component can be obtained using the dot product operation:
 and each component can be obtained using the dot product operation:
      ![Rendered by QuickLaTeX.com \[ u_i = u\cdot e_i \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-823a9c0ce1eb4d435e72a51143651cfe_l3.png)
Then, the vector  can also be written as:
 can also be written as:
      ![Rendered by QuickLaTeX.com \[ u=(u\cdot e_1)e_1+(u\cdot e_2)e_2+(u\cdot e_3)e_3+\cdots+(u\cdot e_n)e_n=\sum_{j=1}^n(u\cdot e_j)e_j \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-a83e708a49500f1606ad839c4be529d1_l3.png)
Let  be a different orthonormal set of basis vectors in
 be a different orthonormal set of basis vectors in  , and let
, and let  be the representation of the vector
 be the representation of the vector  in the new coordinate system. In this case, we have a new set of components
 in the new coordinate system. In this case, we have a new set of components  such that:
 such that:
      ![Rendered by QuickLaTeX.com \[ u'=u'_1e'_1+u'_2e'_2+u'_3e'_3+\cdots+u'_ne'_n \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-f1a25ae579f0c8e59525364cb2981cb5_l3.png)
In order to find the relationship between the components  and
 and  we first find the relationship between the basis vectors. As a first step, each basis vector
 we first find the relationship between the basis vectors. As a first step, each basis vector  will be expressed in terms of the original basis vectors
 will be expressed in terms of the original basis vectors  as was done above for
 as was done above for  :
:
      ![Rendered by QuickLaTeX.com \[ e'_i=(e'_i\cdot e_1)e_1+(e'_i\cdot e_2)e_2+(e'_i\cdot e_3)e_3+\cdots+(e'_i\cdot e_n)e_n=\sum_{j=1}^n(e'_i\cdot e_j)e_j \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-bac229b19b08cd761c5fcc4bc9bf7364_l3.png)
Let  denote the matrix of numbers
 denote the matrix of numbers  . This matrix of numbers is the matrix of transformation between the components in the basis sets
. This matrix of numbers is the matrix of transformation between the components in the basis sets  and
 and  . Let
. Let  denote the transpose of
 denote the transpose of  , i.e.:
, i.e.:
      ![Rendered by QuickLaTeX.com \[ (Q^T)_{ij}=Q_{ji} \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-fbf00f4e6ec2b8a5a1ae505324e04001_l3.png)
We will now show that the rows of  and
 and  are orthonormal.
 are orthonormal.
Indeed, since we know that the set  is orthonormal, we have:
 is orthonormal, we have:
      ![Rendered by QuickLaTeX.com \[ \begin{split} \delta_{ij}&=e'_i\cdot e'_j=\left(\sum_{k=1}^n(e'_i\cdot e_k)e_k\right) \cdot \left(\sum_{l=1}^n(e'_j\cdot e_l)e_l\right)\\ &=\sum_{k,l=1}^n(Q_{ik}Q_{jl})\delta_{kl}\\ &=\sum_{k=1}^n(Q_{ik}Q_{jk}) \end{split} \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-a889771f3807b3b49a02c420d64d3bee_l3.png)
i.e., if we multiply the components of the  row of
 row of  by the components of the
 by the components of the  row of
 row of  , we get
, we get  when
 when  and we get
 and we get  when
 when  .
.
If we use  to denote the identity matrix (i.e., with 1 in the diagonal components and 0 in the off diagonal components
 to denote the identity matrix (i.e., with 1 in the diagonal components and 0 in the off diagonal components  ) then we have:
) then we have:
      ![Rendered by QuickLaTeX.com \[ I=QQ^T \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-b9d4f8d79faa3be6cd8e00a1080511d3_l3.png)
By expressing the basis vectors  in terms of the orthonormal basis set of vectors
 in terms of the orthonormal basis set of vectors  and using the same argument above we have:
 and using the same argument above we have:
      ![Rendered by QuickLaTeX.com \[ I=Q^TQ \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-c6bb1a779cfa07dc7052d8f7c5e53bf5_l3.png)
Thus, the matrix  is an example of a special type of operators (orthogonal matrices) which will be studied later. This matrix can be used to relate the components of
 is an example of a special type of operators (orthogonal matrices) which will be studied later. This matrix can be used to relate the components of  with the components of
 with the components of  as follows:
 as follows:
      ![Rendered by QuickLaTeX.com \[\begin{split} u'_i & =u\cdot e'_i=\sum_{j=1}^n (u_je_j)\cdot e'_i=\sum_{j=1}^n (e'_i\cdot e_j)u_j\\ & =\sum_{j=1}^nQ_{ij}u_j \end{split}\]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-c90cf9579526a2ff2a380d7354c77be6_l3.png)
This last relationship can be written in matrix form as follows. If  represents the components of a vector in the orthonormal basis set
 represents the components of a vector in the orthonormal basis set  and
 and  represents the components of that vector in the orthonormal basis set
 represents the components of that vector in the orthonormal basis set  , then, these components are related by the matrix
, then, these components are related by the matrix  :
:
      ![Rendered by QuickLaTeX.com \[ u'=Qu \]](https://engcourses-uofa.ca/wp-content/ql-cache/quicklatex.com-68255a1aadb28664a61a5b357f806bcf_l3.png)
The webMathematica tools in the Matrix Representation and Change of Basis is a useful for the illustration of the concept and calculations of coordinate transformations in 2D and 3D.
