Remainder
In integer division, the remainder is the amount that is left over after dividing one integer by another. In polynomial division, the remainder is the polynomial that is left over after dividing one polynomial by another.
Integer Division
An integer is divisible by another integer or is a multiple of if can be written as times another integer:
For example, so is divisible by and . However, dividing 14 by any other integer greater than 1 does not produce an integer result. For example, leaves a remainder because 4 does not go evenly into 14. The multiples of the divisor are
so is the largest number of fours that go into 14. However, since , we have left over, which we call a "remainder of 2." We say that , read as "fourteen divided by four equals three remainder 2."
Note that the remainder will always be less than the divisor; in this case, dividing by 4 will always leave a remainder that is either 0, 1, 2, or 3. To find the remainder of a number upon division by a divisor , we first find the largest multiple of that goes into , and the remainder is the amount left over:
What is the remainder when 48 is divided by 7?
To find the remainder when 48 is divided by 7, we consider the multiples of 7:
Since and , only six 7's can go into 48. Then the amount left over is . Thus the remainder when 48 is divided by 7 is 6.
What is the remainder when 321 is divided by 123?
Visual Interpretation
One way to think about remainders is to consider dividing up squares into groups. For instance, in the above example, to find , start with 14 squares and line them up 4 at a time. If we stop at 4, 8, or 12 squares, the squares would form a rectangle:
However, since we have 14 squares, there are 2 squares left over:
The leftover squares are the remainder and show why the division of 14 by 4 leaves a remainder of 2. Note that this also shows why the remainder is always either 0, 1, 2, or 3 upon dividing by 4.
An even number is an integer that leaves a remainder of upon division by . An odd number is an integer that leaves a remainder of upon division by . Use the above visual interpretation to explain why the following patterns are true:
Since an odd number leaves a remainder of upon division by , if we line up an odd number of squares into rows of 2 squares each, there will be one square left over. Now, if we consider combining two such groups, we have the following pattern:
![]()
The result is a rectangle with no squares left over, i.e. an even number.
Similarly, if we combine an odd number of squares (with one leftover square) with an even number of squares (with no leftover squares), we have the following pattern:
![]()
This has one square left over, which shows the result is an odd number.
Finally, if we combine an even number of squares with another even number of squares (both with no leftover squares), we have the following pattern, which results in no leftover squares:
![]()
Problem Solving
If is an integer that leaves a remainder of 2 upon division by 6, what is the remainder of upon division by 3?
Since leaves a remainder of 2 upon division by 6, we have
where is the largest multiple of that goes into . Now, this can also be written as
and since , we have is the largest multiple of that goes into . This shows that the remainder of upon division by is also .
What is the largest possible remainder when a two-digit number is divided by the sum of its digits?
This problem is shared by Aida A from the Malaysian National Mathematical Olympiad.
If is an integer that leaves a remainder of 4 upon division by 6, what is the remainder of upon division by 3?
Note that this example is similar to the above problem, but with a larger remainder. Now, since leaves a remainder of 4 upon division by 6, we have
where is the largest multiple of that goes into . This can also be written as
In comparison to the example above, now is the largest multiple of that goes into . This shows that the remainder of upon division by is .
Polynomial Division
Main Article: Polynomial Division
We have seen that to divide an integer by another non-zero integer we find the largest multiple of that goes into and the remainder is the amount left over:
This idea can also be applied to polynomials. That is, we can divide one polynomial by another polynomial for non-zero Then there exists a unique polynomial quotient and remainder such that