Potential difference and charge distribution