How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Mixed Partials, Taylor Formulae, and Extrema
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Series: Convergence and the Nonnegative Tests
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
For scalar fields on Euclidean open sets, total derivatives provide gradients and the one-variable Taylor theorems provide the analytic input along a line segment. Finite multinomial identities organize repeated directional differentiation, and Euclidean compactness supplies the uniform quadratic estimates used in the Hessian test.
The development introduces multi-index and Hessian notation, separates Peano's and Young's hypotheses for equality of mixed partials, and derives Taylor expansions with Lagrange and Peano remainders. It then treats necessary conditions for extrema, the definite-Hessian test with its semidefinite limitation, and the multiplier equation for explicitly parametrized graph constraints.
3 · Logical flowchart
4 · Definitions, theorems and proofs
maps and multi-index derivative notation in Euclidean space
Definition
Let , let be open, and let . A multi-index is . Put
Here and use the natural-number sum and product of Finite sums and finite products of natural numbers, and in , and is the factorial of The factorial and the falling factorial , defined by recursion in . By contrast, is the finite product in of Finite sums and finite products, by recursion, with the natural exponents interpreted by Integer powers . For the zero multi-index , set . For nonzero , write
for this displayed, canonical order whenever it exists. Coordinate partial derivatives have the meaning fixed in Directional derivatives and partial derivatives of a map .
For , is of class on when, for every word of coordinate indices with , the iterated derivative exists and is continuous on ; the word of length denotes . Thus this definition does not presuppose that differently ordered derivatives are equal. Equality of their values is a later theorem under these regularity hypotheses.
The Hessian matrix and critical points of a scalar field
Definition
Let be open and let have second partial derivatives. Its Hessian at is the matrix in the matrix space of The vector space of by matrices over a field, with entrywise operations, using the multi-index notation of maps and multi-index derivative notation in Euclidean space. A point is critical when its gradient is zero, with the gradient convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case.
A rectangular second difference equals a mixed partial times the side lengths
Statement
Let be a closed axis-parallel rectangle and suppose that and exist on an open neighbourhood of . If are opposite corners of a nondegenerate subrectangle of , then some strictly between and some strictly between satisfy
Facts & Assumptions
Given: The stated open-neighbourhood hypotheses and a nondegenerate subrectangle of .
After ordering its two endpoints, the one-variable mean-value theorem gives for a function continuous on the closed interval and differentiable on its interior, with strictly between the endpoints (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
Proof
Apply [L1] in the variable to . The stated existence of on an open neighbourhood gives the required one-variable regularity, and the rectangle difference is .
Apply [L1] in the variable to . Since exists on an open neighbourhood, this one-variable map is continuous on the closed interval and differentiable on its interior. This yields and proves the formula.
Peano's mixed-partial theorem from continuity of one mixed partial
Statement
Let have in a neighbourhood of , with continuous at , and let exist. Then .
Facts & Assumptions
Given: The hypotheses in the statement.
When and exist on a neighbourhood of a rectangle, its rectangular second difference is the product of the side lengths and a value of (A rectangular second difference equals a mixed partial times the side lengths).
Proof
For sufficiently small nonzero , apply [L1] to the rectangle with corners and . After division by , continuity of at makes the limit, as , equal to .
For fixed nonzero , first let in the same rectangle quotient; it becomes . Letting gives the defining quotient for .
The two limits are equal, proving .
Young's theorem: total differentiability of the first partials forces equality of mixed partials
Statement
Let be defined on a disk about , with and existing on . If and are totally differentiable at , then both mixed partials exist there and .
Facts & Assumptions
Given: The hypotheses of the statement.
Total differentiability supplies a linear approximation with an error that is little-oh of the Euclidean increment (The total (Fréchet) derivative as the linear first-order approximation with remainder).
A total derivative is linear. Restricting its defining expansion to a coordinate axis shows directly that its corresponding coordinate coefficient is the partial derivative in that coordinate (The total (Fréchet) derivative as the linear first-order approximation with remainder).
The one-variable mean-value theorem applies to a continuous restriction differentiable in the open interval; differentiability supplies the needed continuity (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with , A function differentiable at is continuous at ).
Proof
By [L1] and [L2], write and .
and analogously . Restricting the first expansion to and the second to shows that and ; in particular both mixed partials exist.
By [L3], for small nonzero , define the following rectangular difference.
Apply the mean-value theorem to on the interval with endpoints . For some between and ,
where the last equality is the first expansion of step 1.1 at and .
Apply [L3] instead to on the interval with endpoints .
For some between and ,
by the second expansion of step 1.1 at and .
Steps 2.1 and 2.2 give . Divide by and let to obtain , hence .
Clairaut--Schwarz theorem for continuous second partial derivatives
Statement
If is on an open subset of , then for every pair of coordinate indices.
Facts & Assumptions
Given: A scalar field and coordinate indices .
If exists on a neighbourhood of a point and is continuous at that point, while exists there, then the two values are equal (Peano's mixed-partial theorem from continuity of one mixed partial).
The condition supplies every ordered partial derivative of length at most two, continuously on the open set ( maps and multi-index derivative notation in Euclidean space).
Proof
At an arbitrary point, [L2] supplies on a neighbourhood and continuously there, as well as the reversed partial at the point.
Apply [L1] at an arbitrary point to obtain .
The Hessian of a scalar field is symmetric
Statement
For a scalar field , at every point .
Facts & Assumptions
Given: A scalar field and a point .
The entry of the Hessian is (The Hessian matrix and critical points of a scalar field).
Continuous second partial derivatives commute (Clairaut--Schwarz theorem for continuous second partial derivatives).
Proof
For every , [L1] and [L2] give .
Entrywise equality with the transpose proves symmetry.
Continuous mixed partials of order are invariant under permutations
Statement
Let . If for an open , then every iterated derivative of of order is unchanged by any permutation of its coordinate differentiations.
Facts & Assumptions
Given: A scalar field on and a word of coordinate indices.
Adjacent second coordinate derivatives commute under the hypotheses (Clairaut--Schwarz theorem for continuous second partial derivatives).
A field has every ordered iterated partial derivative through length , continuously on ( maps and multi-index derivative notation in Euclidean space).
Proof
Label the differentiation positions and count inversions of a permutation of these labels. A permutation with zero inversions is the identity, so it leaves the derivative unchanged.
Assume every reordering with at most inversions leaves the derivative unchanged.
A reordering with inversions has an adjacent inverted pair; exchanging that pair reduces its inversion count by one. If that pair occupies positions in the sequence of differentiation operations, first apply only the operations in positions and call the resulting field . Every ordered partial of through order two is an ordered partial of of length at most , hence is continuous by [L2]; thus and [L1] swaps precisely the operations in positions . Apply the remaining outer operations in positions to this equality; their existence is again supplied by [L2].
The induction hypothesis applies after the swap in step 2.1, so the original reordering leaves the derivative unchanged. Induction on inversion number proves the claim for every finite permutation.
Repeated derivatives along a line expand by the multinomial formula
Statement
Let , let be open, , and let be an open interval such that for every . Write for the canonical-natural map of The canonical natural of a field. For and every ,
Facts & Assumptions
Given: The stated open-domain, open-interval, , and direction hypotheses.
A function with continuous first partial derivatives near a point is totally differentiable there, and the total chain rule then applies to the affine line map (If all partial derivatives exist on a neighbourhood and are continuous at a point, then the map is totally differentiable there with Jacobian derivative, The chain rule for total derivatives: ).
Ordered mixed derivatives through order commute under permutation (Continuous mixed partials of order are invariant under permutations).
The multi-index conventions , , , and the canonical derivative are those of maps and multi-index derivative notation in Euclidean space.
The canonical-natural map carries finite natural sums and products to the corresponding real sums and products (The canonical natural of a field, Laws of finite sums and products in , and ).
Proof
For the displayed sum consists of the zero multi-index and equals .
Fix and assume the formula at order .
Each with has continuous first partials, so [L1] differentiates its composition with the affine line. By [L3], we use the canonical multi-index notation for the resulting derivatives. When the resulting first derivatives are already canonical; when , [L2] permits the resulting derivatives to be written as . By [L4], collecting the coefficient of a fixed with gives
Thus the formula at order follows. [step 1.2, L1, L2, L3, L4, algebra]
Steps 1.1--2.1 prove the formula successively for every .
The multivariable Taylor polynomial in multi-index notation
Definition
For a natural , a map with the derivatives for , and with the canonical embedding of The canonical natural of a field, the Taylor polynomial of degree at most at is
The multi-index conventions are those of maps and multi-index derivative notation in Euclidean space, and the displayed sum is the real finite sum of Finite sums and finite products, by recursion. When , this agrees with the polynomial of Taylor polynomials and their remainders.
Multivariable Taylor formula with a Lagrange remainder along a line segment
Statement
Let , let be open and convex, , and . Write for the canonical-natural map of The multivariable Taylor polynomial in multi-index notation. Then some satisfies
Facts & Assumptions
Given: The hypotheses of the statement.
Convexity keeps the segment in for (A convex subset of contains every line segment between two of its points).
On an open interval containing , the derivatives of have the multi-index expansion through order (Repeated derivatives along a line expand by the multinomial formula).
By The Lagrange and Cauchy forms of Taylor's remainder, if a one-variable function has derivatives through order on with the required endpoint continuity, then some satisfies
by the Lagrange remainder formula.
Proof
Put and . The set is open, contains by [L1], and is an interval because is convex. Hence [L2] shows that has the derivatives through order required by [L3].
Apply [L3] to between and .
Substitute the formula of [L2] for and ; the degree- part is the definition of .
Multivariable Taylor formula with remainder
Statement
Let with , let be open and convex, let , and let . Then, as with ,
Facts & Assumptions
Given: The hypotheses of the statement and small with .
By Multivariable Taylor formula with a Lagrange remainder along a line segment, applying the multivariable Lagrange formula with degree gives some such that
For every , is continuous at ( maps and multi-index derivative notation in Euclidean space).
Proof
Subtract the degree- Taylor polynomial from the equality of [L1]. The remainder is the following.
For , divide the absolute value in step 1.1 by . Since , it is bounded by the finite sum of the coefficient differences divided by . As , also , so every term tends to zero by [L2].
This proves that the remainder in step 1.1 is , and the subtracted polynomial is by The multivariable Taylor polynomial in multi-index notation.
Second-order Taylor expansion
Statement
For a scalar field near ,
Facts & Assumptions
Given: A scalar field near .
The degree-two multi-index Taylor formula has a Peano remainder (Multivariable Taylor formula with remainder).
Gradient, Hessian, and Euclidean inner-product notation are defined in The Hessian matrix and critical points of a scalar field and The Euclidean inner product on .
Proof
Expand the degree-one and degree-two multi-index sums in [L1].
The degree-one sum is , while symmetry of the repeated second derivatives identifies the degree-two sum with .
Local and strict local extrema for scalar fields on Euclidean open sets
Definition
Let be open, , and . The point is a local minimum when some Euclidean neighbourhood of satisfies for every ; it is a strict local minimum when the inequality is strict for . Local and strict local maxima reverse these inequalities. Euclidean neighbourhoods use The metric topology: a set is open when every one of its points has a ball around it inside the set; closed means open complement. A critical point is as in The Hessian matrix and critical points of a scalar field.
Fermat's theorem: an interior differentiable local extremum has zero gradient
Statement
If is differentiable at an interior local maximum or minimum , then .
Facts & Assumptions
Given: A differentiable scalar field with a local extremum at .
The one-variable Fermat theorem gives derivative zero at an interior differentiable local extremum (Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then ).
The gradient consists of the coordinate partial derivatives (The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case).
Proof
Restrict to each coordinate line through . The restriction has a local extremum at , so [L1] makes its derivative zero.
These derivatives are the entries of by [L2], so every entry vanishes.
Positive definite, negative definite, semidefinite, and indefinite quadratic forms
Definition
For a real matrix , write using The Euclidean inner product on . It is positive definite when for every , negative definite when for every , positive semidefinite when for every , negative semidefinite when for every , and indefinite when it takes both positive and negative values. For a twice differentiable scalar field, its Hessian matrix is the matrix of The Hessian matrix and critical points of a scalar field.
A definite quadratic form has a uniform signed bound on the Euclidean unit sphere
Statement
Let and let be a positive definite quadratic form on . Then some satisfies whenever . For a negative definite , some satisfies on the same sphere.
Facts & Assumptions
Given: A definite quadratic form on with .
The Euclidean norm is continuous, and a continuous map has closed preimages of closed sets (The finite and reverse triangle inequalities for a norm; and for every norm on satisfies and is Lipschitz, hence continuous, for , For a map of metric spaces the following agree: - continuity everywhere, preimages of open sets are open, preimages of closed sets are closed, sequential continuity, and ).
Heine--Borel says that a closed bounded Euclidean subset is compact (Heine-Borel in : with the Euclidean metric a subset of is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line).
A continuous real function on a nonempty compact metric space attains its extrema (A continuous real-valued function on a nonempty compact metric space is bounded and attains a greatest and a least value).
Proof
The unit sphere is nonempty because it contains , closed by [L1], and bounded since it lies in the radius-two ball about zero.
It is compact by [L2].
The finite coordinate formula for makes it continuous; [L3] therefore gives a point where attains its minimum and maximum on the sphere.
In the positive definite case the attained minimum is positive, and in the negative definite case the attained maximum is negative, by the definition of definiteness.
Taking to be the positive minimum or the negative maximum gives the asserted uniform signed bounds.
The multivariable second-derivative test by definiteness of the Hessian
Statement
Let be a critical point of a scalar field. A positive definite Hessian gives a strict local minimum, a negative definite Hessian gives a strict local maximum, and an indefinite Hessian gives neither. If the Hessian is semidefinite but not definite, the Hessian test gives no conclusion in general.
Facts & Assumptions
Given: A scalar field and a critical point .
The second-order Taylor expansion has quadratic term and remainder (Second-order Taylor expansion ).
A definite quadratic form has a uniform signed bound on the unit sphere (A definite quadratic form has a uniform signed bound on the Euclidean unit sphere).
Proof
At a critical point the linear term in [L1] vanishes.
Write with and when . The sign bound in [L2] dominates the remainder for sufficiently small .
This gives the strict minimum and maximum conclusions in the definite cases; two unit directions of opposite quadratic sign give neither extremum in the indefinite case.
For a semidefinite Hessian which is not definite, its quadratic form has a nonzero null direction, so step 2.1 supplies no signed quadratic bound. No universal conclusion is possible: at the one-variable functions , , and all have zero Hessian, but respectively have a strict local minimum, a strict local maximum, and neither.
The two-variable Hessian determinant test
Statement
Let be a critical point of a function of two variables, and put , , and . If , then gives a strict local minimum and a strict local maximum. If , there is neither. If , this test gives no conclusion.
Facts & Assumptions
Given: is a critical point of a scalar field on an open subset of .
The Hessian is symmetric (The Hessian of a scalar field is symmetric).
The second-derivative test classifies a critical point from definiteness or indefiniteness of its Hessian (The multivariable second-derivative test by definiteness of the Hessian).
Proof
By [L1], the Hessian quadratic form is . If , completing the square gives .
If , the two coefficients in step 1.1 have the sign of , so is positive definite for and negative definite for .
If and , then while , which have opposite signs; hence is indefinite. If , then , so , and has both signs for sufficiently small positive and negative .
Apply [L2] to steps 2.1 and 2.2. When and , step 1.1 makes , so it is semidefinite but not definite; when , then and , with the same conclusion (including ). Thus this is the inconclusive case of [L2].
A constrained local extremum annihilates every velocity of a differentiable parametrization
Statement
Let be differentiable at , and let be differentiable at with . If has a local maximum or minimum at , then .
Facts & Assumptions
Given: The hypotheses of the statement.
The total-derivative chain rule is (The chain rule for total derivatives: ).
A differentiable one-variable function with an interior local extremum has derivative zero (Fermat's interior extremum theorem: if has a local extremum at a point interior to its domain and is differentiable at , then ).
Proof
The composite is differentiable at by [L1], and is an interior local extremum of by the hypothesis.
Fermat's theorem gives .
The chain-rule identity in [L1] and give . Combining with step 2.1 proves the conclusion.
Lagrange multipliers for a regular graph constraint
Statement
Let and be open, let , let be differentiable at , put , and let be differentiable at . If has a local extremum at , then for given by there is such that .
Facts & Assumptions
Given: The hypotheses of the statement.
A constrained local extremum annihilates every tangent velocity of a differentiable parametrization (A constrained local extremum annihilates every velocity of a differentiable parametrization).
The gradient represents the derivative and the Jacobian records the derivative in coordinates (For a differentiable scalar field, and the unit direction of steepest ascent is the normalized gradient, The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case).
Proof
Parametrize the graph by . Since is differentiable at , is continuous there; because and are open, for every the curve is defined and lies in for sufficiently small . Apply [L1] to get .
In block gradient coordinates, step 1.1 says .
Set . Since , step 2.1 yields .
5 · Examples, counterexamples and false statements
Peano's function has unequal mixed partials at the origin
Statement refuted
Refuted: existence of both mixed partial derivatives at a point forces them to be equal.
Facts & Assumptions
Given: away from and .
Clairaut--Schwarz requires continuous second partial derivatives on a neighbourhood, not merely their existence at one point (Clairaut--Schwarz theorem for continuous second partial derivatives).
Counterexample
Proof
For , , so ; for , , hence .
For , , so ; for , , hence .
Thus the two mixed partials exist and differ, while the continuity hypothesis in [L1] fails.
Peano's surface has a strict minimum on every line through the origin but no local extremum
Statement refuted
Refuted: a strict minimum of a function on every line through a point is a local minimum.
Facts & Assumptions
Given: .
Counterexample
Proof
On a nonvertical line , , which is positive for sufficiently small nonzero when ; on it is , and on the vertical line it is .
Along the parabola , for , whereas .
Hence is a strict linewise minimum but is not a local minimum in the sense of Local and strict local extrema for scalar fields on Euclidean open sets.
A smooth flat refinement has a strict minimum on every line through the origin but no local extremum
Statement refuted
Refuted: smoothness together with a strict minimum on every line through a point forces a local minimum.
Facts & Assumptions
Given: , for , and .
The exponential dominates every polynomial at infinity (The exponential dominates every fixed nonnegative integer power at ).
Counterexample
Proof
The flat function is smooth at : every derivative is a polynomial in times off and tends to by [L1].
Along , for .
On each line , the factor is smaller than every positive power of , so for sufficiently small nonzero ; the same holds on .
Thus is smooth and linewise strictly minimal at the origin but has no local minimum there.
has a unique critical point, a strict local but nonglobal minimum
Statement refuted
Refuted: a unique critical point which is a strict local minimum must be a global minimum.
Facts & Assumptions
Given: on .
A positive definite Hessian at a critical point gives a strict local minimum (The multivariable second-derivative test by definiteness of the Hessian).
Proof
The partial derivatives are and . Their simultaneous vanishing forces .
At , , which is negative for , whereas .
At the origin the Hessian is , so [L1] makes it a strict local minimum.
Thus the unique critical point is a strict local minimum but not a global one.
The monkey saddle has an indefinite higher-order critical point
Statement
The function has a critical point with zero Hessian at the origin, but the origin is a saddle.
Facts & Assumptions
Given: .
A semidefinite but not definite Hessian is inconclusive in the second-derivative test (The multivariable second-derivative test by definiteness of the Hessian).
Proof
The gradient is , and the Hessian entries are ; both vanish at the origin.
Along the -axis, , which has positive and negative values arbitrarily near .
Hence the origin is a saddle even though its Hessian is zero, illustrating the inconclusive case [L1].
A zero Hessian occurs at a strict minimum, a strict maximum, and a saddle
Statement refuted
Refuted: a zero Hessian determines the local type of a critical point.
Facts & Assumptions
Given: , , and .
The second-derivative test gives no conclusion for a semidefinite but not definite Hessian (The multivariable second-derivative test by definiteness of the Hessian).
Counterexample
Proof
Each displayed function has zero gradient and zero Hessian at .
is positive off the origin, so the origin is a strict local minimum; is negative off the origin, so it is a strict local maximum.
The values and have opposite signs for , so the origin is a saddle.
These three different local types share the same zero Hessian, exactly as the inconclusive clause [L1] permits.
A second-order Taylor polynomial computed from gradient and Hessian data
Statement
For , the second-order Taylor polynomial at the origin is .
Facts & Assumptions
Given: .
The second-order Taylor polynomial is determined by the value, gradient, and Hessian (Second-order Taylor expansion ).
The standard algebra rules compute the displayed derivatives (Sums, scalar multiples, products and quotients: , , , and when ).
Proof
At , , , and .
Substitution into [L1] gives , namely the claimed polynomial.
Thus the computed value, gradient, and Hessian yield the stated second-order approximation.
A constrained extremum on an affine graph satisfies the graph Lagrange rule
Statement
The minimum of on the graph occurs at and satisfies with .
Facts & Assumptions
Given: and .
The graph-constraint Lagrange rule is Lagrange multipliers for a regular graph constraint .
Proof
On the graph, , so the unique constrained minimum is .
At , . Hence the multiplier equation holds with , in accord with [L1].
This explicitly realizes the graph-constraint conclusion at the constrained minimum.
The degenerate constraint defeats the multiplier conclusion
Statement refuted
Refuted: every constrained local extremum satisfies , even when the constraint gradient vanishes.
Facts & Assumptions
Given: and .
The Jacobian and gradient use the convention of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case.
Counterexample
Proof
The constraint set is the singleton , so has both a constrained local maximum and a constrained local minimum there.
At the origin, while .
No scalar can satisfy . Thus a regularity hypothesis is necessary for the usual multiplier conclusion.
Sources
Standard references
Recommended treatments; not extraction sources.