An analytical model is developed of the interaction of the cantilever tip of an atomic force microscope with the sample surface that treats the cantilever and sample as independent systems coupled by a nonlinear force acting between the cantilever tip and a volume element of the sample surface. To maintain equilibrium, the volume element is subjected to a restoring force from the remainder of t...