\(\dfrac{xy}{x+y}=\dfrac{yz}{y+z}=\dfrac{zx}{z+x}\\ \Rightarrow\dfrac{x+y}{xy}=\dfrac{y+z}{yz}=\dfrac{z+x}{zx}\\ \Rightarrow\dfrac{1}{y}+\dfrac{1}{x}=\dfrac{1}{z}+\dfrac{1}{y}=\dfrac{1}{x}+\dfrac{1}{z}\\ \Rightarrow\dfrac{1}{x}=\dfrac{1}{y}=\dfrac{1}{z}\\ \Rightarrow x=y=z\)
\(\Rightarrow P=\dfrac{xy+yz+zx}{x^2+y^2+z^2}=\dfrac{x^2+x^2+x^2}{x^2+x^2+x^2}=1\)