\(a-b=2\Leftrightarrow a=b+2\)
\(P=3a^2+b^2+8\\ P=3\left(b+2\right)^2+b^2+8\\ P=3b^2+12b+12+b^2+8\\ P=4b^2+12b+20\\ P=\left(4b^2+12b+9\right)+11\\ P=\left(2b+3\right)^2+11\ge11\forall a;b\)
Dấu "=" xảy ra \(\Leftrightarrow b=\dfrac{-3}{2}\)
Pmin = 11