In an exercise, I have the polynomial $p(x,y,z)=x^2+y^2+z^2-xy-xz-yz$, I have to decide whether is reducible or not in $\mathbb{C}[x,y,z]$.
I think it's reducible, and thinking of it in $\mathbb{C}[y,z][x]$ I have $p(x,y,z)=x^2-x(y+z)+y^2+z^2-yz$.
Applying Bhaskara I get
$\begin{align*} x_{\pm}&=\frac{y+z\pm \sqrt{y^2+2yz+z^2-4y^2-4z^2+4yz}}{2}\\ &=\frac{y+z\pm \sqrt{-3(y-z)^2}}{2}\\&=\frac{y+z\pm i\sqrt{3}(y-z)}{2}\end{align*}$.
But when I try to verify $(x-x_+)(x-x_-)$ (with Wolfram Alpha) I don't get the original polynomial.
Is it wrong using Bhaskara to try to reduce the polynomial?
Thank you in advance

You are correct.
\begin{align*} (x-x_+)(x-x_-)&=\left(\frac{2x-y-z}2\right)^2-\left(\frac{i\sqrt3(y-z)}2\right)^2\\ &=\frac{4x^2+y^2+z^2-4xy-4xz+2yz+3(y^2+z^2-2yz)}4\\ &=x^2+y^2+z^2-xy-yz-zx \end{align*}