Expanding around the expected value ,
because . Therefore
with equality exactly when .
For the absolute loss,
Leibniz differentiation gives, with ,
Thus decreases while and increases while . It is minimized at any median, characterized in the continuous case by
A function on an interval is a convex function if
Jensen inequality states that for an integrable random variable , when all terms are defined,
The function is convex on because
Applying Jensen's inequality to the uniform distribution on the positive numbers gives
Writing and multiplying by yields
The characteristic polynomial of the linear recurrence relation is
The repeated-root rule therefore gives
The condition gives . The other two conditions give
so and . Thus , and
Differentiation under the integral sign first gives
On the other hand,
Its integral is zero because vanishes at both endpoints. Hence
Differentiating once more,
For , the preceding identity and give
The equation extends through in its regular limiting form.

There are unlisted articles, also show them or only show them.