mattsu wrote:
nick13 wrote:
If n is a negative integer and q is a positive integer, then there is only one negative integer m such that n= mq +r, where 0 ≤ r ≤ q. The Integer r is called the remainder when n is divided by q. What is remainder when -100 is divided by 30?
A. -20
B. -10
C. 0
D. 10
E. 20
I do not get it. If I divide -100 by 30, it divides 3 times and gives me the reminder -10, doesn't it?
dividend = the integer being divided
divisor = the integer being divided into the dividend
quotient = the result after division
remainder = the portion of the dividend that REMAINS after division
Putting it all together:
dividend =
(divisor)(quotient) + remainder
When the division of two integers yields a REMAINDER, the reason is that the product in blue is less than than the dividend, so part of the dividend REMAINS.
In the case at hand:
-100 = dividend
30 = divisor
Thus:
-100 =
(30)(quotient) + R
Here, a quotient of -3 will make the product in blue GREATER than the dividend in red, so it would be illogical to claim that part of the dividend
remains.
For this reason, the quotient here will generally be thought to be not -3 but -4, so that the product in blue is LESS than the dividend of -100:
-100 = (30)(-4) + R
R = 20