Exercise
Do long division:
x2−x−512x5−3x4+5x3+x2−7
Final Answer
(12x3+9x2+74x+120)+x2−x−5490x+593
Solution
Here is the long division:

This is the result of the long division:
x2−x−512x5−3x4+5x3+x2−7
=(12x3+9x2+74x+120)+x2−x−5490x+593
We can also present it like this:
12x5−3x4+5x3+x2−7=
=(x2−x−5)(12x3+9x2+74x+120)+(490x+593)
Note:
490x+593 is called the remainder.