Ta có:
\(S=\dfrac{\left(x+y\right)^2}{x^2+y^2}+\dfrac{\left(x+y\right)^2}{xy}=1+\dfrac{2xy}{x^2+y^2}+2+\dfrac{x^2+y^2}{xy}\)
\(=3+\left(\dfrac{2xy}{x^2+y^2}+\dfrac{x^2+y^2}{2xy}\right)+\dfrac{x^2+y^2}{2xy}\)
\(\ge3+2+\dfrac{2xy}{2xy}=5+1=6\)
Vậy GTNN là S = 6 khi x = y