Hessian matrix Created 2026-09-24 Updated 2026-10-14
The Hessian matrix describes how the slope of a function changes in different directions. For a real-valued function with continuous second partial derivatives on an open subset of , it isThe symmetry of second derivatives makes a symmetric matrix under these hypotheses. It is also the Jacobian matrix of the gradient: near , a small displacement changes by . Thus the gradient measures the current slope, while the Hessian measures its local variation. [ref]
For example, take the quadratic formIts gradient and Hessian matrix areThe only critical point is the origin. Completing the square gives , so the origin is a strict global minimum. The eigenvalues and are both positive, recovering the same conclusion from the positive definiteness of the Hessian. Its eigenvectors identify the rotated directions in which the quadratic form has its smallest and largest bending.
For a fixed vector , restriction to a straight line gives the directional interpretationThis is the quadratic form associated with the Hessian matrix. For a unit eigenvector , it equals the corresponding eigenvalue. Opposite signs therefore mean that some directions bend upwards and others downwards. The second-derivative test turns this information into a classification when the gradient vanishes.
The same object is useful for computation. Newton's method in optimization chooses a displacement by solving when the Hessian matrix is an invertible matrix; this makes the gradient of the local quadratic model vanish. For the displayed , the equation gives , so one exact step reaches the minimum from any starting point. For a general function, a Hessian with opposite-sign eigenvalues or a large condition number need not give a useful minimizing step, and the local minimum need not be a global minimum.
The name honors Otto Hesse. [ref]
https://web.mit.edu/course/other/wwmath/vectorc/minmax/hessian.html. MIT World Web Math: the Hessian and its namesake
An older geometric use is the Hessian criterion for flexes of a plane cubic, connecting a determinant of second partial derivatives with inflection points of an algebraic curve. Hesse's 1844 paper Über die Wendepuncte der Curven dritter Ordnung is an early source on that geometric problem. [ref]https://www.degruyterbrill.com/document/doi/10.1515/crll.1844.28.97/html. Hesse (1844), Journal für die reine und angewandte Mathematik 28, pp. 97–107: publisher's bibliographic record
Maxwell relations 2026-10-14
Maxwell relations turn pressure, volume and temperature measurements into information about entropy. For example, the pressure rise when heating a rigid sealed vessel determines the entropy change when expanding the same sample isothermally:The quantities on the two sides describe different experiments, yet both are mixed partial derivatives of one Helmholtz free energy. This is the useful surprise: a mechanical measurement can reveal a thermal property. Similarly, the coefficient of thermal expansion gives . [ref]
For a simple compressible system, hold particle number and composition fixed, and allow only pressure-volume work. Write for internal energy, for enthalpy, for Helmholtz free energy, and for Gibbs free energy. Their natural-variable differentials areThus the first partial derivatives, with the subscript recording the variables kept fixed, areThe symmetry of second derivatives produces all four standard Maxwell relations, including their signs:For a brief derivation of the relation, differentiate with respect to and with respect to : . Each other row follows in the same way. Assume continuous second partial derivatives of the relevant thermodynamic potential in the region considered. At a phase transition, the equilibrium potential may lose this smoothness; apply the identities within each smooth thermodynamic phase, and handle latent heat and phase coexistence separately. If particle numbers vary, the potential differentials acquire chemical potential terms, so the fixed- constraints must remain explicit. [ref]
For an ideal gas with fixed , the ideal gas law gives . At fixed volume, heating changes the pressure at rate . Consequently an isothermal expansion at positive temperature hasFor one mole with and , this is . At , a reversible isothermal expansion absorbs and performs equal work, since its internal energy is unchanged. The entropy difference is a state function difference: the same equilibrium endpoints give the same in an insulated free expansion, although there and the process is irreversible.
The same Maxwell relations let thermal measurements determine the difference between constant-pressure and constant-volume heat capacities. In a smooth single thermodynamic phase,using heat capacity at constant volume, heat capacity at constant pressure, coefficient of thermal expansion and isothermal compressibility. Along fixed pressure, , soThus measured expansion and compression responses determine a heat capacity difference without measuring both heat capacities separately. They do not determine the absolute heat capacities or absolute entropy by themselves; an independent thermal measurement supplies that missing information. For an ideal gas, and reduce the result to , which is Mayer's relation.
When the necessary higher partial derivatives exist and commute, differentiating the Maxwell relations once more also givesIntegrating these slopes determines how a heat capacity changes with volume or pressure at fixed temperature. For an ideal gas, both right-hand sides vanish because the ideal gas law is linear in temperature at either fixed volume or fixed pressure. Consequently and depend only on temperature at fixed , although they need not be constant in temperature. [ref]
https://davidtong.org/teaching/statistical-physics/statmechhtml/S4#S4.SS4.SSS2. Tong, section 4.4.2: heat-capacity changes from thermal pressure and volume curves
Historically, James Clerk Maxwell's Theory of Heat, first published in 1871, presents these connections using the geometry of isothermal processes and reversible adiabatic processes. His fourth edition, page 167, explicitly relates expansion on heating at fixed pressure to heat emitted during an isothermal compression: the modern relation gives . This explains why a substance with positive coefficient of thermal expansion emits heat when compressed isothermally, whereas one with negative coefficient absorbs it. [ref]
https://www.cambridge.org/core/books/theory-of-heat/7052E2DAA4CD862126D5105ABBFFAD0F/listing. Maxwell, Theory of Heat, publication record and chapter IX
[ref]https://en.wikisource.org/wiki/Page:Theory_of_Heat,_James_Clerk_Maxwell,_Fourth_Edition.djvu/183. Maxwell, Theory of Heat, fourth edition, page 167
The product rule and chain rule first giveDifferentiating the first expression with respect to yields ; differentiating the second with respect to gives exactly the same polynomial factor. ThusThis also follows from symmetry of second derivatives, since all derivatives of this function are continuous everywhere.
If with continuous second partial derivatives of , then and . The symmetry of second derivatives gives the necessary condition for an exact differential form:This condition is also locally sufficient on a small rectangle for continuously differentiable coefficients; global sufficiency additionally needs suitable topology of the domain.
If with continuous second partial derivatives of , then , . The symmetry of second derivatives requiresThis is a necessary condition for an exact differential. With continuously differentiable coefficients it is also locally sufficient, and is globally sufficient on a simply connected open domain; a domain with holes can require additional global information.
Apply once more. The chain rule and symmetry of second derivatives giveHere and in the next part the second partial derivatives are understood with the usual smoothness required for this partial differential equation.
Write . The inverse coordinate formulas and are valid because . The multivariable chain rule givesApplying these operators twice and using the symmetry of second derivatives,Thus the wave equation is equivalent toFor each fixed , the partial derivative has zero derivative with respect to , so it is a function of alone. Taking an antiderivative in gives , where the integration constant may depend on . HenceConversely, direct partial differentiation verifies the wave equation for every twice differentiable pair . The two terms describe profiles moving left and right respectively at wave speed along the characteristic lines for the one-dimensional wave equation.
Radial curl of angular gradient fields 2026-10-20
Let be the tangential surface gradient on a sphere of radius . For smooth scalar fields, set . Its radial curl detects only :To prove this, use the radial curl formula . The radial component never enters it. The terms cancel as by symmetry of second derivatives, while the terms give the unit-sphere Laplace-Beltrami operator. Taking the dot product with the position vector gives the displayed version. This tangential gradient decomposition does not assert that the whole vector field is solenoidal.

