Here (0,a) and (0,−a) are position of charges −q and +q. They form an electric dipole. Electric potential is
V2 at point P due to this electric dipole.
V2=14πε0q×2acosθr2−a2cos2θ
Here r2⋙r2≥a2cos2θ
r2−a2cos2θ≃r2
V2=14πε0q×2acosθr2
Electric potential at point P due to charge at (0,0)
V1=14πε0−qr
Net potential at P
VP=V1+V2
VP=14πε0qr+14πε0q×2acosθr2VP=14πε0[qr+q×2acosθr2] where r≫a