Internal energy, denoted by \$U\$, is the total energy stored inside a system.
It comes from two sources:
Because the molecules are moving and interacting in a random way, \$U\$ can be written as a sum over all molecules:
\$U = \sumi \frac{1}{2} mi vi^2 + \sum{i
A state function depends only on the current state of the system, not on how it got there.
Think of it like the current temperature of a cup of tea – it tells you the tea’s state, no matter whether it was boiled, cooled, or stirred.
Key point: The path taken (how you changed the state) does not matter for \$U\$.
Picture a crowded dance floor:
Just like the dance floor’s excitement depends on how many dancers and how they interact, a gas’s internal energy depends on the number of molecules and their interactions.
When you heat tea, you add heat energy \$Q\$.
Some of that energy increases the kinetic energy of the water molecules (raising the temperature), and some changes the potential energy as the molecules move slightly farther apart.
The total change in internal energy is:
\$\Delta U = Q - W\$
(where \$W\$ is work done, e.g., by the tea expanding against atmospheric pressure).
Internal energy is the sum of all random kinetic and potential energies of molecules.
It is a state function, so it depends only on the current state (temperature, pressure, volume) and not on how the system arrived there.
Use the first law of thermodynamics to relate changes in internal energy to heat added and work done.