Find all polynomials with real coefficients such that
for all nonzero real numbers obeying .
Problem 1278
Official solution
The given can be rewritten as saying that
is a polynomial vanishing whenever and , for real numbers , .
Claim - This means vanishes also for any complex numbers obeying .
Proof. Indeed, this means that the rational function
vanishes for any real numbers and such that . This can only occur if is identically zero as a rational function with real coefficients. If we then regard as having complex coefficients, the conclusion then follows.
Remark (Algebraic geometry digression on real dimension). Note here we use in an essential way that can be solved for in terms of and . If is replaced with some general condition, the result may become false; e.g. we would certainly not expect the result to hold when since for real numbers only when !
The general condition we need here is that should have "real dimension two". Here is a proof using this language, in our situation.
Let be the surface . We first contend is two-dimensional manifold. Indeed, the gradient vanishes only at the points where the signs are all taken to be the same. These points do not lie on , so the result follows by the regular value theorem. In particular the topological closure of points on with is all of itself; so vanishes on all of .
If we now identify with the semi-algebraic set consisting of maximal ideals in Spec satisfying , then we have real dimension two, and thus the Zariski closure of is a two-dimensional closed subset of Spec . Thus it must be , since this is an irreducible two-dimensional closed subset (say, by Krull's principal ideal theorem) containing . Now is a global section vanishing on all of , therefore is contained in the (radical, principal) ideal as needed. So it is actually divisible by as desired.
Now we regard and as complex polynomials instead. First, note that substituting implies is even. We then substitute
to get
which in particular implies that
identically in . The left-hand side is a second-order finite difference in (up to scaling the argument), and the right-hand side is constant, so this implies .
Since is even and , we must have for some real numbers and . A quick check now gives the answer which all work.