SOLUTION: A student has $500. She buys pencil at $50 each and erasers at $20 each. She gets at least 5 of each and the money spent on pencils is over $100 more that that spend on erasers. Fi

Algebra ->  Inequalities -> SOLUTION: A student has $500. She buys pencil at $50 each and erasers at $20 each. She gets at least 5 of each and the money spent on pencils is over $100 more that that spend on erasers. Fi      Log On


   



Question 1136616: A student has $500. She buys pencil at $50 each and erasers at $20 each. She gets at least 5 of each and the money spent on pencils is over $100 more that that spend on erasers. Find:
a. How many ways the money can be spent?
b. The greatest number of pencils that can be bought.
c. The greatest number of erasers that can be bought.

Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
A student has $500. She buys pencil at $50 each and erasers at $20 each. '
Very expensive pencils and erasers!!!

Let x = the number of pencils.
Let y = the number of erasers. Then:
Money spent on pencils = 50x
Money spent on erasers = 20y

So 50x%2B20y%3C=500 which simplifies to 5x%2B2y%3C=50

She gets at least 5 of each
So x%3E=5 and y%3E=5

and the money spent on pencils is over $100 more that that spend on erasers.
So 50x+%3E+20y+%2B+100 which simplifies to 5x%3E2y%2B10

The system of inequalities is:

system%285x%2B2y%3C=50%2C5x%3E2y%2B10%2Cx%3E=5%2Cy%3E=5%29

We graph the 5 lines, the second one dotted, the others solid:

system%285x%2B2y=50%2C5x=2y%2B10%2Cx=5%2Cy=5%29

The feasible region is the quadrilateral below.  Since the number 
of pencils and erasers must be whole numbers, we circle all the 
points with whole numbers for both coordinates (called "lattice 
points").  We include all the lattice points which are on any of
the sides of the quadrilateral which are solid, but not on the
side which is dotted.  [Note: We cannot include (6,10) because 
even though it is on a side which is solid, it is also on the 
side which is dotted.


Find:
a. How many ways the money can be spent?
These are represented by the circled points in or on the 
feasible region (inside the quadrilateral or on the 
quadrilateral's solid sides but not on the dotted side):

We count the circled points and find there are 12 of them. 
(x=no. of pencils, y=no. of erasers):

(5,5), (5,6), (5,7), (6,5), (6,6), (6,7), 
(6,8), (6,9), (7,5), (7,6), (7,7), (8,5).

b. The greatest number of pencils that can be bought.
That's the greatest x-coordinate, which is 8.

c. The greatest number of erasers that can be bought.
That's the greatest y-coordinate, which is 9. 

Edwin