SOLUTION: at the local grocery store,lemons are 52 cents each and limes are 21 cents each.how many lemons and limes can you buy for exactly $3.75?

Algebra.Com
Question 483727: at the local grocery store,lemons are 52 cents each and limes are 21 cents each.how many lemons and limes can you buy for exactly $3.75?
Answer by Edwin McCravy(20054)   (Show Source): You can put this solution on YOUR website!
let x = the number of lemons
let y = the number of limes

$0.52x + $0.21y = $3.75

      52x + 21y = 375

Write 52 and 375 in terms of their nearest multiple of 21
So we write 52 as (42+10) and 375 as 378 - 3

(42 + 10)x + 21y = 378 - 3

 42x + 10x + 21y = 378 - 3

Divide through by 21

  2x +  + y = 18 - 

Isolate fractions on the left:

   +  = 18 - 2x - y


The right side is an integer and the left side is positive, so
both sides equals some positive integer A

   +  = A and  18 - 2x - y = A

Clear of fractions:

        10x + 3 = 21A

Write 21 in terms of its nearest multiple of 10

        10x + 3 = (20 + 1)A

        10x + 3 = 20A + A

Divide through by 10

          x +  = 2A + 

Isolate fractions on the left

           -  = 2A - x

The right side is an integer, so the left side is too, say B

 -  = B and  2A - x = B

Clear of fractions:

3 - A = 10B
   -A = -3 - 10B
    A = 3 + 10B
    A = 10B + 3

2A - x = B

2(10B + 3) - x = B

20B + 6 - x = B

19B + 6 = x

and since

18 - 2x - y = A,

18 - 2(19B + 6) - y = 10B + 3

18 - 38B - 12 - y = 10B + 3

               -y = 48B - 3
  
                y = -48B + 3

                y = 3 - 48B

we must buy more than -1 but less than 18 limes

            -1 < y < 18

         -1 < 3 - 48B < 18

          -4 < -48B < 18

Divide through by -48 which reverses inequalities:

           > B > 

           > B > 

Since B is an integer then B = 0 because 0 is
the only integer between those values.

Therefore since 

         y = 3 - 48B
         y = 3 - 48(0)
         y = 3 - 0
         y = 3     

and since 

       19B + 6 = x
     19(0) + 6 = x
         0 + 6 = x
             6 = x

Therefore 6 lemons and 3 limes is the only possibility.

Edwin

RELATED QUESTIONS

At the local grocery store, lemons are 52 cents each and limes are 21 cents each. How... (answered by Edwin McCravy)
Sean bought 5 lemons and 2 limes for $3.55. At the same prices, Kim bought 2 lemons and 7 (answered by TimothyLamb)
a shop keeper buys 30 limes for $4.50. five of the limes were rotten. so he couldn't sell (answered by josgarithmetic)
A woman buys 20 lemons at x cents and 30 oranges at y cents each. she packs them into... (answered by ankor@dixie-net.com)
1.A candy manufacturer has two grades of candy, selling at 75 cents and 90 cents a pound (answered by mananth)
A girl buys lemons at 4 for 71 cents. She will sell them at 5 for 95 cents. In order to (answered by richwmiller)
The store is selling lemons at $0.42 each. Each lemon yields about 2 tablespoons of... (answered by ikleyn,josgarithmetic)
Hi The question is A man bought a lot of lemons for £5; for one third he paid 4p a... (answered by greenestamps)
The store is selling lemons at $0.79 each. Each lemon yields about 2 tablespoons of... (answered by ikleyn,Alan3354)