Start with the definition of action across some path where is the Lagrangian density.
From the principle of least action the path should be a minimum, so the variational derivative should be zero given an perturbation that preserves the same start and end points so
Assume we can swap the derivative and integral.
Create a dummy value.
See these are just definitions for partial derivaitves (gradients).
Integrate by parts on left side.
Remember .
Since this must be true for arbitrary
which is the Euler Lagrange equation. Next we define a Hamiltonian where , usually interpreted as momentum.
So we get Hamiltons equations.
We start with some probability distribution in the phase space of the Hamiltonian .
The probability distribution evolves by the continuity equation.
Here
In equilibrium the probability distribution at every point in phase space shouldn't change.
Simple chain rule.
Substitute in Hamiltons equations.
Next, we say that the probability distribution is a function only of the total energy, so . This means that
That assumption creates a solution to the continuity equation. Now in the microcanonical ensemble (NVE) we say the total energy is known, so the only possibility for is a uniform distribution over the selected energy level.
This equation is the principle of equal a priori for the equilibrium in a closed system.
Define the number of states accessable by a system with degrees of freedom at energy to be the below.
Next split the degrees of freedom into the "bath" and "system". Let the degrees of freedom for the bath be and the degrees of freedom for the system .
In the Canonical ensemble the combined energy of the bath and system should be constant. The combination of the two makes a microcanonical ensemble.
The total accessable states with an energy should be the total number combined number of states the bath and system can be in that sum to that energy.
And in the microcanonical ensemble all microstates with the correct energy have an equal probability density.
We can calculate the probability density of just the microstate for the system.
Take the natural log of both sides
Then we expand the logarithm to its Taylor series.
We set , , and we get the following expression.
In the limit that approaches so that becomes small in comparison, the bath becomes a microcanonical ensemble and the entropy of the bath
And by definition .
Then if we assume the heat capacity of the bath is infinite so that we can remove the extra terms.
Then exponentiate both sides.
And the denominator is just a normalizing factor so the final expression is below.
We assume a time evolution of a system of the Schrodinger equation for some Hamiltonian operator.
To measure an observable when the stat is known is
but if there is a probability distrubition over some states then it is below.
If we have an orthanormal basis so that we can insert it into the equation.
If we define an operator
then the expected value of any observable is
Next we find the time evolution of .
Then substitute the Schrodinger equation
So it must be that for equilibrium they commute
Similar to the classical case, if we have the be only a function of the energy for each eigenvector of the Hamiltonian, the system will be in equilibrium. Since observables are Hermetian, an orthogonal eigenbases must exist. Each operator will be defined in the eigenbasis.
We can show they commute
So the quantum microcanonical ensemble must have a density matrix of the form
where the 's are eigenvectors of the Hamiltonian. Since the energy is known, it must be a uniform distribution over all eigenstates with that energy
TODO