\(\frac{a^2+b^2}{c^2+d^2}=\frac{ab}{cd}\)
=> \(\left(a^2+b^2\right)cd=ab\left(c^2+d^2\right)\)
\(\Leftrightarrow a^2cd+b^2cd-abc^2-abd^2=0\)
\(\Leftrightarrow a^2cd-abc^2+b^2cd-abd^2=0\)
\(\Leftrightarrow ac\left(ad-bc\right)+bd\left(bc-ad\right)=0\)
\(\Leftrightarrow ac\left(ad-bc\right)-bd\left(ad-bc\right)=0\)
\(\Leftrightarrow\left(ad-bc\right)\left(ac-bd\right)=0\)
\(\Leftrightarrow\orbr{\begin{cases}ad-bc=0\\ac-bd=0\end{cases}}\)
\(\Leftrightarrow\orbr{\begin{cases}ad=bc\\ac=bd\end{cases}}\)
\(\Leftrightarrow\orbr{\begin{cases}\frac{a}{b}=\frac{c}{d}\\\frac{a}{b}=\frac{d}{c}\end{cases}}\) (DPCM)