Given the electric potential of a dipole
ϕ(r,θ)=4πϵ0r2pcosθ,
where p is the magnitude of the dipole moment, calculate the corresponding electric field and show that it can be written as
E(r)=4πϵ01r31[3(p⋅e^r)e^r−p]
where e^r is the unit vector in the radial direction.