First, you can notice that the change of variable

, together with letting

tend to infinity inside the integral gives a "formal" proof, provided you know

. Maybe this is enough for your electromagnetic course.
If this were maths, you'd have to justify taking the limit inside the integral. One difficulty is that the limit is an improper integral, hence usual Lebesgue's theorem don't apply directly. Here's a suggestion. On
![[a,b]](http://latex.codecogs.com/png.latex?[a,b])
containing the support of

, write
=f(0)+x\varphi(x))
where

is

as well (but not necessarily compactly supported). Use linearity to split the integral; for the first part, change of variable, use the above classic integral, ok. For the second part, you can note this is a case of Riemann-Lebesgue lemma. It can be proved for step functions

first and generalized by density, for instance. Or using an integration by part (derivating phi), if I remember well.