Second-order variational functions are quadratic response measures that describe the behavior of functions near stationary points using epi-derivatives.
They employ techniques such as second subderivatives, generalized Hessians, and coderivatives to extend classical curvature concepts to nonsmooth analysis.
Applications include stability analysis, Newton-type methods, and geometric mechanics, illustrating their impact in optimization and advanced variational problems.
Searching arXiv for recent and foundational papers on second-order variational analysis, second variation, and second-order variational functions.
A second-order variational function is a second-order object that records the quadratic response of a function, functional, or variational system around a reference primal-dual pair or stationary trajectory. In modern nonsmooth variational analysis the term is used explicitly for the second-order epi-derivative d2f(xˉ∣vˉ), defined as the epi-limit of the scaled difference quotients
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,
while in the smooth calculus of variations the analogous role is played by the second variation δ2J, a quadratic form on admissible perturbations (Hang et al., 2017, Hounkonnou et al., 2010). Across current research, the same second-order viewpoint appears through second subderivatives, coderivatives of subgradient mappings, generalized Hessians, quadratic bundles, and second-order directional or shape derivatives.
1. Core definitions and conceptual scope
The foundational nonsmooth definition starts from a proper extended-real-valued function f:Rn→(−∞,+∞], a reference point xˉ∈domf, and a subgradient vˉ∈∂f(xˉ). The second-order epi-derivative d2f(xˉ∣vˉ) is the epi-limit of the family w↦Δt2f(xˉ∣vˉ)(w) as t↓0; equivalently,
d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).
Twice epi-differentiability means that these quotients epi-converge to a proper extended-real-valued limit (Hang et al., 2017).
A parallel construction is the second subderivative
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,0
which, for composite problems Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,1, yields
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,2
when Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,3 is generalized conic-quadratic, i.e.
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,4
for a symmetric matrix Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,5 and a closed convex cone Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,6 (Ouyang et al., 2023).
For first-order generalized differentiation, the second-order object most often used is the second-order subdifferential
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,7
When Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,8 is Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,9, this collapses to the classical Hessian action δ2J0 (Mordukhovich et al., 2015). This suggests that “second-order variational function” is best understood not as a single universal formula, but as a family of equivalent or complementary second-order models whose exact form depends on whether the ambient problem is smooth, nonsmooth, set-valued, or geometric.
A more recent primal reformulation is generalized twice differentiability. A proper lower semicontinuous δ2J1 is generalized twice differentiable at δ2J2 for δ2J3 if it is twice epi-differentiable at δ2J4 and its second-order subderivative has the generalized quadratic form
δ2J5
with δ2J6 symmetric and δ2J7 a linear subspace (Khanh et al., 3 Jan 2025). This moves second-order information from coderivative language into a primal quadratic representation.
2. Classical second variation in the calculus of variations
For a δ2J8-th order variational integral
δ2J9
with f:Rn→(−∞,+∞]0, the second variation at an admissible f:Rn→(−∞,+∞]1 in direction f:Rn→(−∞,+∞]2 is
f:Rn→(−∞,+∞]3
In jet-space language this is a symmetric quadratic form f:Rn→(−∞,+∞]4, where f:Rn→(−∞,+∞]5 is the Hessian of f:Rn→(−∞,+∞]6 with respect to the jet coordinates (Hounkonnou et al., 2010).
If f:Rn→(−∞,+∞]7 is a weak local minimizer, then necessarily f:Rn→(−∞,+∞]8 for all admissible f:Rn→(−∞,+∞]9. From this one obtains the Legendre–Hadamard condition on the principal block: xˉ∈domf0
A sufficient condition for strict local minimality is a coercive lower bound on the full quadratic form, namely positivity of the jet-space Hessian against all admissible jets, which yields
In the one-dimensional first-order calculus of variations, the second variation can be reduced to
xˉ∈domf3
or, after eliminating the mixed term,
xˉ∈domf4
Under xˉ∈domf5, several classical sufficient conditions are equivalent: existence of a positive solution of the Jacobi equation xˉ∈domf6, existence of a bounded Riccati solution, coercivity of the second variation, and absence of conjugate points. A particularly practical equivalent test is to solve
xˉ∈domf7
and check that xˉ∈domf8 on xˉ∈domf9 (Hager, 2024).
This classical theory fixes the smooth template for later nonsmooth work: the second-order variational function is the curvature carrier that separates mere stationarity from minimality, coercivity, or instability.
3. Generalized Hessians and explicit nonsmooth formulas
For convex piecewise linear functions, second-order behavior is nontrivial despite piecewise affinity. If vˉ∈∂f(xˉ)0 is CPL, its epigraph is a convex polyhedron, and it admits a max-plus-domain representation with slope vectors vˉ∈∂f(xˉ)1 and domain normals vˉ∈∂f(xˉ)2. At vˉ∈∂f(xˉ)3, the domain of the second-order subdifferential is
vˉ∈∂f(xˉ)4
where vˉ∈∂f(xˉ)5 are the positive-multiplier active index sets. Under the affine-independence qualification, vˉ∈∂f(xˉ)6 is given exactly by a sum of spans and cones generated by active slope differences and active domain normals (Mordukhovich et al., 2015).
In the canonical example vˉ∈∂f(xˉ)7 at vˉ∈∂f(xˉ)8, vˉ∈∂f(xˉ)9, one gets
d2f(xˉ∣vˉ)0
and
d2f(xˉ∣vˉ)1
Thus the generalized Hessian detects curvature concentrated on the crease where active slopes switch, even though the function is affine on each side (Mordukhovich et al., 2015).
For CPWL functions in composite optimization, the second-order object also admits a finite-dimensional exact chain rule. If d2f(xˉ∣vˉ)2 with d2f(xˉ∣vˉ)3 and d2f(xˉ∣vˉ)4 d2f(xˉ∣vˉ)5, the second-order qualification condition
d2f(xˉ∣vˉ)6
is equivalent to partial nondegeneracy. Under this condition the multiplier is unique and one has the exact coderivative chain rule
d2f(xˉ∣vˉ)7
This formula is the main bridge from explicit polyhedral second-order geometry to stability theory for composite models (Mordukhovich et al., 2015).
A plausible implication is that the term “function” in “second-order variational function” should often be read structurally rather than literally: in nonsmooth problems the relevant object is frequently set-valued, with domain restrictions encoding active manifolds, faces, or critical cones.
4. Variational convexity, quadratic bundles, and strong regularity
For prox-regular functions, second-order variational analysis has been extended from local curvature tests to full characterizations of variational convexity. A function d2f(xˉ∣vˉ)8 is variationally d2f(xˉ∣vˉ)9-convex at w↦Δt2f(xˉ∣vˉ)(w)0 for w↦Δt2f(xˉ∣vˉ)(w)1 if, locally and below a truncation level w↦Δt2f(xˉ∣vˉ)(w)2, its subgradient graph agrees with that of a model w↦Δt2f(xˉ∣vˉ)(w)3 such that w↦Δt2f(xˉ∣vˉ)(w)4 is convex. Equivalently, the truncated graph of w↦Δt2f(xˉ∣vˉ)(w)5 is strongly monotone with modulus w↦Δt2f(xˉ∣vˉ)(w)6: w↦Δt2f(xˉ∣vˉ)(w)7
Under prox-regularity this is equivalent to the coderivative inequality
w↦Δt2f(xˉ∣vˉ)(w)8
and also to corresponding statements in terms of w↦Δt2f(xˉ∣vˉ)(w)9-attentive tangent cones and SC-derivatives. The exact variational convexity bound is
Generalized twice differentiability sharpens this by requiring the second-order subderivative itself to be a generalized quadratic form. For prox-bounded, t↓01-level prox-regular functions, this property is equivalent to classical twice differentiability of the Moreau envelopet↓02 at t↓03 for every t↓04, with the exact identity
For decomposable nonsmooth composite problems, these second-order objects are tied directly to Newton-type regularity. If
t↓07
the strong second-order sufficient condition is
t↓08
Under structural properties of t↓09, this SSOSC is equivalent to uniform positive definiteness of the generalized Jacobians of the normal map, to CD-regularity and BD-regularity, to strong metric regularity of the subdifferential, normal map, and natural residual, and to uniform quadratic growth or tilt-stability (Ouyang et al., 2023).
In this regime the second-order variational function is not merely diagnostic. It governs semismooth Newton convergence, identifies strong local stability, and determines when subgradient-based stationarity maps admit single-valued Lipschitz inverses.
5. Geometric, directional, and supremal forms
A distinct geometric manifestation appears in the second-order directional derivative along level sets. Let d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).0, and on a regular level curve d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).1 let d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).2 denote the positively oriented unit tangent and d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).3 the Hessian quadratic form in the tangent direction. If d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).4 is compact, connected, free of critical points, and bounded by simple closed level curves, then
d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).5
where d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).6 records the enclosure orientation of the level curves. The proof combines a co-area parametrization, the curvature identity
d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).7
and the total signed curvature formula d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).8 (Ding, 2021).
The same paper derives a companion identity for the normal-direction second derivative d2f(xˉ∣vˉ)(w)=t↓0w′→wliminfΔt2f(xˉ∣vˉ)(w′).9: Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,00
If Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,01 is harmonic, this simplifies to
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,02
Extensions are given for finitely many critical points, critical levels of measure zero, disconnected slabs, and noncompact ends (Ding, 2021).
A different higher-order variational setting is the second-order Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,03 supremal functional
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,04
with Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,05 depending on Hessian and lower-order terms. Under Carathéodory regularity, coercivity-growth in the Hessian, level-convexity in Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,06, and continuity in lower-order variables, global minimizers exist under first-order Dirichlet data; when Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,07, absolute minimizers also exist (Dutton et al., 2024).
For smooth absolute minimizers, the Aronsson-type third-order PDE is
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,08
Because this equation is third-order, non-elliptic, and the natural class is only Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,09, the paper introduces generalized D-solutions via diffuse third-order Young measures and proves existence for the Dirichlet problem (Dutton et al., 2024).
These examples show that second-order variational functions need not be restricted to local optimization tests. They also encode curvature transport along level sets, govern supremal energies, and generate nonlinear PDEs whose order exceeds the order of the original variational functional.
6. Computational, geometric, and dynamical applications
In celestial mechanics, second-order variational equations are obtained by differentiating the flow map Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,10 of the Newtonian Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,11-body problem twice with respect to parameters in the initial data. If Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,12 is the first variation and Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,13 the second, then
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,14
For gravity this leads to explicit componentwise equations for Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,15 and Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,16, with a linear part driven by the same Jacobian as the first variation and a quadratic source in the first variations. The method is implemented in REBOUND with IAS15, supports analytic initialization for masses and orbital elements, and is used for Newton’s method, RMHMC and Langevin sampling, trajectory optimization, asteroid deflection, and radial-velocity or transit-timing-variation fitting (Rein et al., 2016).
In geometric mechanics on Lie algebroids, second-order constrained variational problems are formulated on the admissible second-order bundle
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,17
with a constraint submanifold Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,18 and action
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,19
Using the Skinner–Rusk presymplectic formalism on
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,20
the dynamics is given by Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,21. Under the regularity condition
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,22
the Gotay–Nester algorithm stops at the first step and the restricted form becomes symplectic, producing a unique solution. The framework specializes to second-order Euler–Poincaré and Lagrange–Poincaré equations and is applied to optimal control of mechanical systems (Colombo, 2017).
In shape optimization, second-order shape derivatives admit a variational representation. For
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,23
with smooth convex Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,24, the second-order derivative along a deformation field Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,25 exists and has the representation
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,26
where Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,27 is expressed as an infimum of a quadratic functional involving the state Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,28, the deformation, and a quadratic form Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,29. For Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,30-torsional rigidity, Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,31, this yields an explicit boundary term plus a weighted quadratic minimization involving
Conformal geometry provides another instance in which the second-order variational function becomes an operator. For
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,33
the second variation at a critical metric takes the form
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,34
with
Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,35
For Einstein manifolds with Δt2f(xˉ∣vˉ)(w)=21t2f(xˉ+tw)−f(xˉ)−t⟨vˉ,w⟩,36 and positive scalar curvature, this yields strict local maximality within the conformal class unless the metric is the round sphere up to scaling (Guo et al., 2010).
Taken together, these applications show that second-order variational functions occupy a common structural role across optimization, stability theory, PDE, geometry, and dynamics: they are the carriers of quadratic sensitivity, the objects from which coercivity, curvature, regularity, and higher-order evolution laws are extracted.