I studied AM before studying universal properties. When I solved the following exercise, I had a tedious solution that involved dealing with elements.
Let $ A $ be a ring with multiplicatively closed subsets $ S $ and $ T $. Define $ U$ to be the image of $ T$ in $S^{− 1}A $. Show that $(ST)^{−1}A$ and $U ^{−1}(S^{−1}A)$ are isomorphic rings.
I think I have a clean solution that uses universal properties. To my surprise, none of the solution manuals does this.
Let $A \rightarrow R$ be a map that sends $ST$ to units. Since this sends each element of $S$ to a unit, it factors as $A \rightarrow S^{-1}A \rightarrow R$. Again, the second map sends each element of $U$ to a unit, thus it factors as $A \rightarrow S^{-1}A \rightarrow U^{-1}(S^{-1}A) \rightarrow R$. The last map is uniquely determined by $A\rightarrow R$. I conclude that $U^{-1}(S^{-1}A)$ satisfies the universal property of $(ST)^{-1}A$.
Is this correct?