Ta dễ có:
\(2+4ab=\left(a+b\right)^2+a+b\ge4ab+a+b\Rightarrow a+b\le2\)
\(P=\frac{a^2-2a+2}{b+1}+\frac{b^2-2b+2}{a+1}\)
\(=\frac{\left(a-1\right)^2}{b+1}+\frac{\left(b-1\right)^2}{a+1}+\frac{1}{a+1}+\frac{1}{b+1}\)
\(\ge\frac{\left(a+b-2\right)^2}{a+b+2}+\frac{4}{a+b+2}\ge\frac{\left(a+b-2\right)^2}{a+b+2}+1\ge1\)
Đẳng thức xảy ra tại \(a=b=1\)
hmm check hộ mình nhá