Another query on the same topic:
A citrus fruit grower receives $15 for each crate of
oranges shipped and $18 for each crate of grapefruit
shipped. How many crates of oranges did the grower
ship last week?
(2) Last week the grower received a total of
$38,700 from the crates of oranges and
grapefruit shipped.
My question is,the number of crates will be integer values so why can we not test values for oranges and grape crates and arrive at unique solution? Also,how does one know that testing values on this particular equation will not yield unique values?
Say, no of crates of oranges is r and of grapefruit is g
15r + 18g = 38700
Here, you see that 15 and 18 are very small numbers compared with 38700. So if you have one solution for the values of (r, g), you will find many more (explained below). Obviously, since he ships the crates and makes this amount of money, there has to be an integral solution for the values of (r, g). This means that you will have many integral solutions. Let me show you with numbers:
38700 is divisible by 15 so one solution for (r, g) is (2580, 0). Now there will be many more solutions since you will keep decreasing 2580 by 18 and increasing 0 by 15 e.g. (2562, 15), (2544, 30) etc ... (you don't really need to calculate them... you know there will be many such values) So there is no unique value until and unless some other constraints are given.
If say the equation were something like 15r + 18g = 48, you are likely to find only one set of solution (2, 1). You can't reduce 2 by 18 since it will become negative. In this case, you have a unique solution.