Put . The perfect gas relation in the question becomes the polytropic equation of state
At fixed , vertical hydrostatic balance is
After one integration,
Defining the midplane adiabatic sound speed by gives
This is a vertically truncated polytropic atmosphere; the physical perfect-gas case has .