.
Let n = # of pigs originally bought.
Then you have this equation from the condition
- = 7, or
- = 7.
Multiply both sides by n*(n-4), simplify and solve for n
272n - 200*(n-4) = 7n*(n-4)
72n + 800 = 7n^2 - 28n
7n^2 - 100n - 800 = 0
n = = .
The solution to the problem is the positive integer n = = = 20.
ANSWER. There were 20 pigs originally.
CHECK. - = 17 - 10 = 7 dollars profit for each of 16 sold pigs. ! Correct !
Solved.
----------------
To see many other similar solved problems, look into the lessons
- Challenging word problems solved using quadratic equations
- Had they sold . . .
in this site.