The stability of a sheared configuration with high beta is studied by investigating the normal modes of the linearized magnetohydrodynamic equations. First, a single ordinary differential equation is obtained that governs the behavior of modes that are localized around rational surfaces. In addition, the equation that describes the properties of ballooning modes is derived.