Prove that the rectangle of greatest perimeter which can be inscribed in a given circle is a square.
The result changes if, instead of maximising the sum of lengths of sides of the rectangle, we seek to maximise the sum of th powers of the lengths of those sides for . What happens if ? What happens if ? Justify your answers.
Obviously, the perimeter of a general rectangle has no maximum (it can be as long as you like), so the key to this question is to use the constraint that the rectangle lies in the circle.
The vertices of a rectangle of greatest perimeter must lie on the circle; this seems obvious, but you should devote the ﬁrst sentence of your solution to justifying it. And draw a diagram (I didn’t because there wasn’t enough room on the page).
The word ‘greatest’ in the question immediately suggests differentiating something. The perimeter of a rectangle is expressed in terms of two variables, length and breadth , so you must ﬁnd a way of using the constraint to eliminate one variable. This could be done in two ways: express in terms of , or express both and in terms of another variable (an angle, say).
Finally, there is the matter of deciding whether your solution is the greatest or least value (or neither). This can be done either by considering second derivatives, or by trying to understand the different situations. Often the latter method, or a combination, is preferable.
The theory of stationary values of functions subject to constraints is very important: it has widespread applications (for example, in theoretical physics, ﬁnancial mathematics and in fact in almost any area to which mathematics is applied). It forms a whole branch of mathematics called optimisation. Normally, the methods described above (eliminating one variable) are not used: a clever idea, the method of Lagrange multipliers, is used instead,
Solution to problem 12
The vertices of the rectangle must lie on the circle. Suppose not. Then two adjacent vertices (at least) lie in the interior of the circle. We could then increase the perimeter by extending two sides beyond these vertices. [Diagram here!]
Let the circle have diameter and let the length of one side of the rectangle be and the length of the adjacent side be .
Then, by Pythagoras’s theorem,
and the perimeter is given by
We can ﬁnd the largest possible value of as varies by calculus. We have
so for a stationary point we require (cancelling the factor of 2 and squaring)
Thus (ignoring for obvious reasons). Substituting this into () gives , so the rectangle is indeed a square, with perimeter .
But is this the maximum perimeter? The easiest way to investigate is to calculate the second derivative, which is easily seen to be negative for all values of , and in particular when . The stationary point is certainly a maximum. Alternatively, we could argue that the rectangle for which has perimeter which is less than so cannot correspond to the maximum perimeter.
For the second part, we consider
The ﬁrst thing to notice is that f is constant if , so in this case, the largest (and smallest) value is . You can use Pythagoras’s theorem to see why this result holds.
For , we have
so is stationary when , i.e. when as before or when . The corresponding stationary values of f are and , so this time the largest value occurs when .
You will almost certainly want to investigate the situation for other values of yourself, just to see what happens.
Were you happy with the proof given above that the square has the largest perimeter? And isn’t it a bit odd that we did not discover a stationary point corresponding to the smallest value (which can easily be seen to occur at or )? To convince yourself that the maximum point gives the largest value, it is a good idea to sketch a graph: you can check that is positive for and negative for . The smallest values of the perimeter occur at the endpoints of the interval and therefore do not have to be turning points.
A much better way of tacking the problem is to set and and ﬁnd the perimeter as a function of . Because can take any value (there are no end points such as to consider), the largest and smallest perimeters correspond to stationary points. Try it.