In the complex notation there is a clever device for finding the time average of a product. Suppose f(r,t)=Acos(k⋅r−ωt+δa) and g(r,t)=Bcos(k⋅r−ωt+δb). Show that ⟨fg⟩=(1/2)Re(f~g~∗), where the star denotes complex conjugation. [Note that this only works if the two waves have the same k and ω, but they need not have the same amplitude or phase.] For example,
⟨u⟩=41Re(ϵ0E~⋅E~∗+μ01B~⋅B~∗)and⟨S⟩=2μ01Re(E~×B~∗).