Density Waves and the Stability of Galactic Spiral Arms