Killing equation Created 2026-09-28 Updated 2026-10-14
The Killing equation tests whether a candidate vector field generates a local isometry, without needing to solve for its flow of a vector field. For the Levi-Civita connection of a metric tensor , it is
Parentheses mean averaging over the two index orders. The equation says the symmetric part of the covariant derivative vanishes, not that the entire covariant derivative vanishes. The Lie derivative of the metric tensor gives the coordinate form
The last two terms account for how tangent vectors move with the field; checking only misses this. See Carroll, section 5, equations (5.33) and (5.41)-(5.42).
For the Euclidean Killing vector field , the Euclidean metric in Cartesian coordinates makes covariant derivatives ordinary partial derivatives. Its diagonal equations give , and its mixed equation gives . Thus a varying vector field can preserve a constant metric tensor. In contrast, gives and fails the Killing equation, despite the constant metric components.
If is a coordinate basis vector, its components are constant and the coordinate form reduces to . Hence independence of the metric components from supplies a Killing vector field. This shortcut applies to that coordinate generator, not to an arbitrary varying vector field.
Lagrange multiplier Created 2026-09-24 Updated 2026-10-13
For continuously differentiable functions on an open subset of , suppose is a local extremum of subject to , with . Then a real number , the Lagrange multiplier, satisfies
The nonzero gradient assumption excludes singular points of the optimization constraint. With several equality optimization constraints, require their gradients to be linearly independent; the gradient of is then a linear combination of them. These are necessary conditions, not automatic certificates of a global maximum or global minimum.
Why can the gradient be nonzero at an optimum? In unconstrained optimization, every direction is available at an interior local extremum, so all directional derivatives vanish and . On a regular equality feasible set, only directions in its tangent space are available to first order. The gradient of must be perpendicular to those directions, so it is parallel to the gradient of . In two dimensions this explains the tangency of their level sets. See MIT, Lagrange multipliers and contour geometry.
For the product example, set and use the optimization Lagrangian
Its partial derivatives give , , and . Hence . At , : increasing both inputs would help, but is infeasible. Along the allowed direction , the directional derivative is zero. The endpoints must still be checked because of the nonnegativity optimization constraints; completing the square establishes the unique global maximum.
The sign convention matters: writing instead gives . Neither equality Lagrange multiplier has a universal nonnegativity requirement. Also, the displayed is unbounded above along , so stationarity here does not meet the global hypothesis of the Lagrangian sufficiency theorem.
The Lagrange multiplier also measures the value of extra resources. For a positive budget , the optimizer is , the optimum value is , and . At , an extra units predicts a gain of ; the exact gain is . This is the envelope theorem in a computed sensitivity analysis: the multiplier translates a binding budget constraint into a marginal benefit.
Laplacian Created 2026-09-24 Updated 2026-10-18
The Laplacian takes the divergence of a scalar field's gradient. For a real-valued function on an open region of Euclidean space, with continuous partial derivatives through order two, its expression in a Cartesian coordinate system is
Thus the Laplacian, also called the Laplace operator, adds the coordinate second derivatives; equivalently it is the matrix trace of the Hessian matrix. Its output is another scalar field.[ref]
Three original examples distinguish shape from this sum. The bowl has . The saddle instead has : opposite second derivatives cancel. It is a harmonic function, although its graph of a function is not a plane. For the Gaussian function , with , differentiation gives
Its Laplacian is negative inside the circle of radius one, zero on that circle, and positive outside it. The Gaussian function itself is positive throughout: its value and its Laplacian describe different properties.
Figure 1.
The same Laplacian measures a bowl, a saddle and a Gaussian function
. Original analytic surfaces. Height shows ; the common color scale shows , with blue negative, neutral gray zero and red positive. Vertical scales differ. The black circle on the Gaussian function is , where its Laplacian changes sign. Details.
The sum does not favor a particular orientation. Under a change of Cartesian coordinate system represented by an orthogonal matrix , the Hessian matrix becomes . The cyclic property of the trace and preserve its matrix trace. This makes the Laplacian useful when the behavior depends on spatial differences equally in every direction, rather than on the arbitrary choice of axes.
For a vector field, the Euclidean Laplacian acts separately on components expressed in a fixed Cartesian coordinate system. Components in a position-dependent basis require differentiating that basis too; applying a scalar formula separately to polar components omits those terms.[ref] The scalar formula in Laplacian in polar coordinates is valid away from ; smoothness at the origin must be handled in coordinates that remain regular there.
The Laplacian detects whether a value lies below or above nearby values, to second order. For a scalar field whose partial derivatives through order four are continuous functions, take the arithmetic mean of four equally spaced neighbors:
Applying Taylor's theorem in each coordinate cancels the first- and third-order terms between opposite neighbors. The two pairs leave
This is an asymptotic expansion, rather than an equality for arbitrary . Rearranging gives the familiar central finite difference approximation
This finite difference replaces partial derivatives by five sampled values. The arithmetic mean lies above the center for a sufficiently small if the Laplacian is strictly positive there, and below if it is strictly negative. A zero Laplacian cancels this second-order discrepancy without requiring equality of individual values.
At , the bowl has center value zero and four neighbor values , so the discrepancy is exactly . The saddle has neighbor values , whose arithmetic mean is exactly zero. For the Gaussian function the discrepancy is , agreeing with .
A harmonic function need not equal this four-neighbor arithmetic mean for a finite . The polynomial has everywhere, but . Higher-order terms remain even when the second-order terms cancel.
At a local minimum, each coordinate second derivative is at least zero, hence the Laplacian is at least zero. At a local maximum the inequality reverses. The sum alone does not characterize an extremum: cancellation at a saddle point of a scalar function can also produce zero. The local-average interpretation explains why the heat equation smooths differences, and helps motivate the heat equation maximum principle.
For planar parabolic coordinates and , the multivariable chain rule gives and . Differentiating once more and adding cancels the first partial derivatives and the mixed partial derivatives:
Consequently, on every local coordinate patch away from the origin, is a harmonic function if and only if is a harmonic function. The Laplacian changes by a positive scale factor, so solutions of the Laplace equation are preserved. The restriction away from the origin is needed to divide by the Jacobian determinant.
Leibniz integral rule 2026-10-18
For differentiable endpoints and a function with suitable continuous partial derivative in the parameter, the moving-endpoint rule is
To prove it locally, put for a fixed reference endpoint . The original integral is . Apply the chain rule, use the fundamental theorem of calculus for , and use differentiation under the integral sign for . The two boundary terms account for the moving endpoints, while the remaining integral accounts for variation of the integrand with the parameter. For improper integrals, convergence and a suitable domination condition must be verified before interchanging the derivative and integral.
Linear partial differential equation Created 2026-10-06 Updated 2026-10-14
A linear partial differential equation is a partial differential equation in which the unknown function and its partial derivatives occur linearly, with coefficients independent of the unknown. Its homogeneous solutions obey the superposition principle.
For example, the heat equation permits adding independently decaying Fourier modes. For an equation with a fixed nonzero PDE source term, adding two solutions gives , so the sum generally solves a different problem. Likewise, adding solutions adds their initial conditions and boundary conditions.
Liquid-liquid equilibrium 2026-11-05
At fixed temperature and pressure, liquid-liquid equilibrium is stable coexistence of distinct liquid thermodynamic phases that minimizes total Gibbs free energy for the specified component amounts. Their compositions can differ even though each exchanging chemical species has the same chemical potential in both phases. For neutral, nonreacting components in bulk phases at common temperature and pressure , neglecting external-field and interface-curvature contributions,
To see why, transfer an amount from phase to phase while holding the total amount of each component fixed. The change in Gibbs free energy is . If the coefficient is nonzero, one transfer direction lowers . Equality removes that driving term; stable equilibrium additionally requires a global minimum over the allowed phase arrangements. Here each chemical potential is the partial derivative of Gibbs free energy with respect to that component amount at fixed temperature, pressure and the other component amounts.[ref]
Charged species instead require equality of the corresponding electrochemical potential. Equal chemical potentials for neutral species do not require equal mole fractions. With a common pure-component reference, and , where is thermodynamic activity, an activity coefficient, and the molar gas constant. The activity equality for coexisting liquids is . Different nonideal environments can therefore support different compositions at the same chemical potential.
For a binary mixture, let be the mole fraction of component B and let be the homogeneous molar Gibbs free energy at fixed . Differentiating gives
Equality of both component chemical potentials between two compositions becomes the common-tangent construction for phase coexistence:
In this molar representation, the tangent slope is and its intercept is . Stable coexistence uses a supporting tangent lying below the homogeneous curve over all admissible compositions. This constructs the relevant convex envelope; two stationary points or equal slopes alone do not establish stability.
An original regular solution calculation makes this distinction visible. Because linear composition bias leaves coexistence compositions unchanged, subtract the linear pure-component reference and write
The dimensionless parameter penalizes unlike contacts when it is positive. Take . Symmetry makes the coexistence tangent horizontal, and the two outer solutions of give the symmetric regular-solution binodal:
These are model compositions, rather than measured hexane–water values. At overall mole fraction , the liquid-liquid tie line and lever rule give the fraction of total moles in phase :
Changing within the coexistence interval changes phase amounts while leaving the two endpoint compositions fixed. These mole-based phase fractions need not equal volume fractions.
The spinodal answers a different question: local stability of a homogeneous mixture. Here , so at the two local-stability limits are . Between them, composition fluctuations lower the bulk free energy. Between a binodal endpoint and the nearer spinodal, the homogeneous state has positive local curvature but a lower-energy phase-separated state exists: this is metastability. Thus the observed coexistence compositions are not obtained merely by setting .
Figure 1.
Original regular-solution model: the supporting tangent gives liquid coexistence, while the spinodal marks loss of local homogeneous stability.
Details.
A useful experiment measures compositions as well as the presence of layers. One hexane–water record reports overnight shaking, microsyringe sampling of the aqueous solution, and gas chromatography to measure dissolved hydrocarbon. The small dissolved amount is evidence of finite mutual solubility, consistent with liquid immiscibility over other bulk compositions.[ref] At controlled temperature, repeated sampling of both phases and checks from different initial compositions help test whether the endpoint compositions have stabilized. Critically evaluated reference systems provide a way to validate such instruments and techniques.[ref]
Mach cone Created 2026-10-14 Updated 2026-10-18
The Mach cone forms the geometric envelope of acoustic wave wavefronts from a source moving at a supersonic Mach number . In the source reference frame the ray-velocity sphere is centered at and has radius . Its tangent rays make angle to the backward flight direction; all other emitted acoustic rays lie inside that Mach cone.
The Mach cone is the geometric envelope of the spheres in moving-point acoustic wavefronts. To obtain its axial boundary without a diagram, put and impose the geometric envelope conditions and on
The partial derivative condition gives . Substituting into gives , hence
For , the Mach cone section has slope magnitude , consistent with a Mach angle of . If emission begins at a finite time, the reached region is limited by the oldest wavefront; the infinite cone describes the steady geometric boundary obtained with an indefinitely long source history. In a uniformly moving gas, advection shifts each emission's sphere by the gas velocity times its age; working with the source's relative velocity through the gas restores the same construction.
The ideal measurement calibration is a straight line through the equal-pressure zero. For the stipulated water mass density and gravitational acceleration above, its slope is per vertical millimetre. A lower liquid mass density gives a larger length change for the same pressure, improving the height-reading contribution to measurement resolution but requiring more vertical space for a given pressure range. The pressure scale depends on the actual mass density, which depends on temperature; here is a chosen model value, not an exact property of all water samples.
Figure 1.
Calculated water-column pressure scale and a two-meniscus rounding model
. The left panel is the theoretical measurement calibration for and . The right panel models two liquid meniscus heights read separately to the nearest millimetre: each rounding measurement error is assumed independently uniform between and . Their difference gives a triangular probability density function for the inferred pressure error. The bounds and standard uncertainty describe this constructed model, not observed instrument data. Details.
Suppose each liquid meniscus height is rounded to the nearest scale division . Each height measurement error lies within , so the error in their difference lies within . The resulting pressure error is bounded by . To quantify a standard uncertainty, make the additional model assumption that the two rounding errors are independent random variables, each having a continuous uniform distribution on . Each then has variance ; adding the two variances gives
Here denotes standard uncertainty. The worst-case bound and standard uncertainty answer different questions. At they are respectively and of the reading. Shared reading bias or a different reading method can violate the assumed independence.
If the mass density, gravitational acceleration and height difference also have small independent standard uncertainties, a first-order estimate follows from the partial derivatives of :
This displays why a finer scale does not remove uncertainty in mass density or gravitational acceleration. A pressure transducer compared against the column needs its own differential-pressure calibration to establish an electrical response.
Margulis–Russo formula Created 2026-09-24 Updated 2026-11-05
For an increasing Boolean function and independent Bernoulli distribution input bits of probability , define as the probability that coordinate is pivotal for an increasing event. Then, for ,
To prove it, first give each coordinate its own parameter . Conditioning on all other coordinates makes the expectation affine in , with partial derivative equal to the expected difference between the values with bit fixed to one and zero. Monotonicity makes that difference the pivotal indicator. The chain rule along yields the formula.[ref]
For example, an AND of input bits has expectation and each pivotal probability is . In the sign-coordinate p-biased product measure, instead denotes the mass at minus one: identify the increasing bit as . Keeping an increasing function of the ordered signs themselves reverses the derivative's sign. Biased squared-derivative definitions of total influence also require their stated normalization.
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 are
Thus the first partial derivatives, with the subscript recording the variables kept fixed, are
The 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 has
For 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.
Figure 1.
Ideal gas entropy slopes equal measured pressure responses to heating
. Left: entropy relative to one common reference state for a classical monatomic gas, , with . Each fixed-temperature curve gains on doubling the volume. Right: both partial derivatives, multiplied by , equal ; circles are independent finite differences of entropy, while the line is the pressure response. Details.
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, , so
Thus 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 gives
Integrating 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]
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] [ref]
Mixed partial derivative Created 2026-10-06 Updated 2026-10-14
A mixed partial derivative takes partial derivatives in different variables, for example . If both second partial derivatives are continuous in a neighbourhood, their order can be interchanged: . The chain rule transforms mixed partial derivatives under a linear change of variables by composing the corresponding first-order differential operators.
Multivariable calculus Created 2026-09-24 Updated 2026-11-05
Multivariable calculus studies derivatives and integrals of functions with several independent variables. A temperature field , for example, has partial derivatives describing coordinate-wise changes, while its gradient gives the direction and rate of steepest increase. The Fréchet derivative combines directional changes into one linear map; its coordinate representation is the Jacobian matrix.
For , the gradient is and the directional derivative along a unit vector is . The Hessian matrix describes second-order variation and, under the hypotheses of the second-derivative test, distinguishes a local minimum from a saddle point. Constrained variation leads to Lagrange multipliers and the implicit function theorem.
Multiple integrals accumulate quantities over regions, as when integrating a mass density to obtain total mass. A change of variables formula uses the absolute Jacobian determinant to account for stretching of volume. For vector fields, the fundamental theorem for line integrals, Stokes theorem and divergence theorem relate interior derivatives to boundary measurements. They extend the endpoint difference of the ordinary fundamental theorem of calculus to circulation and flux.
Multivariable chain rule 2026-10-14
For differentiable maps and , the multivariable chain rule multiplies their Jacobian matrices:
The outer matrix multiplies the inner matrix, producing an matrix. This order records that the inner linear map acts first. Componentwise, the matrix multiplication sums the contributions of all intermediate coordinates. Existence of separate partial derivatives alone is not the required differentiability hypothesis.
Newtonian gravitational stress tensor Created 2026-10-06 Updated 2026-10-14
For a Newtonian gravitational potential obeying the Poisson equation for Newtonian gravity, define . Commutation of mixed partial derivatives gives . Thus the gravitational force density can be put in conservative form as . The sign is chosen so that is added to the momentum flux; reversing the stress convention reverses the divergence sign.
Nondegenerate critical point Created 2026-09-24 Updated 2026-10-14
A critical point of a real function with continuous second partial derivatives is nondegenerate when its Hessian matrix is an invertible matrix there, equivalently when none of its eigenvalues is zero. A positive-definite matrix gives a strict local minimum, a negative definite Hessian gives a strict local maximum, and opposite-sign eigenvalues give a saddle point of a scalar function. A nondegenerate critical point need not be an extremum: has Hessian matrix , which is an invertible matrix.
Such critical points are the local building blocks of Morse theory.
For an affine plane algebraic curve , a point over an algebraic closure is nonsingular when the displayed condition holds. Its Zariski tangent space has dimension one, and a local coordinate can be chosen in the direction of a nonzero partial derivative. A smooth algebraic curve has all points nonsingular. Over a complete local field, the Hensel lemma lifts a nonsingular residue point by solving for a coordinate with unit partial derivative.
Optimization epoch 2026-10-25
A unit of work corresponding to one full pass through the components used to measure an iterative method. For coordinate descent in coordinates, count coordinate partial derivative evaluations as an optimization epoch: updates on blocks of size require updates per optimization epoch. For stochastic gradient descent on a finite sum of losses, a common different convention counts one evaluation of every loss component. The convention must be specified. Random sampling with replacement need not visit every component during one such unit of work.
Target: gradient-descent.bigb, under Gradient descent.