# Example 1

- Author:
- Walch Education

A farmer is building a rectangular pen using feet of electric fencing and the side of a barn. In addition to fencing, there will be a -foot gate also requiring the electric fencing on either side of the pen. The farmer wants to maximize the area of the pen. How long should he make each side of the fence in order to create the maximum area?

- Write the expressions that describe the length of each side of the pen.
- Build the equation that describes the area of the pen.
- To find the maximum area, use the vertex.
- Finally, use the
-value from the vertex to find the lengths of each side of the pen.