Chapter 3Method of Images
The potential generated by point charge q and an image charge -q at z=0 is 0.
The potential generated at a point above the plane is equal to
Since this solutions satisfies the boundary conditions, it is the only correct solution.