Find the quotient (and the remainder) of
Write the dividend with every power present. Long division lines terms up by degree, so a missing power has to be held open with a zero coefficient. There is no term, so write
Skipping this is the single most common source of a wrong quotient here.
Divide the leading terms to get the first quotient term. Each round of long division only ever looks at the two leading terms:
Multiply back and subtract:
Repeat on the new leading term. Now the remainder-so-far leads with :
Subtracting leaves
Two more rounds finish the quotient. From :
and from :
The leftover has degree , lower than the divisor, so the division stops.
Check with the division identity. A correct division must satisfy dividend divisor quotient remainder:
Expanding the left side reproduces the dividend term for term. Equivalently, the remainder theorem gives , matching the remainder exactly.
Need to solve a different problem like this? Open the solver →