If $G$ is a free abelian group with rank $n$, I need to show that ${\rm Hom}(G,\mathbb{Z})$, set of all homomorphisms is also free abelian group of rank $n$,
My work:
Since $G$ is free abelian group then $G$ can be generated by the set $\{g_1,g_2, \cdots,g_n\}$. Let $f \in{\rm Hom}(G,\mathbb{Z})$, then $f(x)=\sum_{i=1}^n{c_if(g_i)}$, where $x=\sum_{i=1}^n{c_ig_i}$, but this gives a generator set of ${\rm Im}(f)$ and I need to get generators for ${\rm Hom}(G,\mathbb{Z})$, so for arbitrary $f$ we have the same set of generators which is in $\mathbb{Z}$.