Internal energy
Statistical mechanics 
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): S = k_B \, \ln\Omega 
Key topics 
Statistical thermodynamics Kinetic theory 
Particle Statistics 
MaxwellBoltzmann BoseEinstein · FermiDirac 
Ensembles 
Microcanonical · Canonical Grand canonical Isothermal–isobaric Isoenthalpic–isobaric 
Thermodynamics 
Gas laws · Carnot cycle · DulongPetit 
Models 
Debye · Einstein · Ising 
Potentials 
Internal energy · Enthalpy Helmholtz free energy Gibbs free energy 
Scientists

In thermodynamics, the internal energy of a thermodynamic system, or a body with welldefined boundaries, denoted by U, or sometimes E, is the total of the kinetic energy due to the motion of molecules (translational, rotational, vibrational) and the potential energy associated with the vibrational and electric energy of atoms within molecules or crystals. It includes the energy in all the chemical bonds, and the energy of the free, conduction electrons in metals.
One can also calculate the internal energy of electromagnetic or blackbody radiation. It is a state function of a system, and is an extensive quantity. The SI unit of energy is the joule although other historical, conventional units are still in use, such as the (small and large) calorie for heat.
Overview
Internal energy does not include the translational or rotational kinetic energy of a body as a whole. It also does not include the relativistic massenergy equivalent E = mc^{2}. It excludes any potential energy a body may have because of its location in external gravitational or electrostatic field, although the potential energy it has in a field due to an induced electric or magnetic dipole moment does count, as does the energy of deformation of solids (stressstrain).
The principle of equipartition of energy in classical statistical mechanics states that each molecular quadratic degree of freedom receives 1/2 kT of energy, ^{[1]} a result which was modified when quantum mechanics explained certain anomalies; e.g., in the observed specific heats of crystals (when hν > kT). For monoatomic helium and other noble gases, the internal energy consists only of the translational kinetic energy of the individual atoms. Monoatomic particles, of course, do not (sensibly) rotate or vibrate, and are not electronically excited to higher energies except at very high temperatures.
From the standpoint of statistical mechanics, the internal energy is equal to the ensemble average of the total energy of the system.
Composition
Internal energy – the sum of all microscopic forms of energy of a system. It is related to the molecular structure and the degree of molecular activity and may be viewed as the sum of kinetic and potential energies of the molecules; it is comprised of the following types of energies:^{[2]}
Type  Composition of Internal Energy (U) 

Sensible energy  the portion of the internal energy of a system associated with kinetic energies (molecular translation, rotation, and vibration; electron translation and spin; and nuclear spin) of the molecules. 
Latent energy  the internal energy associated with the phase of a system. 
Chemical energy  the internal energy associated with the atomic bonds in a molecule. 
Nuclear energy  the very large amount of energy associated with the strong bonds within the nucleus of the atom itself. 
Energy interactions  those types of energies not stored in the system (e.g. heat transfer, mass transfer, and work), but which are recognized at the system boundary as they cross it, which represent gains or losses by a system during a process. 
Thermal energy  the sum of sensible and latent forms of internal energy. 
The first law of thermodynamics
The internal energy is essentially defined by the first law of thermodynamics which states that energy is conserved:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \Delta U = Q + W + W' \,
where
 ΔU is the change in internal energy of a system during a process.
 Q is heat added to a system (measured in joules in SI); that is, a positive value for Q represents heat flow into a system while a negative value denotes heat flow out of a system.
 W is the mechanical work done on a system (measured in joules in SI)
 W' is energy added by all other processes
The first law may be stated equivalently in infinitesimal terms as:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mathrm{d}U = \delta Q + \delta W + \delta W'\,
where the terms now represent infinitesimal amounts of the respective quantities. The d before the internal energy function indicates that it is an exact differential. In other words it is a state function or a value which can be assigned to the system. On the other hand, the δ's before the other terms indicate that they describe increments of energy which are not state functions but rather they are processes by which the internal energy is changed. (See the discussion in the first law article.)
From a microscopic point of view, the internal energy may be found in many different forms. For a gas it may consist almost entirely of the kinetic energy of the gas molecules. It may also consist of the potential energy of these molecules in a gravitational, electric, or magnetic field. For any material, solid, liquid or gaseous, it may also consist of the potential energy of attraction or repulsion between the individual molecules of the material.
Expressions for the internal energy
The internal energy may be expressed in terms of other thermodynamic parameters. Each term is composed of an intensive variable (a generalized force) and its conjugate infinitesimal extensive variable (a generalized displacement).
For example, for a nonviscous fluid, the mechanical work done on the system may be related to the pressure p and volume V. The pressure is the intensive generalized force, while the volume is the extensive generalized displacement:
Taking the default direction of work, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): W , to be from the working fluid to the surroundings,
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mathrm{d} W = p \mathrm{d}V\,
.
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): p is the pressure
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): V is the volume
Taking the default direction of heat transfer, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): q , to be into the working fluid and assuming a reversible process, we have
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \delta q = T \mathrm{d}S\,
.
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): T is temperature
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): S is entropy
The above two equations in the first law of thermodynamics imply for a closed system:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mathrm{d}U = \delta q  d W = T\mathrm{d}Sp\mathrm{d}V\,
If we also incude the dependence on the numbers of paticles in the system, the internal energy function may be written as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): U(S,V,N_{1}, N_{2},\ldots) where the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): N_{j} are the numbers of particles of type j in the system. The fact that U is an extensive function when considered as a function of the variables S, V, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): N_{1}, N_{2},\ldots , we have:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): U(\alpha S,\alpha V,\alpha N_{1},\alpha N_{2},\ldots )=\alpha U(S,V,N_{1},N_{2})\,
From Euler's homogeneous function theorem we may now write the internal energy as:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): U=TSpV + \sum_{i}\mu_{i}N_{i}\,
where the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mu_{i} are the chemical potentials for the particles of type i in the system. These are defined as:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mu_i = \left( \frac{\partial U}{\partial N_i} \right)_{S,V, N_{j \ne i}}
For an elastic substance the mechanical term must be replaced by the more general expression involving the stress Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \sigma_{ij}
and strain Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \varepsilon_{ij}
. The infinitesimal statement is:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \mathrm{d}U=T\mathrm{d}S+V\sigma_{ij}\mathrm{d}\varepsilon_{ij}
where Einstein notation has been used for the tensors, in which there is a summation over all repeated indices in the product term. The Euler theorem yields for the internal energy (Landau & Lifshitz 1986):
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): U=TS+\frac{1}{2}\sigma_{ij}\varepsilon_{ij}
For a linearly elastic material, the stress can be related to the strain by:
 Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://api.formulasearchengine.com/v1/":): \sigma_{ij}=C_{ijkl} \varepsilon_{kl}
References
 Alberty, R. A. (2001). "Use of Legendre transforms in chemical thermodynamics" (PDF). Pure Appl. Chem. Vol. 73 (8): 1349–1380.
 Lewis, Gilbert Newton; Randall, Merle: Revised by Pitzer, Kenneth S. & Brewer, Leo (1961). Thermodynamics (2nd Edition ed.). New York, NY USA: McGrawHill Book Co. ISBN 0071138099.
 ^{} Landau, L. D. (1986). Theory of Elasticity (Course of Theoretical Physics Volume 7). (Translated from Russian by J.B. Sykes and W.H. Reid) (Third ed. ed.). Boston, MA: Butterworth Heinemann. ISBN 075062633X.
Notes
See also
be:Унутраная энергія cs:Vnitřní energie de:Innere Energie eo:Interna energio fa:انرژی درونی gl:Enerxía interna hr:Unutarnja energija id:Energi dalam it:Energia interna he:אנרגיה פנימית lt:Vidinė energija hu:Belső energia nl:Inwendige energie no:Indre energi nn:Indre energi simple:Internal energy sk:Vnútorná energia sl:Notranja energija fi:Sisäenergia sv:Inre energi uk:Внутрішня енергія