Sometimes IFR aircraft (aircraft on flight plans that allow them to fly through clouds) have to stay in one place and wait, while they are flying. Typically they'd be waiting for their turn to land at the airport, and the way air traffic controllers say "take a number" is by issuing a hold clearance.
A "hold" is an oblong path: two parallel straightaways connected at the ends by semicircles. It is defined by a point called a "fix," a direction to that fix, an altitude, and whether the turns are to be made to the left or the right. The pilot identifies the fix using radionavigation equipment. The oblong is flown so as to put the fix at the end of one of the straightaways, just before a turn. Sometimes the length of the straightaway is defined in miles, but usually the length is defined in terms of time: the inbound leg is supposed to take one minute, or, if the hold is flown at an altitude above fourteen thousand feet, a minute and a half. With no wind, the opposite straightaway would require the same time. In wind, the timing of the outbound leg must be adjusted so as to satisfy the timing of the inbound leg.Pilots' web has a great picture.
Imagine the wind is such that the aircraft experiences a tailwind during the outbound leg. That will make it cover distance faster, so that when one minute has elapsed and it turns inbound, it is further from the fix than it would be in still air. But if there is a tailwind outbound, there is a headwind inbound, so the airplane not only has further to go, but covers the distance at a lower speed. Reaching the fix, the pilot will discover that the inbound leg took more than one minute. On the next leg, she flies outbound for a shorter time, to compensate. But how much shorter?
There are many rules of thumb. During my initial training, I learned that if the inbound leg took more than a minute, to take two thirds of the excess inbound time off of the outbound time on the next leg. If the inbound leg takes less than a minute, add one and a third the excess to the next outbound leg. A pilot I respect, who can talk mathematical rings around me, subtracts half the excess or adds all the shortfall. As long as you're correcting in the right direction at each turn in the hold, you'll eventually converge on an outbound time that gives you a one minute inbound. It's a cockpit not a calculus class.
This being the internet, not the cockpit, I have filled a few sheets of paper with calculations, and determined that the distance travelled in the direction of the inbound track during a ninety degree rate one turn away from the inbound track is equal to the definite integral from t=0 to t=30 of (v cos (3t) + wt) dt, where v is the speed of the airplane and w is the wind speed. That ground to a stunning halt when I realized that whatever part of my brain had once known how to integrate trigonometric functions has found a new life, possibly storing and cross referencing the details of Friends episodes.
If someone has a more cooperative calculus-related brain segment, and wants to help out here, here are a couple more things to know about the path in the hold.
According to AIP-RAC 10.2, we "are expected to make all turns to achieve an average bank angle of at least 25 degrees or a rate of turn of three degrees per second, whichever requires the lesser bank." That "three degrees per second" turn is a common requirement, known as a rate one turn. We even have a rule of thumb to determine the bank angle in degrees that will produce it: ten percent of airspeed (in knots) plus seven. So for an aircraft flying at an indicated airspeed of 175 knots (the maximum permitted in a hold for any propeller-driven aircraft), the bank angle for a rate one turn is 175/10 + 7, or 24.5 degrees. Therefore, for all propeller-driven aircraft the 180 degree turns at the hold ends will each take one minute.
Timing of the outbound leg starts abeam the fix or when the wings are level after the turn, whichever comes later. Timing of the inbound leg starts with wings level. I have deliberately neglected the effects of wind not parallel to the inbound track.