Buy 7 Pencils & Notebooks with \$15 - Solve Inequalities

  • Context: MHB 
  • Thread starter Thread starter rebo1984
  • Start date Start date
  • Tags Tags
    Inequalities
Click For Summary

Discussion Overview

The discussion revolves around solving a problem involving the purchase of pencils and notebooks with a budget of \$15. Participants explore the mathematical inequalities and equations that govern the possible combinations of items that can be bought, including the implications of spending all the money versus having some left over.

Discussion Character

  • Mathematical reasoning
  • Homework-related
  • Conceptual clarification

Main Points Raised

  • One participant proposes that with \$15, buying 7 notebooks and 7 pencils is a solution, based on the equation 0.5x + 1.5x = 15.
  • Another participant challenges this by stating that not all money is spent, suggesting that 9 pencils and 7 notebooks could be purchased instead, leading to the formulation of a Diophantine equation: P + 3N = 30.
  • The same participant provides integer solutions for the equation, indicating that there are 11 combinations of pencils and notebooks that can be purchased, depending on the value of n.
  • A later reply expresses confusion about the derivation and meaning of the equations presented, prompting a clarification about the analogy of replacing notebooks with pencils.
  • One participant acknowledges understanding the explanation and admits to a lack of familiarity with Diophantine equations.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct number of items that can be purchased, as there are competing views regarding the spending of the entire budget versus having money left over. The discussion remains unresolved regarding the optimal solution.

Contextual Notes

There are limitations in understanding the implications of the Diophantine equation and how it relates to the problem, as well as the assumptions regarding spending all the money versus leaving some unspent.

rebo1984
Messages
18
Reaction score
0
I have \$15 to buy pencils and notebooks from a bookstore. If pencils are
\$0.50 each and a notebook costs \$1.50, then how many pencils and
notebooks can I buy if I spent all of the money?

I reasoned: .5x+1.5x=15
x= 7.5
So 7 notebooks and 7 pencils.

Is this correct?Thanks
 
Mathematics news on Phys.org
But, you don't spend all of your money...you will have a dollar left over. So, you could by 9 pencils and 7 notebooks.

If you let $P$ be the number of pencils and $N$ be the number of notebooks, you obtain he Diophantine equation:

$$P+3N=30$$

This has the integer solutions:

$$P=3n$$

$$N=10-n$$

where $$0\le n\le10$$ and $n\in\mathbb{Z}$

This gives you 11 combinations that will work by letting $n$ rage over the integers from 0 to 10.

Another way to look at it is to observe that you could buy 10 notebooks for \$15. Then for every notebook you "put back" you can add 3 pencils to your cart. :)
 
MarkFL said:
But, you don't spend all of your money...you will have a dollar left over. So, you could by 9 pencils and 7 notebooks.

If you let $P$ be the number of pencils and $N$ be the number of notebooks, you obtain he Diophantine equation:

$$P+3N=30$$

This has the integer solutions:

$$P=3n$$

$$N=10-n$$

where $$0\le n\le10$$ and $n\in\mathbb{Z}$

This gives you 11 combinations that will work by letting $n$ rage over the integers from 0 to 10.

Another way to look at it is to observe that you could buy 10 notebooks for \$15. Then for every notebook you "put back" you can add 3 pencils to your cart. :)

Im not sure i understand how you derived those equations and what they mean.
 
rebo1984 said:
Im not sure i understand how you derived those equations and what they mean.

Perhaps you are not familiar with Diophantine Equations... (I didn't learn about them until I got into number theory), but focus instead on my analogy of putting 10 notebooks into your cart. That's one solution, and it will cost all of the \$15 you have. Now, for each notebook you put back, you can replace with 3 pencils, since 3 pencils cost the same as a notebook. So, the 11 possible solutions are:

$$(N,P)=(10,0),\,(9,3),\,(8,6),\,(7,9),\,(6,12),\,(5,15),\,(4,18),\,(3,21),\,(2,24),\,(1,27),\,(0,30)$$

Does that make sense?
 
Yes, that makes sense. And you're right: I'm not familiar with those equations.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K