A pen costs an integer number of cents. There are 100 cents in a dollar.
9 of these pens cost between $11 and $12.
13 of these pens cost between $15 and $16.
What is the price of one pen in cents?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Here are the values on a number line:
I legitimately do not understand what the question is even asking: am I being asked to find the price of any one, randomly picked pen?
Log in to reply
Here is a more precise version of the problem statement.
Each pen costs a fixed price p. The cost of 9 such pens is greater than 11$ but less than 12$. Also, the cost of 13 such pens is greater than 15$, but lesser than 16$
Log in to reply
I like the wording you used. More precise than the original.
Log in to reply
@Charlie Affumigato – I agree. But over here, we have tried to phrase the problem without any mathematical notation so as to make it appealing for the non-mathematically oriented.
Clean and elegant!
Between 1.222 and 1.231, why settle on 1.23. Can you explain this please?
Log in to reply
Since we have to give the value in cents you could think of those values as being 122.2 and 123.1 cents. We can't have fractional cents and we can't round 122.2 down because it has to be above 122.2, so we round 123.1 down to 123 cents and that's the answer. This can also be seen on the number line above.
I dispute the wording; the question is inherently ambiguous. I took it to mean a comparison of 2 groups of pens, one priced at $11 - $12, and another priced at $15 - $16.
that is nice!
This explanation requires a bit more explanation. Only after reading all the explanations here did I understand that you were dividing everything by 9 and then 13, without knowing that, your explanation didn't help me at all.
The answer can be found this way: (((15/13 +16/13)/2)+(11/9+12/9)/2))/2
This is in no way a good solution. You just took the arithmetic means of each given interval and divided it by the number of pens for that interval. It even gives an answer that is more suggestive towards 124, than 123. Consider this: what if the second interval given would be "between 3$ and 16$"? The problem could still be solved with a normal method, giving the same result, 123 cents, but with your method it would result in 1.00427350427$.
Wrong method,, also the approximation will be - 1.24..
You are able to get the desired results as the no involved are small so change in them is smaller. For large number and intervals won't give nearby results.
Could you also add the rationale behind this?
Log in to reply
I agree. I do not understand what this computation means.
This is a very good solution but the price then is 1.235042735 and 13 pens cost $16.05555... The answer must be the integer number of cents. So you have to round your solution to $ 1.23. Thank you for the great idea for solving!
Relevant wiki: Simple Equations
Obviously the price of the pen is $1 and some cents. Let x be the number of cents. Then 9x is larger or equal 200 but less than 300. On another hand, 13x is larger or equal 200 but less than 300. So x must be larger or equal 16 but less or equal 23. Thus x=23 cents. The price of the pen is $1.23.
Please elaborate. Your solution has too much arbitrary verbiage :)
OHHHHHHH OKKKKK
O’K. Let the number of cents above $1 of the price of a pen be x. Then we can describe the given information by two inequalities:
200<9x<300 → 22.222…<x<33.333…
200<13x<300 →15.3846…<x<23.07692…
The only common integer solution of the two inequalities is 23. Thus the price of the pen is $1.23 .
Where are the 200 and 300 coming from? As with the above obtuse explanation, these comments make assumptions that are hardly clear to me.
"9 of these pens cost between $11 and $12" Each one or in total? That is not clear without reading the discussions (and hence the solution).
suppose,pen=P
now, 1 1 < 9 P < 1 2
or, 9 1 1 < 9 9 P < 9 1 2
or, 1 . 2 2 < P < 1 . 3 3 ..............(1)
again, 1 5 < 1 3 P < 1 6
or, 1 3 1 5 < 1 3 1 3 P < 1 3 1 6
or, 1 . 1 5 3 < P < 1 . 2 3 1 ........(2)
from 1 and 2 ,we get, ................................................... 1 . 2 2 < P < 1 . 2 3 1 . so, P must be=1.23 = 1 . 2 3 × 1 0 0 = 1 2 3 c e n t s
Your explanation was easier to understand for me than the top explanation here, so thank you. I get it now thanks to you.
Log in to reply
thank you very much.i always try to write an understandable solution.
the question is ambiguous. it suggests that the pens each cost $11&12 and $15&16 POOR WORDING & NOT SPECIFIC
Log in to reply
yes there is poor wording.but these types of inequality math are always described in this way.
Nicely explained :)
Log in to reply
thank you.i always get admiration but not so upvotes.
hhhha so poor
just do a *uck off
I asked myself how could this still be intuitive for students of lower grades & I felt that the following approach (slightly brute force) might work.
Find the highest multiple of 13 between 1500 & 1600. (Review question: Why highest?) 1599
If the price of 13 pens is 1599, then what is the price per pen? 123 cents
If the price per pen is 123 what is the price of 9 pens? 1107
Is 1107 between 1100 & 1200? Yes
If not, let's find the next highest multiple of 13 between 1500 & 1600 & repeat.
Once they solve this, I think there is an opportunity to optimise, extract patterns & perhaps, arrive at a representative derivation of the answer. I thought this might help educators who are wondering how to use problems like these in class. Is there a simpler way? Would love to hear.
This problem is the classical application of topic " Find intersection of solutions of the system of two inequalities" and in this case there is only one number satisfied the both of them. But it is possible to give this kind of problems for kids who are not familiar yet with such method. Your idea to check the largest number closest to 1600 is great. And in this particular case it works because 1599 is divisible by 13. If not, then to check smaller numbers until you find solution is a right decision but seems pretty boring. With other given numbers you could be not so lucky. But in this case YOU SOLVED THE PROBLEM! I think that you and your kids were winners and this feeling is the most important when you are teaching Mathematics.
Dear Anand: I was trying to solve this with an equation. The best way is with 2 inequalities. I just did it by "brute" force. But your solution is the easiest and most understandable. Thank you for your kind response. Justin
Thanks for the comment, Larisa. A small point I'd like to highlight - As noted above, I would open with what is largest multiple of 13 between 1500 & 1600 & not just the largest no. I agree that if I had opened with the latter, it would get tiresome! :-) Which is why I had also added the review question - Why highest/largest multiple of 13?
Log in to reply
You are looking for the number which is a multiple of 13 on the open interval from 1500 and 1600 and you found this number as closest to 1600. There are other multiples of 13 on this interval but the price of one pen in other cases does not satisfy to another condition in this problem. For example, if you take number 1586, which is a multiple of 13 on the given interval, then the price would be $1.22 and the cost of 9 cents would be $10.98, less than $12.
9 × 1 3 = 1 1 7 pencils cost between $143 and $144, or between 14300 and 14400 cents. The only number in that region which is divisible by 117, is 1 4 3 9 1 = 1 1 7 × 1 2 3
Bravo! Instead solving the system of inequalities you made only one inequality but with additional requirement to get the whole number in answer. The difficulty of this solution is the test for divisibility by 13. If you know the offered answers, then it is easy to check each of them. Your idea is wonderful! Thank you!.
cost of 9 pens is b/w $11 & $12
so cost of 1 pen may be dollar $.....1.23, 1.32, 1.41, 1.50, 1.59, 1.68, 1.77, 1.86, 1.95,
$1.23 coincide only with ans. $1.23
Obviously the price of the pen is $1 and some cents. Let x is the number of cents. Then 200 ≤ 9x < 300 → 23 ≤ x < 33. On another hand, 200 ≤ 13x < 300 and 16 ≤ x ≤ 23. Thus x=23c. So the price of the pen is $1.23c.
The solution of this problem is unique :$1.23. For example, if the price of the pen is $1.32, then 13 pens cost $17.16.
Here is my solution. It may not be the optimal but it gets the job done.
arrayA = [] arrayB = []
p = 9 cMin = c = 1100 cMax = 1200
while (c <= cMax): r = c % p if(r == 0): m = c / p arrayA.append(m) c += 1
p = 13 cMin = c = 1500 cMax = 1600
while (c <= cMax): r = c % p if(r == 0): m = c / p arrayB.append(m) c += 1
for a in arrayA: for b in arrayB: if(a == b): print (a)
11/9+12/9+15/13+16/13= 578/117
Divide that by 4 (Average it)
You get 289/234
Which is equal to 1.235...
DONT FORGET!!!
It said how many CENTS is it,
It is 123 cents
The lowest value of x is defined by 9x=11, highest by13x=16. Thus 9x +13x=11=16 ie 22x=27 Therefore x=1.22777 which rounded to the nearest whole number of cents equals 123
Lets call the price p . Then we have two inequalities 1 1 0 0 ≤ 9 p ≤ 1 2 0 0 (1) and 1 5 0 0 ≤ 1 3 p ≤ 1 6 0 0 (2). Now the folowing solution is relied to the beaty of 9 because of the fact that for every number multiple of 9 the sum of its digits equals 9 . For example 9 × 1 2 = 1 0 8 and 1 + 0 + 8 = 9 . So inspired by inequality (1) we define 9 p = 1 1 0 0 + x and also from this inequality we know that x ≤ 1 0 0 . And cause of the fact that 1 1 0 0 + x must have sum of digits 9 we know that x is a one or two digit number with sum of digits 9 − 2 = 7 . From the second inequality we see that 1 3 ( 1 1 0 0 + x ) / 9 ≤ 1 6 0 0 ⇒ x ≤ 1 6 0 0 ⋅ 9 / 3 − 1 1 0 0 = 7 . 6 . . . . So x is one digit number from 1 to 7 with "sum of digits" 7 so its 7 itself! From this we know that p = ( 1 1 0 0 + 7 ) / 9 = 1 2 3 . Notice the power of 9, the solution did not even need the left side of the inequality (2).
OHHH I DID ITTTTTTTTTTTT!!!!!!!!!!!!
Let cost in dollars be x given, 11<=9x<=12 and 15<=13x<=16 =>1.22<=x<=1.33 and 1.15<=x<=1.23 So, most possible value is 1.23
Right solution. Conclusion: $1.23 Is the only value satisfied to the two given requirements in the problem ( not the most possible)
Solved with the following 3 lines of Python code:
Output: 123
Here was how I did it.
Review what we know
Write these as inequalities and using cents:
But we don't want to know the number for 9 or 13 pens, so let's divide both sides of the each inequalities to get the price for a single pen within that inequality. This also puts each inequality in comparable ranges.
From this we can figure out the most restrictive price for a single pen by taking the narrowest set of prices that are compatible with both inequalities.
This is because we know that the minimum cost for a pen has to be greatest of the possible minimums and the least of the possible maximums since that is the only way both inequalities can be true. We have combined the inequalities in the only manner which allows both original inequalities to be true. Therefore the cost of a single pen has to be between 122.2 and 123.1 cents. The only whole number of cents that falls between those two values is 123 cents.
This is very good and simple explanation how you found the only solution of the system of two inequalities.
Simplest way how not to do this: We have:
Cases | Price |
best-1 | 11$ |
worst-1 | 12$ |
best-2 | 15$ |
worst-2 | 16$ |
Packages | Pens |
pens-1 | 9 |
pens-2 | 13 |
1 and 2 are situations. Worst and Best are cases. (Worst is expensive, Best is cheap). Now:
Step 1. Calculate the worst & best cases. B1= 9 1 1 =1,22 ; W2= 9 1 2 =1,33 ; B3= 1 3 1 5 =1,15; W4= 1 3 1 6 =1,23
Step 2. Calculate the worst & best equal cases. Beq= 9 + 1 3 1 1 + 1 5 =1,18; Weq= 9 + 1 3 1 2 + 1 6 =1,27;
Step 3. Find average. B1+W2+B3+W4+Beq+Weq / 6(count) = 1,23
Convert. 123 Cents.
Max price=15.99/13=1.23 Min price=11.01/9=1.22 Mean price=(1.23+1.22)/2=1.225 Integer price=123
Using this graph: https://www.desmos.com/calculator/uuhho50ch9 I could see that the value was between $1.2222 and $1.2308, so the answer in integer number of cents must be 123.
11 divide by 9 =1.22. 12 divide by 9 = 1.33 average 1.27 15 divide by 13= 1.15 16 divide by 13 = 1.23 average 1.19 Average of 1.27 plus 1.19 = 1.23 Price of one 123
Out of the two sets of pens, the one that requires the highest degree of accuracy is the set that has more pens. So if you calculate the maximum cost of each pen, then round down to the nearest whole number, you get your answer.
So, 16 dollars for 13 pens = (16/13) = 1.2307 = 1.23
The intuitive way. You can take max price for 9 pencils and it's $12. Then min price for 13 pencils which is $15. Then sum of pencils = 22 and all for $27. This gives you $1.227. Round it to nearest hundreds and convert to cents and it's 123.
Clearly 4 pens costs more than $4, and at most $5. If 4 pens cost $5, they'd cost $1.25 each so 9 would cost $11.25 and 13 would cost $16.25. We need to subtract an integer number of cents X from $1.25 such that 9X is less than or equal to 25 cents (so that 9 pens still cost at least $11), and such that 13X is greater than or equal to 25 cents (so that 13 pens now cost at most $16). 2 is the only such integer. So we subtract 2 cents from the $1.25 and we get that one pen costs $1.23.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Floor and Ceiling Functions - Problem Solving
1 1 < 9 p < 1 2 ⇒ 1 . 2 2 2 < p < 1 . 3 3 3
1 5 < 1 3 p < 1 6 ⇒ 1 . 1 5 3 < p < 1 . 2 3 1
Now, it is easy to see (and even easier, if we put these two intervals above a number line), that the only solution with integer number of cents is:
$ 1.23