Let g:CβR be the function g(x)=f(x)+2ΞΌββ₯xβ₯2. By Semiconvex Function on a Convex Subset of Rn, f is semiconvex on C with constant ΞΌ if and only if g is convex on C, that is, if and only if
g(tx+(1βt)y)β€tg(x)+(1βt)g(y)
for all x,yβC and every tβR with 0β€t and tβ€1. It therefore suffices to show, for each such x, y and t, that this inequality is equivalent to the asserted quadratic inequality; the stated equivalence then follows by taking the conjunction over all admissible x, y and t.
So fix x,yβC and tβR with 0β€t and tβ€1, and put z=tx+(1βt)y, a point of C because C is convex. Put
A=2ΞΌβ(tβ₯xβ₯2+(1βt)β₯yβ₯2),B=2ΞΌβt(1βt)β₯xβyβ₯2,
both real numbers.
Step 1 (rewriting g at z). By The Squared Norm of a Convex Combination of Two Points,
β₯zβ₯2=tβ₯xβ₯2+(1βt)β₯yβ₯2βt(1βt)β₯xβyβ₯2.
Multiplying by 2ΞΌβ and using distributivity in the field of real numbers gives 2ΞΌββ₯zβ₯2=AβB, hence
g(z)=f(z)+AβB.
Step 2 (rewriting the right-hand side). Again by distributivity,
tg(x)+(1βt)g(y)=tf(x)+(1βt)f(y)+A.
Step 3 (cancelling and rearranging). By claim 3 of Elementary Arithmetic in an Ordered Field, for real numbers p and q one has pβ€q if and only if 0β€qβp. Apply this twice, first to
p=f(z)+AβB,q=tf(x)+(1βt)f(y)+A,
and then to
pβ²=f(z),qβ²=tf(x)+(1βt)f(y)+B.
In the field of real numbers both differences qβp and qβ²βpβ² are equal to tf(x)+(1βt)f(y)+Bβf(z), so pβ€q holds if and only if pβ²β€qβ², that is,
f(z)+AβBβ€tf(x)+(1βt)f(y)+AifΒ andΒ onlyΒ iff(z)β€tf(x)+(1βt)f(y)+B.
By Steps 1 and 2 the first of these inequalities is exactly g(z)β€tg(x)+(1βt)g(y), and the last is exactly the asserted quadratic inequality for x, y and t. This is the required equivalence.