Fix x,yβRn and tβR. Throughout, zβ
zβ² is the dot product; by claim 1 of Elementary Properties of the Euclidean Norm on Rn one has β₯zβ₯2=zβ
z for every zβRn, and the symmetry and bilinearity of the dot product used below are claims 1--5 of Bilinearity and Symmetry of the Dot Product on Rn. Arithmetic with real numbers uses the axioms of the field of real numbers; we write 2 for 1+1, so that s+s=2s for every real s.
Step 1 (expansion of the left-hand side). Put z=tx+(1βt)y. Additivity and homogeneity in the first argument (claims 2 and 4) give
zβ
z=t(xβ
z)+(1βt)(yβ
z),
and the corresponding statements in the second argument (claim 5) give xβ
z=t(xβ
x)+(1βt)(xβ
y) and yβ
z=t(yβ
x)+(1βt)(yβ
y). Since yβ
x=xβ
y by claim 1, substituting and collecting terms yields
β₯zβ₯2=t2β₯xβ₯2+2t(1βt)(xβ
y)+(1βt)2β₯yβ₯2.
Step 2 (expansion of the squared distance). By claim 3 (differences in the first argument) and claim 5 (differences in the second argument), together with claim 1,
β₯xβyβ₯2=(xβy)β
(xβy)=β₯xβ₯2β2(xβ
y)+β₯yβ₯2.
Step 3 (comparison). Substituting the identity of Step 2 into the right-hand side of the assertion and expanding,
tβ₯xβ₯2+(1βt)β₯yβ₯2βt(1βt)β₯xβyβ₯2=(tβt(1βt))β₯xβ₯2+((1βt)βt(1βt))β₯yβ₯2+2t(1βt)(xβ
y).
Now tβt(1βt)=tβt+t2=t2 and (1βt)βt(1βt)=(1βt)(1βt)=(1βt)2, so the right-hand side coincides with the expression obtained in Step 1, namely β₯tx+(1βt)yβ₯2. Since x, y and t were arbitrary, the identity holds in general.