The Cole–Hopf transformation is a change of variables that allows to transform a special kind of parabolic partial differential equations (PDEs) with a quadratic nonlinearity into a linear heat equation. In particular, it provides an explicit formula for fairly general solutions of the PDE in terms of the initial datum and the heat kernel.
Consider the following PDE:where  ,
,  are constants,
 are constants,  is the Laplace operator,
 is the Laplace operator,  is the gradient, and
 is the gradient, and  is the Euclidean norm in
 is the Euclidean norm in  . By assuming that
. By assuming that  , where
, where  is an unknown smooth function, we may calculate:Which implies that:if we constrain
 is an unknown smooth function, we may calculate:Which implies that:if we constrain  to satisfy
 to satisfy  . Then we may transform the original nonlinear PDE into the canonical heat equation by using the transformation:
. Then we may transform the original nonlinear PDE into the canonical heat equation by using the transformation:

 This is the Cole-Hopf transformation. With the transformation, the following initial-value problem can now be solved:The unique, bounded solution of this system is:Since the Cole–Hopf transformation implies that  , the solution of the original nonlinear PDE is:
, the solution of the original nonlinear PDE is:
The complex form of the Cole-Hopf transformation can be used to transform the Schrödinger equation to the Madelung equation.