Degrees of freedom (physics and chemistry)


 * For information on degrees of freedom in other sciences, see degrees of freedom. For other uses of degree, see Degree

Degrees of freedom is a general term used in explaining dependence on parameters, and implying the possibility of counting the number of those parameters. In mathematical terms, the degrees of freedom are the dimensions of a phase space.

Degrees of freedom in mechanics (physics)
In mechanics, for each particle belonging to a system, and for each independent direction in which movement is possible, two degrees of freedom are defined, one describing the particle's momentum in that direction, the other describing the particle's position along an axis defined by that direction.

Note that "degrees of freedom" has a different meaning in the context of engineering and machines.

A more general definition
In statistical mechanics, a degree of freedom is a single scalar number describing the classical micro-state of a system. The micro-state of a system is completely described by the set of all values of all its degrees of freedom.

If the system studied can be described as a set of mechanical particles, then degrees of freedom are defined in the same manner as above. Thus, a micro-state of the system is a point in the system's phase space.

It must be noted that for a system, a micro-state defined by using degrees of freedom is intrinsically a classical state. This is because for a quantum micro-state, defining a precise value of both the position and momentum of a particle violates the Heisenberg uncertainty principle. The description of a system through a set of degrees of freedom is thus only valid in the classical (or high temperature) limit of statistical mechanics.

In some cases, when the system is not appropriately described as a set of mechanical particles, other types of degrees of freedom have to be defined. For example, in the 3D ideal chain model, two angles are necessary to describe each monomer's orientation. The value of each of these angles can each be a degree of freedom.

Example: classical ideal diatomic gas


In 3D, there are 6 degrees of freedom associated to the movement of a mechanical particle, 3 for its position, and 3 for its momentum.

There are 6 degrees of freedom in total. Another way to justify this figure is to consider that the movement of the molecule will be described by the movement of the two mechanical particles representing its two atoms, and 6 degrees of freedom are attached to each particle, as above. With this alternative breakdown, it appears that different sets of degrees of freedom can be defined to describe the movement of the molecule. In fact a set of degrees of freedom for a mechanical system is a set of independent axes in the phase space of the system, and that allows the generation of the whole phase space. For a multidimensional space like phase space, there is more than one possible set of axes.

It is notable that not all degrees of freedom of the hydrogen molecule participate in the above expression of its energy. For example, those degrees of freedom associated to the position of the center of mass of the particle do not weigh in the energy.

In the table below the degrees which are disregarded are like this because of their low effect on total energy, unless they are at very very high temperatures or energies. The diatomic rotation is disregarded due to rotation about the molecules axis. Monatomic rotation is disregarded for the same reason as diatomic, but this effect continues into the other 2 directions.

Definition
The set of degrees of freedom $$X_1, \ldots, X_N$$ of a system is independent if the energy associated with the set can be written in the following form:
 * $$E = \sum_{i=1}^N E_i(X_i),$$

where $$E_i$$ is a function of the sole variable $$X_i$$.

example: if $$X_1$$ and $$X_2$$ are two degrees of freedom, and $$E$$ is the associated energy:
 * If $$E = X_1^4 + X_2^4$$, then the two degrees of freedom are independent.
 * If $$E = X_1^4 + X_1 X_2 + X_2^4$$, then the two degrees of freedom are not independent. The term involving the product of $$X_1$$ and $$X_2$$ is a coupling term, that describes an interaction between the two degrees of freedom.

Properties
If $$X_1, \ldots, X_N$$ is a set of independent degrees of freedom then, at thermodynamic equilibrium, $$X_1, \ldots, X_n$$ are all statistically independent from each other.

For i from 1 to N, the value of the ith degree of freedom $$X_i$$ is distributed according to the Boltzmann distribution. Its probability density function is the following:
 * $$p_i(X_i) = \frac{e^{-\frac{E_i}{k_B T}}}{\int dX_i \, e^{-\frac{E_i}{k_B T}}}$$,

In this section, and throughout the article the brackets $$\langle \rangle$$ denote the mean of the quantity they enclose.

The internal energy of the system is the sum of the average energies associated to each of the degrees of freedom:
 * $$\langle E \rangle = \sum_{i=1}^N \langle E_i \rangle.$$

Demonstrations
We will assume that our system exchanges energy in the form of heat with the outside, and that its number of particles remains fixed. This corresponds to studying the system in the canonical ensemble. Note that in statistical mechanics, a result that is demonstrated for a system in a particular ensemble remains true for this system at the thermodynamic limit in any ensemble. In the canonical ensemble, at thermodynamic equilibrium, the state of the system is distributed among all micro-states according to the Boltzmann distribution. If $$T$$ is the system's temperature and $$k_B$$ is Boltzmann's constant, then the probability density function associated to each micro-state is the following:
 * $$P(X_1, \ldots, X_N) = \frac{e^{-\frac{E}{k_B T}}}{\int dX_1\,dX_2 \ldots dX_N e^{-\frac{E}{k_B T}}}$$,

The denominator in the above expression plays an important role; for more details see.

This expression immediately breaks down into a product of terms depending of a single degree of freedom:
 * $$P(X_1, \ldots, X_N) = p_1(X_1) \ldots p_N(x_N)$$

The existence of such a breakdown of the multidimensional probability density function into a product of functions of one variable is enough by itself to demonstrate that $$X_1 \ldots X_N$$ are statistically independent from each other.

Since each function $$p_i$$ is normalized, it follows immediately that $$p_i$$ is the probability density function of the degree of freedom $$X_i$$, for i from 1 to N.

Finally, the internal energy of the system is its mean energy. The energy of a degree of freedom $$E_i$$ is a function of the sole variable $$X_i$$. Since $$X_1, \ldots, X_N$$ are independent from each other, the energies $$E_1(X_1), \ldots, E_N(X_N)$$ are also statistically independent from each other. The total internal energy of the system can thus be written as:
 * $$ U = \langle E \rangle = \langle \sum_{i=1}^N E_i \rangle = \sum_{i=1}^N \langle E_i \rangle$$

Quadratic degrees of freedom
A degree of freedom $$X_i$$ is quadratic if the energy terms associated to this degree of freedom can be written as:
 * $$E = \alpha_i\,\,X_i^2 + \beta_i \,\, X_i Y $$,

where $$Y$$ is a linear combination of other quadratic degrees of freedom.

example: if $$X_1$$ and $$X_2$$ are two degrees of freedom, and $$E$$ is the associated energy:
 * If $$E = X_1^4 + X_1^3 X_2 + X_2^4$$, then the two degrees of freedom are not independent and non-quadratic.
 * If $$E = X_1^4 + X_2^4$$, then the two degrees of freedom are independent and non-quadratic.
 * If $$E = X_1^2 + X_1 X_2 + 2X_2^2$$, then the two degrees of freedom are not independent but are quadratic.
 * If $$E = X_1^2 + 2X_2^2$$, then the two degrees of freedom are independent and quadratic.

Quadratic degrees of freedom in mechanics
In Newtonian mechanics, the dynamics of a system of quadratic degrees of freedom are controlled by a set of homogeneous linear differential equations with constant coefficients.

Quadratic and independent degree of freedom
$$X_1, \ldots, X_N$$ are quadratic and independent degrees of freedom if the energy associated to a microstate of the system they represent can be written as:
 * $$E = \sum_{i=1}^N \alpha_i X_i^2$$

Equipartition theorem
In the classical limit of statistical mechanics, at thermodynamic equilibrium, the internal energy of a system of N quadratic and independent degrees of freedom is:
 * $$U = \langle E \rangle = N\,\frac{k_B T}{2}$$

Demonstration
Here, the mean energy associated with a degree of freedom is:
 * $$\langle E_i \rangle = \int dX_i\,\,\alpha_i X_i^2\,\, p_i(X_i) = \frac{\int dX_i\,\,\alpha_i X_i^2\,\, e^{-\frac{\alpha_i X_i^2}{k_B T}}}{\int dX_i\,\, e^{-\frac{\alpha_i X_i^2}{k_B T}}} $$
 * $$\langle E_i \rangle = \frac{k_B T}{2}\frac{\int dx\,\,x^2\,\, e^{-\frac{x^2}{2}}}{\int dx\,\, e^{-\frac{x^2}{2}}} = \frac{k_B T}{2} $$

Since the degrees of freedom are independent, the internal energy of the system is equal to the sum of the mean energy associated to each degree of freedom, which demonstrates the result.