For an affine function and for half a bilinear form the first- and second-order expansions are exact identities, with remainder and respectively; the squared distance is decomposed into such a form and an affine function and handled by the algebra of derivatives.
Throughout, is open in , as noted in the statement, and we use that for , since by Bounded Symmetric Bilinear Forms on a Real Inner Product Space: Norm, Order, Identity Form and Restriction (ii) it is the greatest lower bound of a set of nonnegative real numbers, of which is a lower bound.
Claim 1. For , condition (b) of Real Inner Product Spaces (i) read through the symmetry there, that is Elementary Identities in a Real Inner Product Space (i), gives , so
Since for every positive and every , by claim 5 of Elementary Arithmetic in an Ordered Field, any positive witnesses the condition of Fréchet Differentiability and the Gradient on an Open Subset of a Real Inner Product Space (i); hence is differentiable at every with gradient . The gradient map is constant, hence continuous on , so by The Classes and on an Open Subset of a Real Inner Product Space (i). Moreover, for any positive and all ,
by Elementary Identities in a Real Inner Product Space (ii), so any positive witnesses the condition of The Second Derivative and the Hessian on an Open Subset of a Real Inner Product Space (i) and is a second derivative of at . The Hessian map is constant, hence continuous, so by The Classes and on an Open Subset of a Real Inner Product Space (ii).
Claim 2. Write . For , the additivity and symmetry of Bounded Symmetric Bilinear Forms on a Real Inner Product Space: Norm, Order, Identity Form and Restriction (i) give
so that, multiplying by and using from The Bounded Symmetric Operator Represented by a Bounded Symmetric Bilinear Form on a Real Hilbert Space (i),
By Elementary Properties of Bounded Symmetric Bilinear Forms: Norm, Quadratic Form, Order and Continuity (ii) and claims 1 and 4 of Properties of the Absolute Value in an Ordered Field, , where ; here is nonnegative by claim 5 of Elementary Arithmetic in an Ordered Field, so by claim 3 there and by claim 6 of Elementary Order Arithmetic in an Ordered Field together with claim 2 there.
Let be positive and put , a positive real number. For with we have , so two applications of claim 5 of Elementary Arithmetic in an Ordered Field, with the nonnegative multipliers and , give
Hence , and is differentiable at with gradient . Its gradient map is , which is continuous on by Elementary Properties of Bounded Linear Maps and Functionals on Real Inner Product Spaces (iii), so .
For the second derivative, the linearity of gives, for all ,
so the difference with is and, exactly as in claim 1, any positive witnesses the condition of The Second Derivative and the Hessian on an Open Subset of a Real Inner Product Space (i). Thus is a second derivative of at ; the Hessian map is constant, hence continuous, and .
Claim 3. By Elementary Identities in a Real Inner Product Space (v) and Real Inner Product Spaces (ii), for every ,
and by the symmetry and condition (c) of Real Inner Product Spaces (i). Multiplying by and using from Bounded Symmetric Bilinear Forms on a Real Inner Product Space: Norm, Order, Identity Form and Restriction (iv), we obtain
where by Bounded Symmetric Bilinear Forms on a Real Inner Product Space: Norm, Order, Identity Form and Restriction (iv). The first summand is the function of claim 2 for the form , and the second is the function of claim 1 with and ; both belong to . By Constants, Sums, Scalar Multiples and Differences of Differentiable Functions on an Open Subset of a Real Inner Product Space (ii), and, for every ,
using The Bounded Symmetric Operator Represented by a Bounded Symmetric Bilinear Form on a Real Hilbert Space (iv) for , the distributivity axiom of the vector space together with claim 5 of Elementary Identities in a Vector Space for , and Elementary Properties of Bounded Symmetric Bilinear Forms: Norm, Quadratic Form, Order and Continuity (i) for .
Claim 4. The set is open in and contained in , which is itself open, and , and belong to by claims 1, 2 and 3. Therefore Basic Properties of Differentiability on an Open Subset of a Real Inner Product Space (iv) applies with and : the restrictions belong to , and their gradients and Hessians at every are those of the unrestricted functions, namely the values given in claims 1, 2 and 3.
Loading…