Answer:
a) Side Parallel to the river: 200 ft
b) Each of the other sides: 400 ft
Explanation:
Let L represent side parallel to the river and W represent width of fence.
The required fencing (F) would be
.
We have been given that field must contain 80,000 square feet. This means area of field must be equal to 80,000.

We are told that the fence on the side opposite the river costs $20 per foot, and the fence on the other sides costs $5 per foot, so total cost (C) of fencing would be
.
From equation (1), we will get:

Upon substituting this value in cost equation, we will get:



To minimize the cost, we need to find critical points of the the derivative of cost function as:







Since width cannot be negative, therefore, the width of the fencing would be 400 feet.
Now, we will find the 2nd derivative as:



Now, we will substitute
in 2nd derivative as:

Since 2nd derivative is positive at
, therefore, width of 400 ft of the fencing will minimize the cost.
Upon substituting
in
, we will get:

Therefore, the side parallel to the river will be 200 feet.