An integral equation approach to ac diffusion