Step-by-Step Solution
Step 1: Define variables and formulate rate equation
Let x be the number of sheep bought (x>0).
- Original rate per sheep =x9000
- Hypothetical rate per sheep =x+39000
Given that the price difference is Rs. 100:
x9000−x+39000=100
Step 2: Simplify and form the quadratic equation
Divide through by 100:
x90−x+390=1
Combine fractions over x(x+3):
90[x(x+3)(x+3)−x]=1
x2+3x270=1⟹x2+3x−270=0
Step 3: Factorize
(x−15)(x+18)=0
x=15orx=−18
Since sheep count must be positive (x>0), we reject x=−18.
Step 4: Check solution
- Original rate: 159000=Rs. 600 per sheep.
- Slower/hypothetical rate: 189000=Rs. 500 per sheep.
- Difference: 600−500=Rs. 100 ✓
The farmer bought 15 sheep (at Rs. 600 each)