Áp dụng BĐT AM-GM ta có:
\(a^2+b^2\ge2\sqrt{a^2b^2}=2\)
Dấu " = " xảy ra <=> a=b=1
Đặt \(M=\left(a+b+1\right)\left(a^2+b^2\right)+\frac{4}{a+b}\)
\(\Rightarrow M\ge\left(a+b+1\right).2=\left(a+b\right)+\left(a+b\right)+2+\frac{4}{a+b}\)
Áp dụng BĐT AM-GM ta có:
\(M\ge2.\sqrt{ab}+2.\sqrt{\left(a+b\right).\frac{4}{a+b}}+2=2+2.2+2=8\)
Dấu " = " xảy ra <=> a=b=1