SOLUTION: A farmer bought a number of pigs for $203. However, 6 of them died before he could sell the rest at a profit of 4 per pig. His total profit was $50. How many pigs did he originally

Algebra.Com
Question 1105285: A farmer bought a number of pigs for $203. However, 6 of them died before he could sell the rest at a profit of 4 per pig. His total profit was $50. How many pigs did he originally buy?


Answer by ikleyn(52776)   (Show Source): You can put this solution on YOUR website!
.
A farmer bought a number of pigs for $203. However, 6 of them died before he could sell the rest at a profit of 4 per pig.
His total profit was $50. How many pigs did he originally buy?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Let "x" be the unknown number of pigs he originally bought, and
let "p" be the original price for each individual pig.


Then you have these two equations

xp = 203                 (1)
(x-6)*(p+4) = 203+50     (2)


Simplify (2):

xp - 6p + 4x - 24 = 203 + 50

203 -6p + 4x - 24 = 203 + 50

-6p + 4x - 24 = 50

-6p + 4x = 50 + 24 = 74

-3p + 2x = 37.


Finally, you have these two equations


xp = 203
-3p + 2x = 37.


Express p from the second equation  p =   and substitute it into he first.
You will get a quadratic equation for the single unknown "x".

x*(2x-37) = 203*3 = 609.


Solve it and get the answer x= 29.


--------------
Notice.   Other setup/setups are possible,  too.  For example,  this one:

- = 4.


RELATED QUESTIONS

A farmer bought a number of pigs for $210. However, 3 of them died before he could sell... (answered by Fombitz)
A farmer bought a number of pigs for $150. However, 8 of them died before he could sell... (answered by ikleyn,Edwin McCravy)
A farmer bought a number of pigs for $200. However, 4 of them died before he could sell... (answered by ikleyn,greenestamps)
A farmer bought a number of pigs for $252. However, 7 of them died before he could sell... (answered by stanbon,JoelSchwartz)
A farmer bought a number of pigs for $145. However, 8 of them died before he could sell... (answered by Theo,Edwin McCravy)
A farmer bought a number of pigs for $290. However, 7 of them died before he could sell... (answered by josmiceli)
A farmer bought a number of pigs for $100. However, 5 of them died before he could sell... (answered by ikleyn)
A farmer bought a number of pigs for $234. However, 8 of them died before he could sell... (answered by ikleyn)
A farmer bought a number of pigs for $140. However, 5 of them died before he could sell... (answered by ankor@dixie-net.com,TeachMath)