Feynman–Kac formula
There is a beautiful connection between probability theory and partial differential equations (PDEs), given by the famous Feynman–Kac theorem. This result allows us to translate between finite-dimensional stochastic problems and infinite-dimensional deterministic problems. It appears throughout finance, physics, control theory, and machine learning (generative modeling and reinforcement learning). What makes this connection especially useful is that it works in both directions. The solution to a high-dimensional PDE (which can be very expensive to compute numerically) can be evaluated at a single point simply by simulating a random process. Conversely, a difficult question about a stochastic process can be transformed into a deterministic PDE and tackled using standard techniques. ...