Reflection and refraction
A plane wave travels from a medium with refractive index $n_1 = c/v_1$ to one with $n_2 = c/v_2$.
(Usually larger $\lambda$ means smaller $n$.)
A plane wave travels from a medium with refractive index $n_1 = c/v_1$ to one with $n_2 = c/v_2$.
(Usually larger $\lambda$ means smaller $n$.)
Angle of incidence $\theta_i = \theta_r$ angle of reflection. (Derivation)
If $n_2 > n_1$, there is a $\pi$ phase change upon reflection. If $n_2<n_1$, there is no phase change.
Angle of incidence $\theta_1$ and angle of refraction $\theta_2$ are related by $$ \begin{align*} n_1 \sin \theta_1 = n_2 \sin\theta_2. \end{align*} $$ (Derivation)
Total internal refraction occurs when $\sin\theta_2 > 1$.
Refraction at a spherical surface of radius $R$: for small angles, $$ \begin{align*} \frac{n_1}{u} + \frac{n_2}{v} = \frac{n_2-n_1}{R} \end{align*} $$ (Derivation)
Take $R = \infty$ for planar surface. (Derivation)
Sign convention: