Tuesday, July 8, 2008

Rectangles, Squares, Areas, and Calculus

Rectangles, squares, areas, and calculus are closely related, but do you know how much? Well, see this question. It's very common with numbers, I'm just bringing the general version.

A rectangle with sides of lengths x and y has perimeter P. Prove that the largest area of this rectangle is given when the rectangle is a square.

Well, the question already gives us the variables. All we need is to use them, combine all four terms in the question (rectangles, squares, areas, and calculus) and prove what we need to prove.

So, the perimeter is P. This means that 2(x + y) = P. To get an equation with one variable, let's find y in terms of the other numbers:
x + y = P/2
y = P/2 - x

Now we know two sides of the rectangle: x and P/2 - x. Let's multiply them to find the area function:
A = x(P/2 - x)
A = xP/2 - x2

To find the maximum value for A, let's differentiate:
A' = P/2 - 2x

Equate A' to zero:
0 = P/2 - 2x
2x = P/2
x = P/4

To make sure it's a maximum, let's find the second derivative of A and see if it's negative:
A'' = -2

That's definitely negative, so x = P/4 is the point where the area is maximal. As you can see, that's a quarter of the perimeter. When one side of a rectangle is a quarter of the perimeter, it's a square. To prove that, plug P/4 for x in the equation for y:
y = P/2 - P/4
y = P/4

It's now proven. The biggest area of a rectangle with a constant perimeter is a square.
Nadav

nadavs

0 comments: