working on a problem to evaluate
$\int_0^\infty \frac {e^{-x} - e^{-ax}} {x} dx$
the instructions say to first evaluate $\int_1^a e^{-xy} dy$
which comes out to the integrand of the original improper integral.
using this it seems we can rewrite the improper integral as the double integral as follows
$\int{_0^\infty}\int{_1^a} e^{-xy}dydx$
However where I am stuck is changing the order of integration on this double integral in order to evaluate it.