1.4.5 Remainders of Expressions
Questions like (43−15×43)÷6 has what remainder, are very popular and appear anywhere from the 2nd to the 4th column. This problem has its root in modular arithmetic (See Section 3.4: Modular Arithmetic), and the procedure for solving it is simply knowing that “the remainders after algebra is equal to the algebra of the remainders.” So instead of actually finding what 43−15×43 is and then dividing by 6, we can figure out what the remainder of each term is when dividing by 6, then do the algebra. So:
(43−15×43)÷6≡(4−3×1)÷6=1
It should be noted that if a negative value is computed as the remainder, addition of multiples of the number which you are dividing by are required. Let’s look at an example:
(15×43−34×12)÷7≡(1×1−6×5)÷7=−29⇒−29+5⋅(7)=6
So in the above question, after computing the algebra of remainders, we get an unreasonable remainder of -29. So to make this a reasonable remainder (a positive integer such that 0≤r<7), we added a multiple of 7 (in this case 35) to get the correct answer.
You can use this concept of “negative remainders” to your benefit as well. For example, if we were trying to see the remainder of 138÷14, the long way of doing it would be noticing that 132=169÷14=1⇒14÷14=1 or you could use this concept of negative remainders (or congruencies if you are familiar with that term) to say that 138÷14⇒(−1)8÷14=1.
Problem Set 1.4.5
(31×6−17)÷8 remainder
(34×27+13)÷4 remainder
(44×34−24)÷4 remainder
(33+23×13)÷3 remainder
(23+33×43)÷4 remainder
(24×34−44)÷7 remainder
(112+9×7)÷5 remainder
(15×3−62)÷9 remainder
(12×9−23)÷8 remainder
(65×4−32)÷10 remainder
(34×56−12)÷9 remainder
(65−4×3)÷6 remainder
(34×56−12)÷9 remainder
(2×34+56)÷7 remainder
(23−4×5+6)÷7 remainder
(34×5−6)÷7 remainder
(1+2−3×45)÷6 remainder
(82+4×6−10)÷3 remainder
(12×5+18+15)÷8 remainder
(73+82−91)÷6 remainder
(20+4×62)÷8 remainder
(72×64−83)÷7 remainder
(15×30−45)÷7 remainder
(64×53−42)÷3 remainder
(24×36−510)÷4 remainder
(92−7×5)÷4 remainder
(82×6−4)÷3 remainder
(12×34−56)÷7 remainder