Finding the largest and smallest possible values of a function, or extremizing, is one of the most important practical applications of calculus.
Finding the optimal values of a function of several variables is even more useful since many successful real-life models depend on two or more inputs.
This quiz will build off our knowledge of extremizing single-variable functions to give us a glimpse of how we'll optimize many-variable functions in the Derivatives and Optimization chapters.
Let's start with a classic two-variable problem.
Imagine a box with base length and height The box doesn't have a lid. The cost of manufacturing is directly proportional to the amount of material (or surface area) of the box.
What is the surface area of the outside of the box as a function of base width and height
Note: Count the area of each box side only once.
The surface area of the box depends on the base width and the height
We express this relationship explicitly as Writing the surface area as tells us that it is a function of both base width and height.
A company wants to produce such a box with base width at least units and a height of at least unit. If box material is dollars per unit area, what's the cost of the cheapest box that can be produced?
Hint: This problem actually doesn't require any calculus, just some intuition.
Now let's put our calculus to good use.
Suppose the company wants to produce the cheapest possible box with a fixed volume of cubic units.
Besides being positive, there's no restriction on the base width or the height this time.
If the cost is what is the minimum output in this case?
A constraint on and can reduce a two-variable function down to a single-variable function.
In the last problem, fixing the volume tied the dimensions of the box together and effectively made the cost a function of just which we optimized using single-variable calculus.
However, there are many examples of optimization problems where we have two legitimately independent variables and i.e. there's no constraint tying them together.
To close out this quiz, we'll look at one such example unrelated to our box problem. In the process we'll discover the need for a new kind of tool: the partial derivative.
We'll work our way up to our new example by looking at an analogous problem first.
In an upcoming chapter, we'll chart the bottom of an unexplored lakebed.
A series of boats move across the lake's surface, lowering bobs to measure the depth of the bed. Here's a table displaying the depths recorded by each boat in the survey.
Depth records from survey of part of Square Lake
We want the largest overall depth, but we're going to find it in an unconventional way that'll help us understand partial derivatives.
Find this largest depth by finding the largest depth in each row, then taking the maximum of these values.
To find the largest depth in the table, we maximized row by row, and then took the largest of these values to find the global maximum depth.
The depth table data was actually built using the function (not to scale) so we expect it has a maximum. Let's combine our table strategy with what we know of single-variable calculus to find it.
By analogy, let's fix one variable, say , though we could also fix and get the same answer. To keep things simple, let's take
This reduces the number of variables down to one, which we can handle!
Find the maximum value of which is like maximizing over a single "row."
Note: If you'd like to refresh your memory, here's a wiki on optimization in the single-variable case.
Generalizing last problem's result, for the max value of is given by By analogy, this is like compiling the list
Boat | 1 | |||||
Largest Depth Recorded | 130 |
for the depth table
Where is maximized on (This is like maximizing over the max value of each row in the depth table.)
Hint: Up to a constant, this function of is the same as the function of we maximized in the last problem.
Now for the bad news: our approach only works because and its domain have very special properties. We need a versatile method for finding extrema of general multivariable functions.
Here's an equivalent way of looking at how we optimized Let's introduce a new kind of derivative meaning we take the derivative of as if it were just a function of is fixed. Similarly, means we differentiate with respect to while holding fixed.
Then to optimize we really solved and then checked these critical values against the values of on the edges of the rectangle forming the boundary of 's domain.
If this is the right way to optimize, what is the largest value of for points inside the circle of radius centered at the origin; i.e. all points with
By introducing partial derivatives and we took our first steps into the larger world of multivariable optimization.
We'll have a whole chapter on these derivatives, but we first need to know more about functions and their graphs.
Graphs are visual tools that can help us in our quest for extrema. Take a look at the animations below. The surface represents the graph of on the larger square
The mountain tops correspond to maxima, and the pits represent minima: with a graph we can identify extrema at a glance.
Surface graphs can also help us begin to understand one of the other major pillars of multivariable calculus: integration.
To graph surfaces, we need a coordinate system in space, which is the topic of our next quiz.
With this detour out of the way, we'll come back to many-variable integration to finish off our intro chapter.