Does the dipole moment depend on the choice of origin
- if the total charge Q is not zero?
- for a system of charges neutral overall?
How can I show that mathematically? Also I need some drawings to visualize what "the choice of origin" means.
Does the dipole moment depend on the choice of origin
How can I show that mathematically? Also I need some drawings to visualize what "the choice of origin" means.
For a system with charge density $\rho(\mathbf r)$ (which might be volumetric, but which could also include point, line or surface charges by including suitable delta-function terms into $\rho(\mathbf r)$), the dipole moment is always defined to be $$ \mathbf d = \int \mathbf r \rho(\mathbf r)\mathrm d\mathbf r, $$ where the integral is taken over all of space. This means that if you displace your origin by $\mathbf r_0$, then the new dipole moment will be given by \begin{align} \mathbf d' & = \int \mathbf r' \rho(\mathbf r)\mathrm d\mathbf r \\ & = \int (\mathbf r - \mathbf r_0) \rho(\mathbf r)\mathrm d\mathbf r \\ & = \int \mathbf r \rho(\mathbf r)\mathrm d\mathbf r - \mathbf r_0 \int \rho(\mathbf r)\mathrm d\mathbf r \\ & = \mathbf d - \mathbf r_0 Q, \end{align} i.e. it will change by the product of the coordinate translation and the total charge $Q =\int \rho(\mathbf r)\mathrm d\mathbf r$ of the system. This means that the dipole moment is origin-independent if the system is globally neutral, and it does depend on the coordinate origin if the global charge is nonzero.
For more on the subject see e.g. Why isn't there a centre of charge?, How does one prove that the lowest-order nonvanishing multipole moment of a charge distribution is independent of the origin, for arbitrary $\ell$?, Can one force the electric quadrupole moments of a neutral charge distribution to vanish using a suitable translation?, and links therein.
If the total charge is non-zero, the dipole moment is ill defined in that its value depends on the choice of origin. For total charge zero distributions, the dipole moment does not depend on choice of origin.