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.