SOLUTION: A pet shop bought a litter of puppies for 120 pesos. All but four of them were sold, at a profit of 5 pesos each, for a total of 120 pesos. How many puppies were in the litter?

Algebra ->  Customizable Word Problem Solvers  -> Coins -> SOLUTION: A pet shop bought a litter of puppies for 120 pesos. All but four of them were sold, at a profit of 5 pesos each, for a total of 120 pesos. How many puppies were in the litter?      Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 1138531: A pet shop bought a litter of puppies for 120 pesos. All but four of them were sold, at a profit of 5 pesos each, for a total of 120 pesos. How many puppies were in the litter?
Answer by ikleyn(52788) About Me  (Show Source):
You can put this solution on YOUR website!
.
Let "n" be the number of puppies originally.


Then the buying price of each of n puppies was  120%2Fn.


The selling price of each of sold (n-4) puppies was  120%2F%28n-4%29.


The profit was 5 pesos for each sold puppies, i.e.


    %28120%2F%28n-4%29%29 - 120%2Fn = 5    pesos.


It is your basic equation to find "n".  To solve the equation, multiply both sides by n*(n-4).


    120n - 120*(n-4) = 5n*(n-4)

    120n - 120n + 480 = 5n^2 - 20n

    480 = 5n^2 - 20n

    5n^2 - 20n - 480 = 0

     n^2 - 4n  -  96 = 0

     (n-12)*(n+8)    = 0


The last equation has 2 roots 12 and -8, but only positive  n= 12 is meaningful solution to the given problem.


ANSWER.  Where were 12 puppies in the litter originally.