I'm looking for a definition like this:
In integral domains, if $ b\neq 0 $ and $b \mid a $, we define $\frac{a}{b}$ (or $a/b$ ) to be the only element $x$ such that $bx=a$.
I see many people on MSE use this division in their proofs (see 1 and 2) without declaration, but I can't find any information about it in formal writings such as algebra books from Artin, Lang, or Hungerford.
My question is that: Is the definition suitable?
If this division is well-defined, what useful properties does it have?
Any direct answers or links to other places are much appreciated.