Example 1 We need to enclose a field with a fence. We have 500 feet of fencing material and a building is on one side of the field and so won’t need any fencing. Determine the dimensions of the field that will enclose the largest area.

In all of these problems we will have two functions. The first is the function that we are actually trying to optimize and the second will be the constraint. Sketching the situation will often help us to arrive at these equations so let’s do that.

In this problem we want to maximize the area of a field and we know that will use 500 ft of fencing material. So, the area will be the function we are trying to optimize and the amount of fencing is the constraint. The two equations for these are,

Okay, we know how to find the largest or smallest value of a function provided it’s only got a single variable. The area function (as well as the constraint) has two variables in it and so what we know about finding absolute extrema won’t work. However, if we solve the constraint for one of the two variables we can substitute this into the area and we will then have a function of a single variable.

So, let’s solve the constraint for x. Note that we could have just as easily solved for y but that would have led to fractions and so, in this case, solving for x will probably be best.

Substituting this into the area function gives a function of y.

Now we want to find the largest value this will have on the interval [0,250]. Note that the interval corresponds to taking (i.e. no sides to the fence) and (i.e. only two sides and no width, also if there are two sides each must be 250 ft to use the whole 500ft).

Note that the endpoints of the interval won’t make any sense from a physical standpoint if we actually want to enclose some area because they would both give zero area. They do, however, give us a set of limits on y and so the Extreme Value Theorem tells us that we will have a maximum value of the area somewhere between the two endpoints.

So, recall that the maximum value of a continuous function (which we’ve got here) on a closed interval (which we also have here) will occur at critical points and/or end points. As we’ve already pointed out the end points in this case will give zero area and so don’t make any sense. That means our only option will be the critical points.

So let’s get the derivative and find the critical points.

Setting this equal to zero and solving gives a lone critical point of . Plugging this into the area gives an area of 31250 ft

Finally, let’s not forget to get the value of x and then we’ll have the dimensions since this is what the problem statement asked for. We can get the x by plugging in our y into the constraint.

The dimensions of the field that will give the largest area, subject to the fact that we used exactly 500 ft of fencing material, are 250 x 125.

Don’t forget to actually read the problem and give the answer that was asked for. These types of problems can take a fair amount of time/effort to solve and it’s not hard to sometimes forget what the problem was actually asking for.

In all of these problems we will have two functions. The first is the function that we are actually trying to optimize and the second will be the constraint. Sketching the situation will often help us to arrive at these equations so let’s do that.

In this problem we want to maximize the area of a field and we know that will use 500 ft of fencing material. So, the area will be the function we are trying to optimize and the amount of fencing is the constraint. The two equations for these are,

Okay, we know how to find the largest or smallest value of a function provided it’s only got a single variable. The area function (as well as the constraint) has two variables in it and so what we know about finding absolute extrema won’t work. However, if we solve the constraint for one of the two variables we can substitute this into the area and we will then have a function of a single variable.

So, let’s solve the constraint for x. Note that we could have just as easily solved for y but that would have led to fractions and so, in this case, solving for x will probably be best.

Substituting this into the area function gives a function of y.

Now we want to find the largest value this will have on the interval [0,250]. Note that the interval corresponds to taking (i.e. no sides to the fence) and (i.e. only two sides and no width, also if there are two sides each must be 250 ft to use the whole 500ft).

Note that the endpoints of the interval won’t make any sense from a physical standpoint if we actually want to enclose some area because they would both give zero area. They do, however, give us a set of limits on y and so the Extreme Value Theorem tells us that we will have a maximum value of the area somewhere between the two endpoints.

So, recall that the maximum value of a continuous function (which we’ve got here) on a closed interval (which we also have here) will occur at critical points and/or end points. As we’ve already pointed out the end points in this case will give zero area and so don’t make any sense. That means our only option will be the critical points.

So let’s get the derivative and find the critical points.

Setting this equal to zero and solving gives a lone critical point of . Plugging this into the area gives an area of 31250 ft

^{2}. So according to the method from Absolute Extrema section this must be the largest possible area, since the area at either endpoint is zero.Finally, let’s not forget to get the value of x and then we’ll have the dimensions since this is what the problem statement asked for. We can get the x by plugging in our y into the constraint.

The dimensions of the field that will give the largest area, subject to the fact that we used exactly 500 ft of fencing material, are 250 x 125.

Don’t forget to actually read the problem and give the answer that was asked for. These types of problems can take a fair amount of time/effort to solve and it’s not hard to sometimes forget what the problem was actually asking for.