Anonymous Wrote:Great explanation, thanks!
I have a question about what the answer would be if the numbers change. Let's say that that when x is divided by 19, the reminder is 5. How would we go about solving that, or there not enough information?
Thanks in advance.
if both of the numbers are 5's, then the explanation works the same way it does in stacey's example.
if you say that x/11 gives a remainder of 3 and x/19 gives a remainder of 5: here's how i would handle that (which may not be the best, or most elegant, solution ... but it works)
this means that x is 3 more than a multiple of 11, and also 5 more than a multiple of 19.
1) first, use trial and error to figure out a value of x that happens to work
i would do this by counting up values that are 5 more than a multiple of 19, and seeing when you get one that's 3 more than a multiple of 11.
24: no
43: no
62: no
81: no
100: no
119: no
138: no
157: yes (= 14x11 + 3)
so y is 14, and the remainder is 14 (because 19 goes into 14 zero times, with a remainder of 14)
2) now consider the characteristics of all other x's that will leave the desired remainders
* you need x to leave the same remainder of 3 when it is divided by 11.
this means that
any other x that works must differ from 157, the value we just found, by a multiple of 11; if it doesn't, it will leave a different remainder.
* you need x to leave the same remainder of 5 when it is divided by 19.
this means that
any other x that works must differ from 157, the value we just found, by a multiple of 19; if it doesn't, it will leave a different remainder.
* consequence: x differs from 157 by a multiple of
both 11 and 19.
* since 11 and 19 are prime numbers, this means that the difference between 157 and x is a multiple of 11x19.
* this means that x is one of the following numbers:
157
157 + 19(11)
157 + 38(11)
157 + 57(11)
etc.
if you divide these numbers by, you'll get the following quotients:
y = 14 (with a remainder of 3, as required)
y = 14 + 19 (with a remainder of 3, as required)
y = 14 + 38 (with a remainder of 3, as required)
etc.
the right hand terms won't contribute to the remainder when we divide y by 19, because they are all multiples of 19.
therefore the remainder always 14.
--
this sort of logic will always apply, so you'll always get a definite solution to the problem.