\(\Leftrightarrow\left(x^2+\frac{1}{x^2}-2\right)+\left(y^2+\frac{1}{y^2}-2\right)+\left(z^2+\frac{1}{z^2}-2\right)=0\)
\(\Leftrightarrow\left(x-\frac{1}{x}\right)^2+\left(y-\frac{1}{y}\right)^2+\left(z-\frac{1}{z}\right)^2=0\)
\(\Leftrightarrow\left\{{}\begin{matrix}x-\frac{1}{x}=0\\y-\frac{1}{y}=0\\z-\frac{1}{z}=0\end{matrix}\right.\) \(\Leftrightarrow\left\{{}\begin{matrix}x^2=1\\y^2=1\\z^2=1\end{matrix}\right.\)
\(\Leftrightarrow\left\{{}\begin{matrix}x=\pm1\\y=\pm1\\z=\pm1\end{matrix}\right.\)
Vậy P có thể nhận các giá trị \(P=\left\{-1;1;3\right\}\)