
William W. answered 04/19/20
Experienced Tutor and Retired Engineer
So the picture could look like this:
We are trying to optimize the fencing which is equivalent to the perimeter of the 3-sided "rectangle"
p(x) = 2x + y
But we know that the area of the pasture must be 405,000 m2 so we can say x•y = 405,000 or y = 405,000/x so, we can substitute "405,000/x" for "y" in the perimeter function.
p(x) = 2x + 405,000/x
To optimize this, we can take the derivative and set it equal to zero:
p(x) = 2x + 405,000x-1
p'(x) = 2 - 405,000x-2
2 - 405,000x-2 = 0
2 = 405,000x-2
2 = 405,000/x2
2x2 = 405,000
x2 = 202500
x = √202500 = 450
y = 405,000/450 = 900
So a 450 m x 900 m pasture requires the least amount of fencing.
A 450 m x 900 m pasture would require 450 + 900 + 450 = 1800 meters. If you let the "x" side be 500 m, then the "y" side would need to be 405,000/500 = 810 m making the amount of fencing be 1810 m. If the "x" side was 600, then the "y" side would need to be 405,000/600 = 675 making the total amount of fencing be 1875 m, etc, etc.