Skip to main content

Lean Calculus

Section 4.5 Modeling

The goal of this text is to keep the calculus presentation as lean and clear as possible. But, ultimately, I feel that some nod has to be given to seeing how the rest of the world ends up seeing value in calculus. So, in this section let’s quit doing math for a bit and instead look at some other kind of work and see how it can benefit from calculus. The general notion here is that of "modeling". This sort of process is very natural for us humans. The idea is that we have a problem in one sphere of interest and it turns out that we can create a version of that problem in some other sphere of interest -- think making maps of the world on paper so you can roll the world up and take it with you. So, we’re taking the interest in travelling about the world and modeling it using paper and drawings. In that way, we can work on travel problems by doing stuff with paper and such instead of actually being out there in the world moving around. How useful the information is depends on how good the model is and how well we can work with it. The development of math has substantially been driven by the fact that so many spheres of interest lend themselves to good mathematical models.
Let’s avoid getting too complicated but also make sure we don’t produce something trivial. We do this to avoid having to learn a lot of new ideas from some other sphere of interest from which we can then draw a model.
Sooooo.... suppose we are a specialized shipping company and we need to design a cylindrical container. We have a company that wants containers to ship a precious substance in cylindrical containers using a specific kind of metal. The dimensions of the container don’t much matter to them but they want the containers to have a volume of 1000 cubic centimeters. After talking with our production department, we learn that making the top and bottom of the cylindrical container is a bit more expensive at 2 cents per square centimeter while the side only costs 1 cent per square centimeter. So, what dimensions should we use?
Well, generally when people say "cylindrical containers" they mean right circular cyclinders so they could be described with 2 dimensions. For example, we could use the radius of the circular ends and the height of the container. Hmmmm... but, if we have one of those dimensions, it occurs to us that the other dimension would be determined since the container is supposed to have volume \(1000cm^3\text{.}\) After all, from our geometry background, we know that if we denote the radius with an \(r\) and the height with an \(h\text{,}\) then volume is given by \(\pi r^2h\text{.}\) So, for us, we have
\begin{equation*} \pi r^2h=1000 \end{equation*}
That means that for any given radius, we have
\begin{equation*} h=\frac{1000}{\pi r^2} \end{equation*}
This is good news because it means we’re down to just one variable... \(r\text{.}\)
Now, we’re trying to deal with costs. So, let’s make a function for cost based on our variable \(r\text{.}\) We’ll do it in terms of cents since that is how the problem was described to us. Well, the area of the top and bottom combined is \(2\pi r^2cm^2\text{.}\) Since the cost for those is 2 cents per \(cm^2\text{,}\) we see that the top and bottom contribute \(4\pi r^2\) cents to the cost. Now, if you lay out the side of the cylinder flat, you see it is a rectangle with dimensions \(h=\frac{1000}{\pi r^2}\) and circumference of the circle making the top and bottom of the cylinder, \(2\pi r\text{.}\) So, the area of the side of the cylinder is the product of those two dimensions giving an area of
\begin{equation*} (2\pi r)(\frac{1000}{\pi r^2})cm^2 = \frac{2000}{r}cm^2 \end{equation*}
That area only costs 1 cent per \(cm^2\) so it contributes \(\frac{2000}{r}\) cents to the cost. Finally, we have a cost function. Let’s denote cost with a \(C\) so that now we have
\begin{equation*} C(r)=4\pi r^2 + \frac{2000}{r} \end{equation*}
Even more, we know that the domain we want to use is any positive \(r\) (i.e. the open interval \((0,\infty)\)).
That’s it! We’ve created a mathematical model of the original problem. From here on, the work is done with familiar mathamematics. We’re simply using optimization skills from previous experience. As a matter of completeness, let’s work through the math. So...
\begin{equation*} C'(r)=8\pi r-\frac{2000}{r^2} \end{equation*}
From this, we see that \(0=C'(r)\) only when \(0=8\pi r^3 -2000\) which means
\begin{equation*} r=(\frac{250}{\pi})^\frac{1}{3} \approx 4.3 \end{equation*}
To the left of that \(r\text{,}\) \(C'(r)\) isn’t 0, so it’s either positive or negative and we can easily evaluate \(C'(r)\) at some point to the left and see that it is negative. So, \(C(r)\) decreases until it reaches \(r \approx 4.3\text{.}\) Similarly, to the right of that \(r\text{,}\) we see that \(C'(r)\) is positive so \(C(r)\) increases. Thus, by first derivative analysis, we see that \(C(r)\) is minimal at \(r \approx 4.3\text{.}\)
We can now report that to minimize cost in this situation, we should use \(r \approx 4.3\) which means \(h \approx 17.2\) for a minimal cost of approximately \(697.47\) cents.