You can
put this solution on YOUR website!Start by writing the formula for the perimeter of a rectangle (assuming, of course, that the pen will be rectangular):

Substitute the given P = 210.
Divide both sides by 2.

and rewite this as:

Now the area of a rectangle is given by:

Substitute, from above, L = 105-W.

Simplify.

Rewrite as:

This is a quadratic equation that represents the area and the maximum point will be at the vertex of the parabola.
This point is given by:

where: a = -1 and b = 105, so...

meters. This will be the dimension of the width of the pen.
The length is given (from above) by:

meters. This will be the dimension of the length of the pen.
This answer should come as no surprise to you as it is well known that the largest rectangular area enclosed by a given perimeter is in the form of a square.
Check:

Substitute L = 52.5 and W = 52.5

meters, the given perimeter.
You can
put this solution on YOUR website!The area of a rectangle is given by the length times the width, and the perimeter is given by 2 times the length plus 2 times the width:

and
We want to maximize

subject to the constraint that

.

→

, so solve for either

or

.

→
Now substitute this expression for

into the Area function:

→
Now we have a second degree polynomial with a negative lead coefficient, so the graph is a concave down parabola. The vertex of a concave down parabola is a maximum, so we need to find the value of the W coordinate for the vertex. The vertex of a parabola expressed in

has an x-coordinate of

. In this problem we have

and

, so the W-coordinate is at

. Hence, for the maximum area, the width must be 52.5 meters.
So if

and

,

and the pig pen needs to be a square 52.5 meters on each side.
As you may expect, it is true in general that a rectangle with maximum area for a given perimeter is a square. For extra credit, prove it.