- If (dividend) and (divisor) are polynomials such that and , then there exist unique polynomials (quotient) and (remainder) such that:
- (or )
- where or (if then divides evenly into )
Division Algorithm
- initialize as (written above the bar line)
- initialize as (written in the bottom)
while and do
- Divide by , and add the result to the
- Multiply by the result just obtained, and write the product result under the first two terms of the dividend.
- Subtract the product just obtained from
- Bring down the next term from