Linearization of the Boussinesq equation and the modified Boussinesq equation