SOLUTION: A farmer bought a number of pigs for $100. However, 5 of them died before he could sell the rest at a profit of 5 per pig. His total profit was $50. How many pigs did he originally
Algebra ->
Quadratic Equations and Parabolas
-> SOLUTION: A farmer bought a number of pigs for $100. However, 5 of them died before he could sell the rest at a profit of 5 per pig. His total profit was $50. How many pigs did he originally
Log On
Question 1138432: A farmer bought a number of pigs for $100. However, 5 of them died before he could sell the rest at a profit of 5 per pig. His total profit was $50. How many pigs did he originally buy?
Let n be that number under the question.
The price for 1 pig when the farmer bought them was .
The price for 1 pig when the farmer sold the rest (n-5) of them was .
The condition says that
- = 5 dollars per pig.
Simplify
- = 1.
The solution is seen by an unarmed eye: it is n = 20.
If you need formal solution, here it is step by step.
30n - 20*(n-5) = n*(n-5)
30n - 20n + 100 = n^2 - 5n
n^2 -15n - 100 = 0
(n-20)*(n+5) = 0.
The roots are 20 and -5, and only positive root is a meaningful solution.
ANSWER. 20 pigs.