Goal:  This lecture is dedicated to a classical model in disordered systems: the directed polymer in random media. It has been introduced to model vortices in superconductur or domain wall in magnetic film. We will focus here on the algorithms that identify the ground state or compute the free energy at temperature T, as well as, on the Cole-Hopf transformation that map this model on the KPZ equation.  
Polymers, interfaces and manifolds in random media
We consider the following potential energy
  
The first term represents the elasticity of the manifold and the second term is the quenched disorder, due to the impurities. In general, the medium is D-dimensional, the internal coordinate of the manifold is d-dimensional and the height filed is N-dimensional. Hence,the following equations always holds:
  
In practice, we will study two cases:
- Directed Polymers ( ), ), . Examples are vortices, fronts... . Examples are vortices, fronts...
- Elastic interfaces ( ), ), .  Examples are domain walls... .  Examples are domain walls...
Today we restrict to polymers. Note that they are directed because their configuration  is uni-valuated. 
It is useful to study the model using the following change of variable
 is uni-valuated. 
It is useful to study the model using the following change of variable
  
Directed polymers
Dijkstra Algorithm and transfer matrix
 
  Sketch of the discrete Directed Polymer model. At each time the polymer grows either one step left either one step right.  A random energy 

 is associated at each node and the total energy is simply 
![{\displaystyle E[x(\tau )]=\sum _{\tau =0}^{t}V(\tau ,x)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/93b0356dd1c49f25c798e141e27a40d486be2bfe)
.
We introduce a lattice model for the directed polymer (see figure). In a companion notebook we provide the implementation of the powerful Dijkstra algorithm.
Dijkstra allows to identify the minimal  energy among the exponential number of  configurations  
 ![{\displaystyle E_{\min }=\min _{x(\tau )}E[x(\tau )].}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ad4cafbe3be352ced3ba5e55c5236b8c4444833f) 
We are also interested in the ground state configuration   .
For both quantities we expect scale invariance with two exponents
.
For both quantities we expect scale invariance with two exponents   for the energy and for the roughness
 for the energy and for the roughness 
 
Universal exponents:  Both   are  Independent of the lattice, the disorder distribution, the elastic constants, or the boudanry conditions.  Note that
 are  Independent of the lattice, the disorder distribution, the elastic constants, or the boudanry conditions.  Note that   , while for an interface
, while for an interface  .
. 
Non-universal constants:   are of  order 1 and depend on the  lattice, the disorder distribution, the elastic constants... However
  are of  order 1 and depend on the  lattice, the disorder distribution, the elastic constants... However   is independent on the boudanry conditions!
 is independent on the boudanry conditions!
Universal distributions:   are instead universal, but depends on the boundary condtions.  Starting from 2000 a magic connection has been revealed between this model and the smallest eigenvalues of random matrices. In particular I discuss two different boundary conditions:
 are instead universal, but depends on the boundary condtions.  Starting from 2000 a magic connection has been revealed between this model and the smallest eigenvalues of random matrices. In particular I discuss two different boundary conditions:
- Droplet:  . In this case, up to rescaling, . In this case, up to rescaling, is distributed as the smallest eigenvalue of a GUE random matrix (Tracy Widom distribution is distributed as the smallest eigenvalue of a GUE random matrix (Tracy Widom distribution ) )
-  Flat:  while the other end while the other end is free. In this case, up to rescaling, is free. In this case, up to rescaling, is distributed as the smallest eigenvalue of a GOE random matrix (Tracy Widom distribution is distributed as the smallest eigenvalue of a GOE random matrix (Tracy Widom distribution ) )
Entropy and scaling relation
It is useful to compute the entropy
 
From which we infer 
 
Back to the continuum model
Let us consider polymers  of length
  of length   , starting in
, starting in   and ending in
  and ending in  and at thermal equlibrium at   temperature
 and at thermal equlibrium at   temperature  . The partition function of the model writes as
. The partition function of the model writes as 
 ![{\displaystyle Z(x,t)=\int _{x(0)=0}^{x(t)=x}{\cal {D}}x(\tau )\exp \left[-{\frac {1}{T}}\int _{0}^{t}d\tau {\frac {1}{2}}(\partial _{\tau }x)^{2}+V(x(\tau ),\tau )\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6be96d05745484d7b16302f05367c4eb5d7e577a) 
We remark that the energy of the polymer is equivalent to the euclidean action of a particle. Indeed  is the imaginary time. Hence, the term
 is the imaginary time. Hence, the term   is the kinetic energy  and
  is the kinetic energy  and  is a time dependent potential. For simplicity, we assume a white noise,
 is a time dependent potential. For simplicity, we assume a white noise,  .
.
Within this analogy, ![{\displaystyle Z[x,t]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/4dc088e402a78e9e038aa9963e438775c21801da) , is the propagator of a quantum particle, but in the imaginary time (as
, is the propagator of a quantum particle, but in the imaginary time (as  is replaceed by Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1/T \int d \tau}
). Hence, in absence of disorder we recover the diffusion propagator of the free particle.
 is replaceed by Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1/T \int d \tau}
). Hence, in absence of disorder we recover the diffusion propagator of the free particle.
 Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle  Z_{\text{free}}(x,t)=\frac{e^{-x^2/(2Tt)}}{\sqrt{2Tt}} }
Feynman-Kac foruma
Let's derive the Feyman Kac formula for  Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle Z(x,t)}
 in the general case:
- First, focus on free paths and introduce the following probability
Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle  P[A,x,t] =\int_{x(0)=0}^{x(t)=x} {\cal D} x(\tau) \exp\left[- \frac{1}{T} \int_0^t d \tau \frac{1}2(\partial_\tau x)^2 \right] \delta\left(   \int_0^t d \tau V(x(\tau),\tau)-A \right) }- Second, the moments generating function
![{\displaystyle Z_{p}(x,t)=\int _{-\infty }^{\infty }dAe^{-pA}P[A,x,t]=\int _{x(0)=0}^{x(t)=x}{\cal {D}}x(\tau )e^{-{\frac {1}{T}}\int _{0}^{t}d\tau {\frac {1}{2}}(\partial _{\tau }x)^{2}-p\int _{0}^{t}d\tau V(x(\tau ),\tau )}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1885474c9341a40c8425bb85c74e2d2a729a6481) 
- Third, the backward approach. Consider free paths evolving up to  and reaching and reaching : :
![{\displaystyle Z_{p}(x,t+dt)=\left\langle e^{-p\int _{0}^{t+dt}d\tau V(x(\tau ),\tau )}\right\rangle =\left\langle e^{-p\int _{0}^{t}d\tau V(x(\tau ),\tau )}\right\rangle e^{-pV(x,t)dt}=[1-pV(x,t)dt+\dots ]\left\langle Z_{p}(x-\Delta x,t)\right\rangle _{\Delta x}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/659587065d60f0bcb2c48d781b4b821c7df0f61c) 
Here   is the average over all free paths, while
 is the average over all free paths, while   is the average over the last jump, namely
 is the average over the last jump, namely    and
 and   .
.
- At the lowest order we have
![{\displaystyle Z_{p}(x,t+dt)=Z_{p}(x,t)+dt\left[{\frac {T}{2}}\partial _{x}^{2}Z_{p}-pV(x,t)Z_{p}\right]+O(dt^{2})}](https://wikimedia.org/api/rest_v1/media/math/render/svg/11e65c7a62690cd4ccb01e09dc7d89b085fe5013) 
Replacing  we obtain the partition function is the solution of the Schrodinger-like equation:
 we obtain the partition function is the solution of the Schrodinger-like equation:
  
The initial condition is  ![{\displaystyle Z[x,t=0]=\delta (x)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/15bd2a9778d169e8d06c4b1fe135e85325cdf4df) . 
This equation is a diffusive equation with multiplicative noise. The EW of the previous lecture is a diffusive equation with additive noise. The Cole Hopf transformation allows to map the diffusive equation with multiplicative noise in a non-linear equation with additive noise: the KPZ euqation. Hence, all KPZ results can be used for the directed polymer.
. 
This equation is a diffusive equation with multiplicative noise. The EW of the previous lecture is a diffusive equation with additive noise. The Cole Hopf transformation allows to map the diffusive equation with multiplicative noise in a non-linear equation with additive noise: the KPZ euqation. Hence, all KPZ results can be used for the directed polymer.
Cole Hopf Transformation
Replacing 
 
![{\displaystyle Z[x_{t},t;0,0]=\exp \left({\frac {\lambda }{2\nu }}h(x,t)\right)}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5ed324c3eb2562aec565cd497c3824a5ea959bea) 
 
You get
  
The KPZ equation! We can establish a KPZ/Directed polymer Dictionary
Dictionary
| KPZ | KPZ exponents | Directed polymer | Directed polymer exponents | 
|  |  |  |   | 
|  |  |  |  | 
|  |  |  |   | 
Here  is the free energy of the directed polymer. At low temperature, the free energy approaches the ground state energy,
 is the free energy of the directed polymer. At low temperature, the free energy approaches the ground state energy,  . This dictionary is valid in any dimension. We conclude that
. This dictionary is valid in any dimension. We conclude that 
  
Moreover, the scaling relation  is a reincarnation of the Galilean invariance
 is a reincarnation of the Galilean invariance  .
.