Let $R$ be a commutative ring and let $a,b \in R$. Suppose that $a \mid b$, which means that there exists some $k \in R$ such that $k\cdot a = b$. I now often see expressions of the form $b/a$ in this context. ( For example the important lcm-gcd-formula $gcd(a,b) = ab / lcm(a,b)$ ). My question:
Is it enough to simply define $b/a := k$ or are there some caveats? (I think one problem here might be that $b/a$ does not have to be unique with this naive definition.)
Could you please explain this to me?