Throughout we use the notation of the statement. Since X β S ( n ) X\in\mathcal{S}(n) X β S ( n ) we have X β€ = X X^{\top}=X X β€ = X , and therefore
a β
( X b ) = b β
( X a ) forΒ allΒ a , b β R n , a\cdot(Xb)=b\cdot(Xa)\qquad\text{for all }a,b\in\mathbb{R}^{n}, a β
( X b ) = b β
( X a ) forΒ allΒ a , b β R n ,
because claim 5 of Elementary Properties of the Transpose of a Real Matrix gives a β
( X b ) = ( X β€ a ) β
b = ( X a ) β
b a\cdot(Xb)=(X^{\top}a)\cdot b=(Xa)\cdot b a β
( X b ) = ( X β€ a ) β
b = ( X a ) β
b , and ( X a ) β
b = b β
( X a ) (Xa)\cdot b=b\cdot(Xa) ( X a ) β
b = b β
( X a ) by claim 1 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n . We also use that β₯ e i β₯ = 1 \lVert e_{i}\rVert=1 β₯ e i β β₯ = 1 for every i β [ n ] i\in[n] i β [ n ] , as recorded in Real Matrices, Symmetric Matrices and the Semidefinite Ordering: Standing Notation Β§basis .
Claim 1. By claim 4 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum ,
e i β
( A e j ) = β k = 1 n β l = 1 n A k l β ( e i ) k β ( e j ) l . e_{i}\cdot(Ae_{j})=\sum_{k=1}^{n}\sum_{l=1}^{n}A_{kl}\,(e_{i})_{k}\,(e_{j})_{l}. e i β β
( A e j β ) = k = 1 β n β l = 1 β n β A k l β ( e i β ) k β ( e j β ) l β .
Fix k β [ n ] k\in[n] k β [ n ] . The factor ( e i ) k (e_{i})_{k} ( e i β ) k β does not depend on l l l , so claim 3 of Properties of Finite Sums gives
β l = 1 n A k l ( e i ) k ( e j ) l = ( e i ) k β l = 1 n A k l ( e j ) l . \sum_{l=1}^{n}A_{kl}(e_{i})_{k}(e_{j})_{l}=(e_{i})_{k}\sum_{l=1}^{n}A_{kl}(e_{j})_{l}. l = 1 β n β A k l β ( e i β ) k β ( e j β ) l β = ( e i β ) k β l = 1 β n β A k l β ( e j β ) l β .
By Orthonormal Families, Standard Basis Vectors, and Plane Rotations of Euclidean Space the l l l th coordinate of e j e_{j} e j β is 1 1 1 for l = j l=j l = j and 0 0 0 otherwise, so every summand of the last sum with l β j l\ne j l ξ = j vanishes and claim 7 of Properties of Finite Sums gives β l = 1 n A k l ( e j ) l = A k j \sum_{l=1}^{n}A_{kl}(e_{j})_{l}=A_{kj} β l = 1 n β A k l β ( e j β ) l β = A kj β . Hence
e i β
( A e j ) = β k = 1 n A k j ( e i ) k , e_{i}\cdot(Ae_{j})=\sum_{k=1}^{n}A_{kj}(e_{i})_{k}, e i β β
( A e j β ) = k = 1 β n β A kj β ( e i β ) k β ,
and a second application of claim 7 of Properties of Finite Sums , now with the k k k th coordinate of e i e_{i} e i β , gives e i β
( A e j ) = A i j e_{i}\cdot(Ae_{j})=A_{ij} e i β β
( A e j β ) = A ij β .
Claim 2. By claim 4 of Elementary Properties of the Transpose of a Real Matrix and X β€ = X X^{\top}=X X β€ = X we get ( X X ) β€ = X β€ X β€ = X X (XX)^{\top}=X^{\top}X^{\top}=XX ( XX ) β€ = X β€ X β€ = XX , so X 2 = X X X^{2}=XX X 2 = XX is symmetric and hence lies in S ( n ) \mathcal{S}(n) S ( n ) by The Set of Symmetric Real Matrices . Next, by claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n ,
β₯ X z β₯ 2 = ( X z ) β
( X z ) . \lVert Xz\rVert^{2}=(Xz)\cdot(Xz). β₯ X z β₯ 2 = ( X z ) β
( X z ) .
Applying claim 5 of Elementary Properties of the Transpose of a Real Matrix with the vector X z Xz X z in the first slot and z z z in the second gives ( X z ) β
( X z ) = ( X β€ ( X z ) ) β
z = ( X ( X z ) ) β
z (Xz)\cdot(Xz)=\bigl(X^{\top}(Xz)\bigr)\cdot z=\bigl(X(Xz)\bigr)\cdot z ( X z ) β
( X z ) = ( X β€ ( X z ) ) β
z = ( X ( X z ) ) β
z , and X ( X z ) = ( X X ) z = X 2 z X(Xz)=(XX)z=X^{2}z X ( X z ) = ( XX ) z = X 2 z by claim 2 of Linearity, Compatibility with the Matrix Product, and a Norm Bound for the Matrix-Vector Product . Finally ( X 2 z ) β
z = z β
( X 2 z ) (X^{2}z)\cdot z=z\cdot(X^{2}z) ( X 2 z ) β
z = z β
( X 2 z ) by claim 1 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n .
Claim 3. Suppose first that β₯ X β₯ = 0 \lVert X\rVert=0 β₯ X β₯ = 0 . Then X = 0 n X=0_{n} X = 0 n β by claim 4 of Properties of the Norm of a Symmetric Real Matrix , so by claim 4 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum every w β R n w\in\mathbb{R}^{n} w β R n satisfies w β
( X z ) = β k = 1 n β l = 1 n 0 β
w k z l = 0 w\cdot(Xz)=\sum_{k=1}^{n}\sum_{l=1}^{n}0\cdot w_{k}z_{l}=0 w β
( X z ) = β k = 1 n β β l = 1 n β 0 β
w k β z l β = 0 , the summands all being 0 0 0 ; taking w = X z w=Xz w = X z and using claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n gives β₯ X z β₯ 2 = 0 \lVert Xz\rVert^{2}=0 β₯ X z β₯ 2 = 0 , hence β₯ X z β₯ = 0 \lVert Xz\rVert=0 β₯ X z β₯ = 0 by claim 3 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field , and the asserted inequality holds because β₯ X β₯ β β₯ z β₯ = 0 \lVert X\rVert\,\lVert z\rVert=0 β₯ X β₯ β₯ z β₯ = 0 .
Now suppose 0 < β₯ X β₯ 0<\lVert X\rVert 0 < β₯ X β₯ and put t = β₯ X β₯ β 1 t=\lVert X\rVert^{-1} t = β₯ X β₯ β 1 , which exists and is positive by claim 7 of Elementary Order Arithmetic in an Ordered Field . Put w = t β ( X z ) w=t\,(Xz) w = t ( X z ) . Using X ( w Β± z ) = X w Β± X z X(w\pm z)=Xw\pm Xz X ( w Β± z ) = Xw Β± X z , which is claim 3 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum , and expanding both dot products by claims 2, 3 and 5 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n , we obtain
( w + z ) β
( X ( w + z ) ) β ( w β z ) β
( X ( w β z ) ) = 2 β w β
( X z ) + 2 β z β
( X w ) = 4 β w β
( X z ) , (w+z)\cdot\bigl(X(w+z)\bigr)-(w-z)\cdot\bigl(X(w-z)\bigr)=2\,w\cdot(Xz)+2\,z\cdot(Xw)=4\,w\cdot(Xz), ( w + z ) β
( X ( w + z ) ) β ( w β z ) β
( X ( w β z ) ) = 2 w β
( X z ) + 2 z β
( Xw ) = 4 w β
( X z ) ,
the last equality by the symmetry identity recorded above. By claim 2 of Properties of the Norm of a Symmetric Real Matrix together with claim 3 of Properties of the Absolute Value in an Ordered Field , the first term on the left is at most β₯ X β₯ β β₯ w + z β₯ 2 \lVert X\rVert\,\lVert w+z\rVert^{2} β₯ X β₯ β₯ w + z β₯ 2 and the second is at least β β₯ X β₯ β β₯ w β z β₯ 2 -\lVert X\rVert\,\lVert w-z\rVert^{2} β β₯ X β₯ β₯ w β z β₯ 2 , so
4 β w β
( X z ) β€ β₯ X β₯ ( β₯ w + z β₯ 2 + β₯ w β z β₯ 2 ) = 2 β₯ X β₯ ( β₯ w β₯ 2 + β₯ z β₯ 2 ) , 4\,w\cdot(Xz)\le\lVert X\rVert\bigl(\lVert w+z\rVert^{2}+\lVert w-z\rVert^{2}\bigr)=2\lVert X\rVert\bigl(\lVert w\rVert^{2}+\lVert z\rVert^{2}\bigr), 4 w β
( X z ) β€ β₯ X β₯ ( β₯ w + z β₯ 2 + β₯ w β z β₯ 2 ) = 2 β₯ X β₯ ( β₯ w β₯ 2 + β₯ z β₯ 2 ) ,
the last identity following by expanding β₯ w Β± z β₯ 2 = ( w Β± z ) β
( w Β± z ) \lVert w\pm z\rVert^{2}=(w\pm z)\cdot(w\pm z) β₯ w Β± z β₯ 2 = ( w Β± z ) β
( w Β± z ) with claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n and claims 1, 2, 3 and 5 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n . Now w β
( X z ) = t β ( X z ) β
( X z ) = t β β₯ X z β₯ 2 w\cdot(Xz)=t\,(Xz)\cdot(Xz)=t\,\lVert Xz\rVert^{2} w β
( X z ) = t ( X z ) β
( X z ) = t β₯ X z β₯ 2 by claim 4 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n and claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n , and β₯ w β₯ 2 = t 2 β₯ X z β₯ 2 \lVert w\rVert^{2}=t^{2}\lVert Xz\rVert^{2} β₯ w β₯ 2 = t 2 β₯ X z β₯ 2 by claim 5 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n and β£ t β£ = t |t|=t β£ t β£ = t . Since β₯ X β₯ β t 2 = t \lVert X\rVert\,t^{2}=t β₯ X β₯ t 2 = t , the displayed inequality becomes
4 t β β₯ X z β₯ 2 β€ 2 t β β₯ X z β₯ 2 + 2 β₯ X β₯ β β₯ z β₯ 2 , 4t\,\lVert Xz\rVert^{2}\le 2t\,\lVert Xz\rVert^{2}+2\lVert X\rVert\,\lVert z\rVert^{2}, 4 t β₯ X z β₯ 2 β€ 2 t β₯ X z β₯ 2 + 2 β₯ X β₯ β₯ z β₯ 2 ,
so 2 t β β₯ X z β₯ 2 β€ 2 β₯ X β₯ β β₯ z β₯ 2 2t\,\lVert Xz\rVert^{2}\le2\lVert X\rVert\,\lVert z\rVert^{2} 2 t β₯ X z β₯ 2 β€ 2 β₯ X β₯ β₯ z β₯ 2 . Multiplying by the positive number 1 2 β₯ X β₯ \tfrac{1}{2}\lVert X\rVert 2 1 β β₯ X β₯ and using β₯ X β₯ β t = 1 \lVert X\rVert\,t=1 β₯ X β₯ t = 1 gives
β₯ X z β₯ 2 β€ β₯ X β₯ 2 β₯ z β₯ 2 = ( β₯ X β₯ β β₯ z β₯ ) 2 . \lVert Xz\rVert^{2}\le\lVert X\rVert^{2}\lVert z\rVert^{2}=\bigl(\lVert X\rVert\,\lVert z\rVert\bigr)^{2}. β₯ X z β₯ 2 β€ β₯ X β₯ 2 β₯ z β₯ 2 = ( β₯ X β₯ β₯ z β₯ ) 2 .
Both β₯ X z β₯ \lVert Xz\rVert β₯ X z β₯ and β₯ X β₯ β β₯ z β₯ \lVert X\rVert\,\lVert z\rVert β₯ X β₯ β₯ z β₯ are nonnegative, by claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n and claim 1 of Properties of the Norm of a Symmetric Real Matrix together with claim 5 of Elementary Order Arithmetic in an Ordered Field , so claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field yields β₯ X z β₯ β€ β₯ X β₯ β β₯ z β₯ \lVert Xz\rVert\le\lVert X\rVert\,\lVert z\rVert β₯ X z β₯ β€ β₯ X β₯ β₯ z β₯ .
Claim 4. By claim 1, X i j = e i β
( X e j ) X_{ij}=e_{i}\cdot(Xe_{j}) X ij β = e i β β
( X e j β ) . By Cauchy-Schwarz Inequality for the Euclidean Dot Product and claim 3,
β£ X i j β£ β€ β₯ e i β₯ β β₯ X e j β₯ β€ β₯ e i β₯ β β₯ X β₯ β β₯ e j β₯ = β₯ X β₯ , |X_{ij}|\le\lVert e_{i}\rVert\,\lVert Xe_{j}\rVert\le\lVert e_{i}\rVert\,\lVert X\rVert\,\lVert e_{j}\rVert=\lVert X\rVert, β£ X ij β β£ β€ β₯ e i β β₯ β₯ X e j β β₯ β€ β₯ e i β β₯ β₯ X β₯ β₯ e j β β₯ = β₯ X β₯ ,
since β₯ e i β₯ = β₯ e j β₯ = 1 \lVert e_{i}\rVert=\lVert e_{j}\rVert=1 β₯ e i β β₯ = β₯ e j β β₯ = 1 as recorded above.
Claim 5. Let ΞΎ β R n \xi\in\mathbb{R}^{n} ΞΎ β R n with β₯ ΞΎ β₯ β€ 1 \lVert\xi\rVert\le1 β₯ ΞΎ β₯ β€ 1 . By claim 4 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum , ΞΎ β
( X ΞΎ ) = β i = 1 n β j = 1 n X i j ΞΎ i ΞΎ j \xi\cdot(X\xi)=\sum_{i=1}^{n}\sum_{j=1}^{n}X_{ij}\xi_{i}\xi_{j} ΞΎ β
( X ΞΎ ) = β i = 1 n β β j = 1 n β X ij β ΞΎ i β ΞΎ j β . Applying claim 2 of Comparison and Absolute Value Bounds for Finite Sums of Real Numbers to the outer sum, then claim 1 of that lemma together with claim 2 of it applied to each inner sum, and finally claim 4 of Properties of the Absolute Value in an Ordered Field , we obtain
β£ ΞΎ β
( X ΞΎ ) β£ β€ β i = 1 n β j = 1 n β£ X i j β£ β β£ ΞΎ i β£ β β£ ΞΎ j β£ . |\xi\cdot(X\xi)|\le\sum_{i=1}^{n}\sum_{j=1}^{n}|X_{ij}|\,|\xi_{i}|\,|\xi_{j}|. β£ ΞΎ β
( X ΞΎ ) β£ β€ i = 1 β n β j = 1 β n β β£ X ij β β£ β£ ΞΎ i β β£ β£ ΞΎ j β β£.
By claim 4 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n we have β£ ΞΎ i β£ β€ β₯ ΞΎ β₯ β€ 1 |\xi_{i}|\le\lVert\xi\rVert\le1 β£ ΞΎ i β β£ β€ β₯ ΞΎ β₯ β€ 1 for every i i i , and all the factors involved are nonnegative, so β£ X i j β£ β β£ ΞΎ i β£ β β£ ΞΎ j β£ β€ β£ X i j β£ |X_{ij}|\,|\xi_{i}|\,|\xi_{j}|\le|X_{ij}| β£ X ij β β£ β£ ΞΎ i β β£ β£ ΞΎ j β β£ β€ β£ X ij β β£ for all i , j i,j i , j ; claim 1 of Comparison and Absolute Value Bounds for Finite Sums of Real Numbers , applied twice, then gives
β£ ΞΎ β
( X ΞΎ ) β£ β€ β i = 1 n β j = 1 n β£ X i j β£ . |\xi\cdot(X\xi)|\le\sum_{i=1}^{n}\sum_{j=1}^{n}|X_{ij}|. β£ ΞΎ β
( X ΞΎ ) β£ β€ i = 1 β n β j = 1 β n β β£ X ij β β£.
Thus the right-hand side is an upper bound for the set whose least upper bound is β₯ X β₯ \lVert X\rVert β₯ X β₯ by Norm of a Symmetric Real Matrix , and therefore β₯ X β₯ β€ β i = 1 n β j = 1 n β£ X i j β£ \lVert X\rVert\le\sum_{i=1}^{n}\sum_{j=1}^{n}|X_{ij}| β₯ X β₯ β€ β i = 1 n β β j = 1 n β β£ X ij β β£ .
Claim 6. By Identity Matrix and Scalar Multiple of a Real Matrix the entry of a I n aI_{n} a I n β in row k k k and column l l l is a a a if k = l k=l k = l and 0 0 0 otherwise; interchanging k k k and l l l leaves this unchanged, so a I n aI_{n} a I n β is symmetric and lies in S ( n ) \mathcal{S}(n) S ( n ) . For ΞΎ β R n \xi\in\mathbb{R}^{n} ΞΎ β R n , claim 1 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum gives ( a I n ) ΞΎ = a ( I n ΞΎ ) = a ΞΎ (aI_{n})\xi=a(I_{n}\xi)=a\xi ( a I n β ) ΞΎ = a ( I n β ΞΎ ) = a ΞΎ by claim 2 there, so by claim 5 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n and claim 1 of Elementary Properties of the Euclidean Norm on R n \mathbb{R}^n R n ,
ΞΎ β
( ( a I n ) ΞΎ ) = a β ( ΞΎ β
ΞΎ ) = a β β₯ ΞΎ β₯ 2 . \xi\cdot\bigl((aI_{n})\xi\bigr)=a\,(\xi\cdot\xi)=a\,\lVert\xi\rVert^{2}. ΞΎ β
( ( a I n β ) ΞΎ ) = a ( ΞΎ β
ΞΎ ) = a β₯ ΞΎ β₯ 2 .
This is the second assertion of the claim. If β₯ ΞΎ β₯ β€ 1 \lVert\xi\rVert\le1 β₯ ΞΎ β₯ β€ 1 then β₯ ΞΎ β₯ 2 β€ 1 \lVert\xi\rVert^{2}\le1 β₯ ΞΎ β₯ 2 β€ 1 by claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field , so β£ a β₯ ΞΎ β₯ 2 β£ = β£ a β£ β β₯ ΞΎ β₯ 2 β€ β£ a β£ |a\lVert\xi\rVert^{2}|=|a|\,\lVert\xi\rVert^{2}\le|a| β£ a β₯ ΞΎ β₯ 2 β£ = β£ a β£ β₯ ΞΎ β₯ 2 β€ β£ a β£ by claim 4 of Properties of the Absolute Value in an Ordered Field ; hence β£ a β£ |a| β£ a β£ is an upper bound for the set in Norm of a Symmetric Real Matrix and β₯ a I n β₯ β€ β£ a β£ \lVert aI_{n}\rVert\le|a| β₯ a I n β β₯ β€ β£ a β£ . Conversely 1 β€ n 1\le n 1 β€ n , so e 1 e_{1} e 1 β is defined and satisfies β₯ e 1 β₯ = 1 \lVert e_{1}\rVert=1 β₯ e 1 β β₯ = 1 ; the number β£ e 1 β
( ( a I n ) e 1 ) β£ = β£ a β£ β
1 = β£ a β£ |e_{1}\cdot((aI_{n})e_{1})|=|a|\cdot1=|a| β£ e 1 β β
(( a I n β ) e 1 β ) β£ = β£ a β£ β
1 = β£ a β£ therefore belongs to that set, whence β£ a β£ β€ β₯ a I n β₯ |a|\le\lVert aI_{n}\rVert β£ a β£ β€ β₯ a I n β β₯ . The two inequalities give β₯ a I n β₯ = β£ a β£ \lVert aI_{n}\rVert=|a| β₯ a I n β β₯ = β£ a β£ .
Claim 7. Using claim 3 of Linearity of the Matrix-Vector Product and the Quadratic Form as a Double Sum , claims 2, 3 and 5 of Bilinearity and Symmetry of the Dot Product on R n \mathbb{R}^n R n and the symmetry identity recorded at the start,
( x β y ) β
( X ( x + y ) ) = x β
( X x ) + x β
( X y ) β y β
( X x ) β y β
( X y ) = x β
( X x ) β y β
( X y ) . (x-y)\cdot\bigl(X(x+y)\bigr)=x\cdot(Xx)+x\cdot(Xy)-y\cdot(Xx)-y\cdot(Xy)=x\cdot(Xx)-y\cdot(Xy). ( x β y ) β
( X ( x + y ) ) = x β
( X x ) + x β
( X y ) β y β
( X x ) β y β
( X y ) = x β
( X x ) β y β
( X y ) .
Hence, by Cauchy-Schwarz Inequality for the Euclidean Dot Product and claim 3,
β£ x β
( X x ) β y β
( X y ) β£ β€ β₯ x β y β₯ β β₯ X ( x + y ) β₯ β€ β₯ X β₯ β β₯ x β y β₯ β β₯ x + y β₯ . \bigl|x\cdot(Xx)-y\cdot(Xy)\bigr|\le\lVert x-y\rVert\,\bigl\lVert X(x+y)\bigr\rVert\le\lVert X\rVert\,\lVert x-y\rVert\,\lVert x+y\rVert . β x β
( X x ) β y β
( X y ) β β€ β₯ x β y β₯ β X ( x + y ) β β€ β₯ X β₯ β₯ x β y β₯ β₯ x + y β₯ .