Từ \(\frac{y+z-x}{x}=\frac{z+x-y}{y}=\frac{x+y-z}{z}\)
\(\Rightarrow\frac{y+z-x}{x}+2=\frac{z+x-y}{y}+2=\frac{x+y-z}{z}+2\)
\(\Rightarrow\frac{x+y+z}{x}=\frac{x+y+z}{y}=\frac{x+y+z}{z}\)
*)Xét \(x+y+z\ne0\Rightarrow x=y=z\)
Khi đó \(B=\frac{x+y}{y}\cdot\frac{y+z}{z}\cdot\frac{x+z}{x}=2\cdot2\cdot2=8\)
*)Xét \(x+y+z=0\)\(\Rightarrow\left\{\begin{matrix}x+y=-z\\y+z=-x\\x+z=-y\end{matrix}\right.\)
Khi đó \(B=\frac{x+y}{y}\cdot\frac{y+z}{z}\cdot\frac{x+z}{x}=\frac{-z}{y}\cdot\frac{-x}{z}\cdot\frac{-y}{x}=-1\)