\(\frac{a}{b}=\frac{c}{d}\Rightarrow\frac{ab}{b^2}=\frac{cd}{d^2}\Rightarrow\frac{ab}{cd}=\frac{b^2}{d^2}=\frac{a^2}{c^2}\)
\(\Rightarrow\frac{2ab}{2cd}=\frac{b^2}{d^2}=\frac{a^2}{c^2}\Rightarrow\frac{ab}{cd}=\frac{a^2+2ab+b^2}{c^2+2cd+d^2}=\frac{\left(a+b\right)^2}{\left(c+d\right)^2}\)(đpcm)