What shall we do to find the polynom P knowing that #(X^3+1)# divides #P-1# and #(X^3-1)# divides #P+1# ?
1 Answer
By inspection,
More generally, for any polynomial
#P(X) = Q(X)(X^6-1)-X^3#
Explanation:
-
To say that
#(X^3+1)# divides#P(x)-1# is to say that#P(x)-1# is a multiple of#(X^3+1)# -
To say that
#(X^3-1)# divides#P(x)+1# is to say that#P(x)+1# is a multiple of#(X^3-1)#
Simplest solution
Note that:
#(X^3+1)# divides#color(blue)(-X^3)-1 = -(X^3+1)#
#(X^3-1)# divides#color(blue)(-X^3)+1 = -(X^3-1)#
So:
#P(X) = color(blue)(-X^3)#
is a solution.
Another solution
Another solution is
#(X^3+1)(-X^6+X^3-1) = color(blue)(-X^9)-1 = P(X)-1#
#(X^3-1)(-X^6-X^3-1) = color(blue)(-X^9)+1 = P(X)+1#
Similarly
A generalised solution
More generally still, let
#P(X) = Q(X)(X^6-1)-X^3 = Q(X)(X^3-1)(X^3+1)-X^3#
We find:
#P(X)-1 = Q(X)(X^6-1)-X^3-1#
#color(white)(P(X)-1) = (X^3+1)(Q(X)(X^3-1)-1)#
So
Also, we find:
#P(X)+1 = Q(X)(X^6-1)-X^3+1#
#color(white)(P(X)+1) = (X^3-1)(Q(X)(X^3+1)-1)#
So