These problems are all about maximising or minimising a function. In this context, we will be given a problem where we need to design/conclude a function
and find its maximum/minimum depending on the question at hand.
Recall that given a function
, we follow these steps to find its extrema:
- Find the derivative
. - Solve the equation
. - Locate all the solutions to the previous step and the points of discontinuity of
on a sign diagram and check the sign of
before, after, and in between each of these points. - Conclude where the original function is increasing/decreasing on your sign diagram.
- Conclude which points are maxima and which are minima.
- Find the
-coordinate of these points by replacing the solutions to
into
.
Let us see a simple example:
Example: A rectangular garden is to be constructed using a rock wall as one side of the garden and wire fencing for the other three sides. Given 100 meters of wire fencing:
- Determine the dimensions that would create a garden of maximum area.
- What is the maximum area?
Since the area function ended up being a quadratic model, we could have also just found the vertex of that parabola to conclude the maximum.
Example: What is the maximum area that a rectangle inscribed in a circle of radius
can achieve?
Here is another example with a slightly different shape.
Example: A modern playground layout consists of a central rectangle with a single semicircular expansion on one of its shorter sides, while the opposite side is left open for an entryway. The total perimeter of the outer layout walls (the two long straight sides, one short straight side, and the semicircle) is exactly
. Let the length of the straight rectangular sections be
and the radius of the semicircular end be
.

- Show that
and state the domain of possible values for
. - Find the values of
and
that maximize the area of the central shaded rectangle. - What is the maximal shaded rectangular area?
Kepler’s Problem of Optimisation
This is a famous problem that you can now solve, what is the maximum volume of a cylinder that is inscribed inside a sphere? In other words, we have the following situation (we are already including the answer).

Claim (Kepler’s Cylinder-in-Sphere Optimization): For a right circular cylinder inscribed inside a sphere of fixed radius
, the maximum possible volume of the cylinder occurs when the ratio of its height
to its base diameter
is exactly
, which means the height equals
.
The Soda Can Optimisation Problem
Below is a rather famous example of using optimisation theory.
The classic soda-can optimisation problem is usually framed as a manufacturing-design problem: A beverage company wants to design a cylindrical can that holds a fixed volume of soda while using as little aluminium as possible. Without knowing the cost of aluminium per centimetre squared, we can simply look into minimising the surface area. If we had the prices in mind, we could even understand the cost of manufacturing a can.
Example: What dimensions should a soda can have to contain a fixed volume of
while using as little aluminium as possible? Determine the radius and height of the can that minimize its total surface area.

Ending up with the right dimensions might save you a very minimal manufacturing cost per can, but since millions of these are sold daily, that minimal difference will quickly amount to a larger extra revenue.
Exercises
A farmer wants to enclose a rectangular pasture for livestock. One side of the pasture will be bounded by a straight river, which requires no fencing. The other three sides will be enclosed using 240 meters of fencing material.
A custom window frame is designed in the shape of a rectangle surmounted by a single semicircle at the top. The total perimeter of the glass pane outer frame is constrained to be exactly
. Let the width of the rectangular base be
(making the radius of the semicircle
) and the height of the rectangular portion be
.

![Rendered by QuickLaTeX.com \[\frac{h}{2r} = \frac{\frac{2}{\sqrt{3}}R}{2\sqrt{\frac{2}{3}}R} = \frac{1}{\sqrt{2}}\]](https://mathematics.lu/wp-content/ql-cache/quicklatex.com-cd1030076b3f88c818303b06f744b5cc_l3.png)