I am a graduate student of Mathematics.I am interested in modules.I have some queries about free modules. Let $R$ be a commutative (unital) ring and $M$ be a free $R$-module,then:
$1.$ Are the cardinalities of any two bases of $M$ same?(If not,give a counterexample)
$2.$ If the free module has a finite basis,then is it true?
I want to know these things because I want to differentiate between vector spaces and free modules.Can someone provide me with suitable proofs and counterexamples?I have tried but my list of examples is too limited to answer these questions.Can someone help me?
1 is in fact true (edited: when $R$ is commutative). Indeed, a basis of $M$ over $R$ becomes a $k$-basis of $M \otimes_{R}k$, where $k$ is any residue field of $R$ (eg the quotient of $R$ by a maximal ideal). So any $R$-basis of $M$ has cardinality $\dim_k (M \otimes_{R} k)$.