\(\frac{a}{b}=\frac{c}{d}\Rightarrow\frac{a}{b}.\frac{a}{b}=\frac{c}{d}.\frac{a}{b}\Rightarrow\frac{ac}{bd}=\frac{a^2}{b^2}\)
\(\frac{a}{b}=\frac{c}{d}\Rightarrow\frac{a}{b}.\frac{c}{d}=\frac{c}{d}.\frac{c}{d}\Rightarrow\frac{ac}{bd}=\frac{c^2}{d^2}\)
\(\Rightarrow\frac{ac}{bd}=\frac{a^2}{b^2}=\frac{c^2}{d^2}=\frac{a^2+c^2}{b^2+d^2}\left(dpcm\right)\)