shash wrote:
How can this problem be solved without 2 equations. How do you in fact spot such cases?
Actually the second statement also gives us two equations. Albeit, one is not explicit.
The equation that be derived clearly from the second statement is:
23x + 21y = 130
Now, how do we have another equation here?
As IanStewart has also explained,
If the pencils cost either 21c or 23c, and the total value of the pencils was 130 cents, the total pencils had to be six.
Had to be.
Here's why:
1. What's the minimum # of pencils she must have bought?
I'm thinking in terms of the expensive pencils.
I'll start with a relaxed number.
e.g. 23 x 3 = 69. Less than 130. Too few.
23 x 4 = 92. Less than 130. Too few.
23 x 5 = 115. Less than 130. Too few.
23 x 6 > 130. Wait. That's too many.
Even if all the pencils were the expensive ones and she bought five pencils, her total would have been less than 130. So, she would have bought more than 5 pencils to get a total of 130 cents.
2. What's the maximum # of pencils she must have bought?
I'm thinking in terms of the cheaper pencils now.
21 x 10 = 210. Greater than 130. Too many.
21 x 7 = 140 + 7. Greater than 130. Too many.
21 x 6 = 126. Ok, that's too few.
Even if all the pencils were the cheaper ones and she bought seven pencils, her total would have been greater than 130. So, she would have bought fewer than 7 pencils to get a total of 130 cents.
Combining these two, we know for sure that she bought six pencils total.
So, we have our second equation now:
x + y = 6