Definition: Degree of Freedom
Given a parameterisation of a physical system, the number of degrees of freedom is the smallest number of parameters whose values need to be known in order to always be able to determine the values of all parameters in the chosen parameterisation.
In this case, any set of such parameters are called degrees of freedom.
EXAMPLE
If we parameterise a molecule floating in free space only by position, i.e. its coordinates In this parameterisation, we have degrees of freedom, since is the smallest number of parameters needed to determine all parameters - you cannot use a single coordinate to calculate the others and you cannot use just coordinates to calculate the third.
Similarly, if we parameterise it only by its velocity, then its velocity components are degrees of freedom since they are independent of each other.
EXAMPLE
One possible parameterisation of a gas is through its pressure , temperature , volume and number of particles . It can be proven that the gas satisfies the following law, where is a known constant:
Even though we have parameters - - we have only degrees of freedom, since the above law can be used to determine the value of the -th parameter if we know the values of the other three.