\(S=\frac{a^2}{a+ab}+\frac{b^2}{b+ab}+\frac{1}{a+b}\ge\frac{\left(a+b\right)^2}{a+b+2ab}+\frac{1}{a+b}\ge\frac{\left(a+b\right)^2}{a+b+\frac{\left(a+b\right)^2}{2}}+\frac{1}{a+b}\ge\frac{1}{1+\frac{1}{2}}+1=\frac{5}{3}\)
\(\Rightarrow S_{min}=\frac{5}{3}\) khi \(a=b=\frac{1}{2}\)