For reasons I’ve yet to comprehend, “business calculus” students often have trouble with the following kind of problem:
Suppose you wish to fence in a rectangular plot of land. You have one long wall to use for one side. The sides perpendicular to the wall cost 10 dollars per foot of fencing and the side parallel to the long wall costs 30 dollars per foot of fencing. What is the largest area that you can enclose?
Yes, there are those who can’t even figure out that the area is denoted by and some have trouble with the cost function
Some struggle with the algebra.
But let’s look at the mathematics itself: there is a certain symmetry to the solution; if one views the cost function as and the area function then one can show that the solution will always have the following property:
In fact it is a pleasant exercise to show that the solution to the following problem:
is given by
That is, or that the “share” of the cost associated with the term depends on the fraction , which is the fraction of the total exponent of the function determining .
If we look at the associated dual problem (minimize the cost given that we need the area ) we find that there is a more complicated symmetry at hand:
Note the symmetry: if we take the ratio of the solution components we obtain:
How cool is that? 🙂
Note: I know that this follows immediately from the Lagrange Multipliers technique; still it is fun to derive via single variable calculus techniques.