Potential on the axis of a dipole (θ = 0° or 180°). Positive on the +q side, negative on the −q side. Follows from the general expression with cos 0° = 1.
From the general formula
General dipole potential: V=4πε0r2pcosθ
On the axial line, θ=0° (on the +q side) or θ=180° (on the −q side).
+q side (θ=0°, cosθ=1):
Vaxial=+4πε0r2p
−q side (θ=180°, cosθ=−1):
Vaxial=−4πε0r2p
Vaxial=±4πε0r2p
Direct verification
For point P at distance r on the +q side (distances: r+=r−a, r−=r+a):
V=4πε0q(r−a1−r+a1)=4πε0q⋅r2−a22a≈4πε0r2p
Consistent with the general formula.
Remember
Compare with the axial field: $E_{axial} = 2p/4\pi\varepsilon_0 r^3$. Note $E = -dV/dr$ gives $d/dr(p/4\pi\varepsilon_0 r^2) = -2p/4\pi\varepsilon_0 r^3$, consistent with $E = -dV/dr$.