It has been windy here lately. Sometimes I think that is an ok thing. You see, when I ride my bike to work I am probably going to have the wind at my back for one of directions. It is great feeling like Lance Armstrong because of the boost you get from the wind. With a good wind at my back, I can almost keep up with the traffic (I would keep up if they went the 25 mph speed limit).

Of course, with a great boost comes a great drag. When I ride into the wind, I feel weak. I pedal as fast as I can and cars just whiz right by like I am standing still. When you are in a car, you don’t really notice the wind. You notice it on a bike as though it were blowing in your face (because it is).

Yesterday it was windy. It seemed the god of the wind (Hermes? I don’t know who you are, god of the wind – maybe that is why you smote me) was always in my face. It was no fun. When life gives you lemons, blog about it.

So, here is one of my favorite easy physics problems. Suppose I bike 2 miles to work. On the way there, the wind gods like me and I can go 20 mph. On the way back, I only go 10 mph. What is my average speed for the round trip?

First, notice that I said “average speed” and not “average velocity”. The convention is that average velocity is defined as:

Where the vector r is the position of the object. If I take a round trip, my starting and ending position vectors are the same thing. This would make the average velocity zero (zero vector). Average speed, on the other hand, can be calculated as:

Where s is the total distance along the path (not zero for a round trip).

Ok, I want to calculate average speed. For this case, let me pretend that I am going all in one direction. So the problem would be that I travel 20 mph for 2 miles and then 10 mph for 2 miles. Now I can call my position along the x-axis.

Let me go ahead and give you the wrong answer. The wrong answer is that the average speed is (20+10)/2 = 15 mph. This is incorrect. This would be correct if someone went 20 mph for 10 min then 10 min for 10 min. Let me just do this the long way.

To find the average speed, I need the total distance (got that) and divide by the total time (don’t have). I can find the time for the first part of the trip and for the second part. To make this more generic, I am going to call the first speed v_{1} and the second speed v_{2}. I will let the starting position be x = 0 miles. The distance where the bike changes speed will be x_{2}. The final distance will be x_{3}. The time for the first part of the trip will be: (note, I will am using v without a vector symbol to denote speed)

Now, to do the same thing for the second part of the trip:

The average speed is now the total distance divided by the total time. The total time is:

The total distance is x_{3}, so the average speed is:

Before I plug in the numbers – there is on check I can make. Are the units correct? On the top, I have position times v^{2} (units). On the bottom are position and velocity units. These will cancel to just speed units – so that is good. Also, what if v_{1}= v_{2}? In this case, the average speed should be v_{1}. If you plug into the equation above, that is indeed what you get. Now to plug in my numbers.

This is lower than the 15 mph as it should be. The bike was traveling at a lower speed for a longer time than it was at the greater speed. What if I wanted to find the average speed after going v_{1} for a time t_{1} and then v_{2} for a time t_{2}? This is slightly easier. The total time is just t_{1} + t_{2}. However, I need to find the distances:

Now for the average speed:

This is simply the time-weighted average of the two speeds. Ok – I was afraid of an angry god, so I looked it up. Aeolus is the king of the winds.