Proof sketch: restriction to coordinate lines and the one-variable interior extremum lemma give the first-order condition; the Peano form of the second-order Taylor expansion gives the necessary condition by contradiction and, with the minimum of the quadratic form on the compact unit sphere, the sufficient condition.
Throughout, the arithmetic and order of are used through The Structure of β as a Field and an Ordered Ring (i), The Structure of β as a Field and an Ordered Ring (ii), Arithmetic and Order Rules in the Real Numbers, Stated for β (v), Arithmetic and Order Rules in the Real Numbers, Stated for β (ix), Rules of Arithmetic and Order in an Ordered Field (iii) and The Quotient 1/x, Order Rules for Sums, and Nesting of Closed Intervals in β (i); and carry the metrics and of with the Euclidean Distance Is a Complete Metric Space with Coordinatewise Convergence (i) and The Absolute Value Metric on the Real Numbers (i); and for (Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (ii)). When has a local maximum or a local minimum at relative to , we write for a radius as in Local Maximum of a Function Relative to a Subset of a Metric Space (i) or Local Minimum of a Function Relative to a Subset of a Metric Space (i).
We begin with (i). Suppose that has a local maximum at ; the case of a local minimum is the same with the inequalities reversed. Fix . Since is open, we may choose with . On the interval consider the curve
whose values lie in , since (Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v), Standard Basis Vectors of β^q: Coordinates, Orthonormality and Unit Length (iii)). The difference quotients of are all equal to , so by The Derivative of a Vector-Valued Function as a Limit of Difference Quotients in Norm (i). By the chain rule Chain Rule for Differentiable Functions Between Euclidean Spaces (iv), the function is differentiable at , and since the -th coordinate of a vector is its dot product with (Standard Basis Vectors of β^q: Coordinates, Orthonormality and Unit Length (i), The Dot Product on Is Symmetric, Bilinear and Positive Definite (i)) and the -th coordinate of is (Gradient of a Real-Valued Function on an Open Subset of (i)),
For we have , hence ; so attains a maximum over at . The derivative vanishes at such an interior maximum, so (Vanishing of the Derivative at a Local Extremum Strictly Inside an Interval (i) applies since in , with ; Vanishing of the Derivative at a Local Extremum Strictly Inside an Interval (ii) in the case of a local minimum). Thus every component of is , and by Euclidean Space : n-Tuples of Real Numbers with Their Componentwise Operations (iii).
We turn to (ii), and first to a local minimum. A function of class on is of class , hence differentiable at (Basic Properties of Cα΅ Functions (ii), Basic Properties of Cα΅ Functions (v)), so by the first part. Here by Equality of Mixed Partial Derivatives, and Symmetry and Continuity of the Hessian (ii), and by Rules for Symmetric and Positive Semidefinite Matrices: Closure, Self-Adjointness, Polarization, Congruence and Cones (i). Suppose, for a contradiction, that some satisfies
then . The choices are made in this order: first and ; then
then for this by the Peano form of the remainder, Second-Order Taylor Expansion (ii); and finally a real number with . Put . By bilinearity of the dot product and linearity of the matrix-vector product (The Dot Product on Is Symmetric, Bilinear and Positive Definite (ii), The Dot Product on Is Symmetric, Bilinear and Positive Definite (iii), Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v)), , and (Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v)). Since , the Peano bound gives and
On the other hand , so by the choice of , a contradiction. Hence for every ; that is, is positive semidefinite (Positive Semidefinite and Positive Definite Real Matrices (i)).
For a local maximum the argument is the same. If were not positive semidefinite, there would be with , that is, . Making the same choices of , and , the Peano bound now gives
which contradicts .
Finally, (iii). Suppose first that is positive definite. Here by Equality of Mixed Partial Derivatives, and Symmetry and Continuity of the Hessian (ii). We need a lower bound for the quadratic form of . Let
be the unit sphere. It is compact by The Heine-Borel Theorem in , and Compactness of Closed Balls and the Unit Sphere (iii), for the topology of open subsets of (The Open Sets of a Metric Space Form a Set, Given by a Predicative Formula (ii)), and nonempty, since . The function is continuous on (Continuous Map Between Metric Spaces (ii); given take ), because by The Operator Norm of a Symmetric Matrix: Quadratic Forms, Eigenvalues and the Semidefinite Ordering (x) and Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (vi)
By the extreme value theorem Extreme Value Theorem on a Compact Subset of a Metric Space (i) there is with for all . Put ; it is positive because and is positive definite (Positive Semidefinite and Positive Definite Real Matrices (ii)). For , writing with , we obtain (The Dot Product on Is Symmetric, Bilinear and Positive Definite (ii), The Dot Product on Is Symmetric, Bilinear and Positive Definite (iii), Algebraic Rules for Matrix Products, Matrix-Vector Products and Transposes (v), Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (v))
Now the strict minimum. The choices are made in this order: first , which depends only on ; then ; then for this by Second-Order Taylor Expansion (ii). Let with and , and put , so that (Properties of the Euclidean Norm on : Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square (iii)). Since , the Peano bound and the lower bound for the quadratic form give
So has a strict local minimum at relative to , with radius (Local Minimum of a Function Relative to a Subset of a Metric Space (ii)).
If instead is positive definite, where by Rules for Symmetric and Positive Semidefinite Matrices: Closure, Self-Adjointness, Polarization, Congruence and Cones (i), the lower bound applied to gives with for , and the same choices of and give
for every with and : a strict local maximum at relative to (Local Maximum of a Function Relative to a Subset of a Metric Space (ii)).
Loadingβ¦