Problem

Source: SAMO, 2022, R3, P6

Tags: algebra, polynomial



Show that there are infinitely many polynomials P with real coefficients such that if x, y, and z are real numbers such that $x^2+y^2+z^2+2xyz=1$, then $$P\left(x\right)^2+P\left(y\right)^2+P\left(z\right)^2+2P\left(x\right)P\left(y\right)P\left(z\right) = 1$$