Question 18584
Ok, you can let x = the length of one side of the rectangle and y = the length of the other side of the rectangle.

The area is:

{{{A = xy}}}

and the perimeter is:

{{{50 = 2(x+y)}}} Solve this in terms of y. Divide both sides by 2.
{{{25 = x+y}}} Subtract x from both sides.
{{{25-x = y}}} Now substitute this into the equation for the area.

{{{A = x(25-x)}}} Simplify.
{{{A = -x^2 + 25}}} What you have here is a quadratic equation whose graph is a parabola that opens downward. If you were to graph this, you would be graphing a function like: {{{y = -x^2 + 25}}} and you can see that y in this function plays the role of A, the area.
You want to find the value of x that would make A (or y) a maximum.
You could do this using differential calculus but there is a way to do it with algebra.
Since the graph of the quadratic is a parabola opening downward, the vertex of the parabola would be at the maximum point on the curve, right? The x-coordinate, which represents the length of the side of your rectangle, is given by:
{{{x = -b/2a}}} and this is taken from the general form of quadratic equation: {{{ax^2 + bx + c}}}

In your quadratic equation: {{{-x^2 + 25x}}}, a = -1, b = 25, and c = 0
so we can find the x-coordinate of the vertex by:{{{-25/2(-1) = 12.5}}}

So the length (x) of the rectangle must be 12.5 cm to get the maximum area.
But what about the width (y)? 
Since the perimeter is 50 cm and this is twice the (length + width), the (length + width) is 25 cm, so the width is 25 cm - the length.

{{{x + y = 25}}}
{{{12.5 + y = 25}}} 
{{{y = 25 - 12.5}}}
{{{y = 12.5}}}

So, we end up with x (the length) = 12.5 cm and y (the width) = 12.5 cm.
And this, of course, is a square whose sides are 12.5 cm

If the perimeter were k cm, then you would use the same technique and your quadratic equation would look like:

{{{A = -x^2 + wk/2}}} and the x-coordinate of the vertex of the parabola would be:
{{{x = (-k/2)/2(-1)}}}
{{{x = k/4}}}

The sides of the rectangle then would be:
{{{x = k/4}}} and {{{y = k/4}}}