High frequency cantilevers operate based on the principle of mechanical resonance. When excited by an external force, they oscillate at their natural resonant frequency. This frequency is determined by factors such as the cantilever's material properties, dimensions, and the surrounding medium. The oscillations can be detected and analyzed to derive valuable information about the sample or environment.