If the spinning earth's crust was completely uniform in height and character (i.e. no mountains, seas etc.), but a surface made of the same substance, it is likely that the differential heating between poles and the equator would still produce a west-to-east airflow in the lower atmosphere [ i.e. the troposphere and lower stratosphere ], ( assuming of course in this unlikely situation we had an atmosphere), but without the very variable wave-like motion that can be seen on both daily and time-average maps at any particular level in the atmosphere. (N.B. there would be detectable wave-trains due to the inertial forces on the atmospheric mass on a rotating sphere.)
The major (or 'long') waves (also known as Planetary Waves) we see on weather maps for the upper air are produced largely because the atmosphere in motion encounters barriers to its progress, and is forced to ascend (by the changing surface level), then allowed to descend (under gravitational influence), and the resultant "squashing" and "stretching" respectively of the air columns involved lead to alterations to the rates of "spin" of the air flow (vorticity). These variations in the rate of spin must be balanced on a rotating earth for the system to remain stable -- assuming there are no other forces at work: see later.
The principle is known as CAV, the Conservation of Absolute Vorticity, and was investigated by Carl-Gustav Rossby and others in the late 1930's. When considering the northern hemisphere, air that is forced to ascend tends to turn to the right, and as it descends again, it tends to turn to the left, inducing a ridge/trough pattern to the broadscale westerlies. These long waves are often known as Rossby waves, after the person who did so much to investigate their character.
Major mountain chains provide obvious sources of such deflection, and the Rockies and the Andes, which lie astride the westerly flow in each hemisphere, provide good examples. These long-waves are key elements in the atmospheric circulation, and can be traced well into the stratosphere. At any one time, there are between 3 and 7 such waves, the number in any particular latitude band dependent upon a fine balance between the speed of the airflow through the trough/ridge system and the wavelength. Rossby, following his investigation of these long-waves, derived the relationship: 
From this equation, we see:
| latitude | zonal wind speed | ||||
| >>>> knots | 10 | 20 | 30 | 40 | 50 |
| 60 deg.(N/S) | 76 deg long. | 108 deg long. | 132 deg long. | 152 deg long. | 170 deg long. |
| 50 deg.(N/S) | 52 deg long. | 74 deg long. | 90 deg long. | 104 deg long. | 116 deg long. |
| 40 deg.(N/S) | 40 deg long. | 57 deg long. | 69 deg long. | 80 deg long. | 90 deg long. |
| approx. number of waves (at 50 degN/S) | 7 | 5 | 4 | 3 to 4 | 3 |
All the foregoing assumes that other convergent/divergent effects due for example to cyclonic development, are negligible; this is unrealistic for the real atmosphere except perhaps at the level of non-divergence (LND) around 600 mbar, and operational forecasting models attempt to take such factors into account. The same principles will apply though.
The circulation in the "upper air" (say 700 mbar [or hPa]) upwards, consists of a large circumpolar vortex system -- on this broad flow are superimposed a system of variable, but usually slow-moving long waves, sometimes stationary, or very occasionally retrogressive (i.e. they move east-to-west). Down the scale again, there are a series of short-waves running quickly (circa 15 degrees of longitude per 24 hr: +/- 5 degrees) through the flow, driving, and being in turn modified, by the familiar synoptic scale disturbances in the lower troposphere (i.e. frontal systems), which in turn feed-back energy (in all forms) up the scale to influence the broadscale pattern.
It is no wonder that L.F. Richardson, postulated in 1922, that computing power of some weight would be needed to properly solve the equations governing atmospheric motion, and much endeavour in operational and research meteorology has been devoted to this end ... and the story goes on!