Xét hiệu
+) \(\frac{a}{b}+\frac{b}{a}-2\)
\(\Rightarrow\frac{a^2+b^2-2ab}{ab}=\frac{\left(a-b\right)^2}{ab}\)
\(\Rightarrow ab>0\) ( vì a,b cùng dấu (gt ))
Hay \(\left(a-b\right)^2\ge0\)
Dấu " = " xảy ra \(\Leftrightarrow a=b\)
\(\Rightarrow\frac{a}{b}+\frac{b}{a}-2\ge0\)
\(\Leftrightarrow\frac{a}{b}+\frac{b}{a}\ge2\) (đpcm)