Let: degP(x)=m≥1, degQ(x)=n≥1. By taking the degrees of the two members of the given equation we get the equality:
3mn=1+m+3n⇔(m−1)(3n−1)=2⇔m−1=1,3n−1=2or m−1=2,3n−1=1(impossible in N∗)⇔m=2,n=1.
Let P(x)=ax2+bx+c, a,b,c∈R, a=0, Q(x)=dx+e, d,e∈R, d=0.
Then, from the given relation we have:
a((Q(x))3)2+b(Q(x))3+c=xP(x)(Q(x))3,(1)
From which we conclude that Q(x)∣c=0⇒c=0. Then from (1) we have:
⇔⇔a((Q(x))3)2+b(Q(x))3−xP(x)(Q(x))3=0(Q(x))3(a(Q(x))3+b−xP(x))Q(x)=0a(Q(x))3+b−xP(x)=0xP(x)=a(Q(x))3+b(2)
Then from relation (2) we have:
⇔⇔x(ax2+bx)=a(dx+e)3+bax3+bx2=ad3x3+3ad2ex2+3ade2x+ae3+ba=ad3,b=3ad2e,3ade2=0,ae3+b=0a,d=0⇔d=1,e=0,b=0,a∈R.
Hence: P(x)=ax2, Q(x)=x, a∈R and it is easy to verify that they satisfy our problem.