The index of refraction is defined as the ratio of the speed of light in vacuum to the speed of light in the medium. If one solves the wave equation for the electric (or magnetic) wave in a dielectric medium it turns out that the speed of propagation is,