A polynomial leaves a remainder of when it is divided by .
Find the remainder when is divided by .
Turn the division fact into an equation you can cube. "Remainder " means there is some quotient polynomial with
This is the only information given, so every step has to flow from it. Write for short.
Cube both sides and throw away everything divisible by . Expanding with the binomial theorem gives
The first three terms all contain a factor of , so they contribute nothing to the remainder. That is the key idea: the remainder of equals the remainder of . You never need to know or at all.
Expand the cube.
The divisor has degree , so the remainder we are hunting for has degree at most — it will look like .
Reduce the powers of using the divisor itself. Instead of doing long division, use the relation in the quotient ring, i.e. treat
as a rewriting rule. Then
This substitution trick is much faster than dividing a cubic by a quadratic, and it generalises to any power of .
Substitute and collect like terms.
so
Check with an honest long division. Dividing by gives quotient , and
Adding the claimed remainder: , which is exactly the cube. The remainder is confirmed.
Need to solve a different problem like this? Open the solver →