We first write the quotient as a division problem:
and divide (the first term of the numerator) by (the first term of the denominator) to obtain (It may be helpful to write down the division: ) We write above the quotient bar as the first term of the quotient, as shown below.
Next, we multiply by to obtain and subtract this product from
Repeating the process, we divide by to obtain We write as the second term of the quotient. Then we multiply by to obtain and subtract:
Because the degree of the remainder, 8, is less than the degree of the division is finished. The quotient is with a remainder of We write the remainder as a fraction to obtain