1/
\(S=\dfrac{1}{x}+\dfrac{2^2}{y}\ge\dfrac{\left(1+2\right)^2}{x+y}=\dfrac{9}{1}=9\)
\(\Rightarrow S_{min}=9\) khi \(\left\{{}\begin{matrix}\dfrac{1}{x}=\dfrac{2}{y}\\x+y=1\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x=\dfrac{1}{3}\\y=\dfrac{2}{3}\end{matrix}\right.\)
2/
Áp dụng BĐT: \(2\left(x^2+y^2\right)\ge\left(x+y\right)^2\Rightarrow x^2+y^2\ge\dfrac{\left(x+y\right)^2}{2}\)
\(\Rightarrow\dfrac{\left(x+y\right)^2}{2}-3\left(x+y\right)\le x^2+y^2-3\left(x+y\right)=-4\)
\(\Rightarrow\dfrac{\left(x+y\right)^2}{2}-3\left(x+y\right)+4\le0\Leftrightarrow\left(x+y\right)^2-6\left(x+y\right)+8\le0\)
Đặt \(x+y=a\Rightarrow a^2-6a+8\le0\Rightarrow2\le a\le4\)
\(\Rightarrow2\le x+y\le4\)
\(\Rightarrow S\in\left[2;4\right]\)