\(P=2+\dfrac{2}{b}+a+\dfrac{a}{b}+2+\dfrac{2}{a}+b+\dfrac{b}{a}=\left(\dfrac{a}{b}+\dfrac{b}{a}\right)+\left(a+\dfrac{1}{2a}\right)+\left(b+\dfrac{1}{2b}\right)+\left(\dfrac{3}{2a}+\dfrac{3}{2b}\right)+4\ge2\sqrt{\dfrac{a}{b}.\dfrac{b}{a}}+2\sqrt{a.\dfrac{1}{2a}}+2\sqrt{b.\dfrac{1}{2b}}+2\sqrt{\dfrac{3}{2a}.\dfrac{3}{2b}}+4=6+2\sqrt{2}+\dfrac{3}{\sqrt{ab}}\)
Ta lại có: \(a^2+b^2\ge2\sqrt{a^2.b^2}=2ab\left(BĐT.Cauchy\right)\Rightarrow2\left(a^2+b^2\right)\ge4ab\Rightarrow\sqrt{ab}\le\dfrac{\sqrt{2\left(a^2+b^2\right)}}{2}=\dfrac{\sqrt{2}}{2}\)
\(\Rightarrow P\ge6+2\sqrt{2}+\dfrac{3}{\sqrt{ab}}\ge6+2\sqrt{2}+\dfrac{3}{\dfrac{\sqrt{2}}{2}}=6+5\sqrt{2}\)
\(minP=6+5\sqrt{2}\Leftrightarrow a=b=\dfrac{\sqrt{2}}{2}\)