Saturday, May 5, 2012

Inversely Proportional

I am embarrassed to admit that at about the time I learned to drive I reasoned as follows: in order to get better gas mileage, the car should be driven faster. This wasn't thought through very well, and it was just instinct. But there was a reason buried in my mind, and it was that at higher speeds we can cover more distance per unit of time, by definition. And so, as we cover greater and greater distances for the same unit of time, we will get more miles to the gallon. Now, that is not true, but here is what does make it true: if the car always used fuel at the same rate (in volume of fuel per unit of time) then, yes, greater speed would always lead to greater gas mileage. If the car always uses fuel at 2 gallons per hour, no matter what the speed is, then the more miles you can cram into that hour, then the greater the miles per gallon will be. But the car's fuel use does diminish with increasing speed. Anyone who has ever run or ridden a bike can be persuaded of this: For how long can you run at your top speed? For how long can you walk. Now I don't know the details on how the human body works, and I'm sure it's more complicated than I know, but I take it to support maintaining higher speeds of travel take more energy.

So let's take that a step further: Suppose that the car will use fuel at a greater rate as the speed increases. Perhaps that as the car idles, it uses fuel at 1 hour per gallon, but at 60 miles per hour, it uses fuel at 0.6 hours per gallon (taking only 36 minutes to use the same volume of fuel). This would mean that the fuel use depends on the speed, and that the two quantities are inversely proportional: as one quantity goes up, the other goes down. Now if we further assume that the two values are also linearly related, then we can get an equation that gives the fuel use (y) in terms of the speed (x): y = (-1/150)x + 1. This equation has two implications of note: the car takes one hour to burn a gallon of fuel at idle, and for each increase in speed of 15 miles per hour thereafter the car will 0.1 fewer hours to burn a gallon of fuel.

There is another issue of note here. I started this post with the erroneous assumption that the car always used fuel at the same rate, and the implication was that the gas mileage would be limited by the speed of the car (or the best gas mileage is obtained by traveling at the top speed). Another, every crazier scenario would be that the car used less fuel with increasing speed. But neither of those scenarios is realistic: Life seems to always involve trade-offs, and the more we have of one thing usually entails the less we have of another. Thus, in our real world example, as we increase speed we sacrifice fuel use, and so neither too slow or too fast will yield the optimum gas mileage. At some middle speed there is the best compromise between speed and fuel use. Note that gas mileage (z) is x times y , or z = x((-1/150)x + 1). With methods of algebra or calculus we can find that the maximum value z takes is 37.5 miles per gallon at 75 miles per hour.

Although it's probably intuitive to believe that there is some moderate speed that will give optimum gas mileage in our situation, let me now consider a more meaningful and mathematical reason why that is. This reason has to do with the way the fuel use increases with increasing speed. We agreed that as the speed increases, it will take less time to use the same volume of fuel, and that for each increase in speed of 15 miles per hour thereafter the car will 0.1 fewer hours to burn a gallon of fuel. But it's not the absolute changes that matter here: Take for example that we start by considering that the car takes an hour to burn one gallon of fuel when idling. If the car is later traveling at 15 miles per hour, it will then take only 0.9 hours to burn a gallon of fuel. But in terms of a percentage, the fuel use only decreased by 10%. But as the car speeds up, the fuel use keeps decreasing by a greater and greater percentage of itself.

It's the percentages that are the key here, not the absolute change. Although the fuel use increases with increasing speed, you will find that initially the fuel use is changing by a much smaller percentage than the speed, then they change by equal percentages, and then the fuel use changes by a greater percentage than the speed. It turns out that the optimum speed is the speed at which the fuel use and speed are changing by the same percentages.

One final word: there are some things about this that are no doubt untrue, and this entire blog post may be pointless. Are the fuel use and speed linearly related? Probably not, but I wouldn't be surprised that they are under portions of the graph excluding the extremely fast or slow speeds. Another thing is to consider the price of item and the quantity that can be sold at that price, and the resulting revenue: it's the same problem with the variables relabeled.

No comments: