So far when we have thought about applying derivatives, we’ve always thought in terms of time. So we’ve focused on rates like meters per second, degrees Celsius per second, liters per minute, and so on, everything per unit time. However, we don’t always get derivatives with respect to time.
For example, consider this box:
And let’s consider the temperature of the box at every point. We can show this using red to mean hot and blue to mean cold:
Note that the temperature changes, but not in time. Instead, the temperature changes as you move down the box — that is, the temperature changes in space. We can show the same thing in the graph:
And just as before, the slope of this graph at any point is the derivative. What are the units? Well, they would be [latex]\frac{\text{C$^\circ$}}{\text{cm}}[/latex].
Let’s continue with this example.
- What is the derivative of the temperature halfway down the box?
- What is the derivative of the temperature three-quarters of the way down the box?
- Let’s go back to thinking about time. According to the heat equation, a point in space will tend to get hotter if the second derivative in space is positive, and colder if the second derivative in space is negative. Based on this statement, is this box going to get hotter or colder? What does that mean regarding its derivative in time?
- We can see from the previous graph that the box is [latex]40[/latex] centimeters long, so half way would be [latex]x = 20[/latex] cm. We know [latex]T'(x) = -\frac{1}{16} (2x) = -\frac{1}{8}x[/latex]. So if we just plug in [latex]x = 20[/latex], we get
[latex]T'(20) = -\frac{1}{8}(20) = -2.5[/latex]. Again, the units are [latex]\frac{\text{C$^\circ$}}{\text{cm}}[/latex]. So that means for every cm you travel, the box gets [latex]2.5^\circ[/latex] C colder. - Now we just plug in [latex]x = 30[/latex] into the derivative we already found [latex]T'(x) = -\frac{1}{8}x[/latex], and we see [latex]T'(30) = -\frac{1}{8}(30) = -3.75[/latex]. This means, at this point in the box, the box is getting colder faster. You can see this in the graph as well.
- To answer this question, we need the second derivative [latex]T''(x)[/latex]. This is just the derivative of [latex]T'(x) = -\frac{1}{8}x[/latex], and so we just drop the [latex]x[/latex] and get [latex]T''(x) = -\frac{1}{8}[/latex]. Since the second derivative with respect to space is negative, the heat equation says the first derivative with respect to time is also negative. So if we just leave this box alone, it would tend to get colder. That is, the [latex]T'(t)[/latex] is negative as well.