DaleSpam said:
This is not correct at all. See the link I provided, the conservation law can be written locally also.
Simply because something has a nonlocal explanation does not imply that it does not have a local explanation also. The local explanation is not as easy to follow, but is given in full detail and generality in the link.
I am not convinced. That link explains energy conservation for an electromagnetic wave, but it does not discuss the issue when two waves interfere. The following is a specific example when there seems to be a problem.
Suppose you have two plane square waves traveling in the \textit{z} and \textit{-z} directions, respectively.
For the first wave \textbf{E}_{A}\textit{(x,y,z,t)} = (\textit{E}_0 \textit{f(z}-\textit{c t)}, 0, 0 ) and \textbf{B}_{A}\textit{(x,y,z,t)} = ( 0, \textit{B}_0 \textit{f(z}-\textit{c t)}, 0 ),
where \textit{f(v) = 1} if \textit{-L<v<L} and \textit{f(v) = 0} otherwise.
For the second wave \textbf{E}_{B}\textit{(x,y,z,t)} = ( -\textit{E}_0 \textit{f(z}+\textit{c t)}, 0, 0 ) and \textbf{B}_{B}\textit{(x,y,z,t)} = ( 0, -\textit{B}_0 \textit{f(z}+\textit{c t)}, 0 ).
In this case, there is complete destructive interference everywhere in space at t=0, since \textbf{E} = \textbf{E}_{A}+\textbf{E}_{B} = (0, 0, 0 ) and \textbf{B} = \textbf{B}_{A}+\textbf{B}_{B} = (0, 0, 0 ). Thus, the energy density vanishes at this instant everywhere as well, U(x,y,z,0) = 0. However, it is nonzero at other times. In particular, \textit{U(x,y,z,t)} = \textit{U}_0 \textit{f(z}-\textit{ct)} + \textit{U}_0 \textit{f(x}+\textit{c t)} if |\textit{t}| > \textit{L}/c, where \textit{U}_0 = \frac{\epsilon_0 E_0^2}{2} + \frac{B_0^2}{2 \mu_0}. The total energy in the electromagnetic field in a box enclosing the two waves is \int \textit{U} \;\textit{dV} = 0 at t=0, while it is \int \textit{U} \;\textit{dV} = \textit{ 2 L A U}_0 if |\textit{t}| > \textit{L}/c when the two waves are well separated. Here \textit{A} is the area of the box in the \textit{(x,y)} plane. (Note that the energy flux \textbf{u} (eq. 1034 in the link) drops out if you integrate over the space containing the waves.)
Therefore energy conservation seems to be violated during interference in this particular example. The problem seems to be that the two waves add linearly when they interfere, while the energy is a nonlinear function of the amplitudes. ZealScience, note that in this example there is an instant when there is destructive interference everywhere, so that there are no regions where a positive interference would compensate. Pallidin, isn't the wave equation satisfied for shock fronts?
Can someone explain what I am missing?