Example 2 The fence
Farmer Egbert wants to fence off some of his farmyard for a pen for his chickens. He has 100 feet of fencing, and plans to place one side of the pen against the side of his barn. How should he design his pen? Like most pens, this one is supposed to be rectangular. He wants to give his chickens as much room as possible.
The first thing to do is to identify the quantities that are variable, and label them as variables. In this case we can take the length of the side of the pen extending from the barn outward as x , and the length of the side of the pen parallel to the side of the barn to be y .
|
|
|
|
The maximum is either at this critical point, or at an endpoint of the interval,
so
|
Since the maximum has to exist, and has to be at one of these points, the only reasonable point is when x = 25 .
Now, answer the original question. The question was to find how to design the pen, that is, find the dimensions. Since the width x = 25, and 2x+y = 100 , y = 50 , so the pen extends 50 feet parallel to the barn wall, and comes 25 out from the side of the barn.
Copyright (c) 2000 by David L. Johnson.