Question: what is the relationship between temperature and height in the thermosphere?
Answer: Hotter, lighter atoms/molecules will reach higher altitudes in the thermosphere, and EUV & x-ray energy from the Sun starts being felt. Thus the temperature rises with altitude, but this is highly variable. The exosphere is reached when the individual molecules and atoms are no longer colliding with each other.