Heat, temperature and entropy

I have many questions concerning this topic. I know that temperature measures the tendency of an object to give up its internal energy. The transit of internal energy is called heat. I don't know if my statement is right or wrong, but temperature is related to the internal energy of an object (vibrational, translational, rotational etc..), higher the temperature, higher its internal energy. But this case is not applicable when there's a phase change, because it happens at constant temperature as the internal energy changes. As I know, if the temperature is constant, the internal energy of the object should be constant (equipartition theory). Please can somebody clarify to me where is the flaw in my reasoning?

• Don't quite follow your statements. The internal energy is not necessarily constant if the temperature is constant. You yourself pointed out the fact that this is not the case during a (1st-order) phase change. – Samuel Weir Feb 26 '16 at 0:45
• Great but equipartition theory states that the energy per degree of freedom is the equal to kb/2T so if T is constant all energy per degree of freedom should be consant thus the internal energy – Tonylb1 Feb 26 '16 at 1:07
• I'm not sure if the equipartition theorem applies to solids and liquids in general. I see it most often used to describe ideal gases in which the molecules are moving independently of one another. I think that trying to apply the equipartition theorem to condensed matter phases is pushing it too far. – Samuel Weir Feb 26 '16 at 2:32
• Great. Then how the internal energy is distributed among the degree of freedom? – Tonylb1 Feb 26 '16 at 8:44

The equipartition theorem is not a general result. It applies to systems which can be completely described by some number of quadratic degrees of freedom, in other words the energy of each particle can be written as $$E = \sum_i^N C_i x_i^2$$ where the $C_i$ are constants and the $x_i$ are independent variables, such as say the velocity or position of the particle. $N$ then gives then number of degrees of freedom.