Transverse and Longitudinal waves

Transverse wave: Longitudinal wave: A longitudinal wave can be represented graphically by plotting the density of air molecules versus position at a given instant as show above.