Given a multiplicative subset $U \subset R$ and let $L_U$ be the localization homomorphism. I am trying to figure out why $ J \subset L_U^{-1}(U^{-1}J)$.
As I understand it, when J is prime it would be equal, since $L_U^{-1}(U^{-1}J) = \{r \in R : ur \in J \text{ for some u } \in U\}$ and since $ur$ is in $J$ then $r$ must be in J since we know $u$ isn't and J is prime, but when $J$ isn't prime, I'm struggling to visualise why it produces a subset.
By definition, any $x\in J$ is sent under $L_{U}$ to $\frac{x}{1}\in U^{-1}J$. So we have indeed $J\subseteq L_{U}^{-1}(U^{-1}J)$ for any subset $J\subseteq R$.
But it is not true that this is an equality for $J$ a prime ideal. If your set $U$ contains nilpotent elements, for example, the map $L_{U}$ is just the zero map (because $U^{-1}R$ is the zero ring), so the preimage of the image of any nonempty set is the whole $R$.