\(P=\left(x^4+1\right)\left(y^4+1\right)=x^4y^4+x^4+y^4+1\)
Ta có \(x^2+y^2=\left(x+y\right)^2-2xy=10-2xy\)
\(\Rightarrow x^4+y^4=\left(x^2+y^2\right)^2-2x^2y^2=\left(10-2xy\right)^2-2x^2y^2=100-40xy+2x^2y^2\)
\(\Rightarrow P=\left(xy\right)^4+101-40xy+2x^2y^2\)
\(=\left[\left(xy\right)^4-8\left(xy\right)^2+16\right]+10\left[\left(xy\right)^2-4xy+4\right]+45\)
\(=\left(x^2y^2-4\right)^2+10\left(xy-2\right)^2+45\)
\(\Rightarrow P\ge45\)
Dấu "=" xảy ra khi xy=2
Lại có \(x+y=\sqrt{10}\)
\(\Rightarrow x=\sqrt{10}-y\Rightarrow xy=\sqrt{10}y-y^2=2\)
\(\Rightarrow y^2-\sqrt{10y}+2=0\)
Ta có \(\Delta=10-8=2\)
\(\Rightarrow y=\frac{\sqrt{10}+\sqrt{2}}{2}\)
\(\Rightarrow x=\frac{4}{\sqrt{10}+\sqrt{2}}=\frac{\sqrt{10}-\sqrt{2}}{2}\)
Vậy giá trị nhỏ nhất của P là 45 khi \(\hept{\begin{cases}x=\frac{\sqrt{10}-\sqrt{2}}{2}\\y=\frac{\sqrt{10}+\sqrt{2}}{2}\end{cases}}\)