Preface

Consider an electromagnetic wave in cosine form:

E=E0cos⁡(kx−ωt)E=E_0\cos{(kx-\omega t)}

With Euler’s formula we can instead take the real part of ei(kx−ωt)e^{i(kx-\omega t)}, which has much nicer algebraic properties. The price is that we may only perform operations in which the real and imaginary parts do not couple. We must make sure that the real part of the complex exponential, after the operation, equals the result of operating directly on the trigonometric function without the complex exponential; in other words, the two representations must be homomorphic. Such operations are linear, and they keep the real and imaginary parts isolated from each other.

Why Intensity Is the Squared Modulus

We often meet problems of the following form:

E(x,y)=Re{∑jEjeiϕj}E(x,y)= \mathfrak{Re}\left \{ \sum_jE_j e^{i\phi_j} \right \} ϕj(x,t)=kx−ωt+φj\phi_j(x,t) =kx-\omega t+\varphi_j

Here we need the intensity of the superposed field at a given position (that is, averaged over time, which is important). The natural instinct is to turn the square into a squared modulus, but on closer thought the real number that comes out seems to contain a contribution from the imaginary part.

Start from the definition:

I∝⟨{∑jEjcos⁡(ϕj)}2⟩I\propto\left \langle \left \{ \sum_jE_j\cos(\phi_j) \right \}^2 \right \rangle

One way to justify the intuition is to rewrite the cosine with Euler’s formula:

I∝⟨14(∑jEjeiϕj+∑jEje−iϕj)2⟩I\propto\left \langle\frac{1}{4} (\sum_jE_je^{i\phi_j}+\sum_jE_je^{-i\phi_j})^2\right \rangle

Expanding the square gives:

14⟨(∑jEjeiϕj⋅∑jEjeiϕj+∑jEje−iϕj⋅∑jEje−iϕj+2∑jEjeiϕj⋅∑jEje−iϕj)⟩\frac{1}{4} \left \langle(\sum_jE_je^{i\phi_j}\cdot\sum_jE_je^{i\phi_j}+\sum_jE_je^{-i\phi_j}\cdot \sum_jE_je^{-i\phi_j}+2\sum_jE_je^{i\phi_j}\cdot\sum_jE_je^{-i\phi_j})\right \rangle

Now handle the sums carefully.

The first term:

∑j,kEjEkei(ϕj+ϕk)\sum_{j,k}E_jE_ke^{i(\phi_j+\phi_k)}

ϕj+ϕk\phi_j+\phi_k depends on time, so this term averages to zero over time and contributes nothing to the intensity.

By the same argument, the second term also contributes zero.

The remaining cross term is exactly the squared modulus. Expanding and grouping:

∑jEjeiϕj⋅∑jEje−iϕj=∑mEm2+∑j≠kEjEkei(ϕj−ϕk)\sum_jE_je^{i\phi_j}\cdot\sum_jE_je^{-i\phi_j}=\sum_m E_m^2+\sum_{j\ne k}E_jE_ke^{i(\phi_j-\phi_k)}

Note that the last term is symmetric in its indices, so it can be turned back into a cos⁡\cos:

∑j≠kEjEkei(ϕj−ϕk)=∑j<k2EjEkcos⁡(ϕj−ϕk)\sum_{j\ne k}E_jE_ke^{i(\phi_j-\phi_k)}=\sum_{j<k}2E_jE_k\cos(\phi_j-\phi_k)

The intensity finally takes the form:

I∝∥∑jEjeiϕj∥2=∑mEm2+∑j<k2EjEkcos⁡(ϕj−ϕk)I\propto\left \| \sum_jE_j e^{i\phi_j} \right \| ^2=\sum_m E_m^2+\sum_{j<k}2E_jE_k\cos(\phi_j-\phi_k)