In the context of electromagnetics and optics, the frequency is some function ω (k) of the wave number, so in general, the phase velocity and the group velocity depend on specific medium and frequency. The ratio between the speed of light c and the phase velocity v p is known as the refractive index, n = c / v p = ck / ω.