Example

To determine the quotient q and the remainder r when dividing a = 2X4 + X by b = X2 + 1 in Q[X] we need the following steps.