Notation. Given a commutative ring $R$ and a set $S$, write $F_R(S)$ for the free $R$-module on $S$.
Here's a classical exercise:
- Given an ideal $I\vartriangleleft R$, prove $\frac{F_R(S)}{I\;F_R(S)}\cong F_{\frac{R}{I}}(S)$.
- Deduce that free modules over commutative rings have IBN.
The first part can be proved by constructing an $\frac{R}{I}$-linear surjection $F_{\frac{R}{I}}(S)\to \frac{F_R(S)}{I\;F_R(S)}$ using the universal property and then proving it's injective.
For the second part, I am tempted to consider the following diagram in the category of $R$-modules, where an isomorphism $F_R(S)\cong F_R(S^\prime)$ induces the rest of the horizontal isomorphisms. The problem is that the induced isomorphism $\frac{F_R(S)}{I\;F_R(S)}\cong \frac{F_R(S^\prime)}{I\;F_R(S^\prime)}$ is apriori only $R$-linear as opposed to $\frac{R}{I}$-linear, and the latter is needed to complete the exercise.
$$\require{AMScd} \begin{CD} I\; F_R(S) @>>> I\; F_R(S^\prime)\\ @VVV @VVV\\ F_R(S) @>>> F_R(S^\prime) \\ @VVV @VVV\\ \frac{F_R(S)}{I\;F_R(S)} @>>> \frac{F_R(S^\prime)}{I\;F_R(S^\prime)} \\ @VVV @VVV\\ F_{\frac{R}{I}}(S) @>>> F_{\frac{R}{I}}(S^\prime) \end{CD}$$
Question. What is the right way to deduce the $R/I$-linearity of the induced $\frac{F_R(S)}{I\;F_R(S)}\cong \frac{F_R(S^\prime)}{I\;F_R(S^\prime)}$ from the universal property of the quotient ring $R/I$?