The price of a pen

Algebra Level 1

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?


The answer is 123.

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.

23 solutions

Zee Ell
Aug 26, 2017

Relevant wiki: Floor and Ceiling Functions - Problem Solving

11 < 9 p < 12 1.222 < p < 1.333 11 < 9p < 12 \Rightarrow 1.222 < p < 1.333

15 < 13 p < 16 1.153 < p < 1.231 15 < 13p < 16 \Rightarrow 1.153 < p < 1.231

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 \boxed { \$ \text {1.23} }

Moderator note:

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?

Kimosabae Grant - 3 years, 9 months ago

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$

Agnishom Chattopadhyay - 3 years, 8 months ago

Log in to reply

I like the wording you used. More precise than the original.

Charlie Affumigato - 3 years, 7 months ago

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.

Agnishom Chattopadhyay - 3 years, 7 months ago

Clean and elegant!

Agnishom Chattopadhyay - 3 years, 9 months ago

Between 1.222 and 1.231, why settle on 1.23. Can you explain this please?

Anmoldeep Singh - 3 years, 9 months ago

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.

Eliot Jackson - 3 years, 8 months ago

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.

Mike Walsh - 3 years, 9 months ago

Log in to reply

Yes, me too.

Rhys W Roark - 3 years, 8 months ago

that is nice!

Halima Tahmina - 3 years, 9 months ago

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.

Richard Robertson - 3 years, 9 months ago
Flávio Sallem
Sep 3, 2017

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$.

József Inczefi - 3 years, 9 months ago

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.

Ambuj Priyadarshi - 3 years, 8 months ago

Could you also add the rationale behind this?

Anand Krishnaswamy - 3 years, 9 months ago

Log in to reply

I agree. I do not understand what this computation means.

Agnishom Chattopadhyay - 3 years, 9 months ago

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!

Larisa Altshuler - 3 years, 9 months ago
Larisa Altshuler
Aug 26, 2017

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 :)

Alex Kim - 3 years, 9 months ago

OHHHHHHH OKKKKK

Minh Trí Phạm Trần - 3 years, 9 months ago

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 .

Larisa Altshuler - 3 years, 9 months ago

Where are the 200 and 300 coming from? As with the above obtuse explanation, these comments make assumptions that are hardly clear to me.

Rhys W Roark - 3 years, 8 months ago

"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).

Mabol Cosda - 3 years, 8 months ago
Mohammad Khaza
Sep 3, 2017

suppose,pen=P \text{suppose,pen=P}

now, 11 < 9 P < 12 11<9P<12

or, 11 9 \frac{11}{9} < 9 P 9 \frac{9P}{9} < 12 9 \frac{12}{9}

or, 1.22 < P < 1.33 1.22<P<1.33 ..............(1)

again, 15 < 13 P < 16 15<13P<16

or, 15 13 \frac{15}{13} < 13 P 13 \frac{13P}{13} < 16 13 \frac{16}{13}

or, 1.153 < P < 1.231 1.153<P<1.231 ........(2)

from 1 and 2 ,we get, ................................................... 1.22 < P < 1.231 1.22<P<1.231 . so, P must be=1.23 \text{so, P must be=1.23} = 1.23 × 100 = 123 c e n t s 1.23 \times 100=123 cents

Your explanation was easier to understand for me than the top explanation here, so thank you. I get it now thanks to you.

Richard Robertson - 3 years, 9 months ago

Log in to reply

thank you very much.i always try to write an understandable solution.

Mohammad Khaza - 3 years, 9 months ago

the question is ambiguous. it suggests that the pens each cost $11&12 and $15&16 POOR WORDING & NOT SPECIFIC

Tony Stonitsch - 3 years, 9 months ago

Log in to reply

yes there is poor wording.but these types of inequality math are always described in this way.

Mohammad Khaza - 3 years, 9 months ago

Nicely explained :)

Fernando Montalvo - 3 years, 9 months ago

Log in to reply

thank you.i always get admiration but not so upvotes.

Mohammad Khaza - 3 years, 9 months ago

hhhha so poor

akshat rai - 2 years, 11 months ago

just do a *uck off

akshat rai - 2 years, 11 months ago

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.

Larisa Altshuler - 3 years, 9 months ago

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

Justin Patriarco - 3 years, 9 months ago

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?

Anand Krishnaswamy - 3 years, 9 months ago

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.

Larisa Altshuler - 3 years, 9 months ago
Kristian Thulin
Sep 3, 2017

9 × 13 = 117 9 \times 13 = 117 pencils cost between $143 and $144, or between 14300 and 14400 cents. The only number in that region which is divisible by 117, is 14391 = 117 × 123 14391 = 117 \times 123

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!.

Larisa Altshuler - 3 years, 9 months ago
Azadali Jivani
Aug 26, 2017

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.

Larisa Altshuler - 3 years, 9 months ago

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.

Larisa Altshuler - 3 years, 9 months ago
Matija Bensa
Sep 10, 2017

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)

Snow Lychee
Sep 9, 2017

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

John Minter
Sep 9, 2017

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 p . Then we have two inequalities 1100 9 p 1200 1100 \leq 9 p \leq 1200 (1) and 1500 13 p 1600 1500 \leq 13 p \leq 1600 (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 × 12 = 108 9\times 12 =108 and 1 + 0 + 8 = 9 1+0+8=9 . So inspired by inequality (1) we define 9 p = 1100 + x 9 p =1100+x and also from this inequality we know that x 100 x\leq 100 . And cause of the fact that 1100 + x 1100+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 9-2 =7 . From the second inequality we see that 13 ( 1100 + x ) / 9 1600 x 1600 9 / 3 1100 = 7.6... 13 (1100 + x)/9 \leq 1600 \Rightarrow x\leq 1600 \cdot 9/3 -1100 = 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 = ( 1100 + 7 ) / 9 = 123 p=(1100+7)/9=123 . Notice the power of 9, the solution did not even need the left side of the inequality (2).

OHHH I DID ITTTTTTTTTTTT!!!!!!!!!!!!

Kushal Dey
Sep 8, 2017

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)

Larisa Altshuler - 3 years, 9 months ago

Solved with the following 3 lines of Python code:

  • first = [i//9 for i in range(1100,1200) if i%9==0]
  • second = [i//13 for i in range(1500,1600) if i%13==0]
  • print(set(first).intersection(second))

Output: 123

J.R. Jenkins
Sep 7, 2017

Here was how I did it.

Review what we know

  • We are told that if purchase 9 pens, the total price will be between $11 and $12.
  • We are told that if we purchase 13 pens, the total price will be between $15 and $16.
  • We are asked to report the cost of a single pen, in whole cents, so we can convert the dollar values to cents.

Write these as inequalities and using cents:

  • The first is 1100 9 p e n s 1200 1100 \le 9 pens \le 1200
  • The second is 1500 13 p e n s 1600 1500 \le 13 pens \le 1600

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.

  • ( 1100 ÷ 9 ) ( ( 9 p e n s ) ÷ 9 ) ( 1200 ÷ 9 ) (1100\div9)\ \le ((9 pens) \div 9) \le (1200\div9) which simplifies to 122.2 1 p e n 133.3 \approx122.2 \le 1 pen \le \approx133.3
  • ( 1500 ÷ 13 ) ( ( 13 p e n s ) ÷ 13 ) ( 1600 ÷ 13 ) (1500\div13)\ \le ((13 pens) \div 13) \le (1600\div13) which simplifies to 115.4 1 p e n 123.1 \approx115.4 \le 1 pen \le \approx123.1

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.

  • 122.2 1 p e n 123.1 \approx122.2 \le 1 pen \le \approx123.1

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.

Ravi Kant
Sep 7, 2017

This is very good and simple explanation how you found the only solution of the system of two inequalities.

Larisa Altshuler - 3 years, 9 months ago
Walery Shamshin
Sep 7, 2017

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= 11 9 \frac{11}{9} =1,22 ; W2= 12 9 \frac{12}{9} =1,33 ; B3= 15 13 \frac{15}{13} =1,15; W4= 16 13 \frac{16}{13} =1,23

Step 2. Calculate the worst & best equal cases. Beq= 11 + 15 9 + 13 \frac{11+15}{9+13} =1,18; Weq= 12 + 16 9 + 13 \frac{12+16}{9+13} =1,27;

Step 3. Find average. B1+W2+B3+W4+Beq+Weq / 6(count) = 1,23

Convert. 123 Cents.

Thomas Rehm
Sep 7, 2017

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

Seth Reisner
Sep 7, 2017

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.

Peter Byers
Sep 6, 2017

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

Robert Partridge
Sep 6, 2017

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.

Jamie Cooper
Sep 5, 2017

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.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...