Throughout, β€ and < are the order of the ordered field of real numbers, and for a real number t we write t2 for tt.
Step 1 (The identity matrix and its quadratic form). Let I be the nΓn identity matrix, the real matrix with entries Iijβ=1 if i=j and Iijβ=0 otherwise (i,jβ{1,β¦,n}). For every z=(z1β,β¦,znβ)βRn and every i, the i-th component of the matrix-vector product Iz is the finite sum βj=1nβIijβzjβ; every summand with jξ =i equals 0β
zjβ=0 and the summand with j=i equals 1β
ziβ=ziβ, so the sum evaluates to ziβ. Hence Iz=z for every zβRn. The matrix I is symmetric, since Iijβ=Ijiβ for all i,j directly from the entry formula. Moreover, for every zβRn,
zβ
(Iz)=zβ
z=β₯zβ₯2Β β₯Β 0:
the two identities hold by Iz=z and by claim 1 of the elementary properties of the Euclidean norm, with the dot product; and the inequality follows since 0β€β₯zβ₯ (the same claim) and a nonnegative real has nonnegative square: for r=0 one has rr=0, while 0<r gives 0<rr by claim 5 of the elementary order arithmetic lemma. So I is symmetric positive semidefinite.
Step 2 (Squared inequality). By claim 2 of the Cauchy-Schwarz inequality for a positive semidefinite quadratic form, applied with B=I,
(xβ
(Iy))2β€(xβ
(Ix))(yβ
(Iy)),
which by Step 1 reads (xβ
y)2β€β₯xβ₯2β₯yβ₯2. Multiplication of real numbers is commutative and associative (axioms of the underlying field), so, regrouping the fourfold product, β₯xβ₯2β₯yβ₯2=(β₯xβ₯β₯xβ₯)(β₯yβ₯β₯yβ₯)=(β₯xβ₯β₯yβ₯)(β₯xβ₯β₯yβ₯)=(β₯xβ₯β₯yβ₯)2. Set b=β₯xβ₯β₯yβ₯. Then
(xβ
y)2β€b2and0β€b:
indeed 0β€β₯xβ₯ and 0β€β₯yβ₯ by claim 1 of the norm properties lemma; if both are strictly positive then 0<b by claim 5 of the elementary order arithmetic lemma, and otherwise one factor is 0, so b=0.
Step 3 (From squares to absolute values). We first show: for all real a,b with 0β€b and a2β€b2, it holds that aβ€b. If aβ€0 then aβ€0β€b, and transitivity of the total order gives aβ€b. Suppose instead 0<a, and assume for contradiction that b<a. By claim 10 of the order arithmetic lemma (strict compatibility with multiplication, with the positive factor a), b<a gives ab<aa=a2. If 0<b, the same claim with the positive factor b gives bb<ba, and ba=ab by commutativity, so b2<ab<a2 and hence b2<a2 by claim 2 of the same lemma (mixed transitivity). If b=0, then b2=0<a2 by claim 5 of the same lemma. In either case b2<a2; combined with a2β€b2, claim 2 of the same lemma yields b2<b2, which is false since < requires the two sides to be distinct. Hence aβ€b.
Applying this with a=xβ
y and the b of Step 2 gives xβ
yβ€b. Applying it with a=β(xβ
y) --- noting (β(xβ
y))2=(xβ
y)2: in any field, distributivity and the uniqueness of additive inverses give (βs)t=β(st) and β(βw)=w, whence (βs)(βs)=β(s(βs))=β(β(ss))=ss --- gives β(xβ
y)β€b, which by claim 4 of the order arithmetic lemma (sign reversal) and β(β(xβ
y))=xβ
y is equivalent to βbβ€xβ
y. Thus βbβ€xβ
yβ€b, and by the two-sided characterization of the absolute value, claim 6 of the properties of the absolute value,
β£xβ
yβ£Β β€Β bΒ =Β β₯xβ₯β₯yβ₯.β