I am trying to prove the following:
If $F_1$ and $F_2$ are free modules on the same set $A$, there is a unique isomorphism between $F_1$ and $F_2$ which is the identity map on $A$.
The definition I am using is
An $R$-module $F$ is said to be free on a subset $A$ of $F$, if for every nonzero element $x\in F$, there exist unique nonzero elements $r_1,\cdots,r_n \in R$ and unique $a_1,a_2,\cdots,a_n \in A$ such that $x = r_1 a_1 + \cdots + r_n a_n$ for some $n \in \mathbb{Z}^+$.
Then regarding the universal mapping property:
For any set $A$, there is a free $R$-module $F(A)$ satisfying the following universal property:...
I actually tried the following:
Since $F_1$ is a free module on set $A$, then for every $x\in F_1$, it can be written as $x = r_1 a_1 + \cdots + r_n a_n$ for unique nonzero $r_i\in R$ and unique $a_i \in A$. Similarly, for every $y\in F_2$, $y = s_1 a_1 + \cdots + s_m a_m$.
I wanted to say that let's just consider
$$\phi: r_1 a_1 + \cdots + r_n a_n \longrightarrow r_1 a_1 + \cdots + r_n a_n$$
But then I am not sure if $r_1 a_1 + \cdots + r_n a_n$ is in $F_2$ or not? $F_2$ being a free module does not imply that all possible combinations $\sum r_i a_i$ is in it, but only implies that if something is in it, it can be uniquely written in that form, right? How should I show surjectivity?