An explicit formula is derived for the change of input impedance of a vertical electric dipole as a function of the distance of the dipole to a horizontal boundary with a prescribed surface impedance

. It is shown that, if

, the result is consistent with the formula obtained by the compensation-theorem approach.