It is easy to verify that the ≥ defined above satisfies the property that adding or subtracting the same polynomial on both sides preserves the relation.
(1). Suppose the conclusion does not hold, then we derive a contradiction below.
We now use induction on height to prove ai=bi,∀i=1,2,...,n.
First prove an=bn: consider comparing the coefficient of xn2, the left side is ann+1+bnn+1, the right side is annbn+anbnn, left side ≥ right side with equality holding at an=bn, but by assumption equality must hold.
Assume ai=bi,∀i=k,k+1,...,n holds, then the original expression can be written as
≥anf(x)n+an−1f(x)n−1+⋯+akf(x)k+⋯+a0+bng(x)n+bn−1g(x)n−1+⋯+bkg(x)k+⋯+b0ang(x)n+an−1g(x)n−1+⋯+akg(x)k+⋯+a0+bnf(x)n+bn−1f(x)n−1+⋯+bkf(x)k+⋯+b0
which is equivalent to
≥ak−1f(x)k−1+⋯+a0+bk−1g(x)k−1+⋯+b0ak−1g(x)k−1+⋯+a0+bk−1f(x)k−1+⋯+b0
It is not hard to see that in the left and right expressions the coefficients of xq will be the same ∀q>n(k−2)+k−1 (because the coefficients are all chosen from an to ak), comparing the coefficient of the xn(k−2)+k−1 term, the left side is (k−1)ank−2(ak−12+bk−12), the right side is (k−1)ank−2×2ak−1bk−1, by the AM-GM inequality the left side ≥ the right side with equality holding at ak−1=bk−1, but by assumption equality must hold.
By mathematical induction we obtain f(x)=g(x), a contradiction!
(2). f(x)≥g(x) is equivalent to the existence of a sufficiently large M such that ∀m>M,f(m)≥g(m). Without loss of generality, f(x)≥g(x); also, the original expression is equivalent to (f−g)(f(x))≥(f−g)(g(x)), and the leading coefficient of f−g is positive, so there exists a sufficiently large M such that ∀m>M: (i) (f−g)(m) is increasing, (ii) f(m)≥g(m), then (f−g)(f(m))≥(f−g)(g(m)), hence the result is proved.