Calculators are good at graphing functions. However, calculators can only show a useful graph if a useful domain and range are specified.
Play with the function
f (x) = xln x
If we graph it on a window with -10 ≤ x ≤ 10 and -10 ≤ y ≤ 10, it looks like this:
This doesn't look like much—a concave up curve that starts a little below the x-axis.
However, if we know that
and therefore f must have a critical point at e-1 ≈ 0.37, we might be tempted to look a little closer.
Here's the graph on a window with -2 ≤ x ≤ 2 and -2 ≤ y ≤ 2:
Knowing where there might be maxima or minima can help you choose the right size of the calculator window, so that you can actually see what the function looks like. In short, mastering all this derivative stuff will keep your calculator in check. Go on, try to tell us that's not useful.
Most of the functions we've been dealing with in this unit are differentiable, or at least have only a few problem spots where the derivative doesn't exist. We know that if a function is differentiable it must be continuous, but a continuous function doesn't need to be differentiable.
Here's a strange fact: it's possible to build a continuous function that isn't differentiable anywhere. That is, the whole function consists of corners. There's a little dot you can slide that starts at n = 0. As n increases the number of corners on the function also increases, and the limit of these functions as n approaches ∞ consists entirely of corners.
Here's an even stranger fact: most continuous functions aren't differentiable anywhere. This is similar to the fact that most real numbers are irrational—after all, we can count the rational numbers but we can't count the irrational ones.
All this means those few functions that are infinitely differentiable are special.
There are three steps to solving a math problem.
Apply these steps to a sample optimization problem .
A 12-foot rope is to be cut into two pieces. One piece will lay across the bottom of a wall hanging, and the other piece will lay along the side of the wall hanging.
Where should the rope be cut to maximize the area of the wall hanging?
1. Figure out what the problem is asking.
The problem starts out with a 12-foot rope, which is to be cut into two pieces:
The pieces will then be rearranged like this to frame the wall hanging:
The problem says "where should the rope be cut to maximize the area of the wall hanging?" There are two things in here we need to translate into math.
The first thing is the phrase "where should the rope be cut." We need a mathematical way to represent this. Use a variable x that measures how many feet from the left end we cut the rope:
The second thing is the phrase "the area of the wall hanging". If we cut the rope x feet from the left end, the remaining piece of rope will be 12 – x feet long.
The wall hanging will look like this:
It's area will be
A(x) = x(12 – x) square feet
We've finally figured out what the problem is asking: find the value of x at which A attains its maximum value.
2. Solve the problem.
Now that we've translated the problem into math, this part isn't too bad. We have a function
A(x) = x(12 – x) = 12x – x2.
We need to find where A has a maximum. We start by taking the derivative:
A'(x) = 12 – 2x.
This is zero when x = 6, so that's our only critical point.
Use the second derivative test to see if this critical point is a maximum or a minimum. The second derivative is
A"(x) = -2
which is less than zero, so the function A is concave down. This means A must attain its maximum at the critical point x = 6.
Translating back into English, we want to cut the rope 6 feet from the end, or exactly in half.
P.S. A word about endpoints: In this problem, we know 0 ≤ x ≤ 12, because we can't cut the rope at a point that's not on the rope in the first place.
We can't have x = 0 or x = 12, however. If we did, there won't be any wall hanging because one of its dimensions would be zero.
3. Check the answer.
We want to convince ourselves, using common sense, that we really do find the largest wall hanging if we cut the rope exactly in half. One way to convince ourselves is to calculate the area of the wall hanging when the rope is cut exactly in half, then calculate the area of the wall hanging if we cut the rope in some other places.
When the rope is cut exactly in half, the area of the wall hanging is 36 square feet.
If we cut the rope only 3 feet from the end, the area of the wall hanging would be only 27 square feet.
If we cut the rope only 1 foot from the end, the area of the wall hanging would be 11 square feet.
It's believable that we find the largest hanging when the rope is cut exactly in half.