← All notes

How the first law of thermodynamics relates heat, work, and internal energy

Answer: The first law applies conservation of energy when heat and work move energy in or out of a system. Internal energy is a state variable, like temperature or pressure.

Heat, work, and internal energy

How heat transfer is converted into doing work is a case where the conservation of energy principle matters. The first law applies that principle to systems where heat transfer and doing work are the ways energy enters or leaves.

In this statement, a system's internal energy changes by the net heat that enters minus the net work the system does. That internal energy is a different form of energy from heat or from work.

A state variable, not a path

Thermodynamics studies the energy and work of a system at a scale we can observe and measure. Small-scale collisions in a gas are left to kinetic theory.

Internal energy depends on the state of the system, just as temperature and pressure do. The first law is what defines that stored energy from heat in and work out.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: OpenStax College Physics, 15.1 The First Law of Thermodynamics; NASA Glenn Research Center, Thermodynamics. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax College Physics, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (NASA Glenn Research Center). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: OpenStax College Physics, 15.1 The First Law of Thermodynamics; NASA Glenn Research Center, Thermodynamics. CC-BY-4.0 (https://creativecommons.org/licenses/by/4.0/). OpenStax College Physics, Creative Commons Attribution License 4.0. US government work, public domain (https://www.usa.gov/government-works). Work of the U.S. government (NASA Glenn Research Center).

Cite this

Permanent ID: iil:note:a828vcvb

iinventedlight. 2026. "How the first law of thermodynamics relates heat, work, and internal energy." iinventedlight Library, iil:note:a828vcvb, version of 2026-11-27. https://iinventedlight.com/library/notes/the-first-law-of-thermodynamics/. License: CC-BY-4.0.

@misc{iil_note_a828vcvb,
  author = {{iinventedlight}},
  title = {{How the first law of thermodynamics relates heat, work, and internal energy}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-27},
  url = {https://iinventedlight.com/library/notes/the-first-law-of-thermodynamics/},
  note = {Permanent ID iil:note:a828vcvb. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/the-first-law-of-thermodynamics.md.