Hello, falcarius!

This is a trick question . . . certainly a *tricky* question.

A 400-km racetrack is to be built with two straight sides and semicircles at the ends.

Find the dimensions of the track that encloses the maximum area.

Given: The two long sides of the rectangle __>__ 100 m.

The diameter of the 2 semicircles __>__20 m.

I went through the expected procedure for an optimization. Code:

* * * * * * * * * * *
* | | *
* | | *
* r| |r *
| |
* | | *
* + + *
* | | *
| |
* r| |r *
* | | *
* | | *
* * * * * * * * * * *
L

Let = length of the straight tracks.

Let = radius of the semicircular tracks.

The total length of the straight tracks is: .

The total length of the curved tracks is:

. . Hence, we have: . . **[1]**

The area of the rectangle is: .

The area of the two semicircles is: .

. . Hence, the total area is: . . **[2]**

Substitute [1] into [2]: .

Differentiate and equate to zero: .

. . Hence: .

Substitute into [1] and we get: . . . . . What's going on?

It is fairly well-known that, for a given perimeter,

. . the figure with maximum area is a __circle__.

So for maximum area, the track should be circular.

But we are told that the straight tracks must be at least 100 meters (each).

. . What do we do now?

It can be shown that, as increases, the area decreases.

. . Hence, for maximum area, we will use the __least__ , 100.

Under the restrictions, maximum area is attained when