long division
In this entry we treat two cases of long division.
1 Integers
Theorem 1 (Integer Long Division).
For every pair of integers there exist unique integers and such that:
- 1.
- 2.
.
Example 1.
Let and . Then and correspond to the long division:
Definition 1.
The number as in the theorem is called the remainder of the division of by . The numbers and are called the dividend, divisor and quotient respectively.
2 Polynomials
Theorem 2 (Polynomial Long Division).
Let be a commutative ring with non-zero unity and let and be two polynomials in , where the leading coefficient of is a unit of . Then there exist unique polynomials and in such that:
- 1.
- 2.
or .
Example 2.
Let and let , . Then and , so that:
Example 3.
The theorem is not true in general if the leading coefficient of is not a unit. For example, if and then there are no and with coefficients in with the required properties.