Suppose you have two polynomials $p,q$ with the guarantee that their composition $p(q(x))$ is a perfect square, i.e. that there exists a polynomial $r$ with $p(q(x))=r(x)^2$.
Can we characterize such pairs of polynomials?
Conjecture: Over any algebraically closed field, all such $p,q$ have one of two forms:
- $p$ is a perfect square.
- $q(x)-c$ is a perfect square for some constant $c$, and $p(y)=(y+c)\times s(y)^2$ for some polynomial $s$.
Clearly any $p,q$ satisfying 1 or 2 will have $p(q(x))$ be a perfect square. Are there any other examples, or can we prove that 1 or 2 are exhaustive?