High-resolution atomic force microscopy (AFM) and scanning tunneling microscopy (STM) imaging with functionalized tips is well established, but a detailed understanding of the imaging mechanism is still missing. We present a numerical STM/AFM model, which takes into account the relaxation of the probe due to the tip-sample interaction. We demonstrate that the model is able to reproduce very well not only the experimental intra- and intermolecular contrasts, but also their evolution upon tip approach. At close distances, the simulations unveil a significant probe particle relaxation towards local minima of the interaction potential. This effect is responsible for the sharp submolecular resolution observed in AFM/STM experiments. In addition, we demonstrate that sharp apparent intermolecular bonds should not be interpreted as true hydrogen bonds, in the sense of representing areas of increased electron density. Instead, they represent the ridge between two minima of the potential energy landscape due to neighboring atoms.
Recently, the family of high-resolution scanning probe imaging techniques using decorated tips has been complemented by a method based on inelastic electron tunneling spectroscopy (IETS). The new technique resolves the inner structure of organic molecules by mapping the vibrational energy of a single carbon monoxide (CO) molecule positioned at the apex of a scanning tunneling microscope (STM) tip. Here, we explain high-resolution IETS imaging by extending a model developed earlier for STM and atomic force microscopy (AFM) imaging with decorated tips. In particular, we show that the tip decorated with CO acts as a nanoscale sensor that changes the energy of its frustrated translation mode in response to changes of the local curvature of the surface potential. In addition, we show that high resolution AFM, STM, and IETS-STM images can deliver information about the charge distribution within molecules deposited on a surface. To demonstrate this, we extend our mechanical model by taking into account electrostatic forces acting on the decorated tip in the surface Hartree potential.