a/b = c/d => 1 - a/b = 1 - c/d
=> b/b - a/b = d/d - c/d
=> (b - a)/b = (d - c)/d
\(\frac{a}{b}=\frac{c}{d}\)
\(\Rightarrow\frac{-a}{b}=\frac{-c}{d}\)
\(\Rightarrow1+\frac{-a}{b}=1+\frac{-c}{d}\)
\(\Rightarrow\frac{b-a}{b}=\frac{d-c}{d}\left(dpcm\right)\)