MathematicalPhysicist said:
I mean if I were to cool a system from T>0, until I get T->0+, how can I come to negative temperatures?
You would not cool the system to obtain a negative temperature. You would need to prepare the system in a different way. But before attempting the feat, you would have to discard the definition of "temperature" that relates to the average kinetic energy [per degree of freedom] of the molecules in a substance and adopt a different definition.
Thermodynamics uses a definition of temperature which is more subtle than that. For ordinary everyday conditions the thermodynamic definition matches the kinetic energy definition quite well. But the thermodynamic definition extends to exotic situations where the kinetic energy definition definition ceases to behave properly.
If you had read the link I posted, you would have seen a section where the concept of temperature is defined in terms of energy and entropy. Some Wiki articles can go right over one's head, so I understand the urge to post without having fully understood the content first. However, rather than responding to this thread again immediately, please take time to examine the link I had provided. Pay particular attention to how
temperature is defined as the derivative of thermal energy with respect to entropy, ##\frac{dq}{dS}##
I like to think of the definition of thermodynamic temperature as arising from two principles. First, that heat flows from high temperature to low and second, that in a closed system, entropy always increases. [It also helps to think in terms of inverse temperature ##\frac{1}{T}##, but let us not go there now].
Suppose that we have one reservoir where removing thermal energy results in an increase in entropy. This is an exotic situation, but achievable. This reservoir has a negative temperature by the thermodynamic definition
. Suppose that we have another reservoir where adding thermal energy results in an increase in entropy. Now put the two reservoirs in thermal contact and allow heat to flow. In which direction will it flow?
If heat were to flow from normal reservoir to exotic reservoir, that would decrease the entropy of both reservoirs. That would violate the second law of thermodynamics. Instead, heat flows from the exotic reservoir to the normal reservoir, increasing the entropy of both reservoirs. Since heat flows from hotter to colder, the exotic, the negative temperature reservoir is hotter than any positive temperature.