I have a question about the following example about the localization :
If $x$ is an element of a commutative ring $R$ and $ S = \left\{1, x,x^{2},...\right\}$ then $S^{-1}R$ can be identified (is canonically isomorphic to) $ R[x^{-1}]=R[s]/(xs-1)$.
My main question is it is possible to set the equivalence relation (on $R\times S$) well, the construction is naturally giving the equivalence relation like this,
$$(r,x^{s}) \sim (r',x^{t}) \overset{Def}\iff u(rx^t-r'x^s)=0~ for~ some~ u\in S .......(*)$$
If $R$ is an integral domain, just put $u=1$(Here is just quotient ring...). But, otherwise, I cannot sure that the element in $u \in S$ always exist whenever I pick a pair, $(r,x^{s}).$ Of course, since clearly $R$ is just commutative ring, and need not to be integral domain, I (vaguely) expect an (nonzero) element $x^{p} \in S$ (for some $p\in \mathbb{Z}^{+}$) such that $x^{p}(rx^t-r'x^s)=0$. However, I am not sure that the positive integer $p$ really exist for any (not specific) commutative ring $R$.
Or, is it no problem such positive integer $p$ does not exist (even though such situation is strange...)? Suppose that, an above definition $(*)$ , $(r,x^s) \in R \times S$ does not match any pair $(r',x^{t})$ but, at least, there exists $u=1 (\in S)$ such that $(r,x^s) \sim (r,x^s)$ (which holds reflexive, symmetric, and transitive). Anyway, I can construct equivalent class $[(r,x^s)]$ by following these three conditions.