Mathematics of Dipole Moment