Lời giải:
Ta có:
\(\left\{\begin{matrix} x+2y+3z=4\\ \frac{1}{x}+\frac{1}{2y}+\frac{1}{3z}=0\end{matrix}\right.\)
\(\Leftrightarrow \left\{\begin{matrix} x+2y+3z=4\\ \frac{6yz+2xy+3xz}{6xyz}=0\end{matrix}\right.\Leftrightarrow \left\{\begin{matrix} x+2y+3z=4\\ 2xy+6yz+3xz=0\end{matrix}\right.\)
Do đó:
\((x+2y+3z)^2-2(2xy+6yz+3xz)=4^2-2.0=16\)
\(\Leftrightarrow x^2+4y^2+9z^2=16\)
\(\Leftrightarrow P=16\)