\(\dfrac{a}{b}=\dfrac{c}{d}\Rightarrow\dfrac{a}{c}=\dfrac{b}{d}\)
\(\left\{{}\begin{matrix}\dfrac{a}{c}=\dfrac{b}{d}=\dfrac{a-b}{c-d}\\\dfrac{a}{c}=\dfrac{b}{d}\end{matrix}\right.\)\(\Rightarrow\left\{{}\begin{matrix}\left(\dfrac{a}{c}\right)^2=\dfrac{\left(a-b\right)^2}{\left(c-d\right)^2}\\\left(\dfrac{a}{c}\right)^2=\dfrac{ab}{cd}\end{matrix}\right.\)
\(\Rightarrow\dfrac{ab}{cd}=\dfrac{\left(a-b\right)^2}{\left(c-d\right)^2}\)