Problem

A rectangular pizza is placed on a tray. The sides of the tray extend by 4 units to the right and left and by 3 units (x) above and below. Calculate a value of x such that the area of the tray protruding is as small as possible.

Pizza image

Answer

The solution to this problem lies in differential calculus. Looking at the diagram below, we can see that the area of the tray extending from the pizza is given by

math subst image

Substituting:

math subst image

math subst image

Since the area should be at a minimum: