A derivation of the path integral is possible in a similar way as in quantum mechanics. The derivation for a Fokker–Planck equation with one variable x is as follows. Start by inserting a delta function and then integrating by parts: