Seperating Free Energy into Potential and Kinetic Terms

We coarse-grain a Hamiltonian system H(q,p) with the function fnN mapping microstates to macrostates Q=f(q). The free energy of a macrostate can be calculated from the restricted partition function.

eF(Q,P)kBT=1hnVdqiδ(1ci(Qifi(q)))dpiδ(sci(FPijfiqjHpj))eH(p,q)kBT

Here his Planks constant, ci are the unit constant with units of Qi, and s is some the unit of time. They make the equations inside the Dirac delta functions unitless so dimensional analysis still works.

We assume a Hamiltonian in a quadratic form with respect to the momentum.

H(q,p)=12p𝐌(q)p+U(q)=12klMkl(q)pkpl+U(q)

The velocities can be caluclated as below

H(q,p)pj=kSjk(q)pk

where

𝐒(q)=12(𝐌(q)+𝐌(q))

is a symmetric matrix. Substituting for the velocities we get the below.

eF(Q,P)kBT=1hnVdqiδ(1ci(Qifi(q))))dpiδ(sci(FPijfiqjkSjk(q)pk))e12klp𝐌(q)p+U(q)kBT

The potential energy can be split out of the exponent and since it only depends on position it can be moved out of the momentum integral. And the quadratic part can be switched to use 𝐒 because p𝐒p=p𝐌p

=1hnVdqeβU(q)iδ(1ci(Qifi(q))))dpiδ(sci(FPijfiqjkSjk(q)pk))eβ(12p𝐒(q)p)

Let's assume that the free energy is also quadratic, and try to solve for 𝐑(Q) and V(Q).

F(Q,P)=P𝐑(Q)P+V(Q)

So we have the below equality.

eβ(P𝐑(Q)P+V(Q))=1hnVdqeβU(q)iδ(1ci(Qifi(q)))dpiδ(sci(lRilPljfiqjkSjk(q)pk))eβ(12p𝐒(q)p)

Substitute in the Fourier definition for the Dirac delta.

=1hnVdqeβU(q)iδ(1ci(Qifi(q)))dpi1τdkeiksci(lRilPljfiqjkSjk(q)pk)eβ(12p𝐒(q)p)

Do change of variables on the ki's to factor out the sci. So now ki has units of sci

=1hnVdqeβU(q)iδ(1ci(Qifi(q)))dpi1τcisdkeik(lRilPljfiqjkSjk(q)pk)eβ(12p𝐒(q)p)

Expand all the products out. Also let C=ici.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dpdk1dkNieiki(lRilPljfiqjkSjk(q)pk)eβ(12p𝐒(q)p)

A product of exponents becomes an exponent of sums.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dpdk1dkNeiiki(lRilPljfiqjkSjk(q)pk)eβ(12p𝐒(q)p)

Combine the exponents.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dpdk1dkNeβ(12p𝐒(q)p)+iiki(lRilPljfiqjkSjk(q)pk)
=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dpdk1dkNeβ12p𝐒p+ik(𝐑P𝐉f𝐒p)

Swap the order of integration.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNdpeβ12p𝐒p+ik(𝐑P𝐉f𝐒p)

The part the doesn't depend on the k's can be moved out.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNeik𝐑Pdpeβ12p𝐒pik𝐉f𝐒p

Do complete the squares on the exponent

β12p𝐒pik𝐉f𝐒p
=12p(β𝐒)p+(i𝐒𝐉fk)p

And assume 𝐒 is positive definite then do complete the squares

=12(pi(1β𝐉fk))(β𝐒)(pi(1β𝐉fk))121β(𝐉fk)𝐒(𝐉fk)

Then substitute it back in to get

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNeik𝐑Pdpe12(pi(1β𝐉fk))(β𝐒)(pi(1β𝐉fk))121β(𝐉fk)𝐒(𝐉fk)

The part that doesn't depend on momentum can be moved out.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNeik𝐑Pe121β(𝐉fk)𝐒(𝐉fk)dpe12(pi(1β𝐉fk))(β𝐒)(pi(1β𝐉fk))

for an arbitrary multidimensional gaussian and symmetric positive definite matrix A.

dxe12(xa)𝐌(xa)=τndet𝐌

You can show it works even if the offset a is an complex vector.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNeik𝐑Pe121β(𝐉fk)𝐒(𝐉fk)1βnτndet𝐒

Now the expression is independent of the fine grain momentum. We need to do complete the squares again.

ik𝐑P121β(𝐉fk)𝐒(𝐉fk)

Rearrange a bit.

=121βk(𝐉f𝐒𝐉f)k+i(𝐑P)k

Completing the squares yields the below.

=121β(k+iβ(𝐉f𝐒𝐉f)1𝐑P)(𝐉f𝐒𝐉f)(k+iβ(𝐉f𝐒𝐉f)1𝐑P)βP𝐑(𝐉f𝐒𝐉f)1𝐑P

Note this requires that 𝐉f𝐒𝐉f is positive definite. Substitute it back in.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))dk1dkNe121β(k+iβ(𝐉f𝐒𝐉f)1𝐑P)(𝐉f𝐒𝐉f)(k+iβ(𝐉f𝐒𝐉f)1𝐑P)βP𝐑(𝐉f𝐒𝐉f)1𝐑P1βnτndet𝐒
=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))eβP𝐑(𝐉f𝐒𝐉f)1𝐑Pdk1dkNe121β(k+iβ(𝐉f𝐒𝐉f)1𝐑P)(𝐉f𝐒𝐉f)(k+iβ(𝐉f𝐒𝐉f)1𝐑P)1βnτndet𝐒

Then do the same thing again with the Gaussian.

=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))eβP𝐑(𝐉f𝐒𝐉f)1𝐑PβNτNdet(𝐉f𝐒𝐉f)1βnτndet𝐒

This almost gives a solution for seperating the free energy, but not quite there yet.

eβ(P𝐑(Q)P+V(Q))=CτNsNhnVdqeβU(q)iδ(1ci(Qifi(q)))eβP𝐑(𝐉f𝐒𝐉f)1𝐑PβNτNdet(𝐉f𝐒𝐉f)1βnτndet𝐒

This gives a final, exact, expression of (with O being whatever units make the rightmost sqrt dimensionless)

exp(β(P𝐑(Q)P+V(Q)))=OτNhnVdqexp(βU(q)+ln(CsNOβNτNdet(𝐉f𝐒𝐉f)1βnτndet𝐒))exp(βP𝐑(𝐉f𝐒𝐉f)1𝐑P)iδ(1ci(Qifi(q)))

Seperating with additional asumptions

Let 𝐋=𝐉f(q)𝐒(q)𝐉f(q). If 𝐋 can be written solely as a function of Q instead of q, so it only depends on the coarse grain positions, then we can move it out of the integral. We can do that because it is practically constant in the integral since any time it differs the Dirac delta function removes it's contributions

exp(β(P𝐑(Q)P+V(Q)))=OτNhnexp(βP𝐑𝐋1(Q)𝐑P)Vdqexp(βU(q)+ln(CsNOβNτNdet𝐋(Q)1βnτndet𝐒))iδ(1ci(Qifi(q)))

Then a simple solution as 𝐑(Q)=𝐋(Q), and in the exponent 𝐋1(Q)𝐑(Q) (or the transpose since L symmetric.

exp(β(P𝐑(Q)P+V(Q)))=OτNhnexp(βP𝐑P)Vdqexp(βU(q)+ln(CsNOβNτNdet𝐋(Q)1βnτndet𝐒))iδ(1ci(Qifi(q)))

And the momentum contribution can be divided out on both sides.

exp(βV(Q))=OτNhnVdqexp(βU(q)+ln(CsNOβNτNdet𝐋(Q)1βnτndet𝐒))iδ(1ci(Qifi(q)))

Then just rearrange and basic algebra.

exp(βV(Q))=OτNhnCsNβNτNdet𝐋(Q)Vdqexp(βU(q)+ln(1O1βnτndet𝐒))iδ(1ci(Qifi(q)))
V(Q)=1β(ln(1τN)+ln(CsNβNτNdet𝐋(Q))+ln(OτNhnVdqexp(βU(q)+ln(1O1βnτndet𝐒))iδ(1ci(Qifi(q)))))