TITLE: Help understand isomorphism of tensor product and connection to vector spaces
QUESTION [6 upvotes]: well I'm having a hard time understanding the tensor product. Here's a problem from Atiyah and Macdonald's book:
Let $A$ be a non-trivial ring and let $m,n$ be positive integers. Let $f: A^{n} \rightarrow A^{m}$ be an isomorphism of $A$-modules. Show this implies that $n=m$. 
Well the solution is at follows:
Let $m$ be a maximal ideal of $A$. Then we have an induced isomorphism:
$(A/m) \otimes_{A} A^{n} \rightarrow (A/m) \otimes_{A} A^{m}$.
Now it says that this is an isomorphism between vector spaces of dimension $n$ and $m$.
My questions are:
1) How do we know that $(A/m) \otimes_{A} A^{n}$ is a vector space over $A/m$ ?
2) How do we know it has exactly dimension $n$?
Is there some "standard" theorem that tells us this? Can you please explain this in detail?
Thanks

REPLY [2 votes]: The original question you are trying to solve (that $A^m \cong A^n$ as $A$-modules implies $m = n$) does not need tensor products.  If $M$ and $N$ are isomorphic $A$-modules then, for any ideal $I$ in $A$, $M/IM$ and $N/IN$ are isomorphic $A/I$-modules. More precisely, if $f \colon M \rightarrow N$ is an $A$-module isomorphism with inverse $g$, then the induced map $M/IM \rightarrow N/IN$ given by $x \bmod IM \mapsto f(x) \bmod IN$ is well-defined and $A/I$-linear, and it's an $A/I$-module isomorphism because the map $y \bmod IN \mapsto g(y) \bmod IM$ going the other way is an inverse (just check on each element that these two maps undo each other). Taking $M = A^m$, $N = A^n$, and $I = \mathfrak m$ to be a maximal ideal in $A$, we get from an $A$-module isom. of $A^m$ with $A^n$ that the $A/\mathfrak m$-vector spaces $A^m/{\mathfrak m}A^m$ and $A^n/{\mathfrak m}A^n$ are isomorphic. Now it remains to show $A^m/IA^m \cong (A/IA)^m$ for any ideal $I$, and this is left to you. No tensor products are needed. I think this is useful because it makes this result available if you are teaching an abstract algebra class without having to introduce tensor products already. Tensor products are of course very important, but they need not be used here. In fact, later on in the course when you have tensor products you can come back and reprove this result on isomorphisms with them and observe that the argument is basically the same as the one that didn't use tensor products.
After learning about tensor products, and then exterior powers, you can prove finer properties of $A$-linear maps $A^m \rightarrow A^n$. See Corollary 5.11 in 
http://www.math.uconn.edu/~kconrad/blurbs/linmultialg/extmod.pdf, which incidentally provides a third way to handle the original question via exterior powers without using maximal ideals in $A$.