What is the difference between a basis for the domain and a basis for the codomain?
Until now, I was under the impression that the basis you choose for the domain must also be the basis for the codomain. Of course, we can convert from one basis to another, but I thought that the conversion must take place for both the domain and the codomain.
Take the following linear transformation:
$T:{\bf R}^2\to{\bf R}^2$ given by $T(v)=2v$. Take $\{\,(2,3),(4,5)\,\}$ as the basis for the domain and the standard basis for the codomain. In this case, the matrix representing $T$ would be $\pmatrix{4&8\cr6&10\cr}$.
Apparently, the above example has a different bases for the domain and codomain. However, this distinction is still not clear to me.
What would the above example look like if the bases were reversed -- if the standard basis was a basis for the domain and $\{\,(2,3),(4,5)\,\}$ was a basis for the codomain?
I would greatly appreciate it if people could please take the time to elaborate on this concept and help me understand it.
For your first example, $v_1 = (2,3)$ and $v_2 = (4,5)$ is the basis for the domain and $w_1 = (1,0)$ and $w_2 = (0,1)$ is the basis for the codomain.
When you say that the matrix is $ \left( \begin{array}{cc} 4 & 8 \\ 6 & 10 \end{array} \right) $, what you really mean is that $$T(v_1) = 4w_1 + 6w_2,$$ $$T(v_2) = 8w_1 + 10w_2.$$
Equivalently, any vector in the domain can be written as $v = a_1 v_1 + a_2 v_2$ for some coefficients $a_1, a_2 \in \mathbb R$. Its image under $T$ can be written as $T(v) = b_1 w_1 + b_2 w_2$ for some coefficients $b_1, b_2 \in \mathbb R$. These coefficients are related by the matrix equation, $$ \left( \begin{array}{cc} b_1 \\ b_2 \end{array} \right) = \left( \begin{array}{cc} 4 & 8 \\ 6 & 10 \end{array} \right) \left( \begin{array}{cc} a_1 \\ a_2 \end{array} \right)$$
Is this enough of an explanation for you to work out the correct matrix when the bases reversed?