Description
We solve for waves in a stratified medium with a spatially varying background magnetic field that points along a horizontal (x) direction, and with gravity that is directed along the vertical (z) direction. Static force balance determines the magnitude of the background magnetic field. We consider both an isothermal and a more realistic polytropic atmosphere. In both cases we calculate how the presence of the sub-surface magnetic field changes the the dispersion relations for the surface waves. Applications of our result are in magnetoseismology and nonlinear asteroseismology.