# Why did the sun get hot?

**URL:** <https://boards.straightdope.com/t/why-did-the-sun-get-hot/677684>\
**Category:** Factual Questions\
**Created:** [January 2, 2014, 5:48am UTC](https://boards.straightdope.com/t/why-did-the-sun-get-hot/677684 "2014-01-02T05:48:18Z")\
**Posts on this page:** 2\
**Page:** 3

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [January 4, 2014, 4:00pm UTC](https://boards.straightdope.com/t/why-did-the-sun-get-hot/677684/41 "2014-01-04T16:00:08Z")

</div>

> [@](#):
>
> Quoth **Dr. Strangelove** :
> 
> This is a bit old, but as far as I can tell hasn’t been invalidated since then.

I stand corrected.

---

<div class="post-metadata">

**Author:** ![Machine\_Elf](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Machine\_Elf](https://boards.straightdope.com/u/Machine_Elf)\
**Post date:** [January 4, 2014, 5:37pm UTC](https://boards.straightdope.com/t/why-did-the-sun-get-hot/677684/42 "2014-01-04T17:37:53Z")

</div>

> [@CookingWithGas](#):
>
> I won’t try to argue the point, but then what is going on when a hot gas is allowed to expand? When I spray my compressed air can that sucker gets cold. Is the heat used to do work on the escaping gas?

When a gas is allowed to expand, it’s pushing against its surroundings, Those surroundings may be the atmosphere, or maybe the piston of an engine. In either case, they do mechanical work via that pushing: the weighty atmosphere gets lifted upward just a tiny bit, or the piston drives a crankshaft that pushes your car forward.

Your can of “compressed air”, by your description, sounds like [Dust Off,](http://www.amazon.com/Dust-Off-Compressed-Duster-each/dp/B003X242PQ/ref=sr_1_1?ie=UTF8&qid=1388856686&sr=8-1&keywords=canned+air) or something similar. This is more complicated, and doesn’t have quite as much to do with mechanical work. The can is filled with a substance, some of which is a liquid and some of which is a gas, all stored under pressure. When you squeeze the valve, the gas escapes, and the liquid begins to boil, creating more gas. This is essentially evaporative cooling: when the pressure inside the can is decreased, the hottest molecules of liquid transform into a gas and escape through the valve, leaving the coldest molecules of the liquid behind. Keep spraying, and eventually the liquid gets so cold that there aren’t very many molecules of it that are hot enough to become gas anymore - and the jet of escaping gas becomes less intense.

For a more clear-cut and simple case of expanding gas cooling off, take a filled car tire and remove the valve core. Come back in thirty seconds when the air has escaped completely; you’ll find that the valve stem is very cold to the touch. In some cases, it may even develop condensation or frost on the outside of it.

[Previous page](https://boards.straightdope.com/t/why-did-the-sun-get-hot/677684.md?page=2)
