[tex]Domain:\ a\neq0\ \wedge\ b\neq0[/tex]
[tex]\dfrac{x}{a}=\dfrac{x}{b}\qquad|\text{cross multiply}\\\\bx=ax\qquad|\text{subtract ax from both sides}\\\\bx-ax=0\\\\x(b-a)=0\qquad|\text{divide both sides by }\ b-a\neq0\\\\x=0[/tex]
[tex]\dfrac{x}{a}=\dfrac{x}{b}\\\\if\ a\neq b\ then\ x=0\\\\if\ a=b\ then\ x\in\mathbb{R}[/tex]