The dipole moment vector p is aligned along the positive z-axis making an angle θ with the reference vector r in the spherical polar coordinate system of r, θ and φ juxtaposed on the Cartesian coordinate system of x, y, z for any vector r.
{}