Domain Derivatives in Electromagnetic Scattering