Abstract: A method of detecting the distribution of values of a physical property such as the dopant concentration of a semiconductor without being adversely affected by stray capacitance is offered. A scanning probe microscope capable of implementing this method is also offered. The method starts with applying an AC voltage of angular frequency &ohgr; between a probe and a sample from a fixed oscillator. The output from the oscillator is supplied to a piezoelectric device that drives the cantilever. The cantilever produces a deflection signal corresponding to forces corresponding to interactions between the probe and sample. A signal regarding the amplitude is extracted from the deflection signal. This signal is fed back to a means for controlling the distance between the probe and sample and supplied to a display device. As a result, an image of the surface topography of the sample is obtained.