where θ i is the angle of incidence, and n is the refractive index of the internal (optically denser) medium relative to the external (optically rarer) medium. (Some authors, however, use the reciprocal refractive index, so that their expressions for the phase shifts look different from the above.)