Posted by **lola** on Saturday, July 14, 2012 at 11:29am.

I want a rectanglular pen with area = 50 square feet and to save on fencing I will build it next to the garage. How should I design it so I use the least amount of fence-only 3 sides will be needed next to the garage. How can I figure out that I have found the maximum area for the pen?

Thanks much!

lola

- calculus? -
**Steve**, Saturday, July 14, 2012 at 12:10pm
assuming the garage will be one of the long sides (otherwise lots of extra fencing will be used), then if the long side is x, the short side will be 50/x.

So, the amount of fence, f, is

f(x) = x + 2(50/x) = x + 100/x

df/dx = 1 - 100/x^2

we want minimum fence, so df/dx = 0:

x = 10

So, the pen is 10x5, using 20 ft of fence.

Note that the square is the figure of maximum area using a given perimeter. Or, conversely, a square haas the minimum perimeter to enclose a given area.

Your pen is just two squares, where each encloses half the area. The garage wall helps out here.

## Answer this Question

## Related Questions

- calculus optimization problem - A farmer has 460 feet of fencing with which to ...
- math - Suppose you want to build an outdoor rectangular pen enclosed by fencing ...
- math - a farmer has enough fencing to build 40 feet of fence. He wishes to build...
- Calculus Follow Up - A farmer wishes to build a fence for 6 adjacent rectangular...
- math - miss guy is going to build a pen for her puppy. she has 50 feet of ...
- Math - Brenda is building a rectangular pen for her dog. She has enough fencing ...
- algebra - Ian wants to build a rectangular pen for his animals. One side of the ...
- Calculus 2 - A farmer wishes to build a fence for 6 adjacent rectangular pens. ...
- math - Howard has 102 feet of fencing. What is the area of the largest square ...
- Calculus - A construction company wants to build a rectangular enclosure with an...