physics2u
Depth
PU-204 / L13 · lecture

Boundary Conditions at Interfaces

~8 min read · Tier toggle changes depth (T1 plain · T2 standard · T3 rigour)

BEFORE YOU START

You must be comfortable with the macroscopic Maxwell equations in matter, specifically the definitions of \(\mathbf{D} = \epsilon \mathbf{E}\) and \(\mathbf{B} = \mu \mathbf{H}\), and you should recall the integral forms of Gauss’s and Ampère’s laws.

Why this matters

Boundary conditions are the mathematical glue that connects the fields on either side of a material interface.

When an electromagnetic wave encounters a change in material properties, the fields cannot simply jump arbitrarily. The continuity of the tangential electric field and the normal magnetic field, along with the continuity of the normal electric displacement and tangential magnetic field, dictates how energy is partitioned between reflection and transmission. These conditions are the direct source of Snell’s law and the Fresnel coefficients, which govern the behaviour of light in lenses, optical fibres, and thin-film coatings. Without a rigorous understanding of these constraints, the subsequent analysis of wave propagation in stratified media is impossible.

The Physical Intuition

Imagine a rope stretched horizontally. If you hold one end and create a wave, and the rope transitions into a heavier section, the wave does not vanish at the junction. Instead, part of the energy reflects back, and part transmits into the heavier section. The key physical constraint is that the rope itself cannot tear or overlap at the junction. Therefore, the vertical displacement of the rope must be continuous across the interface. In electromagnetism, the electric field plays a similar role to the displacement of the rope. If the tangential component of the electric field were discontinuous across a surface, it would imply an infinite electric field gradient, which is physically non-sensical for standard materials. Similarly, the magnetic field lines must form continuous loops; they cannot just start or stop at a boundary in the absence of magnetic monopoles. These intuitive requirements of continuity are what we formalise into the boundary conditions.

Deriving the Conditions from Integral Laws

To derive the boundary conditions, we apply the integral forms of Maxwell’s equations to a small "pillbox" or "loop" that straddles the interface. Consider a surface charge density \(\sigma_f\) and a surface current density \(\mathbf{K}_f\) at the interface. We define the normal vector \(\hat{\mathbf{n}}\) pointing from medium 1 to medium 2.

First, consider the normal component of the electric field. We apply Gauss’s law to a flat cylinder (pillbox) with its axis normal to the surface. As the height of the cylinder approaches zero, the flux through the curved surface vanishes. The flux through the top and bottom faces gives:

\[ \oint \mathbf{D} \cdot d\mathbf{a} = Q_{\text{enclosed}} \implies (D_{2n} - D_{1n}) \Delta a = \sigma_f \Delta a \]

Thus, the normal component of the electric displacement field is discontinuous by the amount of the free surface charge density:

\[ \hat{\mathbf{n}} \cdot (\mathbf{D}_2 - \mathbf{D}_1) = \sigma_f \]

Next, consider the tangential component of the electric field. We apply Faraday’s law to a small rectangular loop lying in the plane of the interface. As the area of the loop approaches zero, the magnetic flux through the loop vanishes. The line integral of the electric field around the loop yields:

\[ \oint \mathbf{E} \cdot d\mathbf{l} = -\frac{d}{dt} \int \mathbf{B} \cdot d\mathbf{a} \implies (E_{2t} - E_{1t}) \Delta l = 0 \]

Therefore, the tangential component of the electric field must be continuous:

\[ \hat{\mathbf{n}} \times (\mathbf{E}_2 - \mathbf{E}_1) = \mathbf{0} \]

Magnetic Field Boundary Conditions

The conditions for the magnetic field are derived similarly. For the normal component, we use the fact that \(\nabla \cdot \mathbf{B} = 0\). Applying this to the same pillbox geometry, the net flux of \(\mathbf{B}\) through the closed surface must be zero. Since there are no magnetic monopoles, the flux entering one face must equal the flux leaving the other:

\[ \hat{\mathbf{n}} \cdot (\mathbf{B}_2 - \mathbf{B}_1) = 0 \]

This means the normal component of the magnetic flux density is continuous across the interface.

For the tangential component, we apply Ampère’s law (with the displacement current term, which vanishes in the limit of zero area) to a small rectangular loop. The line integral of \(\mathbf{H}\) around the loop equals the conduction current passing through the loop. If there is a surface current density \(\mathbf{K}_f\) flowing along the interface, we get:

\[ \oint \mathbf{H} \cdot d\mathbf{l} = I_{\text{enclosed}} \implies (H_{2t} - H_{1t}) \Delta l = K_f \Delta l \]

Vectorially, this is expressed as:

\[ \hat{\mathbf{n}} \times (\mathbf{H}_2 - \mathbf{H}_1) = \mathbf{K}_f \]

In most optical applications involving dielectric interfaces, there are no free surface currents (\(\mathbf{K}_f = \mathbf{0}\)), so the tangential component of \(\mathbf{H}\) is also continuous.

Application to Plane Waves

When a plane wave is incident on an interface, the total field in each medium is the sum of the incident and reflected (or transmitted) waves. The boundary conditions must hold for the total fields at every point on the interface and for all time. This imposes two critical constraints on the wave vectors and frequencies.

First, the time dependence must match. If the incident wave oscillates as \(e^{-i\omega t}\), the reflected and transmitted waves must have the same frequency \(\omega\); otherwise, the boundary conditions could not be satisfied for all \(t\).

Second, the spatial variation along the interface must match. The phase of the incident, reflected, and transmitted waves must be equal at every point on the boundary. This requires that the tangential components of the wave vectors be identical:

\[ \mathbf{k}_{i,t} = \mathbf{k}_{r,t} = \mathbf{k}_{t,t} \]

Since the magnitude of the wave vector is \(k = \frac{\omega}{v} = \frac{n\omega}{c}\), this condition leads directly to Snell’s law. Let \(\theta_i\), \(\theta_r\), and \(\theta_t\) be the angles of incidence, reflection, and transmission measured from the normal. The tangential component of \(\mathbf{k}\) is \(k \sin\theta\). Thus:

\[ n_1 \omega \sin\theta_i = n_2 \omega \sin\theta_t \implies n_1 \sin\theta_i = n_2 \sin\theta_t \]

Similarly, comparing the incident and reflected waves in medium 1 gives \(n_1 \sin\theta_i = n_1 \sin\theta_r\), which implies \(\theta_r = \theta_i\), the law of reflection.

The derivation

◆ DERIVATION EMBED · D-172 · not re-derived here

Reflection, Refraction and Fresnel Equations

For a monochromatic plane electromagnetic wave incident from a linear, isotropic, non-absorbing dielectric of refractive index \( n_1 \) onto a sharp planar interface with a second such dielectric of index \( n_2 \), the electromagnetic boundary conditions force (i) the reflected and transmitted waves to share the incident frequency and tangential wavevector, giving the law of reflection \( \theta_r = \theta_i \) and Snell's law \( n_1 \sin\theta_i = n_2 \sin\theta_t \); and (ii) the amplitude ratios to take the Fresnel forms, for s-polarization (electric field perpendicular to the plane of incidence) \( r_s = \dfrac{n_1\cos\theta_i - n_2\cos\theta_t}{n_1\cos\theta_i + n_2\cos\theta_t} \), \( t_s = \dfrac{2 n_1\cos\theta_i}{n_1\cos\theta_i + n_2\cos\theta_t} \), and for p-polarization (electric field in the plane of incidence) \( r_p = \dfrac{n_2\cos\theta_i - n_1\cos\theta_t}{n_2\cos\theta_i + n_1\cos\theta_t} \), \( t_p = \dfrac{2 n_1\cos\theta_i}{n_2\cos\theta_i + n_1\cos\theta_t} \), for non-magnetic media (\( \mu_1 = \mu_2 = \mu_0 \)).

\[ n_1 \sin\theta_i = n_2 \sin\theta_t, \qquad r_s = \frac{n_1\cos\theta_i - n_2\cos\theta_t}{n_1\cos\theta_i + n_2\cos\theta_t}, \quad r_p = \frac{n_2\cos\theta_i - n_1\cos\theta_t}{n_2\cos\theta_i + n_1\cos\theta_t}, \] \[ t_s = \frac{2 n_1\cos\theta_i}{n_1\cos\theta_i + n_2\cos\theta_t}, \qquad t_p = \frac{2 n_1\cos\theta_i}{n_2\cos\theta_i + n_1\cos\theta_t} \]
Open full derivation →
Tier 3 · watch out

A common misconception is that the continuity of the tangential electric field implies the continuity of the electric field magnitude. This is only true for normal incidence. For oblique incidence, the electric field vector has both normal and tangential components. The boundary condition only constrains the tangential part. Consequently, the magnitude of \(\mathbf{E}\) can change across the interface even if the tangential component is continuous, because the normal component is allowed to be discontinuous (scaled by the permittivity ratio). Confusing the vector components with the scalar magnitude leads to incorrect Fresnel coefficients for p-polarization. C

Worked example

Problem. A linearly polarised plane wave with frequency \(f = 5.0 \times 10^{14}\ \mathrm{Hz}\) is incident from air (\(n_1 = 1.0\)) onto a glass slab (\(n_2 = 1.5\)) at an angle of incidence \(\theta_i = 30^\circ\). The polarization is s-polarized (electric field perpendicular to the plane of incidence). Calculate the angle of transmission \(\theta_t\) and the reflection coefficient \(r_s\).

  1. Determine the angle of transmission using Snell’s law: \(n_1 \sin\theta_i = n_2 \sin\theta_t\).
  2. Calculate \(\sin\theta_t = \frac{n_1}{n_2} \sin\theta_i = \frac{1.0}{1.5} \sin(30^\circ) = \frac{1}{1.5} \times 0.5 = 0.3333\).
  3. Find \(\theta_t = \arcsin(0.3333) \approx 19.47^\circ\).
  4. Calculate the cosine terms: \(\cos\theta_i = \cos(30^\circ) = 0.8660\) and \(\cos\theta_t = \cos(19.47^\circ) = 0.9428\).
  5. Substitute into the Fresnel coefficient for s-polarization: \(r_s = \frac{n_1\cos\theta_i - n_2\cos\theta_t}{n_1\cos\theta_i + n_2\cos\theta_t}\).
  6. Numerator: \(1.0(0.8660) - 1.5(0.9428) = 0.8660 - 1.4142 = -0.5482\).
  7. Denominator: \(1.0(0.8660) + 1.5(0.9428) = 0.8660 + 1.4142 = 2.2802\).
  8. Compute \(r_s = \frac{-0.5482}{2.2802} \approx -0.2404\).
\[ \theta_t \approx 19.5^\circ, \qquad r_s \approx -0.240 \]

Units check. Angles are dimensionless (radians or degrees). The reflection coefficient \(r_s\) is a ratio of electric field amplitudes, so it is dimensionless. The negative sign indicates a phase shift of \(\pi\) radians upon reflection, which is expected when reflecting from a medium of higher refractive index.

CHECK YOURSELF

Three quick tests

  1. What is the boundary condition for the normal component of the magnetic field \(\mathbf{B}\) at an interface with no magnetic monopoles?
    AnswerThe normal component is continuous: \(\hat{\mathbf{n}} \cdot (\mathbf{B}_2 - \mathbf{B}_1) = 0\).
  2. If a wave reflects from a medium with a higher refractive index, what is the phase change for s-polarization?
    AnswerThe reflection coefficient \(r_s\) is negative, indicating a phase change of \(\pi\) radians (180 degrees).
  3. Why must the frequency of the reflected and transmitted waves be the same as the incident wave?
    AnswerThe boundary conditions must be satisfied for all time \(t\). If the frequencies differed, the time-dependent terms would not match at the interface for all \(t\).
PROBLEMS

Problem set for PU-204 →

Each derivation in this unit ends with five graded problems with full solutions.

NOTES

Lecture notes checked line by line by the editor; every number in the worked example was recomputed.

Derivations cited: D-172 · Threads: force, energy, light